/**
 * 1111 Angel Number - Theme Stylesheet
 * Prefix: pgab-
 * Color palette: #FFD700 | #0000CD | #FF5722 | #333333 | #40E0D0
 * Dark backgrounds, light text for mobile readability
 */

:root {
    --pgab-primary: #FFD700;
    --pgab-secondary: #0000CD;
    --pgab-accent: #FF5722;
    --pgab-dark: #333333;
    --pgab-teal: #40E0D0;
    --pgab-bg: #1a1a2e;
    --pgab-bg-card: #16213e;
    --pgab-bg-deep: #0f0f23;
    --pgab-text: #f0f0f0;
    --pgab-text-muted: #a0a0b8;
    --pgab-border: #2a2a4a;
    --pgab-gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
    --pgab-gradient-blue: linear-gradient(135deg, #0000CD, #4169E1);
    --pgab-gradient-fire: linear-gradient(135deg, #FF5722, #FF9800);
    --pgab-radius: 8px;
    --pgab-radius-lg: 12px;
    --pgab-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--pgab-bg);
    color: var(--pgab-text);
    line-height: 1.5rem;
    max-width: 430px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--pgab-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.pgab-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--pgab-bg-deep);
    border-bottom: 1px solid var(--pgab-border);
    max-width: 430px;
    margin: 0 auto;
}
.pgab-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 1rem;
    height: 5rem;
}
.pgab-logo { display: flex; align-items: center; gap: 0.5rem; }
.pgab-logo img { width: 28px; height: 28px; border-radius: 4px; }
.pgab-logo span { font-size: 1.3rem; font-weight: 700; color: var(--pgab-primary); white-space: nowrap; }
.pgab-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.pgab-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.5rem 1.2rem; border-radius: var(--pgab-radius);
    font-size: 1.2rem; font-weight: 600; cursor: pointer;
    border: none; transition: all 0.2s ease; min-height: 3.6rem;
}
.pgab-btn-register {
    background: var(--pgab-gradient-fire); color: #fff;
}
.pgab-btn-login {
    background: var(--pgab-gradient-blue); color: #fff;
}
.pgab-btn-register:hover, .pgab-btn-login:hover { transform: scale(1.05); }
.pgab-menu-toggle {
    background: none; border: none; color: var(--pgab-text);
    font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.pgab-mobile-menu {
    display: none; position: fixed; top: 5rem; left: 0; right: 0;
    z-index: 9999; background: var(--pgab-bg-deep);
    border-bottom: 2px solid var(--pgab-primary);
    max-width: 430px; margin: 0 auto;
    opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
.pgab-mobile-menu ul { list-style: none; padding: 1rem 0; }
.pgab-mobile-menu li a {
    display: block; padding: 1rem 1.5rem; color: var(--pgab-text);
    font-size: 1.3rem; border-bottom: 1px solid var(--pgab-border);
    transition: background 0.2s;
}
.pgab-mobile-menu li a:hover { background: var(--pgab-bg-card); color: var(--pgab-primary); }

/* Carousel */
.pgab-carousel {
    position: relative; margin-top: 5rem; overflow: hidden;
    height: 18rem; cursor: pointer;
}
.pgab-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.6s ease;
}
.pgab-slide.pgab-slide-active { opacity: 1; }
.pgab-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgab-carousel-dots {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem;
}
.pgab-carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
}
.pgab-carousel-dot.pgab-dot-active { background: var(--pgab-primary); }

/* Container & Sections */
.pgab-container { padding: 0 1rem; }
.pgab-section { padding: 2rem 0; }
.pgab-section-title {
    font-size: 1.6rem; font-weight: 700; color: var(--pgab-primary);
    margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pgab-accent);
}
.pgab-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.pgab-cat-title {
    font-size: 1.4rem; font-weight: 600; color: var(--pgab-teal);
    margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
    border-left: 3px solid var(--pgab-accent);
}
.pgab-game-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.pgab-game-card {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius);
    overflow: hidden; cursor: pointer; transition: transform 0.2s;
    border: 1px solid var(--pgab-border);
}
.pgab-game-card:hover { transform: translateY(-2px); }
.pgab-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pgab-game-card p {
    font-size: 1rem; text-align: center; padding: 0.4rem 0.2rem;
    color: var(--pgab-text); white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Sections */
.pgab-content-block {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius-lg);
    padding: 1.5rem; margin-bottom: 1.2rem;
    border: 1px solid var(--pgab-border);
}
.pgab-content-block h2 {
    font-size: 1.5rem; color: var(--pgab-primary); margin-bottom: 0.8rem;
}
.pgab-content-block h3 {
    font-size: 1.3rem; color: var(--pgab-teal); margin-bottom: 0.6rem;
}
.pgab-content-block p {
    font-size: 1.2rem; line-height: 1.7rem; color: var(--pgab-text-muted);
    margin-bottom: 0.8rem;
}
.pgab-content-block ul, .pgab-content-block ol {
    padding-left: 1.5rem; margin-bottom: 0.8rem;
}
.pgab-content-block li {
    font-size: 1.2rem; line-height: 1.7rem; color: var(--pgab-text-muted);
    margin-bottom: 0.4rem;
}

/* Promo Links in Content */
.pgab-promo-text {
    color: var(--pgab-accent); font-weight: 700; cursor: pointer;
    text-decoration: underline;
}
.pgab-promo-text:hover { color: var(--pgab-primary); }

/* CTA Button */
.pgab-cta {
    display: block; width: 100%; padding: 1.2rem;
    background: var(--pgab-gradient-fire); color: #fff;
    font-size: 1.5rem; font-weight: 700; text-align: center;
    border-radius: var(--pgab-radius-lg); border: none; cursor: pointer;
    margin: 1.5rem 0; transition: transform 0.2s;
}
.pgab-cta:hover { transform: scale(1.03); }

/* Testimonial Cards */
.pgab-testimonial {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius);
    padding: 1rem; margin-bottom: 1rem;
    border-left: 3px solid var(--pgab-primary);
}
.pgab-testimonial p { font-size: 1.1rem; color: var(--pgab-text-muted); font-style: italic; }
.pgab-testimonial strong { color: var(--pgab-primary); font-size: 1.1rem; }

/* Winner Showcase */
.pgab-winner-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 0; border-bottom: 1px solid var(--pgab-border);
    font-size: 1.1rem;
}
.pgab-winner-row span:first-child { color: var(--pgab-teal); font-weight: 600; }
.pgab-winner-row span:last-child { color: var(--pgab-primary); font-weight: 700; }

/* Payment Methods */
.pgab-payment-grid {
    display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center;
}
.pgab-payment-item {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius);
    padding: 0.6rem 1.2rem; font-size: 1.1rem; color: var(--pgab-text);
    border: 1px solid var(--pgab-border);
}

/* Stats Grid */
.pgab-stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}
.pgab-stat-item {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius);
    padding: 1rem; text-align: center; border: 1px solid var(--pgab-border);
}
.pgab-stat-value { font-size: 2rem; font-weight: 700; color: var(--pgab-primary); }
.pgab-stat-label { font-size: 1rem; color: var(--pgab-text-muted); margin-top: 0.3rem; }

/* Footer */
.pgab-footer {
    background: var(--pgab-bg-deep); padding: 2rem 1rem 1rem;
    border-top: 2px solid var(--pgab-primary);
    margin-top: 2rem;
}
.pgab-footer-brand { font-size: 1.2rem; color: var(--pgab-text-muted); line-height: 1.6rem; margin-bottom: 1.2rem; }
.pgab-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.pgab-footer-links a {
    background: var(--pgab-bg-card); padding: 0.4rem 0.8rem;
    border-radius: var(--pgab-radius); font-size: 1rem;
    color: var(--pgab-text); border: 1px solid var(--pgab-border);
}
.pgab-footer-links a:hover { color: var(--pgab-primary); border-color: var(--pgab-primary); }
.pgab-footer-copy { font-size: 1rem; color: var(--pgab-text-muted); text-align: center; padding-top: 1rem; border-top: 1px solid var(--pgab-border); }

/* Internal Links (SEO) */
.pgab-internal-link {
    color: var(--pgab-teal); text-decoration: underline;
    font-size: 1.2rem;
}
.pgab-internal-link:hover { color: var(--pgab-primary); }

/* Bottom Navigation */
.pgab-bnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1000; background: var(--pgab-bg-deep);
    border-top: 1px solid var(--pgab-primary);
    max-width: 430px; margin: 0 auto;
    display: flex; justify-content: space-around;
    height: 6rem;
}
.pgab-bnav-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-width: 60px; min-height: 60px;
    background: none; border: none; color: var(--pgab-text-muted);
    cursor: pointer; transition: all 0.2s; padding: 0.4rem;
}
.pgab-bnav-btn i, .pgab-bnav-btn .material-icons {
    font-size: 2.2rem; margin-bottom: 0.2rem;
}
.pgab-bnav-btn span { font-size: 1rem; }
.pgab-bnav-btn:hover, .pgab-bnav-btn.pgab-bnav-active {
    color: var(--pgab-primary);
}
.pgab-bnav-btn.pgab-bnav-active {
    background: rgba(255, 215, 0, 0.08);
}

/* Mobile Bottom Padding */
@media (max-width: 768px) {
    main, .pgab-main { padding-bottom: 7.5rem; }
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
    .pgab-bnav { display: none; }
}

/* FAQ Styles */
.pgab-faq-item {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius);
    margin-bottom: 0.8rem; padding: 1rem 1.2rem;
    border: 1px solid var(--pgab-border);
}
.pgab-faq-q {
    font-size: 1.2rem; font-weight: 600; color: var(--pgab-primary);
    margin-bottom: 0.4rem;
}
.pgab-faq-a {
    font-size: 1.1rem; color: var(--pgab-text-muted); line-height: 1.6rem;
}

/* Feature List */
.pgab-feature-list { list-style: none; padding: 0; }
.pgab-feature-list li {
    display: flex; align-items: flex-start; gap: 0.8rem;
    padding: 0.8rem 0; border-bottom: 1px solid var(--pgab-border);
    font-size: 1.2rem; color: var(--pgab-text-muted);
}
.pgab-feature-list li i { color: var(--pgab-primary); font-size: 1.4rem; margin-top: 0.2rem; flex-shrink: 0; }

/* Tricks Component */
.pgab-trick-card {
    background: var(--pgab-bg-card); border-radius: var(--pgab-radius);
    padding: 1rem; margin-bottom: 0.8rem;
    border-left: 3px solid var(--pgab-teal);
}
.pgab-trick-card strong { color: var(--pgab-teal); font-size: 1.2rem; }
.pgab-trick-card p { color: var(--pgab-text-muted); font-size: 1.1rem; margin-top: 0.3rem; }

/* Achievements */
.pgab-achievement {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.6rem 0; border-bottom: 1px solid var(--pgab-border);
}
.pgab-achievement i { color: var(--pgab-primary); font-size: 1.6rem; }
.pgab-achievement div { font-size: 1.1rem; color: var(--pgab-text-muted); }
.pgab-achievement strong { color: var(--pgab-teal); }

/* Help Page */
.pgab-help-section { padding: 1.5rem 0; }
.pgab-step {
    display: flex; gap: 1rem; margin-bottom: 1.2rem;
}
.pgab-step-num {
    flex-shrink: 0; width: 3rem; height: 3rem;
    background: var(--pgab-gradient-fire); color: #fff;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.4rem; font-weight: 700;
}
.pgab-step-text { font-size: 1.2rem; color: var(--pgab-text-muted); line-height: 1.6rem; }

/* Responsive tweaks */
@media (max-width: 360px) {
    .pgab-game-grid { grid-template-columns: repeat(3, 1fr); }
    .pgab-header-inner { padding: 0.4rem 0.6rem; }
    .pgab-btn { padding: 0.4rem 0.8rem; font-size: 1.1rem; }
}
