/* Bloodbound website. The old WordPress theme's look (black, Playfair Display headings, Open Sans text, #db4f3d red),
   rebuilt by hand: responsive, lighter, no plugins. */

:root {
    --bg: #000;
    --band: #121212;       /* alternate sections */
    --panel: #161616;      /* cards */
    --footer: #1c1c1c;
    --line: #2f2f2f;
    --line-strong: #474747;
    --text: #fff;
    --body: #a9a9a9;
    --muted: #8a8a8a;
    --red: #db4f3d;
    --red-dark: #b9402f;
    --wrap: 1180px;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font: 400 1.03rem/1.75 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: #ff6b58; }
h1, h2, h3 { font-family: var(--serif); color: var(--text); font-weight: 700; line-height: 1.15; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 800; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0; }
h3 { font-size: 1.4rem; margin: 0; }
p { margin: 0 0 1em; }
strong { color: var(--text); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 790px; }
.center { text-align: center; margin-top: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 12px; }

.eyebrow {
    display: inline-block;
    margin: 0;
    color: var(--red);
    font: 700 0.75rem/1.2 var(--sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: 1px solid var(--red);
    background: var(--red);
    color: #fff;
    font: 700 0.8rem/1 var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--red); border-color: var(--red); }
.btn-small { padding: 12px 20px; font-size: 0.74rem; }
.btn-steam { background: #171a21; border-color: #3d6b8f; }
.btn-steam:hover { background: #22303d; border-color: #66a3d2; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions.center { justify-content: center; }
.link-button { background: none; border: 0; padding: 0; color: var(--red); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ----- Header ----- */
.site-header { background: #000; position: relative; z-index: 10; }
.brand { display: block; width: max-content; margin: 0 auto; padding: 26px 0 20px; }
.brand img { display: block; height: 100px; width: auto; }
.nav-inner { border-top: 1px solid #3b3b3b; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: 4px 34px; flex-wrap: wrap; }
.site-nav a {
    position: relative;
    padding: 17px 0;
    color: #fff;
    font: 600 0.8rem/1 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav .nav-steam { color: var(--red); }
.nav-toggle { display: none; }

/* ----- Hero ----- */
.hero { position: relative; display: flex; align-items: center; min-height: min(80vh, 780px); overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 28%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 110px; }
.hero-inner > * { max-width: 640px; }
.hero h1 { margin: 16px 0 22px; }
.lead { font-size: 1.18rem; color: #e8e8e8; max-width: 33em; }
.live { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.live[hidden] { display: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(219, 79, 61, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(219, 79, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(219, 79, 61, 0); }
}

/* ----- Sections ----- */
.section { padding: 100px 0; }
.section-tight { padding: 56px 0 100px; }
.section-alt { background: var(--band); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin: 16px 0 0; }

.page-head { padding: 76px 0 46px; text-align: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0e0e0e 0%, #000 100%); }
.page-head h1 { margin: 12px 0 14px; }
.page-head p { max-width: 40em; margin: 0 auto; }
.page-404 { border-bottom: 0; padding: 120px 0 140px; }

/* ----- News ----- */
.news-home { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a0a; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card-media img { transform: scale(1.045); }
.card-fallback { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, #3a1410, #000 70%); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.card h3 { font-size: 1.34rem; margin: 0 0 12px; }
.card h3 a { color: #fff; text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card-text { margin: 0 0 24px; }
.card-large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 0; }
.card-large .card-media { height: 100%; aspect-ratio: auto; min-height: 340px; }
.card-large .card-body { padding: 40px 44px; }
.card-large h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 48px; color: var(--muted); }

/* ----- Sides, modes, maps ----- */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.side { position: relative; display: flex; align-items: flex-end; min-height: 440px; overflow: hidden; background: #000; border: 1px solid var(--line); margin: 0; }
.side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.side:hover img { transform: scale(1.04); }
.side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0) 78%); }
.side-text { position: relative; z-index: 1; padding: 34px; }
.side-text h3 { font-size: 1.95rem; margin: 10px 0 12px; }
.side-text p { color: #d2d2d2; }
.side-text .eyebrow { color: var(--red); }
.side-text .roster { margin: 0; color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.side-vampires { border-color: #3d1712; }
.sides-small { margin: 10px 0 46px; }
.sides-small .side { min-height: 300px; }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mode { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 36px 38px; }
.mode h3 { font-size: 1.75rem; margin: 0 0 14px; }
.mode p { margin: 0; }

.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map { position: relative; margin: 0; overflow: hidden; aspect-ratio: 8 / 3; background: #000; border: 1px solid var(--line); }
.map img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.map:hover img { transform: scale(1.05); }
.map figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 34px 24px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0)); }
.map strong { font: 700 1.5rem/1.2 var(--serif); color: #fff; }
.map span { color: #cfcfcf; font-size: 0.92rem; }
.map-soon { grid-column: 1 / -1; aspect-ratio: 16 / 3; }
.map-soon img { filter: grayscale(0.5) brightness(0.55); }
.map-soon span { color: var(--red); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.poll-teaser { list-style: none; display: grid; gap: 10px; max-width: 620px; margin: 0 auto; padding: 0; }
.poll-teaser li { padding: 15px 20px; background: var(--panel); border: 1px solid var(--line); color: #fff; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.story h2 { margin: 12px 0 8px; }
.lead-small { font-size: 1.08rem; color: #d6d6d6; }
.story .btn { margin-top: 12px; }

.cta { padding: 96px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(219, 79, 61, 0.28), rgba(0, 0, 0, 0) 62%), #080808; }
.cta h2 { margin: 0 0 14px; }
.cta p { max-width: 34em; margin: 0 auto 30px; color: #cfcfcf; }

/* ----- A post ----- */
.post-head { padding: 72px 0 36px; text-align: center; }
.post-head.has-image { padding-top: 0; }
.post-image { display: block; width: 100%; height: min(58vh, 560px); object-fit: cover; margin-bottom: 42px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.post-head .meta { justify-content: center; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 4px 0 0; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 34px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; max-width: 46%; color: #fff; font: 700 1.1rem/1.35 var(--serif); text-decoration: none; }
.post-nav a:hover { color: var(--red); }
.post-nav a span { margin-bottom: 6px; color: var(--red); font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.post-nav .newer { margin-left: auto; text-align: right; }

.prose { color: #c6c6c6; font-size: 1.08rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.85rem; margin: 2.1em 0 0.6em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--red); }
.prose img { display: block; height: auto; margin: 0 auto; }
.prose figure { margin: 2.2em 0; }
.prose figcaption { margin-top: 0.7em; color: var(--muted); font-size: 0.85rem; text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: 0.2em 0 0.2em 1.3em; border-left: 3px solid var(--red); color: #e0e0e0; font-style: italic; }
.prose code { background: #1b1b1b; padding: 0.12em 0.4em; font-size: 0.88em; color: #f0f0f0; }
.prose pre { margin: 1.6em 0; padding: 18px 20px; overflow-x: auto; background: #0e0e0e; border: 1px solid var(--line); font-size: 0.9rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose video { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 2em 0; background: #000; border: 1px solid var(--line); }
.prose figure video { margin: 0; }
.prose.small { font-size: 0.97rem; margin-top: 56px; }
.yt { position: relative; aspect-ratio: 16 / 9; margin: 2.2em 0; background: #000; border: 1px solid var(--line); }
.yt a, .yt img { display: block; width: 100%; height: 100%; }
.yt img { object-fit: cover; opacity: 0.82; transition: opacity 0.2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 74px; height: 52px; margin: -26px 0 0 -37px; border-radius: 12px; background: var(--red); transition: transform 0.2s; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.5em 0; }
.video-grid .yt { margin: 0; }

/* ----- Polls ----- */
.signin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 30px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); }
.signin-bar form { margin-left: auto; }
.notice { margin-bottom: 26px; padding: 14px 18px; border-left: 3px solid #3fa35a; background: #0e1b12; color: #e8e8e8; }
.notice-err { border-left-color: var(--red); background: #1e0d0a; }
.empty { margin-bottom: 30px; padding: 34px; border: 1px dashed var(--line); text-align: center; }
.sub-head { font-size: 1.45rem; margin: 46px 0 18px; }
.poll { margin-bottom: 26px; padding: 30px; background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 20px; }
.poll header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.poll h2 { font-size: 1.5rem; margin: 0 0 8px; }
.poll-desc { margin: 0 0 6px; }
.poll form { margin-top: 14px; }
.tag { padding: 5px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.tag-red { color: var(--red); border-color: var(--red); }
.poll-option { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 10px 0; padding: 14px 16px; overflow: hidden; background: #0c0c0c; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s; }
.poll-option:hover { border-color: #5a5a5a; }
.poll-option.is-static { cursor: default; }
.poll-option.is-static:hover { border-color: var(--line); }
.poll-option.is-mine { border-color: var(--red); }
.poll-bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; background: rgba(219, 79, 61, 0.2); }
.poll-label, .poll-count { position: relative; z-index: 1; }
.poll-label { display: flex; align-items: center; gap: 12px; color: #fff; }
.poll-label em { color: var(--red); font-size: 0.85rem; font-style: normal; }
.poll-count { color: #cfcfcf; font-variant-numeric: tabular-nums; white-space: nowrap; }
.poll input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.poll-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.poll-meta { color: var(--muted); font-size: 0.9rem; }
.poll.is-closed { opacity: 0.92; }

/* ----- Footer ----- */
.site-footer { background: var(--footer); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 66px; padding-bottom: 60px; }
.footer-title { margin: 0 0 18px; color: #fff; font: 700 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.footer-links a { color: #e6e6e6; text-decoration: none; }
.footer-links a:hover { color: var(--red); }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #000; color: #fff; transition: background-color 0.2s, transform 0.2s; }
.socials a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { padding: 22px 0; background: #000; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* ----- Smaller screens ----- */
@media (max-width: 1020px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .card-large { grid-template-columns: 1fr 1fr; }
    .card-large .card-body { padding: 30px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .brand img { height: 78px; }
    .nav-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 auto;
        padding: 16px 18px;
        background: none;
        border: 0;
        color: #fff;
        font: 600 0.8rem/1 var(--sans);
        letter-spacing: 0.14em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
    .bars { position: relative; }
    .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
    .bars::before { top: -6px; }
    .bars::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
    .site-nav { display: none; flex-direction: column; gap: 0; padding-bottom: 10px; }
    .site-nav.is-open { display: flex; }
    .site-nav a { width: 100%; padding: 14px 0; border-top: 1px solid #1f1f1f; text-align: center; }
    .site-nav a::after { display: none; }
    .section { padding: 76px 0; }
    .card-large { grid-template-columns: 1fr; }
    .card-large .card-media { min-height: 0; aspect-ratio: 16 / 9; }
    .sides, .modes, .story, .maps { grid-template-columns: 1fr; }
    .story { gap: 34px; }
    .map-soon { aspect-ratio: 8 / 3; }
    .side { min-height: 380px; }
}
@media (max-width: 620px) {
    body { font-size: 1rem; }
    .wrap { padding: 0 16px; }
    .news-home, .news-grid { grid-template-columns: 1fr; }
    .hero { min-height: 600px; }
    .hero-bg { object-position: 70% center; }
    .hero::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.35) 100%); }
    .hero-inner { padding-top: 70px; padding-bottom: 70px; }
    .actions .btn { flex: 1 1 100%; }
    .card-body, .card-large .card-body { padding: 22px; }
    .mode { padding: 28px 24px; }
    .side-text { padding: 24px; }
    .poll { padding: 22px 18px; }
    .poll header { flex-direction: column-reverse; gap: 10px; }
    .footer-cols { grid-template-columns: 1fr; gap: 36px; }
    .video-grid { grid-template-columns: 1fr; }
    .post-nav { flex-direction: column; }
    .post-nav a { max-width: none; }
    .signin-bar form { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
