/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Blue/Teal theme */
    --primary-50: #e0f7ff;
    --primary-100: #b3ebff;
    --primary-200: #80deff;
    --primary-300: #4dd0ff;
    --primary-400: #26c5ff;
    --primary-500: #00b8ff;
    --primary-600: #00a3e6;
    --primary-700: #0088cc;
    --primary-800: #006fb3;
    --primary-900: #004d80;

    /* Secondary Colors - Orange/Amber */
    --secondary-50: #fff8e1;
    --secondary-100: #ffecb3;
    --secondary-200: #ffe082;
    --secondary-300: #ffd54f;
    --secondary-400: #ffca28;
    --secondary-500: #ffc107;
    --secondary-600: #ffb300;
    --secondary-700: #ffa000;
    --secondary-800: #ff8f00;
    --secondary-900: #ff6f00;

    /* Accent - Green */
    --accent-50: #e8f5e9;
    --accent-100: #c8e6c9;
    --accent-200: #a5d6a7;
    --accent-300: #81c784;
    --accent-400: #66bb6a;
    --accent-500: #4caf50;
    --accent-600: #43a047;
    --accent-700: #388e3c;
    --accent-800: #2e7d32;
    --accent-900: #1b5e20;

    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #eeeeee;
    --neutral-300: #e0e0e0;
    --neutral-400: #bdbdbd;
    --neutral-500: #9e9e9e;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;

    /* Semantic Colors */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;

    /* Spacing System (8px base) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;

    /* Typography */
    --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-50);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

/* ===== AGE VERIFICATION MODAL ===== */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn var(--transition-base);
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    margin: 0 var(--space-3);
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: slideUp var(--transition-slow);
}

.age-modal-icon {
    font-size: 64px;
    margin-bottom: var(--space-3);
}

.age-modal-content h2 {
    font-size: 28px;
    margin-bottom: var(--space-2);
    color: var(--neutral-900);
}

.age-modal-content p {
    color: var(--neutral-700);
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.age-disclaimer {
    font-size: 14px;
    color: var(--neutral-600);
}

.age-checkbox-container {
    margin: var(--space-4) 0;
    text-align: left;
}

.age-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: 8px;
    transition: background var(--transition-base);
}

.age-checkbox-label:hover {
    background: var(--neutral-100);
}

.age-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.age-checkbox-label span {
    color: var(--neutral-800);
    font-weight: 500;
}

.age-confirm-btn,
.age-deny-btn {
    width: 100%;
    padding: var(--space-2) var(--space-4);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    margin-top: var(--space-2);
}

.age-confirm-btn {
    background: var(--primary-600);
    color: white;
}

.age-confirm-btn:not(:disabled):hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.age-confirm-btn:disabled {
    background: var(--neutral-300);
    cursor: not-allowed;
    opacity: 0.6;
}

.age-deny-btn {
    background: transparent;
    color: var(--neutral-600);
    border: 1px solid var(--neutral-300);
}

.age-deny-btn:hover {
    background: var(--neutral-100);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--neutral-900);
    color: white;
    padding: var(--space-3);
    z-index: 9999;
    box-shadow: var(--shadow-xl);
    animation: slideUpBottom var(--transition-slow);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.cookie-btn {
    padding: var(--space-2) var(--space-3);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: var(--accent-500);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--accent-600);
}

.cookie-link {
    color: var(--primary-300);
    font-size: 14px;
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--primary-200);
}

/* ===== NAVIGATION ===== */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2) var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-accent {
    color: var(--secondary-600);
    -webkit-text-fill-color: var(--secondary-600);
}

.nav-links {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.nav-links a {
    color: var(--neutral-700);
    font-weight: 500;
    position: relative;
    padding: var(--space-1) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: var(--space-1);
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu {
    display: none;
    background: white;
    box-shadow: var(--shadow-md);
    padding: var(--space-2);
}

.mobile-menu a {
    display: block;
    padding: var(--space-2);
    color: var(--neutral-700);
    font-weight: 500;
    border-radius: 6px;
}

.mobile-menu a:hover {
    background: var(--neutral-100);
    color: var(--primary-600);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-8) var(--space-3);
    max-width: 900px;
}

.hero-title {
    font-size: 56px;
    color: white;
    margin-bottom: var(--space-3);
    animation: fadeInUp var(--transition-slow) 0.2s;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-5);
    line-height: 1.5;
    animation: fadeInUp var(--transition-slow) 0.4s;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
    animation: fadeInUp var(--transition-slow) 0.6s;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.feature-icon {
    font-size: 24px;
}

.cta-button {
    background: var(--secondary-500);
    color: var(--neutral-900);
    padding: var(--space-3) var(--space-6);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp var(--transition-slow) 0.8s;
}

.cta-button:hover {
    background: var(--secondary-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== SECTIONS ===== */
.games-section,
.benefits-section {
    padding: var(--space-10) var(--space-3);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: var(--space-2);
    color: var(--neutral-900);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

/* ===== GAMES GRID ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.game-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-align: center;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.game-icon {
    font-size: 80px;
    margin-bottom: var(--space-3);
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.game-card h3 {
    font-size: 24px;
    margin-bottom: var(--space-2);
    color: var(--neutral-900);
}

.game-card p {
    color: var(--neutral-600);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.game-stats {
    margin-bottom: var(--space-3);
    color: var(--secondary-700);
    font-weight: 600;
}

.play-btn {
    display: inline-block;
    background: var(--primary-600);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.play-btn:hover {
    background: var(--primary-700);
    transform: scale(1.05);
}

/* ===== BENEFITS GRID ===== */
.benefits-section {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.benefit-card {
    text-align: center;
    padding: var(--space-4);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    background: var(--neutral-50);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: var(--space-2);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-2);
    color: var(--neutral-900);
}

.benefit-card p {
    color: var(--neutral-600);
    line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-600), var(--accent-400));
    color: white;
    padding: var(--space-10) var(--space-3);
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    color: white;
    margin-bottom: var(--space-2);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: var(--space-4);
    opacity: 0.95;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: var(--space-8) var(--space-3) var(--space-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-column h4 {
    color: white;
    margin-bottom: var(--space-3);
    font-size: 18px;
}

.footer-column a {
    display: block;
    color: var(--neutral-400);
    margin-bottom: var(--space-2);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--primary-400);
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-4);
    border-radius: 12px;
    margin-bottom: var(--space-4);
    border-left: 4px solid var(--secondary-500);
}

.footer-disclaimer h4 {
    color: var(--secondary-400);
    margin-bottom: var(--space-2);
    font-size: 18px;
}

.footer-disclaimer p {
    margin-bottom: var(--space-2);
    line-height: 1.6;
    color: var(--neutral-300);
}

.help-links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-2);
}

.help-links a {
    color: var(--primary-400);
    text-decoration: underline;
    font-weight: 500;
}

.help-links a:hover {
    color: var(--primary-300);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-500);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpBottom {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .games-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-features {
        flex-direction: column;
        gap: var(--space-2);
    }

    .age-modal-content {
        margin: var(--space-3);
        padding: var(--space-4);
    }
}
