:root {
    --bg: #050505;
    --text: #e0e0e0;
    --neon: #00ff88;
    --danger: #ff4d4d;
    --border: #222;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Courier New', monospace;
    margin: 0;
    overflow-x: hidden;
}

.hidden { display: none !important; }

/* Layout */
.fullscreen-view {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Glitch Title */
.glitch-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0;
    animation: glitch 1s infinite alternate;
}

.subtitle {
    color: var(--neon);
    letter-spacing: 5px;
    margin: 10px 0 50px 0;
}

/* Result Visualization */
.result-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 250px;
    margin: 0 auto 30px auto;
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: 4px;
}

.result-img {
    width: 100%;
    height: 100%;
    object-fit: crop;
    filter: grayscale(0.5) contrast(1.2);
    opacity: 0.8;
}

.scanline {
    width: 100%;
    height: 100px;
    z-index: 10;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 255, 136, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { bottom: 100%; }
    80% { bottom: -100px; }
    100% { bottom: -100px; }
}

/* UI Elements */
.cyber-btn {
    background: transparent;
    border: 1px solid var(--neon);
    color: var(--neon);
    padding: 20px 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 2px;
}

.cyber-btn:hover {
    background: var(--neon);
    color: var(--bg);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.quiz-box { width: 100%; max-width: 650px; text-align: center; }

.question-text { font-size: 1.8rem; margin-bottom: 40px; font-weight: 700; line-height: 1.3; }

.options-grid { display: grid; gap: 15px; }

.option-btn {
    background: #0a0a0a;
    border: 1px solid var(--border);
    color: #888;
    padding: 22px;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}

.option-btn:hover { border-color: var(--neon); color: #fff; background: #111; }

.progress-bar { width: 100%; height: 2px; background: #222; margin-bottom: 40px; }
.fill { height: 100%; background: var(--neon); transition: width 0.5s; }

/* Result Elements */
.result-box { padding: 20px; border-radius: 8px; }
.result-title { font-size: 2.2rem; margin: 0 0 20px 0; font-weight: 900; }

.score-circle {
    width: 120px; height: 120px; border: 4px solid var(--neon); border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    margin: 0 auto 30px auto; font-size: 2.5rem; font-weight: 900;
}
.score-circle small { font-size: 0.7rem; color: #888; margin-top: 5px; }

.result-desc { font-size: 1.05rem; line-height: 1.7; color: #aaa; margin-bottom: 40px; }

.share-btn {
    background: var(--neon); color: var(--bg); border: none; padding: 18px;
    width: 100%; font-weight: 900; font-size: 1.1rem; cursor: pointer; margin-bottom: 15px;
}

.retry-btn { background: none; border: none; color: #555; cursor: pointer; width: 100%; font-size: 0.9rem; }

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(2px, 1px); }
    80% { transform: translate(1px, -2px); }
    100% { transform: translate(0); }
}

.fade-in-up { animation: fadeInUp 0.7s forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
    .glitch-text { font-size: 2.5rem; }
    .question-text { font-size: 1.4rem; }
    .result-image-wrapper { height: 180px; }
}