/* Reset */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

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

:root { --navy: #1e3a5f; --orange: #FF9800; --text: #ffffff; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(160deg, #1e3a5f 0%, #122a4a 50%, #0d1f3c 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem 1.2rem;
}

/* Screens */
.screen { display: none; animation: fadeIn 0.3s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Logo */
.logo { text-align: center; margin-bottom: 1.5rem; }
.logo-small img { max-width: 200px; width: 100%; height: auto; }

/* ===== LANDING PAGE ===== */

#landing-page.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 30px rgba(255,107,53,0.6), 0 0 60px rgba(255,107,53,0.2); }
}

.landing-badge {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FF9800;
    margin-bottom: 10px;
    animation: fadeSlideUp 0.5s ease both;
}

.hero-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-box {
    animation: fadeSlideUp 0.5s ease 0.1s both;
}

.landing-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 60px rgba(255,255,255,0.06), 0 2px 4px rgba(0,0,0,0.3);
}

.landing-hook {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.4rem;
    font-style: italic;
}

.landing-subtitle {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FF9800;
    margin-top: 1.2rem;
}

/* Icon grid teaser */
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 0;
    max-width: 300px;
    margin: 0 auto;
}

.icon-tile {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    opacity: 0;
    animation: tileReveal 0.3s ease forwards;
    transition: transform 0.15s ease, background 0.15s ease;
}

.icon-tile:hover {
    transform: scale(1.15);
    background: rgba(255,255,255,0.12);
}

.icon-tile:nth-child(1)  { animation-delay: 0.05s; }
.icon-tile:nth-child(2)  { animation-delay: 0.10s; }
.icon-tile:nth-child(3)  { animation-delay: 0.15s; }
.icon-tile:nth-child(4)  { animation-delay: 0.20s; }
.icon-tile:nth-child(5)  { animation-delay: 0.25s; }
.icon-tile:nth-child(6)  { animation-delay: 0.30s; }
.icon-tile:nth-child(7)  { animation-delay: 0.35s; }
.icon-tile:nth-child(8)  { animation-delay: 0.40s; }
.icon-tile:nth-child(9)  { animation-delay: 0.45s; }
.icon-tile:nth-child(10) { animation-delay: 0.50s; }
.icon-tile:nth-child(11) { animation-delay: 0.55s; }
.icon-tile:nth-child(12) { animation-delay: 0.60s; }
.icon-tile:nth-child(13) { animation-delay: 0.65s; }
.icon-tile:nth-child(14) { animation-delay: 0.70s; }
.icon-tile:nth-child(15) { animation-delay: 0.75s; }

@keyframes tileReveal {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

/* Feature pills */
.landing-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    animation: fadeSlideUp 0.5s ease 0.5s both;
}
.feature-pill {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}
.feature-pill-dot {
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
}
.cta-icon {
    font-size: 0.8rem;
    margin-right: 0.2rem;
    vertical-align: middle;
}

/* CTA Button */
.cta-button {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1628;
    background: linear-gradient(135deg, #FF9800 0%, #ff8f5e 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(255,107,53,0.35);
    animation: fadeSlideUp 0.5s ease 0.35s both, ctaGlow 3s ease-in-out 1.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.35); }
    50% { box-shadow: 0 4px 30px rgba(255,107,53,0.55); }
}

.cta-button:hover {
    background: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.45);
    animation: none;
}

.cta-button:active { transform: translateY(0); }

/* ===== QUIZ PAGE ===== */

/* Round label */
.round-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

/* Round transition */
.transition-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1rem;
}

.transition-round {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}

.transition-score {
    font-size: 2rem;
    font-weight: 800;
}

.transition-score.perfect { color: #4caf50; }
.transition-score.good { color: #FF9800; }
.transition-score.miss { color: #ff4444; }

/* Progress */
.progress-container { margin-bottom: 1.2rem; }

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #FF9800;
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Instruction */
.pick-instruction {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.highlight-orange { color: #FF9800; font-weight: 700; }

/* Ranked list */
.ranked-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.ranked-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    font-size: 0.85rem;
    animation: slideUp 0.25s ease-out;
}

.ranked-item .rank-badge {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #fff;
}

.ranked-item .rank-label { font-weight: 500; color: rgba(255,255,255,0.7); }

/* Alarm Cards */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.alarm-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.alarm-card:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    transform: translateX(3px);
}

.alarm-card:active {
    transform: scale(0.97);
}

.alarm-card.picked {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
    transition: all 0.25s ease-out;
}

.card-icon {
    font-size: 2.2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.card-icon-red { background: rgba(255,68,68,0.2); border: 2px solid rgba(255,68,68,0.4); }
.card-icon-orange { background: rgba(255,107,53,0.2); border: 2px solid rgba(255,107,53,0.4); }
.card-icon-yellow { background: rgba(255,179,0,0.2); border: 2px solid rgba(255,179,0,0.4); }
.card-icon-blue { background: rgba(79,195,247,0.2); border: 2px solid rgba(79,195,247,0.4); }
.card-icon-teal { background: rgba(38,166,154,0.2); border: 2px solid rgba(38,166,154,0.4); }

.card-content { flex: 1; }

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

/* Card colour accents via left border */
.alarm-card[data-color="red"] { border-left: 4px solid #ff4444; }
.alarm-card[data-color="orange"] { border-left: 4px solid #FF9800; }
.alarm-card[data-color="yellow"] { border-left: 4px solid #ffb300; }
.alarm-card[data-color="blue"] { border-left: 4px solid #4fc3f7; }
.alarm-card[data-color="teal"] { border-left: 4px solid #26a69a; }

/* ===== RESULTS PAGE ===== */
.results-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

/* Score */
.score-display {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
}

.score-number {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.score-message {
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 0.6rem;
    color: rgba(255,255,255,0.8);
}

.score-red .score-number { color: #ff4444; }
.score-orange .score-number { color: #FF9800; }
.score-green .score-number { color: #4caf50; }

/* Comparison */
.comparison {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.comparison-column { flex: 1; }

.col-header {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.comparison .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.comparison .rank-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.6rem;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    min-height: 38px;
}

.comparison .rank-row.rank-match {
    background: rgba(76,175,80,0.15);
    border: 1px solid rgba(76,175,80,0.3);
}

.comparison .rank-num {
    font-weight: 700;
    color: #FF9800;
    width: 18px;
    flex-shrink: 0;
}

.comparison .round-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: 0.4rem 0 0.2rem;
    margin-top: 0.4rem;
}

.comparison .round-header:first-child {
    margin-top: 0;
}

/* Twist */
.twist {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    background: rgba(255,107,53,0.08);
    border-radius: 14px;
    border: 1px solid rgba(255,107,53,0.2);
}

.twist-headline {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FF9800;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.twist-body {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

/* Email Gate */
.email-gate {
    background: rgba(255,107,53,0.12);
    border: 2px solid rgba(255,107,53,0.5);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 0.8rem;
}

.email-gate h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }

.email-gate .gate-subtext {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}

.email-gate #newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 320px;
    margin: 0 auto;
}

.email-gate #newsletter-form input {
    padding: 0.85rem;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.email-gate #newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.subscribe-button {
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1628;
    background: #FF9800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subscribe-button:hover { background: #ff8555; }

.reassurance-text { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 0.4rem; }
.form-message { margin-top: 0.6rem; font-size: 0.9rem; }
.form-message.success { color: #4caf50; }
.form-message.error { color: #ff4444; }

.skip-link { text-align: center; margin-bottom: 1.5rem; }
.skip-link a { color: rgba(255,255,255,0.5); text-decoration: underline; font-size: 0.85rem; }
.skip-link a:hover { color: rgba(255,255,255,0.7); }

/* Report Download */
.report-download {
    background: rgba(76,175,80,0.12);
    border: 2px solid rgba(76,175,80,0.4);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.report-download .download-text {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.9);
}

.download-button {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1628;
    background: #FF9800;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.download-button:hover {
    background: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.report-download .download-subtext {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.6rem;
}

/* Social Sharing */
.social-sharing {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.social-sharing h3 { text-align: center; margin-bottom: 1rem; font-size: 1.1rem; }

.share-buttons { display: flex; flex-direction: column; gap: 0.6rem; }

.share-btn {
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn.native { background: #FF9800; color: #0a1628; }
.share-btn.facebook { background: #1877f2; color: #fff; }
.share-btn.linkedin { background: #0a66c2; color: #fff; }
.share-btn.copy { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

/* Explanation */
.explanation {
    background: rgba(255,255,255,0.04);
    border-left: 4px solid #FF9800;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.explanation h2 { color: #FF9800; margin-bottom: 0.8rem; font-size: 1.4rem; }
.explanation p { margin-bottom: 0.8rem; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.8); }

.insight-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.7rem 1.2rem;
    color: #FF9800;
    text-decoration: none;
    border: 2px solid #FF9800;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.insight-link:hover { background: #FF9800; color: #ffffff; }

/* Play again */
.play-again-box {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-small {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    max-width: 300px;
}

/* Second chance */
.second-chance {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.second-chance h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: rgba(255,255,255,0.7); }
.second-chance p { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }

.second-chance form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 320px;
    margin: 0 auto;
}

.second-chance form input {
    padding: 0.85rem;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.second-chance form input::placeholder { color: rgba(255,255,255,0.4); }

/* ===== ANIMATED SCENARIO PREVIEW ===== */
.scenario-preview {
    margin: 1.4rem auto 0;
    max-width: 280px;
    position: relative;
}

.preview-stack {
    position: relative;
    height: 120px;
    perspective: 600px;
}

.preview-card {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    animation: cardStack 4.5s ease-in-out infinite;
}

/* Stagger: card-3 arrives first (bottom), card-1 arrives last (top) */
.preview-card-3 { animation-delay: 0s; }
.preview-card-2 { animation-delay: 0.6s; }
.preview-card-1 { animation-delay: 1.2s; }

@keyframes cardStack {
    0%   { opacity: 0; transform: translateY(30px) scale(0.92); }
    12%  { opacity: 1; transform: translateY(0) scale(1); }
    55%  { opacity: 1; transform: translateY(0) scale(1); }
    70%  { opacity: 1; transform: translateX(-8px) scale(0.96); }
    85%  { opacity: 0; transform: translateX(-30px) scale(0.9); }
    100% { opacity: 0; transform: translateY(30px) scale(0.92); }
}

/* Position cards in a fanned stack */
.preview-card-3 { top: 0; z-index: 1; }
.preview-card-2 { top: 36px; z-index: 2; }
.preview-card-1 { top: 72px; z-index: 3; }

.preview-icon {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

.preview-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    flex: 1;
}

.preview-urgency {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: urgencyPulse 1.5s ease-in-out infinite;
}

.urgency-critical { background: #ff4444; box-shadow: 0 0 8px rgba(255,68,68,0.6); }
.urgency-high     { background: #FF9800; box-shadow: 0 0 8px rgba(255,107,53,0.5); }
.urgency-med      { background: #ffb300; box-shadow: 0 0 8px rgba(255,179,0,0.4); }

@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

/* Timer strip */
.preview-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(255,68,68,0.1);
    border: 1px solid rgba(255,68,68,0.25);
    border-radius: 8px;
    animation: timerFlash 4.5s ease-in-out infinite;
}

.timer-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.4);
}

.timer-digits {
    font-size: 1.1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #ff4444;
    letter-spacing: 1px;
}

@keyframes timerFlash {
    0%, 100% { border-color: rgba(255,68,68,0.25); }
    50% { border-color: rgba(255,68,68,0.55); }
}

/* Mobile */
@media (max-width: 380px) {
    .container { padding: 1.2rem 1rem; }
    .landing-title { font-size: 1.8rem; }
    .landing-subtitle { font-size: 1rem; }
    .card-icon { width: 48px; height: 48px; font-size: 1.8rem; }
    .card-title { font-size: 1rem; }
    .scenario-preview { max-width: 240px; }
    .preview-stack { height: 110px; }
    .preview-card-2 { top: 32px; }
    .preview-card-1 { top: 64px; }
}

/* === GAMIFICATION === */
.streak { display:block; text-align:center; font-size:.85rem; font-weight:700; color:#4caf50; letter-spacing:1px; opacity:0; transition:all .3s ease; margin-bottom:4px; }
.streak.visible { opacity:1; }
.streak.hot { color:#ff4444; animation:streakPulse .4s ease; }
@keyframes streakPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
.reaction-time { text-align:center; font-size:.8rem; font-weight:600; letter-spacing:.5px; opacity:0; transition:opacity .3s; margin-bottom:8px; }
.reaction-time.visible { opacity:1; }
.reaction-time.fast { color:#4caf50; }
.reaction-time.medium { color:#ff9800; }
.reaction-time.slow { color:#ff6b6b; }
.particle { position:fixed; width:6px; height:6px; border-radius:50%; pointer-events:none; z-index:9998; animation:particleBurst .6s ease-out forwards; }
@keyframes particleBurst { 0%{transform:translate(0,0) scale(1);opacity:1} 100%{transform:translate(var(--dx),var(--dy)) scale(0);opacity:0} }
.score-title { font-size:.85rem; letter-spacing:3px; text-transform:uppercase; color:#FF9800; text-align:center; margin-bottom:8px; font-weight:700; }
.score-bar { width:100%; height:10px; background:rgba(255,255,255,.15); border-radius:10px; overflow:hidden; margin-top:.8rem; }
.score-bar-fill { height:100%; border-radius:10px; transition:width .5s ease; }
.score-red .score-bar-fill { background:#ff4444; }
.score-orange .score-bar-fill { background:#FF9800; }
.score-green .score-bar-fill { background:#4caf50; }

.gdpr-consent {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.75rem; color: rgba(255,255,255,0.4);
    cursor: pointer; text-align: left; line-height: 1.4;
}
.gdpr-consent input[type="checkbox"] {
    margin-top: 2px; flex-shrink: 0; accent-color: #FF9800;
    width: 16px; height: 16px; cursor: pointer;
}
.gdpr-consent a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.gdpr-consent a:hover { color: #FF9800; }
