@charset "UTF-8";
/* Self-hosted latin subsets.
   Inter — SIL OFL 1.1 · Barlow Condensed — SIL OFL 1.1 · Playfair Display — SIL OFL 1.1
   License files live in assets/fonts/. */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/inter-var-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/barlow-condensed-italic-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Playfair Display";
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #05080c;
    --ink: #f3efe6;
    --muted: #a9a49a;
    --ember: #ed8b2e;
    --gold: #f2c66a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--ember);
    color: #140c06;
}

/* Background image, softened so the type stays in charge. */
.backdrop {
    position: fixed;
    inset: -3%;
    background: url("assets/img/cs2-bg.jpg") center 38% / cover no-repeat;
    filter: saturate(0.82) contrast(1.06) brightness(0.78);
    opacity: 0.42;
    transform: scale(1.03);
}

/* Vignette + gradient veil for legibility at every size. */
.veil {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(115% 85% at 50% 28%,
            rgba(5, 8, 12, 0) 0%,
            rgba(5, 8, 12, 0.18) 44%,
            rgba(5, 8, 12, 0.78) 78%,
            var(--bg) 100%),
        linear-gradient(180deg,
            rgba(5, 8, 12, 0.72) 0%,
            rgba(5, 8, 12, 0.12) 30%,
            rgba(5, 8, 12, 0.18) 58%,
            rgba(5, 8, 12, 0.92) 100%);
}

.stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr auto;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    padding: clamp(18px, 4vw, 48px);
    padding-bottom: max(clamp(18px, 4vw, 48px), env(safe-area-inset-bottom));
}

.content {
    align-self: center;
    justify-self: center;
    width: min(100%, 1060px);
    padding-bottom: clamp(8px, 3vh, 34px);
    text-align: center;
}

h1 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2.6rem, 12.4vw, 9.5rem);
    line-height: 0.84;
    letter-spacing: 0.012em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.28),
        0 18px 56px rgba(0, 0, 0, 0.62);
}

h1 .two {
    display: inline-block;
    margin-left: 0.06em;
    color: var(--ember);
    text-shadow:
        0 0 32px rgba(237, 139, 46, 0.28),
        0 18px 56px rgba(0, 0, 0, 0.62);
}

.slogan {
    max-width: 26ch;
    margin: clamp(14px, 2.4vh, 28px) auto 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.05rem, 1.15rem + 1.35vw, 1.95rem);
    line-height: 1.32;
    letter-spacing: 0.005em;
    color: #e9e3d5;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.8);
}

.slogan em {
    display: inline-block;
    color: var(--gold);
    font-style: italic;
}

/* One little in-game chat line, pinned to the bottom. */
.comment {
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 0.5ch;
    max-width: min(100%, 52ch);
    margin: 0 0 clamp(2px, 1.2vh, 14px);
    padding: 0.5em 0.95em;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 3px;
    background: rgba(6, 9, 14, 0.42);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    font-size: clamp(0.68rem, 0.62rem + 0.3vw, 0.84rem);
    line-height: 1.45;
    letter-spacing: 0.015em;
    color: var(--muted);
    text-align: center;
}

.chat-tag {
    color: var(--ember);
    font-weight: 700;
}

.chat-name {
    color: var(--ink);
    font-weight: 600;
}

.chat-sep {
    margin-right: 0.1ch;
    color: rgba(243, 239, 230, 0.5);
}

.chat-text {
    color: rgba(243, 239, 230, 0.8);
}

/* Gentle entrance; nothing loops or moves after load. */
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content h1 {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.slogan {
    animation: rise 0.8s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.comment {
    animation: rise 0.8s 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (max-width: 600px) {
    .backdrop {
        background-position: 52% 34%;
    }

    .slogan {
        max-width: 21ch;
    }

    .comment {
        padding: 0.45em 0.7em;
    }
}

@media (max-height: 540px) {
    .stage {
        padding-block: 14px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }

    .content {
        padding-bottom: 4px;
    }

    h1 {
        font-size: clamp(2.6rem, 18vh, 6.5rem);
    }

    .slogan {
        margin-top: 8px;
        font-size: clamp(0.92rem, 3.8vh, 1.35rem);
    }

    .comment {
        padding-block: 0.3em;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}
