/* 456 Angel Number - Core Stylesheet */
/* All classes prefixed with g032- for namespace isolation */

:root {
    --g032-primary: #228B22;
    --g032-primary-light: #2ea62e;
    --g032-primary-dark: #1a6b1a;
    --g032-bg: #212F3D;
    --g032-bg-dark: #1a252f;
    --g032-bg-card: #2a3a4a;
    --g032-bg-section: #1c2b38;
    --g032-text: #e8e8e8;
    --g032-text-muted: #9ab;
    --g032-border: #3a4a5a;
    --g032-gold: #ffd700;
    --g032-white: #ffffff;
    --g032-radius: 10px;
    --g032-radius-sm: 6px;
    --g032-shadow: 0 2px 12px rgba(0,0,0,0.3);
    --g032-transition: all 0.3s ease;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--g032-bg);
    color: var(--g032-text);
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.g032-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--g032-bg-dark);
    border-bottom: 1px solid var(--g032-primary);
    z-index: 1000;
    padding: 0 12px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.g032-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.g032-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.g032-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g032-primary);
    white-space: nowrap;
}

.g032-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g032-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--g032-radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--g032-transition);
    text-decoration: none;
    white-space: nowrap;
}

.g032-btn-register {
    background: var(--g032-primary);
    color: var(--g032-white);
    animation: g032-glow 2s ease-in-out infinite alternate;
}

.g032-btn-login {
    background: transparent;
    color: var(--g032-primary);
    border: 1.5px solid var(--g032-primary);
}

.g032-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.g032-btn-promo {
    background: linear-gradient(135deg, var(--g032-primary), var(--g032-primary-light));
    color: var(--g032-white);
    font-size: 1.4rem;
    padding: 12px 28px;
    border-radius: var(--g032-radius);
    box-shadow: 0 0 15px rgba(34,139,34,0.4);
}

.g032-hamburger {
    background: none;
    border: none;
    color: var(--g032-text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

/* Mobile Menu Overlay */
.g032-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

.g032-overlay-active {
    display: block;
}

/* Mobile Menu Drawer */
.g032-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--g032-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.g032-menu-active {
    right: 0;
}

.g032-menu-close {
    background: none;
    border: none;
    color: var(--g032-text);
    font-size: 2.4rem;
    cursor: pointer;
    float: right;
    margin-bottom: 20px;
}

.g032-menu-links {
    clear: both;
    padding-top: 10px;
}

.g032-menu-link {
    display: block;
    padding: 12px 0;
    color: var(--g032-text);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--g032-border);
    transition: var(--g032-transition);
}

.g032-menu-link:hover {
    color: var(--g032-primary);
    padding-left: 8px;
}

/* Main Content */
.g032-main {
    padding-top: 56px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .g032-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.g032-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 4px;
}

.g032-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.g032-carousel-slide {
    min-width: 100%;
    cursor: pointer;
}

.g032-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 var(--g032-radius) var(--g032-radius);
}

.g032-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

.g032-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g032-border);
    border: none;
    cursor: pointer;
    transition: var(--g032-transition);
}

.g032-dot-active {
    background: var(--g032-primary);
    width: 20px;
    border-radius: 4px;
}

/* Category Tabs */
.g032-cat-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.g032-cat-tabs::-webkit-scrollbar {
    display: none;
}

.g032-cat-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--g032-bg-card);
    color: var(--g032-text-muted);
    border: 1px solid var(--g032-border);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--g032-transition);
    white-space: nowrap;
}

.g032-cat-active,
.g032-cat-btn:hover {
    background: var(--g032-primary);
    color: var(--g032-white);
    border-color: var(--g032-primary);
}

/* Game Grid */
.g032-game-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 12px;
}

.g032-game-section[data-category] {
    display: none;
}

.g032-game-section:first-of-type {
    display: grid;
}

.g032-game-card {
    background: var(--g032-bg-card);
    border-radius: var(--g032-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--g032-transition);
    border: 1px solid transparent;
}

.g032-game-card:hover {
    border-color: var(--g032-primary);
    transform: translateY(-2px);
}

.g032-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.g032-game-name {
    font-size: 1rem;
    color: var(--g032-text);
    text-align: center;
    padding: 4px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sections */
.g032-section {
    padding: 16px 12px;
}

.g032-section-title {
    font-size: 1.8rem;
    color: var(--g032-primary);
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.g032-section-title i,
.g032-section-title .material-icons {
    font-size: 2rem;
}

.g032-card {
    background: var(--g032-bg-card);
    border-radius: var(--g032-radius);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--g032-border);
}

.g032-card h3 {
    color: var(--g032-primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.g032-card p {
    font-size: 1.3rem;
    color: var(--g032-text-muted);
    line-height: 1.7;
}

.g032-card a {
    color: var(--g032-primary);
    text-decoration: none;
    font-weight: 600;
}

.g032-card a:hover {
    text-decoration: underline;
}

/* FAQ styles */
.g032-faq-item {
    background: var(--g032-bg-card);
    border-radius: var(--g032-radius-sm);
    padding: 14px;
    margin-bottom: 8px;
    border-left: 3px solid var(--g032-primary);
}

.g032-faq-item h4 {
    color: var(--g032-primary);
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.g032-faq-item p {
    font-size: 1.2rem;
    color: var(--g032-text-muted);
    line-height: 1.6;
}

/* Feature list */
.g032-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.g032-feature-item {
    background: var(--g032-bg-card);
    border-radius: var(--g032-radius-sm);
    padding: 14px;
    text-align: center;
    border: 1px solid var(--g032-border);
    transition: var(--g032-transition);
}

.g032-feature-item:hover {
    border-color: var(--g032-primary);
}

.g032-feature-item i,
.g032-feature-item .material-icons {
    font-size: 2.8rem;
    color: var(--g032-primary);
    margin-bottom: 8px;
}

.g032-feature-item h4 {
    font-size: 1.2rem;
    color: var(--g032-text);
    margin-bottom: 4px;
}

.g032-feature-item p {
    font-size: 1.1rem;
    color: var(--g032-text-muted);
}

/* Payment Methods */
.g032-payment-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.g032-payment-item {
    background: var(--g032-bg-card);
    border-radius: var(--g032-radius-sm);
    padding: 10px 18px;
    text-align: center;
    border: 1px solid var(--g032-border);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--g032-primary);
}

/* Promo CTA */
.g032-cta-box {
    background: linear-gradient(135deg, var(--g032-primary-dark), var(--g032-primary));
    border-radius: var(--g032-radius);
    padding: 24px 16px;
    text-align: center;
    margin: 16px 12px;
}

.g032-cta-box h2 {
    color: var(--g032-white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.g032-cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* Winners ticker */
.g032-winners-ticker {
    background: var(--g032-bg-card);
    border-radius: var(--g032-radius);
    padding: 12px;
    margin: 12px;
}

.g032-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--g032-border);
    font-size: 1.2rem;
}

.g032-winner-item:last-child {
    border-bottom: none;
}

.g032-winner-amount {
    color: var(--g032-gold);
    font-weight: 700;
}

/* Footer */
.g032-footer {
    background: var(--g032-bg-dark);
    padding: 24px 16px 20px;
    border-top: 1px solid var(--g032-border);
    text-align: center;
}

.g032-footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g032-primary);
    margin-bottom: 12px;
}

.g032-footer-text {
    font-size: 1.2rem;
    color: var(--g032-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.g032-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.g032-footer-link {
    color: var(--g032-text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--g032-transition);
}

.g032-footer-link:hover {
    color: var(--g032-primary);
}

.g032-footer-copy {
    font-size: 1.1rem;
    color: var(--g032-text-muted);
    margin-top: 12px;
}

/* Bottom Navigation */
.g032-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--g032-bg-dark);
    border-top: 1.5px solid var(--g032-primary-dark);
    z-index: 1000;
    display: none;
    height: 60px;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .g032-bottom-nav {
        display: flex;
    }
}

.g032-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 54px;
    background: none;
    border: none;
    color: var(--g032-text-muted);
    cursor: pointer;
    transition: var(--g032-transition);
    padding: 4px;
    border-radius: 8px;
}

.g032-nav-btn:hover,
.g032-nav-btn:focus {
    color: var(--g032-primary);
    background: rgba(34,139,34,0.1);
}

.g032-nav-btn i,
.g032-nav-btn .material-icons {
    font-size: 2.2rem;
    margin-bottom: 2px;
}

.g032-nav-btn span {
    font-size: 1rem;
    line-height: 1;
}

/* Glow animation */
@keyframes g032-glow {
    from { box-shadow: 0 0 5px rgba(34,139,34,0.3); }
    to { box-shadow: 0 0 18px rgba(34,139,34,0.6); }
}

/* Back to top button */
.g032-back-top {
    position: fixed;
    bottom: 70px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--g032-primary);
    color: var(--g032-white);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--g032-shadow);
    transition: var(--g032-transition);
}

/* Desktop styles */
@media (min-width: 769px) {
    .g032-bottom-nav {
        display: none !important;
    }
    .g032-header {
        max-width: 430px;
    }
    body {
        max-width: 430px;
    }
}

/* Helper text utilities */
.g032-text-green { color: var(--g032-primary); }
.g032-text-gold { color: var(--g032-gold); }
.g032-text-center { text-align: center; }
.g032-mb-8 { margin-bottom: 8px; }
.g032-mb-12 { margin-bottom: 12px; }
.g032-mb-16 { margin-bottom: 16px; }

/* Internal link styles */
.g032-internal-link {
    color: var(--g032-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--g032-transition);
}

.g032-internal-link:hover {
    text-decoration: underline;
}

/* App download section */
.g032-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--g032-bg-card);
    border: 1px solid var(--g032-border);
    border-radius: var(--g032-radius-sm);
    padding: 10px 20px;
    color: var(--g032-text);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--g032-transition);
}

.g032-app-badge:hover {
    border-color: var(--g032-primary);
    color: var(--g032-primary);
}
