* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Philosopher', sans-serif;
    background: linear-gradient(135deg, #0a0015 0%, #1a0033 50%, #2d0050 100%);
    color: #e6d5ff;
    min-height: 100vh;
    display: flex;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a0033 0%, #0d001a 100%);
    border-right: 2px solid #6b46c1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(107, 70, 193, 0.3);
}

.logo {
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid #6b46c1;
    text-align: center;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #a78bfa;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(167, 139, 250, 0.6);
}

.tagline {
    font-size: 0.9rem;
    color: #c4b5fd;
    font-style: italic;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav a {
    padding: 1rem 1.5rem;
    color: #c4b5fd;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(167, 139, 250, 0.1);
    border-left-color: #a78bfa;
    color: #e9d5ff;
}

.sidebar-nav a.active {
    background: rgba(167, 139, 250, 0.2);
    border-left-color: #a78bfa;
    color: #fff;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 2px solid #6b46c1;
    text-align: center;
}

.sidebar-footer .notice {
    font-size: 0.95rem;
    color: #ddd6fe;
    margin: 0.5rem 0;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: #6b46c1;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 16px;
    border: 2px solid #6b46c1;
}

.page-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #a78bfa;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #c4b5fd;
    font-style: italic;
}

.intro-section {
    margin-bottom: 3rem;
}

.intro-card {
    background: rgba(26, 0, 51, 0.6);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #6b46c1;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.intro-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #a78bfa;
    margin-bottom: 1.5rem;
}

.intro-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #ddd6fe;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: rgba(26, 0, 51, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #6b46c1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.3);
}

.feature-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #c4b5fd;
    margin-bottom: 1rem;
}

.feature-box p {
    line-height: 1.7;
    color: #ddd6fe;
}

.game-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(26, 0, 51, 0.4);
    border-radius: 16px;
    border: 2px solid #6b46c1;
}

.game-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #a78bfa;
    text-align: center;
    margin-bottom: 1rem;
}

.game-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #c4b5fd;
    margin-bottom: 2rem;
}

.game-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.info-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.widget {
    background: rgba(26, 0, 51, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #6b46c1;
}

.widget h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #a78bfa;
    margin-bottom: 1rem;
}

.widget p {
    line-height: 1.7;
    color: #ddd6fe;
}

.play-section {
    margin-bottom: 3rem;
}

.play-info {
    background: rgba(26, 0, 51, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #6b46c1;
    margin-bottom: 2rem;
}

.play-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #a78bfa;
    margin-bottom: 1rem;
}

.play-info p {
    line-height: 1.7;
    color: #ddd6fe;
    margin-bottom: 1rem;
}

.play-tips {
    background: rgba(26, 0, 51, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #6b46c1;
    margin-top: 2rem;
}

.play-tips h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #a78bfa;
    margin-bottom: 1rem;
}

.play-tips ul {
    list-style: none;
    padding-left: 0;
}

.play-tips li {
    padding: 0.5rem 0;
    color: #ddd6fe;
    font-size: 1.05rem;
}

.legal-content {
    background: rgba(26, 0, 51, 0.6);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid #6b46c1;
    margin-bottom: 3rem;
}

.legal-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #a78bfa;
    margin: 2rem 0 1rem;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    line-height: 1.8;
    color: #ddd6fe;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #ddd6fe;
}

.legal-content li {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.site-footer {
    background: rgba(26, 0, 51, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #6b46c1;
    margin-top: 3rem;
    text-align: center;
}

.footer-content p {
    color: #c4b5fd;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.footer-links a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e9d5ff;
    text-decoration: underline;
}

.footer-notice {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 1rem;
}

.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background: linear-gradient(135deg, #1a0033 0%, #2d0050 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #a78bfa;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 0 40px rgba(167, 139, 250, 0.5);
}

.age-gate-content h2 {
    font-family: 'Cinzel', serif;
    color: #a78bfa;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-gate-content p {
    color: #ddd6fe;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-accept,
.btn-reject {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Philosopher', sans-serif;
}

.btn-accept {
    background: #6b46c1;
    color: white;
}

.btn-accept:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

.btn-reject {
    background: #4b5563;
    color: white;
}

.btn-reject:hover {
    background: #6b7280;
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .intro-card h3 {
        font-size: 1.6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 500px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-gate-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-gate-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .game-frame {
        height: 400px;
    }

    .page-header {
        padding: 1.5rem;
    }

    .intro-card,
    .legal-content {
        padding: 1.5rem;
    }
}
