:root {
    --lime: #aef800;
    --lime-dark: #8bc700;
    --bg: #0b0b0b;
    --bg-2: #141414;
    --line: #262626;
    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', system-ui, sans-serif;
    --bs-body-bg: var(--bg);
    --bs-body-font-family: var(--font-body);
}

body {
    background: var(--bg);
    color: #f2f2f2;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

.t-lime { color: var(--lime); }
.t-white { color: #fff; }
.narrow { max-width: 760px; }

/* ---------- Hero ---------- */
.hero {
    padding: 2.25rem 0 3rem;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(174, 248, 0, .16), transparent 60%),
        linear-gradient(180deg, #0b0b0b, #0b0b0b);
    border-bottom: 1px solid var(--line);
}
.hero-logo { width: 150px; max-width: 40vw; height: auto; }
.badge-edicao {
    display: inline-block;
    margin: 1.1rem 0 .4rem;
    padding: .25rem .8rem;
    border: 1px solid var(--lime);
    border-radius: 999px;
    color: var(--lime);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    line-height: .92;
    margin: .2rem 0 .6rem;
    font-size: clamp(3rem, 13vw, 6.5rem);
}
.hero-title span { display: block; }
.hero-sub { color: #cfcfcf; font-size: 1.05rem; margin-bottom: 2rem; }

.countdown-label {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .8rem;
    color: #9a9a9a;
    margin-bottom: .6rem;
}
.countdown { max-width: 980px; margin-inline: auto; }
.cd-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    color: var(--lime);
    font-size: clamp(2.2rem, 12.5vw, 8.5rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 38px rgba(174, 248, 0, .28);
}
.cd-unit {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: clamp(.62rem, 2.4vw, .9rem);
    color: #bdbdbd;
    margin-top: .2rem;
}
.countdown-date { margin: 1.4rem 0 0; color: #bdbdbd; }

/* ---------- Seções ---------- */
.section { padding: 3.25rem 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    margin-bottom: 1rem;
}
.section-lead { color: #bdbdbd; margin-bottom: 1.5rem; }

/* ---------- Progresso ---------- */
.progress-msg { font-size: clamp(1.15rem, 4.5vw, 1.5rem); margin-bottom: 1rem; }
.oxy-progress {
    height: 30px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.oxy-progress .progress-bar {
    background: linear-gradient(90deg, var(--lime-dark), var(--lime));
    min-width: 10px;
    border-radius: 999px;
    transition: width .6s ease;
}
.progress-ends { margin-top: .6rem; font-size: .85rem; color: #9a9a9a; }

/* ---------- Marcos ---------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 28px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 9px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--line);
}
.marco { position: relative; margin-bottom: 1rem; }
.marco:last-child { margin-bottom: 0; }
.marco-dot {
    position: absolute;
    left: -28px; top: 20px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid #4a4a4a;
}
.marco-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}
.marco-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.marco-rotulo {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1;
}
.marco-data { color: #9a9a9a; font-size: .85rem; }
.marco-titulo { font-size: 1.05rem; font-weight: 600; margin: .7rem 0 .25rem; }
.marco-texto { margin: 0; color: #bdbdbd; font-size: .95rem; }

.marco-lock { display: none; margin-top: .6rem; color: #8a8a8a; font-size: .9rem; }

.marco.is-done .marco-dot { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 4px rgba(174, 248, 0, .15); }
.marco.is-done .marco-rotulo { color: var(--lime); }

.marco.is-next .marco-dot { border-color: var(--lime); animation: pulso 1.8s infinite; }
.marco.is-next .marco-card { border-color: rgba(174, 248, 0, .55); }
.marco.is-next .marco-body, .marco.is-future .marco-body { display: none; }
.marco.is-next .marco-lock, .marco.is-future .marco-lock { display: block; margin-top: .5rem; }
.marco.is-next .marco-status { color: var(--lime); }
.marco.is-future .marco-card { opacity: .72; }

.marco-final.is-done .marco-card {
    background: linear-gradient(135deg, rgba(174, 248, 0, .18), var(--bg-2));
    border-color: var(--lime);
}

@keyframes pulso {
    0%   { box-shadow: 0 0 0 0 rgba(174, 248, 0, .55); }
    70%  { box-shadow: 0 0 0 10px rgba(174, 248, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(174, 248, 0, 0); }
}

/* ---------- Stories ---------- */
.oxy-input {
    background: var(--bg-2);
    border: 1px solid #333;
    color: #fff;
}
.oxy-input:focus {
    background: var(--bg-2);
    color: #fff;
    border-color: var(--lime);
    box-shadow: 0 0 0 .2rem rgba(174, 248, 0, .2);
}
.btn-oxy {
    --bs-btn-color: #0b0b0b;
    --bs-btn-bg: var(--lime);
    --bs-btn-border-color: var(--lime);
    --bs-btn-hover-color: #0b0b0b;
    --bs-btn-hover-bg: #c4ff3a;
    --bs-btn-hover-border-color: #c4ff3a;
    --bs-btn-active-color: #0b0b0b;
    --bs-btn-active-bg: var(--lime-dark);
    --bs-btn-active-border-color: var(--lime-dark);
    --bs-btn-disabled-color: #0b0b0b;
    --bs-btn-disabled-bg: var(--lime);
    --bs-btn-disabled-border-color: var(--lime);
    font-weight: 600;
}
.btn-outline-oxy {
    --bs-btn-color: var(--lime);
    --bs-btn-border-color: var(--lime);
    --bs-btn-hover-color: #0b0b0b;
    --bs-btn-hover-bg: var(--lime);
    --bs-btn-hover-border-color: var(--lime);
    --bs-btn-active-color: #0b0b0b;
    --bs-btn-active-bg: var(--lime);
    --bs-btn-active-border-color: var(--lime);
    --bs-btn-disabled-color: #6c7a4a;
    --bs-btn-disabled-border-color: #3a4425;
    font-weight: 600;
}
.link-oxy { color: var(--lime); }
.link-oxy.disabled { color: #5d5d5d; pointer-events: none; }

.story-preview {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    margin-inline: auto;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-preview img { width: 100%; height: 100%; object-fit: contain; display: block; }
.story-placeholder { color: #6f6f6f; font-size: .9rem; padding: 1rem; text-align: center; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); }
.footer-logo { width: 80px; height: auto; margin-bottom: .8rem; opacity: .95; }

@media (prefers-reduced-motion: reduce) {
    .marco.is-next .marco-dot { animation: none; }
    .oxy-progress .progress-bar { transition: none; }
}

/* ---------- Compartilhar (logo abaixo da contagem) ---------- */
.section-share { background: linear-gradient(180deg, rgba(174, 248, 0, .05), transparent 70%); }
.btn-ig { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.btn-outline-oxy.disabled { pointer-events: none; opacity: .5; }
#story-img { -webkit-touch-callout: default; user-select: auto; }
@media (max-width: 767.98px) {
    .story-preview { max-width: 240px; }
}
