
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* LIGHT MODE (Questions) */
body.light {
    background: #f4f4f4;
    color: #1a1a1a;
}

body.light .container {
    max-width: 700px;
    background: white;
    padding: 60px 40px;
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
}

/* DARK MODE (Answers) */
body.dark {
    background: #1a1a1a;
    color: #f4f4f4;
}

body.dark .container {
    max-width: 700px;
    background: #2a2a2a;
    padding: 60px 40px;
    box-shadow: 0 0 60px rgba(255,255,255,0.1);
}

/* RESULT MODE */
body.result {
    background: #0a0a0a;
    color: #f4f4f4;
}

body.result .container {
    max-width: 800px;
    background: #1a1a1a;
    padding: 80px 60px;
    border: 1px solid #333;
}

/* QUESTION ELEMENTS */
.question-number {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.4;
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    margin-bottom: 40px;
    line-height: 1.4;
}

body.result h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ANIMATIONS */
@keyframes drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes glitch {
    0%, 95%, 100% { transform: translateX(0); }
    96% { transform: translateX(-2px); }
    97% { transform: translateX(2px); }
    98% { transform: translateX(-1px); }
}

@keyframes pixelate {
    0%, 90%, 100% { filter: blur(0); }
    95% { filter: blur(1px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes flicker {
    0%, 98%, 100% { opacity: 1; }
    99% { opacity: 0.8; }
}

/* Apply animations to specific elements */
.animate-drift {
    animation: drift 3s ease-in-out infinite;
}

.animate-glitch {
    animation: glitch 8s infinite;
}

.animate-pixelate {
    animation: pixelate 4s steps(5) infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-flicker {
    animation: flicker 5s infinite;
}

/* PARAGRAPH TEXT */
p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

body.dark p,
body.result p {
    opacity: 0.9;
}

/* OPTIONS/BUTTONS */
.option {
    display: block;
    background: #f8f8f8;
    padding: 20px 30px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #1a1a1a;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
}

.option:hover {
    border-color: #1a1a1a;
    background: white;
    transform: translateX(10px);
}

/* Alternate hover effect */
.option.glitch-hover:hover {
    filter: grayscale(1);
}

.option.contrast-hover:hover {
    filter: contrast(1.2);
}

/* CONTINUE BUTTONS */
.continue-btn {
    display: inline-block;
    background: #f4f4f4;
    color: #1a1a1a;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.continue-btn:hover {
    filter: invert(1);
}

/* START BUTTON (index page) */
.start-btn {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
    filter: grayscale(0);
}

.start-btn:hover {
    filter: grayscale(1) contrast(2);
    transform: scale(1.02);
}

/* RESTART BUTTON (result pages) */
.restart {
    display: inline-block;
    margin-top: 40px;
    background: #f4f4f4;
    color: #0a0a0a;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.restart:hover {
    filter: invert(1);
}

/* HIDDEN ELEMENTS */
.hidden-link {
    color: inherit;
    text-decoration: none;
    cursor: default;
    transition: all 0.3s;
}

.hidden-link:hover {
    color: #666;
    letter-spacing: 2px;
}

.hidden-continue,
.hidden-text {
    opacity: 0;
    font-size: 12px;
    margin-top: 30px;
    transition: opacity 0.5s;
    cursor: pointer;
}

.hidden-continue:hover,
.hidden-text:hover {
    opacity: 1;
}

/* RESULT PAGE SPECIFIC */
.label {
    font-size: 10px;
    letter-spacing: 4px;
    opacity: 0.3;
    margin-bottom: 30px;
}

.subtitle {
    font-size: 16px;
    opacity: 0.6;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.description {
    line-height: 2;
    margin-bottom: 30px;
    font-size: 16px;
    opacity: 0.9;
}

.verdict {
    margin-top: 50px;
    padding: 30px;
    background: #0a0a0a;
    border-left: 3px solid #f4f4f4;
}

.verdict p {
    margin-bottom: 15px;
    font-size: 15px;
}

/* WARNING TEXT */
.warning {
    font-size: 11px;
    opacity: 0.4;
    margin-top: 40px;
    font-style: italic;
}

/* SECRET PAGE */
body.secret {
    background: #000;
    color: #0f0;
    animation: glitch-bg 3s infinite;
}

@keyframes glitch-bg {
    0%, 90%, 100% { background: #000; }
    92% { background: #001100; }
    94% { background: #000; }
}

body.secret .container {
    max-width: 600px;
    text-align: center;
    background: transparent;
    box-shadow: none;
}

body.secret h1 {
    font-size: 72px;
    margin-bottom: 30px;
    font-family: monospace;
    animation: glitch-text 2s infinite;
}

@keyframes glitch-text {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-5px, 2px); }
    93% { transform: translate(5px, -2px); }
}

body.secret p {
    font-family: monospace;
    font-size: 14px;
}

body.secret .back {
    color: #0f0;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

body.secret .back:hover {
    opacity: 1;
}