/* Cyberpunk Theme - Neon Cortex */

body {
    background-color: #050505 !important;
    background-image:
            linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
            linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 6px 100%;
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
}

/* Typography */
h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.7), 0 0 10px rgba(0, 243, 255, 0.5);
}

.glitch-text {
    position: relative;
}

.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(13px, 9999px, 81px, 0); }
    20% { clip: rect(74px, 9999px, 14px, 0); }
    40% { clip: rect(25px, 9999px, 96px, 0); }
    60% { clip: rect(62px, 9999px, 3px, 0); }
    80% { clip: rect(89px, 9999px, 45px, 0); }
    100% { clip: rect(1px, 9999px, 28px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(2px, 9999px, 83px, 0); }
    40% { clip: rect(42px, 9999px, 12px, 0); }
    60% { clip: rect(91px, 9999px, 55px, 0); }
    80% { clip: rect(18px, 9999px, 31px, 0); }
    100% { clip: rect(52px, 9999px, 7px, 0); }
}

/* HUD */
.cyber-hud {
    position: fixed;
    top: 6rem;
    right: 1.5rem;
    width: 20rem;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: 'Share Tech Mono', monospace;
}

.hud-module {
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0, 243, 255, 0.1);
    padding: 1rem;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

/* Choices */
.choice-btn {
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(20,20,20,0.8) 100%);
    border: 1px solid #333;
    border-left: 4px solid #333;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    font-family: 'Share Tech Mono', monospace;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.choice-btn:hover {
    border-color: #ff00c1;
    border-left-color: #ff00c1;
    background: rgba(255, 0, 193, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 193, 0.3);
    transform: translateX(5px);
}

.choice-btn.selected {
    border-color: #00f3ff;
    border-left-color: #00f3ff;
    background: rgba(0, 243, 255, 0.1);
}

/* Layout */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    margin-bottom: 4rem;
    border-left: 1px solid rgba(0, 243, 255, 0.2);
    padding-left: 2rem;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.prose {
    font-family: 'Share Tech Mono', monospace;
    color: #a5b4fc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.prose strong {
    color: #ff00c1;
}