/* Off Watch Gamer — shared styles
   Palette taken from the channel panels/banners: near-black navy, electric blue, white. */
:root {
  --bg: #0a0e15;
  --bg-2: #0e141e;
  --panel: #111925;
  --blue: #1e7bff;
  --blue-hi: #3da0ff;
  --blue-glow: rgba(30, 123, 255, .35);
  --white: #f4f7fb;
  --muted: #9aa6b8;
  --rule: #5b6577;
  --radius: 16px;
  --display: "Barlow Condensed", "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.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;
}
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 .accent, .accent { color: var(--blue-hi); }
.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .95rem; color: var(--blue-hi); margin: 0 0 10px;
}
.lead { color: var(--muted); max-width: 60ch; margin: 14px 0 0; }

/* ---------- buttons / link bars (modelled on the Twitch panels) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.15rem; text-decoration: none;
  padding: 12px 24px; border-radius: 12px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff;
  box-shadow: 0 0 22px var(--blue-glow);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-hi); box-shadow: 0 0 30px var(--blue-glow); }
.btn.ghost { background: rgba(10, 14, 21, .55); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(30, 123, 255, .22); }
.btn svg { width: 22px; height: 22px; flex: none; }

.bar {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px; text-decoration: none;
  background: linear-gradient(135deg, rgba(30, 123, 255, .16), rgba(14, 20, 30, .92) 45%);
  border: 2px solid var(--blue); border-radius: var(--radius);
  box-shadow: 0 0 16px rgba(30, 123, 255, .18), inset 0 0 18px rgba(30, 123, 255, .06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.bar:hover, .bar:focus-visible {
  transform: translateY(-2px); border-color: var(--blue-hi);
  box-shadow: 0 0 26px var(--blue-glow), inset 0 0 22px rgba(30, 123, 255, .12);
}
.bar .ico { width: 34px; height: 34px; flex: none; color: var(--blue-hi); }
.bar .ico svg { width: 100%; height: 100%; display: block; }
.bar .divider { width: 2px; align-self: stretch; min-height: 34px; background: var(--rule); opacity: .8; }
.bar .txt { display: flex; flex-direction: column; min-width: 0; }
.bar .label { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.55rem; line-height: 1.05; color: #fff; }
.bar .sub { color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .go { margin-left: auto; color: var(--blue-hi); flex: none; width: 22px; height: 22px; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 14, 21, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 123, 255, .35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--blue); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; }
.brand span em { font-style: normal; color: var(--blue-hi); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .09em; font-size: 1.05rem; text-decoration: none; color: var(--muted); }
.nav a:hover { color: #fff; }
.nav a.pill { color: #fff; border: 2px solid var(--blue); border-radius: 10px; padding: 4px 14px; }
.nav a.pill:hover { background: rgba(30, 123, 255, .22); }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(86vh, 820px);
  background: var(--bg) url("hero.jpg") 56% 18% / cover no-repeat;
}
.hero::before { /* fade into page */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 21, .15) 0%, rgba(10, 14, 21, 0) 35%, rgba(10, 14, 21, .72) 78%, var(--bg) 100%);
}
.hero .wrap { position: relative; padding: 0 0 40px; }
.hero .tag { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 4.2vw, 2.4rem); letter-spacing: .05em; line-height: 1.05; margin: 0 0 20px; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.hero .tag span { color: var(--blue-hi); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .hero { min-height: 82vh; background-image: url("hero-mobile.jpg"); background-position: 50% 0; }
}

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid rgba(30, 123, 255, .18); }
.head { margin-bottom: 30px; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar { padding: 22px 20px; border: 1px solid rgba(30, 123, 255, .4); border-radius: var(--radius); background: var(--panel); }
.pillar svg { width: 40px; height: 40px; color: var(--blue-hi); margin-bottom: 12px; }
.pillar h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: .04em; }
.pillar p { margin: 6px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

.video-frame { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 28px rgba(30, 123, 255, .25); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.below { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.below p { margin: 0; color: var(--muted); }

.facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: radial-gradient(ellipse at 50% 40%, rgba(30, 123, 255, .28), rgba(10, 14, 21, .96) 70%); }
.facade img { width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; border: 3px solid var(--blue); box-shadow: 0 0 28px var(--blue-glow); }
.facade p { margin: 0 0 16px; color: var(--muted); }
.facade button { cursor: pointer; font: inherit; }

.about { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.about p { margin: 16px 0 0; color: #d3dbe8; }
.about blockquote { margin: 26px 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--blue);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.6rem; line-height: 1.1; }
.about blockquote span { color: var(--blue-hi); }
.about .portrait { justify-self: center; width: min(340px, 100%); border-radius: 50%; border: 3px solid var(--blue); box-shadow: 0 0 40px var(--blue-glow); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 32px; } .about .portrait { order: -1; width: 220px; } }

.bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .bars { grid-template-columns: 1fr; } }

.contact { text-align: center; }
.contact .lead { margin-inline: auto; }
.contact .bar { max-width: 520px; margin: 28px auto 0; }

footer { padding: 36px 0 44px; border-top: 1px solid rgba(30, 123, 255, .3); text-align: center; color: var(--muted); font-size: .95rem; }
footer img { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; border: 2px solid var(--blue); }
footer .motto { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; font-size: 1.15rem; }
footer .motto span { color: var(--blue-hi); }

/* ---------- /links page ---------- */
body.links-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(30, 123, 255, .28), rgba(10, 14, 21, 0) 60%),
    linear-gradient(180deg, rgba(10, 14, 21, .72), rgba(10, 14, 21, .94) 55%, var(--bg) 85%),
    url("hero.jpg") 56% 0 / cover no-repeat,
    var(--bg);
}
.links-wrap { width: min(520px, 100% - 32px); margin-inline: auto; padding: 44px 0 56px; text-align: center; }
.links-wrap .avatar { width: 124px; height: 124px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid var(--blue); box-shadow: 0 0 34px var(--blue-glow); }
.links-wrap h1 { font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 800; letter-spacing: .05em; }
.links-wrap h1 span { color: var(--blue-hi); }
.links-wrap .tagline { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-hi); margin: 8px 0 28px; font-size: 1.1rem; }
.links-list { display: grid; gap: 14px; text-align: left; grid-template-columns: minmax(0, 1fr); }
.links-list > *, .bars > * { min-width: 0; }
.links-list .bar { background: linear-gradient(135deg, rgba(30, 123, 255, .2), rgba(10, 14, 21, .88) 50%); backdrop-filter: blur(6px); }
.links-wrap .back { display: inline-block; margin-top: 30px; color: var(--muted); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.links-wrap .back:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bar { transition: none; }
}
