:root {
    --bg: #0a0a0a;
    --fg: #f2f2f0;
    --muted: rgba(242, 242, 240, 0.45);
    --line: rgba(242, 242, 240, 0.10);
    --red: #e3001b;
    --margin: clamp(20px, 3.2vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    font-family: 'Helvetica Neue', Helvetica, 'Inter', Arial, sans-serif;
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
}

#landing {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--bg);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 16px;
    padding: var(--margin);
}

.grid {
    position: absolute;
    inset: 0;
    padding: 0 var(--margin);
    pointer-events: none;
    background:
        repeating-linear-gradient(
            to right,
            var(--line) 0 1px,
            transparent 1px calc((100% - 11 * 16px) / 12 + 16px)
        );
    background-clip: content-box;
    opacity: 0.6;
}

/* ---------- Meta rows ---------- */
.top, .bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 16px;
    align-items: baseline;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    z-index: 2;
}

.top { padding-bottom: 14px; border-bottom: 1px solid var(--fg); }
.bottom { padding-top: 14px; margin-top: 32px; border-top: 1px solid var(--line); }

.top .meta:nth-child(1) { grid-column: 1 / 4; color: var(--fg); }
.top .meta:nth-child(2) { grid-column: 4 / 9; }
.top .meta:nth-child(3) { grid-column: 9 / -1; text-align: right; }

.bottom .meta:nth-child(1) { grid-column: 1 / 4; color: var(--fg); }
.bottom .meta:nth-child(2) { grid-column: 4 / 8; }
.bottom .meta:nth-child(3) { grid-column: 8 / 10; }
.bottom .meta:nth-child(4) { grid-column: 10 / -1; text-align: right; }

.credit { white-space: nowrap; }

.heart {
    font-style: normal;
    color: var(--red);
    display: inline-block;
    margin: 0 2px;
    animation: beat 1.6s ease-in-out infinite;
}
@keyframes beat {
    0%, 100% { transform: scale(1); }
    12%      { transform: scale(1.25); }
    24%      { transform: scale(1); }
    36%      { transform: scale(1.18); }
    48%      { transform: scale(1); }
}

.brand {
    position: relative;
    color: var(--fg);
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.25s, text-shadow 0.25s;
}
.brand::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--red);
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.brand:hover {
    color: #fff;
    text-shadow:
        0 0 6px rgba(255,255,255,0.9),
        0 0 14px rgba(255,255,255,0.55),
        0 0 28px rgba(227,0,27,0.55);
}
.brand:hover::after { width: 100%; }

/* ---------- Stage ---------- */
.stage {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 0 0 4vh;
}

.mark {
    display: block;
    width: 14px;
    height: 14px;
    background: var(--red);
    margin-bottom: 28px;
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.85); }
}

.kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.clock {
    display: flex;
    align-items: flex-end;
    gap: clamp(12px, 2vw, 32px);
    margin-bottom: 32px;
    line-height: 0.82;
}

.unit {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.num {
    font-size: clamp(4rem, 15vw, 17rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: var(--fg);
    font-variant-numeric: tabular-nums;
    line-height: 0.82;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.num.tick { transform: translateY(-6px); }

.lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.sep {
    font-size: clamp(4rem, 15vw, 17rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: var(--red);
    line-height: 0.82;
    align-self: flex-start;
    margin-bottom: 25px;
    animation: blink 1s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.target {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg);
    margin-bottom: 22px;
}

.bar {
    width: min(560px, 60vw);
    height: 2px;
    background: var(--line);
    overflow: hidden;
}
.bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--red);
    transition: width 1s linear;
}

/* ---------- Corner marks ---------- */
.corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 0 solid rgba(242, 242, 240, 0.5);
    pointer-events: none;
    z-index: 3;
}
.corner.tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- Done: saat 00:00:00'da donar ---------- */
body.done .sep { animation: none; opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .top .meta:nth-child(2),
    .bottom .meta:nth-child(2),
    .bottom .meta:nth-child(4) { display: none; }
    .top .meta:nth-child(1),
    .bottom .meta:nth-child(1) { grid-column: 1 / 7; }
    .top .meta:nth-child(3) { grid-column: 7 / -1; }
    .bottom .meta:nth-child(3) { grid-column: 7 / -1; text-align: right; }

    .clock { gap: 8px; flex-wrap: wrap; }
    .sep { display: none; }
    .unit { flex: 1 1 40%; }
    .num { font-size: clamp(3.5rem, 20vw, 8rem); }
    .bar { width: 100%; }
}