@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B46C1;
    --secondary-color: #D946EF;
    --accent-color: #0EA5E9;
    --dark-bg: #1E1B4B;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-light: #CBD5E1;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #312E81 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    z-index: 1000;
    border-right: 2px solid rgba(107, 70, 193, 0.3);
    transition: transform 0.3s ease;
}

.sidebar.closed {
    transform: translateX(-100%);
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 1.5rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    transform: translateX(5px);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 3rem;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, white, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(107, 70, 193, 0.3);
}

.content-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.content-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-card p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.content-card ul {
    list-style: none;
    padding-left: 0;
}

.content-card ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.content-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Notice Boxes */
.notice-box {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(239, 68, 68, 0.2));
    border-left: 4px solid #EF4444;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box h3 {
    color: #FCA5A5;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.game-container iframe {
    border: none;
    border-radius: 12px;
    max-width: 100%;
}

/* Footer */
.footer {
    background: rgba(30, 27, 75, 0.8);
    border-top: 2px solid rgba(107, 70, 193, 0.3);
    padding: 3rem 2rem;
    margin-left: 280px;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-note {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 2rem;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark-bg), #312E81);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(107, 70, 193, 0.5);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 3rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-btn-yes {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.age-btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.4);
}

.age-btn-no {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    border: 2px solid #EF4444;
}

.age-btn-no:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    .footer {
        margin-left: 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-content h2 {
        font-size: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
