@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00d4ff;
    --secondary: #0088ff;
    --dark: #0a0e27;
    --darker: #050811;
    --light: #e0f7ff;
    --accent: #00ffff;
    --text: #c5e3f0;
    --gradient: linear-gradient(135deg, #0088ff 0%, #00d4ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #000814;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 136, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Layout */
.site-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 8, 17, 0.98) 100%);
    border-right: 2px solid var(--primary);
    padding: 2rem 0;
    position: fixed;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 212, 255, 0.3);
    left: 0;
    top: 0;
}

.sidebar-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    letter-spacing: 3px;
}

.sidebar-logo::before {
    content: "▶ ";
    color: var(--accent);
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 1.2rem 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.sidebar nav a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-left-color: var(--primary);
    color: var(--primary);
    padding-left: 2.5rem;
}

/* Mobile Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10001;
    background: var(--gradient);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.sidebar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    padding: 3rem;
    width: calc(100% - 280px);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0 4rem;
    background: radial-gradient(ellipse at center, rgba(0, 136, 255, 0.2) 0%, transparent 70%);
    margin: -3rem -3rem 3rem -3rem;
    padding: 5rem 3rem;
    border-bottom: 2px solid var(--primary);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    font-weight: 900;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light);
    line-height: 1.8;
}

/* Info Panel */
.info-panel {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 0;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.info-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
}

.info-panel h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-panel h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-panel p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-panel ul {
    list-style: none;
    padding-left: 0;
}

.info-panel li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.info-panel li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Alert Box */
.alert-box {
    background: linear-gradient(90deg, rgba(0, 136, 255, 0.3) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 0;
    padding: 2rem;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.alert-item {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
}

.alert-item::before {
    content: "⚡";
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.alert-item p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--light);
}

/* Game Section */
.game-section {
    margin: 3rem 0;
    text-align: center;
}

.game-frame {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid var(--primary);
    padding: 2rem;
    display: inline-block;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.game-frame::before,
.game-frame::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent);
}

.game-frame::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.game-frame::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

.game-frame iframe {
    border: none;
    width: 750px;
    height: 600px;
    max-width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(5, 8, 17, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
    border-top: 2px solid var(--primary);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin: 0.5rem 0;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--light);
    font-size: 0.9rem;
}

/* Age Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    border: 3px solid var(--primary);
    padding: 3rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.7);
    position: relative;
}

.modal-content::before,
.modal-content::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent);
}

.modal-content::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.modal-content::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 3rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-yes {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
}

.btn-no {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

/* Utility Classes */
.text-highlight {
    color: var(--accent);
    font-weight: 600;
}

.divider {
    height: 2px;
    background: var(--gradient);
    margin: 2rem 0;
    opacity: 0.3;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .site-wrapper {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    .hero {
        margin: -5rem -1.5rem 2rem -1.5rem;
        padding: 6rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .alert-box {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .game-frame {
        padding: 1rem;
    }

    .game-frame iframe {
        width: 100%;
        height: 400px;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
