@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-color: #00d4ff;
    --secondary-color: #00ff88;
    --accent-color: #9d4edd;
    --bg-dark: #0a0e27;
    --bg-medium: #151a36;
    --bg-light: #1e2749;
    --text-light: #f0f0f0;
    --text-gray: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    border-right: 2px solid var(--primary-color);
    box-shadow: 5px 0 20px rgba(0, 212, 255, 0.3);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.logo-container {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 2rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.logo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px var(--secondary-color));
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

nav {
    padding: 0 1rem;
}

nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 0.5rem;
}

nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.3rem;
    color: var(--secondary-color);
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: var(--bg-medium);
    padding: 10px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 280px);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, var(--bg-medium), var(--bg-light));
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--bg-medium);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    font-size: 1.3rem;
}

/* Content Box */
.content-box {
    background: var(--bg-medium);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-color);
}

.content-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-box ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Game Embed */
.game-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    border: 3px solid var(--accent-color);
    box-shadow: 0 15px 50px rgba(157, 78, 221, 0.4);
}

.game-wrapper h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.game-wrapper iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 10px;
    background: #000;
}

/* Footer */
footer {
    background: var(--bg-medium);
    padding: 3rem 2rem;
    margin-top: 3rem;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--bg-medium), var(--bg-dark));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.5);
}

.age-modal-content h2 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
}

.age-btn.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--primary-color);
}

.age-btn.no {
    background: #555;
    color: white;
}

.age-btn.no:hover {
    background: #666;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 5rem 1rem 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-banner {
        padding: 2rem 1.5rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .game-wrapper {
        padding: 1rem;
    }

    .game-wrapper iframe {
        height: 500px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
