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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #9333ea;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-symbol {
    font-size: 2rem;
    color: #9333ea;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: #9333ea;
    display: block;
    border-radius: 2px;
    transition: 0.3s;
}

.main-nav {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.75rem 1.5rem;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(147, 51, 234, 0.1);
    color: #fff;
    border-color: rgba(147, 51, 234, 0.3);
}

.nav-link.active {
    background: rgba(147, 51, 234, 0.2);
    color: #fff;
    border-color: #9333ea;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #6b21a8 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 2px solid #9333ea;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-subheading {
    font-size: 1.5rem;
    color: #e9d5ff;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9333ea, transparent);
    margin: 1.5rem auto;
}

.hero-description {
    font-size: 1.15rem;
    color: #d8b4fe;
    font-weight: 400;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
    padding: 3.5rem 2rem;
    text-align: center;
    border-bottom: 2px solid #9333ea;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.page-hero-content p {
    font-size: 1.25rem;
    color: #e9d5ff;
    font-weight: 300;
}

/* Section */
.section {
    padding: 4rem 2rem;
}

.section-alt {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 1px solid #3f3f46;
    border-bottom: 1px solid #3f3f46;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-title.centered {
    text-align: center;
}

/* Panels */
.intro-panel,
.responsibility-panel,
.info-panel {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #6b21a8;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.2);
}

.text-content {
    color: #d1d5db;
    font-size: 1.05rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-content h3 {
    color: #e9d5ff;
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.text-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.text-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #6b21a8;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.4);
    border-color: #9333ea;
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.principle-card h3 {
    color: #e9d5ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.principle-card p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Game */
.game-wrapper {
    margin-top: 2rem;
}

.game-frame-container {
    background: #000;
    border: 2px solid #9333ea;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 8px;
    background: #000;
}

.game-frame-full {
    padding: 1.5rem;
}

.game-full {
    height: 750px;
}

.game-note {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #6b21a8;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.game-note p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Features Layout */
.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #6b21a8;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.4);
    border-color: #9333ea;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
}

.feature-box h3 {
    color: #e9d5ff;
    font-size: 1.35rem;
    font-weight: 600;
}

.feature-box p {
    color: #d1d5db;
    line-height: 1.7;
}

/* Legal Document */
.legal-document {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-article {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #6b21a8;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.legal-article:last-child {
    margin-bottom: 0;
}

.legal-article h2 {
    color: #e9d5ff;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.legal-article h3 {
    color: #d8b4fe;
    font-size: 1.25rem;
    margin: 1.75rem 0 1rem;
    font-weight: 600;
}

.legal-article p {
    color: #d1d5db;
    line-height: 1.9;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.legal-article ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #d1d5db;
}

.legal-article li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.warning-article {
    background: linear-gradient(135deg, #7c2d12 0%, #991b1b 100%);
    border-color: #dc2626;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.warning-article h2 {
    color: #fecaca;
}

.warning-article p,
.warning-article li {
    color: #fecaca;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-top: 2px solid #9333ea;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: #e9d5ff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9333ea;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-copy {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Age Modal */
.age-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.age-modal-inner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 2px solid #9333ea;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.5);
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-modal-inner h2 {
    color: #e9d5ff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.age-modal-inner p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.age-yes {
    background: #9333ea;
    color: white;
    border-color: #9333ea;
}

.age-yes:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.5);
}

.age-no {
    background: transparent;
    color: #9ca3af;
    border-color: #4b5563;
}

.age-no:hover {
    background: #1f2937;
    border-color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #9333ea;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        max-height: 400px;
    }

    .nav-link {
        border-radius: 0;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid #3f3f46;
    }

    .hero-heading {
        font-size: 2.25rem;
    }

    .hero-subheading {
        font-size: 1.15rem;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-panel,
    .responsibility-panel,
    .info-panel {
        padding: 2rem;
    }

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

    .features-layout {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .game-full {
        height: 550px;
    }

    .age-modal-inner {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .legal-article {
        padding: 2rem;
    }

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