* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: #f0fdf4;
    color: #1e293b;
    line-height: 1.6;
}

/* Top Navigation */
.top-nav {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.hero-desc {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: #059669;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    font-size: 4rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #10b981, #047857);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Wrapper */
.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Intro Section */
.intro {
    padding: 5rem 0;
    background: white;
}

.intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 2rem;
    text-align: center;
}

.intro p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #475569;
}

/* Key Points */
.key-points {
    padding: 5rem 0;
    background: #ecfdf5;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.point-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.point-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.point-card.green {
    border-top: 4px solid #10b981;
}

.point-card.teal {
    border-top: 4px solid #14b8a6;
}

.point-card.emerald {
    border-top: 4px solid #059669;
}

.point-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.point-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.point-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 0;
    background: white;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 1rem;
}

.showcase-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.game-wrapper {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: #ecfdf5;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 3rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Commitment Section */
.commitment {
    padding: 5rem 0;
    background: white;
}

.commitment-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 1.5rem;
    text-align: center;
}

.commitment-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 2rem;
}

.commitment-list {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto 0;
}

.commitment-list li {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

/* Play Page */
.play-content {
    padding: 4rem 0;
    background: white;
}

.game-instructions {
    background: #ecfdf5;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.game-instructions h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 1rem;
}

.game-instructions p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.instruction-item {
    text-align: center;
}

.inst-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.instruction-item p {
    font-size: 0.95rem;
    color: #64748b;
}

.play-game-area {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.play-frame {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 12px;
}

.play-notice {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.play-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.play-notice p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: white;
    min-height: 60vh;
}

.terms-article {
    background: #f8fafc;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.terms-article h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 1rem;
}

.terms-article p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.terms-article ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.terms-article li {
    margin-bottom: 0.5rem;
    color: #475569;
    line-height: 1.7;
}

.highlight-article {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 5px solid #059669;
}

/* Footer */
.site-footer {
    background: #1e293b;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #10b981;
}

.footer-col p {
    line-height: 1.7;
    opacity: 0.85;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #10b981;
}

.footer-bar {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.75;
}

/* Age Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 1rem;
}

.modal-box p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.modal-subtext {
    font-size: 1rem;
    opacity: 0.8;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Raleway', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: #64748b;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #047857;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 400px;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-banner h1 {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .intro h2,
    .showcase-header h2,
    .benefits h2,
    .commitment-content h2 {
        font-size: 2rem;
    }
    
    .points-grid,
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .game-embed,
    .play-frame {
        height: 450px;
    }
    
    .modal-box {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}
