@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

:root {
    --primary-color: #6C2DA8;
    --secondary-color: #FFB800;
    --dark-bg: #1A0E2E;
    --light-bg: #F5F2FF;
    --text-dark: #2D1B4E;
    --text-light: #FFFFFF;
    --sidebar-width: 280px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1A0E2E 0%, #2D1B4E 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #2D1B4E 0%, #1A0E2E 100%);
    padding: 2rem 0;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(108, 45, 168, 0.3);
    transition: transform 0.3s ease;
}

.logo-container {
    padding: 0 2rem 2rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(108, 45, 168, 0.3);
    border-left-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 3rem;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(108, 45, 168, 0.8), rgba(255, 184, 0, 0.3));
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Content Sections */
.content-section {
    background: rgba(45, 27, 78, 0.6);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 45, 168, 0.3);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-section p,
.content-section ul {
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.content-section ul {
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
}

/* Notice Cards */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.notice-card {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.2), rgba(108, 45, 168, 0.2));
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    text-align: center;
}

.notice-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.game-container iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: rgba(26, 14, 46, 0.9);
    padding: 3rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

/* 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, #2D1B4E, #1A0E2E);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(255, 184, 0, 0.3);
}

.age-modal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.age-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.age-buttons button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.4);
}

.btn-no {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 1.5rem;
    }
    
    .hero {
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-grid {
        grid-template-columns: 1fr;
    }
}
