* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #1e1b4b;
    color: #e0e7ff;
    line-height: 1.6;
}

/* Age Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 75, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-modal-dialog {
    background: linear-gradient(135deg, #312e81, #1e1b4b);
    border: 3px solid #6366f1;
    border-radius: 20px;
    padding: 3rem;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-modal-title {
    font-size: 2.2rem;
    color: #a5b4fc;
    margin-bottom: 2rem;
    font-weight: 700;
}

.age-modal-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #c7d2fe;
}

.age-modal-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.age-btn {
    flex: 1;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
}

.age-btn-confirm {
    background: #10b981;
    color: white;
}

.age-btn-confirm:hover {
    background: #059669;
    transform: scale(1.05);
}

.age-btn-reject {
    background: #ef4444;
    color: white;
}

.age-btn-reject:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Header */
.top-header {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.primary-nav {
    padding: 1.5rem 0;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.hamburger-button {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-anchor {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-anchor:hover,
.nav-anchor.current {
    background: rgba(255, 255, 255, 0.25);
}

/* Main Container */
.main-container {
    min-height: calc(100vh - 200px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #5b21b6, #6366f1);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
    font-size: 1.4rem;
    color: #e0e7ff;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.alt-section {
    background: rgba(49, 46, 129, 0.3);
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.narrow-content {
    max-width: 900px;
}

.section-title {
    font-size: 2.5rem;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.centered-title {
    text-align: center;
    margin-bottom: 3rem;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #c7d2fe;
}

/* Core Values */
.core-values {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.value-block {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4f46e5;
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.value-block:hover {
    transform: translateX(10px);
    border-color: #818cf8;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.value-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.value-icon {
    font-size: 3rem;
}

.value-title {
    font-size: 1.8rem;
    color: #a5b4fc;
    font-weight: 700;
}

.value-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: #c7d2fe;
}

/* Game Showcase */
.game-showcase {
    margin: 3rem 0;
}

.showcase-title {
    font-size: 2.5rem;
    color: #a5b4fc;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.showcase-description {
    text-align: center;
    font-size: 1.15rem;
    color: #c7d2fe;
    margin-bottom: 2.5rem;
}

.game-wrapper {
    background: #000;
    border: 4px solid #6366f1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.game-iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* Features Layout */
.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: #818cf8;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
}

.feature-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.5rem;
    color: #a5b4fc;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-box p {
    color: #c7d2fe;
    line-height: 1.8;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tip-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #6366f1;
    border-radius: 12px;
    padding: 2rem;
}

.tip-item h3 {
    font-size: 1.5rem;
    color: #a5b4fc;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tip-item p {
    color: #c7d2fe;
    line-height: 1.8;
}

/* Legal Section */
.legal-section {
    background: rgba(30, 27, 75, 0.5);
}

.legal-block {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.legal-block h2 {
    font-size: 1.9rem;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-block p {
    color: #c7d2fe;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.warning-block {
    background: rgba(185, 28, 28, 0.2);
    border-color: #ef4444;
}

.warning-block h2 {
    color: #fca5a5;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #312e81, #1e1b4b);
    border-top: 3px solid #6366f1;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e7ff;
}

.footer-resources {
    margin-top: 1.5rem;
}

.resources-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #c7d2fe;
}

.resources-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.resource-link {
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.resource-link:hover {
    color: #c7d2fe;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-button {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 100%;
        background: rgba(79, 70, 229, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-anchor {
        display: block;
        text-align: center;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-subheading {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-inner {
        padding: 0 1rem;
    }

    .features-layout,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 450px;
    }

    .age-modal-dialog {
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .resources-links {
        flex-direction: column;
        gap: 1rem;
    }
}
