:root {
    --bg0: #0b1220;
    --bg1: #0f1a30;
    --card: rgba(255, 255, 255, 0.06);
    --text: rgba(255, 255, 255, 0.88);
    --muted: rgba(255, 255, 255, 0.68);
    --line: rgba(255, 255, 255, 0.12);
    --accent: #86efac;
    --accent2: #60a5fa;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background-image: url("/img/background.png");

    line-height: 1.65;
}

.wrap {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
}

.container {
    width: 100%;
    max-width: 860px;
}

header {
    text-align: center;
    padding: 10px 6px 18px;
}

h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    letter-spacing: 0.3px;
    font-weight: 700;
    text-transform: lowercase;
}

.subtitle {
    margin: 10px auto 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 0.98rem;
}

.card {
    background-color: #1b2f3f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    position: relative; overflow: hidden;
}


.card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(500px 220px at 20% 10%, rgba(96, 165, 250, 0.16), transparent 60%),
        radial-gradient(500px 220px at 80% 0%, rgba(134, 239, 172, 0.12), transparent 55%);
    pointer-events: none;
    opacity: 0.9;
}

.card-inner {
    position: relative;
    padding: 18px 16px;
}

@media (min-width: 640px) {
    .card-inner {
        padding: 26px 28px;
    }
}

h2 {
    margin: 0 0 10px 0;
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: 0.2px;
}

/* Use <div class="witness"> instead of <p> so whitespace is predictable */
.witness,
.upcoming {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    white-space: pre-line;
    /* keeps line breaks, collapses extra spaces */
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 16px 0;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.small {
    font-size: 0.85rem;
    color: var(--muted);
}

.spacer {
    height: 16px;
}

::selection {
    background: rgba(96, 165, 250, 0.35);
}

