:root{
    --bg: #000;
    --panel: rgba(10,12,16,.62);
    --panel2: rgba(10,12,16,.38);
    --stroke: rgba(255,255,255,.12);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --muted2: rgba(255,255,255,.55);
    --accent: rgba(120, 255, 210, .92);
    --accent2: rgba(255, 90, 140, .85);
    --shadow: 0 18px 50px rgba(0,0,0,.55);
    --radius: 18px;
    --radius2: 16px;
    --ring: 0 0 0 1px rgba(255,255,255,.10), 0 0 0 6px rgba(120,255,210,.06);
}

html, body { height: 100%; margin: 0; background: var(--bg); color: var(--text); }
body {
    background: #000 url("./dread_tower.png") center / cover no-repeat fixed;
    overflow-x: hidden;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
            radial-gradient(ellipse at center, rgba(0,0,0,0) 38%, rgba(0,0,0,0.92) 100%),
            linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
    mix-blend-mode: multiply;
    z-index: 0;
}

/* Pinned header */
.topPinned {
    position: fixed;
    top: clamp(12px, 2.5vh, 22px);
    left: 50%;
    transform: translateX(-50%);
    width: min(980px, calc(100% - 28px));
    z-index: 5;
    pointer-events: none;
}

.topbar {
    pointer-events: auto;
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--panel), rgba(10,12,16,.35));
    box-shadow: var(--shadow);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(10px);
}

.titleRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.brand { display: grid; gap: 2px; min-width: 220px; }
h1 {
    margin: 0;
    font-size: clamp(20px, 2.6vw, 30px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.05;
}
.sub { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: 0.2px; }

/* Right side: countdown + tension stacked */
.rightStack{
    display: grid;
    gap: 10px;
    justify-items: end;
}

.pill {
    display: grid;
    grid-auto-flow: column;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.label {
    color: var(--muted2);
    font-size: 12px;
    letter-spacing: .24px;
    text-transform: uppercase;
    white-space: nowrap;
}

.time {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.time strong { font-size: 18px; letter-spacing: .5px; }
.time span { color: var(--muted2); font-size: 12px; margin-left: 2px; }

/* Base button */
.go {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .2px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
    white-space: nowrap;
}
.go:focus { outline: none; box-shadow: var(--ring); }
.go:hover { transform: translateY(-1px); border-color: rgba(120,255,210,.35); }
.go .arrow { opacity: .85; }

/* Make Tension tool more visible */
.go--primary{
    padding: 11px 14px;
    border-radius: 14px;
    border-color: rgba(120,255,210,.38);
    background:
            radial-gradient(circle at 20% 20%, rgba(120,255,210,.22), rgba(0,0,0,.30) 55%),
            linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.18));
    box-shadow:
            0 10px 26px rgba(0,0,0,.35),
            0 0 0 1px rgba(120,255,210,.10);
}
.go--primary:hover{
    border-color: rgba(120,255,210,.55);
    box-shadow:
            0 14px 34px rgba(0,0,0,.45),
            0 0 0 1px rgba(120,255,210,.14);
}

.btnIcon{
    width: 18px;
    height: 18px;
    display: inline-block;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

/* Main layout */
.wrap {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 22px;
    display: grid;
    grid-template-rows: 1fr auto;
}

.content {
    display: grid;
    place-items: center;
    padding-top: var(--headerSpace, 150px);
    padding-bottom: 64px;
}

/* Two fixed columns: Vince + Chris */
.grid {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-content: center;
}

/* Column container */
.lane {
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--panel2), rgba(10,12,16,.22));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.laneHeader{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.10));
}

.laneTitle{
    margin: 0;
    font-size: 14px;
    letter-spacing: .28px;
    text-transform: uppercase;
}

.laneHint{
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    letter-spacing: .18px;
}

.laneBody{
    padding: 14px;
    display: grid;
    gap: 14px;
}

.card {
    position: relative;
    border-radius: var(--radius2);
    background: linear-gradient(180deg, var(--panel), rgba(10,12,16,.30));
    border: 1px solid var(--stroke);
    box-shadow: 0 14px 42px rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    overflow: hidden;
    cursor: pointer;
}

.cardInner {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    padding: 16px;
    align-items: center;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 60px rgba(0,0,0,.65);
    transition: transform .15s ease, box-shadow .15s ease;
}

.card a.fullLink:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius2);
}

.icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(120,255,210,.20), rgba(0,0,0,.25));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    display: grid;
    place-items: center;
}

.icon svg {
    width: 38px;
    height: 38px;
    opacity: .95;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

.card h2 { margin: 0; font-size: 16px; letter-spacing: .2px; }
.card p  { margin: 4px 0 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }

.card a.fullLink { position: absolute; inset: 0; text-decoration: none; color: inherit; z-index: 3;}
.card a.fullLink:focus { outline: none; box-shadow: var(--ring); border-radius: var(--radius2); }
.card .go, .card .meta { position: relative; z-index: 2; }

footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    z-index: 4; /* below header (5), above content (1–3) */

    text-align: center;
    padding: 14px 0 12px 0;

    font-size: 12px;
    letter-spacing: .2px;
    color: rgba(255,255,255,.65);

    background:
            linear-gradient(
                    to top,
                    rgba(0,0,0,.75),
                    rgba(0,0,0,.35) 65%,
                    rgba(0,0,0,0)
            );

    backdrop-filter: blur(6px);
    pointer-events: none; /* footer is informational only */
    user-select: none;
}

@media (max-width: 980px) {
    .cardInner { grid-template-columns: 64px 1fr; }
    .go { justify-self: start; }
}

/* On small screens: single column, Vince first, then Chris */
@media (max-width: 880px) {
    .grid { grid-template-columns: 1fr; }
    .rightStack{ justify-items: start; }
}