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

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

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #060d1a;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container { max-width: 480px; margin: 0 auto; padding: 1.5rem 1rem; }
.screen { display: none; animation: fadeIn 0.4s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Logo */
.logo { text-align: center; margin-bottom: 1.5rem; }
.logo img { max-width: 260px; width: 80%; }

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

@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,152,0,0.4); }
    50% { box-shadow: 0 0 30px rgba(255,152,0,0.6), 0 0 60px rgba(255,152,0,0.2); }
}

.landing-badge {
    display: block;
    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;
}

.landing-container { display: flex; flex-direction: column; align-items: center; min-height: 100vh; justify-content: center; padding: 2rem 1rem; }

.hero {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-bottom: 1.5rem;
}

/* ============ AIS LANDING DISPLAY ============ */
.ais-landing-display {
    position: relative;
    width: 260px; height: 260px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: radial-gradient(circle at center, #0d1f30 0%, #050e1a 100%);
    border: 1px solid rgba(0,255,136,0.15);
    box-shadow: 0 0 40px rgba(0,255,136,0.06), inset 0 0 30px rgba(0,0,0,0.4);
    overflow: hidden;
}

/* Grid overlay */
.ais-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, transparent 49.5%, rgba(0,255,136,0.06) 50%, transparent 50.5%),
        linear-gradient(90deg, transparent 49.5%, rgba(0,255,136,0.06) 50%, transparent 50.5%);
    background-size: 100% 100%;
}

/* Range rings */
.ais-ring {
    position: absolute;
    border: 1px solid rgba(0,255,136,0.12);
    border-radius: 50%;
    top: 50%; left: 50%;
}
.ais-r1 { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
.ais-r2 { width: 146px; height: 146px; margin: -73px 0 0 -73px; }
.ais-r3 { width: 72px; height: 72px; margin: -36px 0 0 -36px; }

/* Own ship at center */
.ais-own-ship {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 4px #00ff88);
    z-index: 3;
}

/* Target vessels */
.ais-target {
    position: absolute;
    z-index: 4;
}
.ais-target svg { display: block; }

.ais-label {
    position: absolute;
    top: -2px; left: 18px;
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
}
.ais-label.safe-label { color: #ffcc00; }

/* Vessel A — threat approaching from above, converging on center */
.ais-target-a {
    top: 12%; left: 46%;
    animation: converge-a 4s ease-in-out infinite alternate;
}
@keyframes converge-a {
    0% { top: 8%; left: 46%; }
    100% { top: 26%; left: 48%; }
}

/* Vessel B — crossing safely left to right */
.ais-target-b {
    top: 55%; left: 18%;
    animation: cross-b 5s linear infinite;
}
@keyframes cross-b {
    0% { left: 12%; top: 58%; }
    50% { left: 30%; top: 52%; }
    100% { left: 12%; top: 58%; }
}

/* Vessel C — diverging away to the right */
.ais-target-c {
    top: 30%; right: 18%;
    animation: diverge-c 4.5s ease-in-out infinite alternate;
}
@keyframes diverge-c {
    0% { right: 18%; top: 30%; }
    100% { right: 10%; top: 22%; }
}

/* Heading vector lines */
.ais-vector {
    position: absolute;
    width: 2px;
    background: rgba(255,204,0,0.5);
    transform-origin: top center;
}
.ais-vector-a {
    height: 28px;
    top: 14px; left: 7px;
    background: rgba(255,68,68,0.6);
    transform: rotate(180deg);
    transform-origin: 0 0;
}
.ais-vector-b {
    height: 22px;
    top: 4px; left: 14px;
    background: rgba(255,204,0,0.4);
    transform: rotate(90deg);
    transform-origin: 0 0;
}
.ais-vector-c {
    height: 20px;
    top: 0; left: 12px;
    background: rgba(255,204,0,0.4);
    transform: rotate(45deg);
    transform-origin: 0 0;
}

/* CPA indicator — dashed line from threat to own ship */
.ais-cpa-line {
    position: absolute;
    top: 28%; left: 50%;
    width: 2px;
    height: 22%;
    background: repeating-linear-gradient(
        to bottom,
        #ff4444 0px, #ff4444 4px,
        transparent 4px, transparent 8px
    );
    opacity: 0;
    animation: cpa-flash 4s ease-in-out infinite;
    z-index: 2;
}
@keyframes cpa-flash {
    0%, 40% { opacity: 0; }
    50%, 80% { opacity: 0.7; }
    90%, 100% { opacity: 0; }
}

/* CPA warning badge */
.ais-cpa-badge {
    position: absolute;
    top: 38%; left: 55%;
    font-family: monospace;
    font-size: 8px;
    font-weight: 700;
    color: #ff4444;
    background: rgba(255,68,68,0.12);
    border: 1px solid rgba(255,68,68,0.3);
    border-radius: 3px;
    padding: 2px 5px;
    opacity: 0;
    animation: badge-flash 4s ease-in-out infinite;
    z-index: 5;
    white-space: nowrap;
}
@keyframes badge-flash {
    0%, 40% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(0.8); }
}

/* Bearing line from own ship upward */
.ais-bearing-line {
    position: absolute;
    top: 10%; left: 50%;
    width: 1px; height: 40%;
    background: linear-gradient(to top, rgba(0,255,136,0.3), transparent);
    z-index: 1;
}

/* Threat vessel A red glow pulse */
.ais-target-a svg {
    filter: drop-shadow(0 0 6px #ff4444);
    animation: threat-glow 2s ease-in-out infinite;
}
@keyframes threat-glow {
    0%, 100% { filter: drop-shadow(0 0 4px #ff4444); }
    50% { filter: drop-shadow(0 0 12px #ff4444) drop-shadow(0 0 20px rgba(255,68,68,0.3)); }
}

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

.hero h1 {
    position: relative;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 60px rgba(255,152,0,0.1), 0 2px 4px rgba(0,0,0,0.3);
}

.hero-tag {
    position: relative;
    font-size: 1.1rem;
    color: #FF9800;
    font-weight: 600;
}

.stat-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.stat-bar .stat-num { color: #FF9800; font-weight: 700; font-size: 1.1rem; }
.stat-bar .stat-text { color: rgba(255,255,255,0.5); font-weight: 400; font-size: 0.85rem; }

.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 {
    width: 100%;
    max-width: 320px;
    padding: 1.1rem;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: inherit;
    color: #060d1a;
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 30px rgba(255,152,0,0.3), 0 4px 15px rgba(255,152,0,0.2);
    animation: fadeSlideUp 0.5s ease 0.35s both, ctaGlow 3s ease-in-out 1.5s infinite;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255,152,0,0.4); animation: none; }

/* ============ QUIZ PAGE ============ */
.quiz-hud {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill { height: 100%; background: #FF9800; transition: width 0.3s; border-radius: 4px; }

/* Circular timer */
.timer-ring { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 3; }
.timer-arc {
    fill: none;
    stroke: #4caf50;
    stroke-width: 3;
    stroke-dasharray: 106.81;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s linear, stroke 0.3s;
}
.timer-arc.warning { stroke: #FF9800; }
.timer-arc.danger { stroke: #ff4444; }
.timer-num {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.85rem;
    font-weight: 700;
}

.context-strip {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
    text-align: center;
}
.context-strip .divider { margin: 0 0.5rem; opacity: 0.3; }
.context-strip .own-ship { color: #4fc3f7; }

/* AIS Display */
.ais-wrapper {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1a3050;
    box-shadow: 0 0 40px rgba(0,255,136,0.05), inset 0 0 60px rgba(0,0,0,0.5);
}

.ais-display {
    background: radial-gradient(circle at center, #0a1a2e 0%, #050e1a 100%);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ais-display svg { max-width: 100%; max-height: 320px; }

.hud {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00ff88;
    opacity: 0.5;
    padding: 6px 10px;
}
.hud-tl { top: 0; left: 0; }
.hud-tr { top: 0; right: 0; }
.hud-bl { bottom: 0; left: 0; }
.hud-br { bottom: 0; right: 0; }
.tap-hint { color: #FF9800; opacity: 0.7; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 0.3; } }

/* Vessel SVG */
.vessel { cursor: pointer; transition: filter 0.15s; }
.vessel:hover { filter: brightness(1.4); }
.vessel.selected { filter: drop-shadow(0 0 6px #FF9800) drop-shadow(0 0 12px #FF9800) drop-shadow(0 0 20px rgba(255,152,0,0.4)); }

.submit-button {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    color: #060d1a;
    background: #FF9800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.submit-button:hover { background: #ffad33; transform: translateY(-1px); }
.submit-button:disabled { background: #333; cursor: not-allowed; }

.hint { text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.5rem; }

/* ============ FEEDBACK ============ */
.feedback-result {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.feedback-result.correct { background: rgba(76,175,80,0.15); color: #4caf50; }
.feedback-result.incorrect { background: rgba(255,68,68,0.15); color: #ff6b6b; }
.feedback-result.partial { background: rgba(255,152,0,0.15); color: #FF9800; }

.feedback-explanation {
    border-left: 3px solid #FF9800;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

.vessel-breakdown { margin-bottom: 1rem; }
.vessel-breakdown h4 { color: #FF9800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

.vessel-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
}
.vessel-item:last-child { border-bottom: none; }

.vessel-marker {
    width: 22px; height: 22px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.75rem;
    flex-shrink: 0;
}
.vessel-marker.threat { background: #ff4444; }
.vessel-marker.safe { background: #4caf50; }
.vessel-info { flex: 1; color: rgba(255,255,255,0.7); }
.vessel-status { font-weight: 600; font-size: 0.75rem; flex-shrink: 0; }
.vessel-status.threat { color: #ff6b6b; }
.vessel-status.safe { color: #81c784; }

.next-button {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    color: #060d1a;
    background: #FF9800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.next-button:hover { background: #ffad33; }

/* ============ RESULTS ============ */

/* Email Gate */
.email-gate {
    background: linear-gradient(135deg, rgba(255,152,0,0.08), rgba(255,152,0,0.02));
    border: 1px solid rgba(255,152,0,0.25);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.gate-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF9800;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255,152,0,0.3);
}

.email-gate h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.email-gate p { font-size: 0.82rem; opacity: 0.6; margin-bottom: 0.75rem; }

#email-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}
#email-form input[type="email"] {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
}
#email-form input::placeholder { color: rgba(255,255,255,0.4); }

.gate-btn {
    width: 100%;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    color: #060d1a;
    background: #FF9800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.gate-btn:hover { background: #ffad33; }
.gate-btn.sm { padding: 0.7rem 1.2rem; font-size: 0.85rem; }

.skip-link { margin-top: 1rem; font-size: 0.8rem; }
.skip-link a { color: rgba(255,255,255,0.3); text-decoration: none; }
.skip-link a:hover { color: rgba(255,255,255,0.6); }

.form-message { margin-top: 0.5rem; font-size: 0.85rem; }
.form-message.success { color: #4caf50; }
.form-message.error { color: #ff4444; }

/* Score */
.score-display {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
}
.score-display.score-green { background: rgba(76,175,80,0.1); }
.score-display.score-orange { background: rgba(255,152,0,0.1); }
.score-display.score-red { background: rgba(255,68,68,0.1); }

.big-score { font-size: 4rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; }
.big-score span:first-child { color: #FF9800; }
.big-score .of { font-size: 2rem; color: rgba(255,255,255,0.3); }
.score-message { font-size: 1rem; color: rgba(255,255,255,0.7); }

/* Voice Box */
.voice-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.voice-side {
    flex: 1;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.voice-side.bad { background: rgba(255,68,68,0.08); }
.voice-side.good { background: rgba(76,175,80,0.08); }

.voice-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.voice-side.bad .voice-val { color: #ff6b6b; font-size: 1.3rem; font-weight: 700; }
.voice-side.good .voice-val { color: #81c784; font-size: 0.85rem; font-style: italic; line-height: 1.5; }

.voice-vs {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
}

/* Download */
.report-download { text-align: center; margin-bottom: 1.5rem; }
.dl-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: #4caf50;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.dl-btn:hover { background: #66bb6a; transform: translateY(-1px); }

/* Second Chance */
.second-chance { margin-bottom: 1rem; text-align: center; }
.second-chance h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.second-chance p { font-size: 0.82rem; opacity: 0.6; margin-bottom: 0.5rem; }
#second-chance-form { display: flex; flex-direction: column; gap: 0.5rem; max-width: 300px; margin: 0 auto; }
#second-chance-form input[type="email"] {
    padding: 0.6rem 0.85rem; font-size: 0.9rem; font-family: inherit;
    border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
    background: rgba(255,255,255,0.05); color: #fff; width: 100%;
}
#second-chance-form input::placeholder { color: rgba(255,255,255,0.3); }

/* Share */
.share-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pill {
    flex: 1;
    padding: 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}
.pill.fb { background: #1877f2; }
.pill.li { background: #0077b5; }
.pill.cp { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
.pill:hover { transform: translateY(-1px); filter: brightness(1.1); }
.share-btn.native { flex:1; padding:0.7rem; font-size:0.8rem; font-weight:600; font-family:inherit; border:none; border-radius:8px; cursor:pointer; transition:all .2s; color:#fff; background:#FF9800; }
.share-btn.native:hover { transform:translateY(-1px); filter:brightness(1.1); }

/* Cross-Promo */
.cross-promo { display: flex; flex-direction: column; gap: 0.5rem; }

.promo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}
.promo:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,152,0,0.3); }
.promo .pi { font-size: 1.2rem; }

/* ============ MOBILE ============ */
@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .ais-landing-display { width: 220px; height: 220px; }
    .ais-r1 { width: 190px; height: 190px; margin: -95px 0 0 -95px; }
    .ais-r2 { width: 126px; height: 126px; margin: -63px 0 0 -63px; }
    .ais-r3 { width: 62px; height: 62px; margin: -31px 0 0 -31px; }

    .ais-display { min-height: 300px; }

    .voice-box { flex-direction: column; }
    .voice-vs { justify-content: center; padding: 0.3rem; }

    .vessel-item { flex-wrap: wrap; }
    .vessel-status { width: 100%; padding-left: 1.8rem; }

    #email-form { flex-direction: column; gap: 0.5rem; }

    .email-gate { padding: 1.25rem 1rem; }
    .email-gate h3 { font-size: 1.05rem; }
    .email-gate p { font-size: 0.82rem; margin-bottom: 0.75rem; }
    #email-form input[type="email"] { padding: 0.65rem 0.85rem; font-size: 0.9rem; }
    .gate-btn { padding: 0.65rem 1.2rem; font-size: 0.9rem; }

    .submit-button, .next-button, .gate-btn, .pill { min-height: 44px; }
}

/* === 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; }
