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

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

:root {
    --space-blue: #0ea5e9;
    --deep-cyan: #06b6d4;
    --tech-teal: #14b8a6;
    --dark-space: #0c1222;
    --midnight: #1e293b;
    --steel: #64748b;
    --light: #f1f5f9;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-space);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Asymmetric Layout */
.layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    min-height: 100vh;
    gap: 0;
}

/* Left Panel */
.left-panel {
    background: linear-gradient(180deg, var(--midnight), var(--dark-space));
    border-right: 3px solid var(--space-blue);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.brand {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--space-blue), var(--tech-teal));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.brand-icon span {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

.brand h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--space-blue), var(--deep-cyan), var(--tech-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand p {
    color: var(--steel);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Navigation */
.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin: 0.75rem 0;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--light);
    text-decoration: none;
    background: rgba(14, 165, 233, 0.1);
    border-left: 4px solid transparent;
    border-radius: 0 10px 10px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(14, 165, 233, 0.2);
    border-left-color: var(--space-blue);
    transform: translateX(5px);
}

.nav-menu li a::before {
    content: '▸';
    margin-right: 0.75rem;
    color: var(--space-blue);
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    background: linear-gradient(135deg, var(--space-blue), var(--tech-teal));
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Right Content Area */
.right-content {
    background: var(--dark-space);
    padding: 3rem;
}

.header-bar {
    background: linear-gradient(90deg, var(--space-blue), var(--deep-cyan));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
}

.header-bar h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.header-bar p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Content Boxes */
.content-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    border: 2px solid var(--midnight);
    border-left: 4px solid var(--space-blue);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.content-box:hover {
    transform: translateX(5px);
    border-left-color: var(--tech-teal);
}

.content-box h3 {
    font-size: 1.8rem;
    color: var(--space-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-box p {
    color: var(--steel);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-box ul {
    margin-left: 1.5rem;
    color: var(--steel);
}

.content-box ul li {
    margin-bottom: 0.75rem;
}

/* Alert Panel */
.alert-panel {
    background: linear-gradient(135deg, var(--midnight), var(--dark-space));
    border: 3px solid var(--space-blue);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.alert-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--space-blue), var(--deep-cyan), var(--tech-teal));
}

.alert-panel h3 {
    font-size: 2rem;
    color: var(--space-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.alert-panel p {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Game Container */
.game-container {
    background: var(--midnight);
    border: 3px solid var(--space-blue);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
}

.game-container h2 {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--space-blue), var(--deep-cyan), var(--tech-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 900;
}

.game-embed {
    background: var(--dark-space);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.game-embed iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 2px solid var(--deep-cyan);
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background: linear-gradient(90deg, var(--midnight), var(--dark-space));
    border-top: 3px solid var(--space-blue);
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.site-footer h4 {
    font-size: 1.5rem;
    color: var(--space-blue);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--deep-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--tech-teal);
    text-decoration: underline;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 18, 34, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, var(--midnight), var(--dark-space));
    border: 4px solid var(--space-blue);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.4);
}

.modal-box h2 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--space-blue), var(--deep-cyan), var(--tech-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.modal-box p {
    color: var(--steel);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: linear-gradient(135deg, var(--space-blue), var(--deep-cyan));
    color: white;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.5);
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 2px solid var(--steel);
}

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

/* Responsive */
@media (max-width: 968px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .left-panel {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
    }

    .left-panel.open {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .right-content {
        padding: 5rem 1.5rem 2rem;
    }

    .header-bar h2 {
        font-size: 2rem;
    }

    .game-embed iframe {
        height: 400px;
    }

    .modal-box {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-actions {
        flex-direction: column;
    }
}
