* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%);
    color: #e8e0f5;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: #f0e6ff;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #16082a 0%, #2a1547 100%);
    border-right: 2px solid #6b46c1;
    padding: 2rem 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo-container {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid #6b46c1;
    margin-bottom: 2rem;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.nav-link {
    color: #c7b3e5;
    text-decoration: none;
    padding: 1rem 1.5rem;
    margin: 0.3rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(107, 70, 193, 0.3);
    border-color: #6b46c1;
    transform: translateX(5px);
}

.nav-link.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #d4af37;
}

.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2000;
    background: #2a1547;
    border: 2px solid #6b46c1;
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #d4af37;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-content {
    margin-left: 280px;
    padding: 3rem;
    width: calc(100% - 280px);
    box-sizing: border-box;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 12px;
    border: 1px solid #6b46c1;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.subtitle {
    font-size: 1.2rem;
    color: #c7b3e5;
    font-weight: 300;
}

.intro-section {
    margin-bottom: 3rem;
}

.intro-card {
    background: rgba(42, 21, 71, 0.6);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #6b46c1;
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.3);
}

.intro-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.intro-card p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.notice-section {
    margin-bottom: 3rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.notice-card {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #d4af37;
    text-align: center;
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.notice-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.game-section {
    margin-bottom: 3rem;
}

.game-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #d4af37;
}

.game-container {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #6b46c1;
    box-shadow: 0 12px 48px rgba(107, 70, 193, 0.4);
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-note {
    text-align: center;
    font-style: italic;
    color: #c7b3e5;
}

.features-section {
    margin-bottom: 3rem;
}

.features-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #d4af37;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(42, 21, 71, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #6b46c1;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(42, 21, 71, 0.9);
    border-color: #d4af37;
    transform: scale(1.05);
}

.feature-box h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.site-footer {
    background: rgba(22, 8, 42, 0.9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #6b46c1;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
}

.footer-text {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f0e6ff;
}

.copyright {
    font-size: 0.9rem;
    color: #c7b3e5;
    margin-top: 1rem;
}

.age-verification-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification-modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #2a1547 0%, #16082a 100%);
    padding: 3rem;
    border-radius: 16px;
    border: 3px solid #d4af37;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e8e0f5;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-buttons button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.btn-yes {
    background: #d4af37;
    color: #16082a;
}

.btn-yes:hover {
    background: #f0c24d;
    transform: scale(1.05);
}

.btn-no {
    background: #6b46c1;
    color: #e8e0f5;
}

.btn-no:hover {
    background: #8257e5;
    transform: scale(1.05);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: rgba(42, 21, 71, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #6b46c1;
    margin-bottom: 2rem;
}

.legal-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.disclaimer-important {
    border: 2px solid #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.play-section {
    max-width: 1200px;
    margin: 0 auto;
}

.play-intro {
    background: rgba(42, 21, 71, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #6b46c1;
    margin-bottom: 2rem;
}

.play-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.play-tips {
    background: rgba(42, 21, 71, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #6b46c1;
    margin-top: 2rem;
}

.play-tips h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.play-tips ul {
    list-style: none;
    padding-left: 0;
}

.play-tips li {
    padding: 0.8rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 1.5rem;
        width: 100%;
    }
    
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .notice-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .game-frame {
        height: 300px;
    }
    
    .intro-card,
    .notice-card,
    .feature-box,
    .legal-section {
        padding: 1.5rem;
    }
}
