* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: #f0f4f8;
    color: #2d3748;
    line-height: 1.7;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #2d5016 0%, #3d7021 50%, #2d5016 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-icon {
    font-size: 2rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #2d5016 0%, #3d7021 50%, #5a9c2e 100%);
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="0.9em" font-size="20" opacity="0.1">🎰</text></svg>') repeat;
    opacity: 0.1;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #fff;
    color: #2d5016;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #f7fafc;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #2d5016;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-box p {
    color: #4a5568;
    line-height: 1.8;
}

/* Main Section */
.main-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
}

.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.content-block h2 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-block p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 0;
    background: #fff;
}

.game-section-header {
    text-align: center;
    padding: 0 2rem 3rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 0;
}

.game-wrapper-full {
    width: 100%;
    background: #f7fafc;
    padding: 2rem 0;
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    background: #fff;
    display: block;
}

.game-benefits-wrapper {
    padding: 2.5rem 2rem 0;
}

.game-benefits {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    font-weight: 500;
    color: #2d3748;
}

.benefit-icon {
    color: #3d7021;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Info Cards */
.info-cards {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.card h3 {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: #4a5568;
    line-height: 1.9;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #2d5016 0%, #3d7021 100%);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-btn-large {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: #fff;
    color: #2d5016;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Page Content */
.page-content {
    min-height: calc(100vh - 70px);
}

.play-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #2d5016 0%, #3d7021 100%);
    color: #fff;
}

.play-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.play-instructions {
    padding: 3rem 2rem;
    background: #fff;
}

.instruction-card {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.instruction-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.instruction-card ul {
    list-style-position: inside;
    color: #4a5568;
}

.instruction-card li {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.play-game-section {
    padding: 3rem 2rem;
    background: #f7fafc;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}

.play-game-wrapper {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.play-game-iframe {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 10px;
}

.play-reminder {
    padding: 2rem;
    background: #fff;
}

.reminder-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
    text-align: center;
}

.reminder-box p {
    color: #856404;
    font-weight: 500;
    margin: 0;
}

/* Legal Pages */
.legal-page {
    padding: 3rem 2rem;
    background: #fff;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    color: #2d5016;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.date-stamp {
    color: #718096;
    font-style: italic;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.legal-text {
    background: #f7fafc;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.legal-text h2 {
    color: #2d5016;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #4a5568;
}

.legal-text li {
    margin: 0.75rem 0;
    line-height: 1.9;
}

/* Footer */
.site-footer {
    background: linear-gradient(90deg, #1a2f0e 0%, #2d5016 100%);
    color: #fff;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0.75rem 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #a3e635;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
}

/* Age Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 520px;
    margin: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    color: #2d5016;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-content p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-buttons button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, #2d5016 0%, #3d7021 100%);
    color: #fff;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
}

.btn-decline {
    background: #dc3545;
    color: #fff;
}

.btn-decline:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #2d5016;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .hero-banner {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .game-iframe {
        height: 450px;
    }

    .play-game-iframe {
        height: 550px;
    }

    .modal-content {
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .legal-text {
        padding: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}
