@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --forest-dark: #1a3d32;
    --forest-medium: #2d5a4a;
    --lake-blue: #4a8c7a;
    --birch-light: #d4e8d4;
    --birch-cream: #f5f9f5;
    --sand-beige: #e8dcc8;
    --sunset-orange: #d4845c;
    --deep-water: #0f2922;
    --mist-gray: #a8b8b0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(26, 61, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 61, 50, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 61, 50, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--forest-dark);
    background: var(--birch-cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 41, 34, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

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

.age-modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-modal-header {
    margin-bottom: 24px;
}

.age-modal-icon {
    width: 64px;
    height: 64px;
    color: var(--lake-blue);
    margin: 0 auto 16px;
}

.age-modal-content h2 {
    font-size: 28px;
    color: var(--forest-dark);
    margin-bottom: 16px;
}

.age-modal-content p {
    font-size: 16px;
    color: var(--forest-medium);
    margin-bottom: 32px;
    line-height: 1.5;
}

.age-checkbox-wrapper {
    margin-bottom: 32px;
}

.age-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--forest-dark);
    user-select: none;
}

.age-checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--lake-blue);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.age-checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--lake-blue);
}

.age-checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.age-confirm-btn {
    background: var(--lake-blue);
    color: var(--white);
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.age-confirm-btn:hover:not(:disabled) {
    background: var(--forest-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.age-confirm-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--forest-dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: var(--birch-light);
    text-decoration: underline;
}

.cookie-accept-btn {
    background: var(--lake-blue);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

.cookie-accept-btn:hover {
    background: var(--sunset-orange);
}

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--forest-dark);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--lake-blue);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--forest-medium);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lake-blue);
    transition: var(--transition);
}

.nav-links a:not(.nav-contact-btn):hover::after {
    width: 100%;
}

.nav-contact-btn {
    background: var(--lake-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
}

.nav-contact-btn:hover {
    background: var(--forest-medium);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--forest-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest-medium) 0%, var(--lake-blue) 50%, var(--birch-light) 100%);
    opacity: 0.1;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, var(--lake-blue) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, var(--sunset-orange) 0%, transparent 40%);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 64px;
    color: var(--forest-dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--forest-medium);
    margin-bottom: 40px;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: var(--lake-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--forest-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--forest-medium);
    border: 2px solid var(--lake-blue);
}

.btn-secondary:hover {
    background: var(--lake-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 56px;
    font-size: 18px;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--lake-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--forest-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.games-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    color: var(--forest-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--forest-medium);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

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

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

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--lake-blue);
    transition: var(--transition);
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--sunset-orange);
}

.game-card h3 {
    font-size: 28px;
    color: var(--forest-dark);
    margin-bottom: 16px;
}

.game-card p {
    color: var(--forest-medium);
    margin-bottom: 24px;
    line-height: 1.5;
}

.game-btn {
    display: inline-block;
    background: var(--lake-blue);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.game-btn:hover {
    background: var(--forest-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.benefits-section {
    padding: 100px 40px;
    background: var(--white);
}

.benefits-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    padding: 32px;
    border-radius: 12px;
    background: var(--birch-cream);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 48px;
    height: 48px;
    color: var(--lake-blue);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 22px;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

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

.cta-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--forest-medium) 0%, var(--lake-blue) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: var(--birch-light);
    margin-bottom: 40px;
}

.footer {
    background: var(--forest-dark);
    color: var(--birch-light);
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

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

.footer-column a {
    display: block;
    color: var(--birch-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.footer-disclaimer h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-disclaimer p {
    line-height: 1.5;
    margin-bottom: 20px;
}

.help-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.help-links a {
    color: var(--sunset-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.help-links a:hover {
    color: var(--sand-beige);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--mist-gray);
    font-size: 14px;
}

.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
}

.content-page h1 {
    font-size: 48px;
    color: var(--forest-dark);
    margin-bottom: 24px;
}

.content-page h2 {
    font-size: 32px;
    color: var(--forest-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-page h3 {
    font-size: 24px;
    color: var(--forest-medium);
    margin-top: 32px;
    margin-bottom: 12px;
}

.content-page p {
    color: var(--forest-medium);
    margin-bottom: 16px;
    line-height: 1.5;
}

.content-page ul, .content-page ol {
    margin-bottom: 16px;
    padding-left: 32px;
}

.content-page li {
    color: var(--forest-medium);
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-page a {
    color: var(--lake-blue);
    text-decoration: none;
    transition: var(--transition);
}

.content-page a:hover {
    color: var(--sunset-orange);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--birch-light);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lake-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--lake-blue);
    color: var(--white);
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.submit-btn:hover {
    background: var(--forest-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-header h1 {
    font-size: 48px;
    color: var(--forest-dark);
    margin-bottom: 16px;
}

.game-board {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.balance-display {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--birch-cream);
    border-radius: 12px;
}

.balance-label {
    font-size: 14px;
    color: var(--forest-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.balance-amount {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--lake-blue);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: var(--transition);
        gap: 16px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

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

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

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

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 36px;
    }

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

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

    .cta-content h2 {
        font-size: 36px;
    }

    .age-modal-content {
        padding: 32px 24px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 20px;
    }

    .game-board {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .btn {
        width: 100%;
    }

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