/* ==========================================================================
   Seven Kingdoms 2 HD — Modern Site
   Design system: "Obsidian & Gold" dark epic-fantasy theme
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --ink:        #0a0c10;
  --ink-2:      #0f1218;
  --panel:      #151a22;
  --panel-2:    #1c222c;
  --panel-3:    #232a36;

  /* Metals & accents */
  --gold:       #c9a227;
  --gold-lt:    #e8cd7a;
  --gold-dk:    #8a6d16;
  --ember:      #d97438;
  --blood:      #a33a2c;
  --jade:       #4f8f7a;
  --parchment:  #ede3cc;

  /* Type */
  --text:       #c8cfdb;
  --text-hi:    #f2f5fa;
  --muted:      #838d9e;
  --muted-dk:   #5c6675;

  /* Lines */
  --line:       rgba(201, 162, 39, 0.20);
  --line-soft:  rgba(255, 255, 255, 0.07);

  /* Layout */
  --wrap:       1180px;
  --wrap-narrow: 860px;
  --radius:     4px;
  --radius-lg:  8px;

  /* Type scale */
  --font-display: 'Cinzel', 'Trajan Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.45);
  --shadow:    0 10px 30px rgba(0,0,0,.55);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.65);

  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 600px at 50% -200px, rgba(201,162,39,.10), transparent 70%),
    radial-gradient(800px 500px at 100% 100%, rgba(79,143,122,.06), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--gold-lt); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-hi);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.42rem); }
h4 { font-size: 1.06rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-lt); }
p  { margin: 0 0 1.15em; }
strong { color: var(--text-hi); font-weight: 600; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: block;
}

.lede { font-size: 1.14rem; color: #b9c2d0; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(38px, 5vw, 64px) 0; }
.section--alt { background: linear-gradient(180deg, rgba(21,26,34,.7), rgba(10,12,16,.35)); border-block: 1px solid var(--line-soft); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.center { text-align: center; }
.section-head { max-width: 700px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

/* ---------- Ornaments ---------- */
.rule {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 26px auto; max-width: 420px;
}
.rule::before, .rule::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-dk), transparent);
}
.rule svg { width: 20px; height: 20px; flex: none; color: var(--gold); }

.corner-frame { position: relative; }
.corner-frame::before, .corner-frame::after {
  content: ''; position: absolute; width: 22px; height: 22px; pointer-events: none;
  border-color: var(--gold-dk); opacity: .55;
}
.corner-frame::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.corner-frame::after  { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-size: .88rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid var(--gold-dk);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201,162,39,.16), rgba(201,162,39,.05));
  color: var(--gold-lt);
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .22s ease, border-color .2s ease, color .2s ease;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(232,205,122,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover { border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,39,.22); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  color: #1a1206; border-color: var(--gold-lt);
  box-shadow: 0 6px 22px rgba(201,162,39,.26);
}
.btn-primary:hover { background: linear-gradient(180deg, #f3dd9c, var(--gold-lt)); color: #17100a; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.16); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--gold-dk); color: var(--gold-lt); }
.btn-sm { padding: 9px 18px; font-size: .76rem; }
.btn-lg { padding: 17px 40px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10,12,16,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(8,10,13,.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px rgba(0,0,0,.5);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  color: var(--text-hi); letter-spacing: .06em;
}
.brand-sub { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
/* Full-height items so there is no dead zone between the link and the dropdown */
.nav > li {
  list-style: none; position: relative;
  height: var(--header-h); display: flex; align-items: center;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text);
  white-space: nowrap; background: none; border: 0;
  font-family: var(--font-body); cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--gold-lt); background: rgba(255,255,255,.05); }
.nav-link.is-active { color: var(--gold); position: relative; }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 1px; background: var(--gold);
}
.nav-link .caret { width: 9px; height: 9px; opacity: .6; transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-cta { margin-left: 8px; }

.submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 210px; padding: 7px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: 0;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* Keeps the pointer "inside" the menu while travelling from link to panel */
.submenu::before {
  content: ''; position: absolute;
  left: -6px; right: -6px; top: -8px; height: 10px;
}
.nav > li:hover .submenu,
.nav > li:focus-within .submenu,
.submenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 9px 13px; border-radius: var(--radius);
  font-size: .84rem; color: var(--text); letter-spacing: .03em;
}
.submenu a:hover { background: rgba(201,162,39,.10); color: var(--gold-lt); }
.submenu a.is-active { color: var(--gold); }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-soft);
  border-radius: var(--radius); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(70px, 11vw, 130px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(201,162,39,.13), transparent 65%),
    radial-gradient(700px 380px at 85% 75%, rgba(163,58,44,.12), transparent 65%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid; gap: clamp(34px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .gold {
  background: linear-gradient(180deg, #f5e3a8, var(--gold) 55%, #9a7a1c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tag { font-size: 1.16rem; color: #b6c0cf; max-width: 54ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 22px 0 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(201,162,39,.06);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-lt); font-weight: 500;
}

.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: #000;
}
.video-frame::before { content: ''; display: block; padding-top: 56.25%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Click-to-play YouTube facade (avoids embed errors on file:// and loads faster) */
.video-embed { cursor: pointer; }
.video-embed .yt-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.9) brightness(.82);
  transition: filter .3s ease, transform .5s ease;
}
.video-embed:hover .yt-thumb { filter: saturate(1.05) brightness(.95); transform: scale(1.03); }
.video-embed .yt-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(6,8,11,.15), rgba(6,8,11,.6));
}
.video-embed .yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(232,205,122,.96), rgba(201,162,39,.96));
  border: 1px solid var(--gold-lt); border-radius: 50%;
  color: #17100a; cursor: pointer;
  box-shadow: 0 10px 34px rgba(0,0,0,.6), 0 0 0 10px rgba(201,162,39,.12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.video-embed .yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-embed:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.65), 0 0 0 14px rgba(201,162,39,.16);
}
.video-embed .yt-note {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(8,10,13,.78); border: 1px solid var(--line);
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-lt); pointer-events: none;
}
.video-embed .yt-note svg { width: 12px; height: 12px; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(52px, 8vw, 86px) 0 clamp(38px, 6vw, 58px);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(201,162,39,.13), transparent 70%);
}
.page-head > * { position: relative; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { color: var(--muted); max-width: 62ch; margin-inline: auto; margin-bottom: 0; }

.crumbs {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-dk); margin-bottom: 1.4rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs span { margin: 0 .5em; opacity: .5; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: 28px 26px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; margin-bottom: 18px; color: var(--gold); }
.card-icon svg { width: 100%; height: 100%; }

.card--flush { padding: 0; overflow: hidden; }
.card--flush .card-body { padding: 24px 26px 28px; }
.card--flush img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.numbered { counter-reset: step; }
.step { position: relative; padding-left: 74px; margin-bottom: 42px; }
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 700;
  color: var(--gold); background: linear-gradient(180deg, var(--panel-2), var(--ink-2));
  border: 1px solid var(--line); border-radius: 50%;
}
.step h3 { margin-top: .2em; }
.step img {
  margin-top: 18px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
}

/* ---------- Quotes / reviews ---------- */
.quote {
  position: relative;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold-dk);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; height: 100%;
}
.quote:hover { border-left-color: var(--gold); }
.quote blockquote {
  margin: 0 0 20px; font-size: 1.01rem; line-height: 1.75;
  color: #c3cbd8; font-style: italic; flex: 1;
}
.quote-score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.quote-score .val {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.quote-score .src { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote-link { font-size: .8rem; letter-spacing: .06em; }

/* ---------- Civ list ---------- */
.civ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.civ {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px;
  background: linear-gradient(180deg, rgba(28,34,44,.85), rgba(15,18,24,.85));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-size: .9rem; color: var(--text);
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.civ:hover { border-color: var(--line); transform: translateY(-2px); color: var(--gold-lt); }
.civ svg { width: 22px; height: 22px; flex: none; color: var(--gold-dk); transition: color .2s ease; }
.civ:hover svg { color: var(--gold); }

/* ---------- Feature blocks ---------- */
.feature-block {
  display: grid; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 84px);
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse > *:first-child { order: 2; }
.feature-block img {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow); width: 100%;
}
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { position: relative; padding-left: 30px; margin-bottom: 13px; color: #b8c1ce; }
.feature-list li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; transform: rotate(45deg);
  border: 1px solid var(--gold); background: rgba(201,162,39,.3);
}
.feature-list li:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); background: rgba(15,18,24,.6);
  margin-bottom: 34px;
}
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
caption {
  text-align: left; padding: 16px 20px 12px;
  font-family: var(--font-display); font-size: 1.02rem; color: var(--gold-lt);
  letter-spacing: .06em;
}
th, td { padding: 11px 18px; text-align: left; vertical-align: top; }
thead th {
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  background: #171b23;
  border-bottom: 1px solid var(--line);
}
tbody tr { border-bottom: 1px solid var(--line-soft); }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: rgba(201,162,39,.045); }
td:first-child { width: 230px; }

kbd {
  display: inline-block;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  padding: 3px 9px; margin: 1px 2px 1px 0;
  color: var(--parchment);
  background: linear-gradient(180deg, var(--panel-3), var(--panel));
  border: 1px solid rgba(255,255,255,.14);
  border-bottom-width: 2px; border-bottom-color: rgba(0,0,0,.5);
  border-radius: 4px; white-space: nowrap;
}
kbd.k-cheat { color: var(--ember); border-color: rgba(217,116,56,.35); }
.key-sep { color: var(--muted-dk); margin: 0 3px; font-size: .8rem; }

/* Filter box */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.search-input {
  flex: 1; min-width: 240px;
  padding: 12px 16px 12px 42px;
  font-family: var(--font-body); font-size: .93rem;
  color: var(--text-hi);
  background: rgba(15,18,24,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23838d9e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center / 17px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: border-color .2s ease;
}
.search-input:focus { border-color: var(--gold-dk); outline: none; }
.search-input::placeholder { color: var(--muted-dk); }
.filter-count { font-size: .82rem; color: var(--muted); }
tr[hidden] { display: none; }
.no-results { padding: 26px; text-align: center; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 18px; }
.shot {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--ink-2); cursor: zoom-in;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease, filter .3s ease; filter: saturate(.92); }
.shot:hover { border-color: var(--gold-dk); transform: translateY(-3px); box-shadow: var(--shadow); }
.shot:hover img { transform: scale(1.06); filter: saturate(1.05); }
.shot::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(6,8,11,.85));
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.shot:hover::after { opacity: 1; }
.shot-label {
  position: absolute; left: 16px; bottom: 13px; z-index: 2;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-lt); opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.shot:hover .shot-label { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 34px;
  background: rgba(4,5,8,.94);
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 84vh;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: rgba(21,26,34,.9); border: 1px solid var(--line);
  border-radius: 50%; color: var(--gold-lt); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: var(--panel-2); transform: scale(1.07); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.07); }
.lb-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Video cards ---------- */
.video-card { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.video-card .video-frame { border: 0; border-radius: 0; box-shadow: none; }
.video-card .vc-body { padding: 20px 24px 24px; }
.video-card h3 { margin-bottom: .3em; font-size: 1.12rem; }
.video-card p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Price / buy ---------- */
.price-card {
  max-width: 470px; margin-inline: auto; text-align: center;
  padding: 40px 34px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.price {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin: 8px 0 4px;
}
.price-note { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.perk-list { list-style: none; margin: 26px 0 30px; padding: 0; text-align: left; }
.perk-list li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: .94rem; }
.perk-list li::before {
  content: ''; position: absolute; left: 3px; top: .42em;
  width: 15px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.buy-option {
  padding: 26px;
  background: rgba(21,26,34,.55);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.buy-option h3 { font-size: 1.1rem; }
.buy-option p { color: var(--muted); font-size: .92rem; flex: 1; }

/* ---------- Spec table ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.spec { background: var(--ink-2); padding: 20px 22px; }
.spec dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.spec dd { margin: 0; font-size: .95rem; color: var(--text); }

/* ---------- Patch notes ---------- */
.release { margin-bottom: 46px; }
.release:last-child { margin-bottom: 0; }
.release-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.release-head h2 { margin: 0; font-size: 1.4rem; }
.tag {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px; font-weight: 600;
}
.tag-new  { color: var(--gold-lt); background: rgba(201,162,39,.14); border: 1px solid var(--line); }
.tag-fix  { color: #d98a8a; background: rgba(163,58,44,.16); border: 1px solid rgba(163,58,44,.32); }
.tag-bal  { color: #7fc0aa; background: rgba(79,143,122,.14); border: 1px solid rgba(79,143,122,.3); }

.note-group { margin-bottom: 26px; }
.note-group:last-child { margin-bottom: 0; }
.note-group h4 { margin-bottom: .8em; }
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: .95rem; color: #b6bfcc; }
.note-list li::before {
  content: ''; position: absolute; left: 5px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dk);
}

.dl-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: 28px 30px;
  background: linear-gradient(120deg, rgba(201,162,39,.1), rgba(21,26,34,.7));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  margin-bottom: 44px;
}
.dl-banner h3 { margin: 0 0 .25em; }
.dl-banner p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Callout ---------- */
.callout {
  padding: 22px 26px; margin: 26px 0;
  background: rgba(201,162,39,.06);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.callout p:last-child { margin-bottom: 0; }
.callout--info { background: rgba(79,143,122,.07); border-color: rgba(79,143,122,.28); border-left-color: var(--jade); }
.callout--warn { background: rgba(217,116,56,.07); border-color: rgba(217,116,56,.28); border-left-color: var(--ember); }

/* ---------- Link cards ---------- */
.link-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 26px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  transition: border-color .22s ease, transform .22s ease;
}
.link-card:hover { border-color: var(--gold-dk); transform: translateY(-3px); }
.link-card .lc-icon { width: 30px; height: 30px; flex: none; color: var(--gold); margin-top: 3px; }
.link-card h3 { margin-bottom: .3em; font-size: 1.06rem; }
.link-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.link-card .lc-url { display: block; margin-top: 8px; font-size: .78rem; color: var(--gold-dk); letter-spacing: .04em; }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(52px, 8vw, 90px) 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21,26,34,.85), rgba(10,12,16,.9));
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 50% 50%, rgba(201,162,39,.15), transparent 70%);
}
.cta-strip > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 30px;
  border-top: 1px solid var(--line-soft);
  background: rgba(6,8,11,.6);
  font-size: .9rem;
}
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: minmax(230px, 1.3fr) repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 42px;
}
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 38ch; margin-top: 16px; }
.footer-col h4 { font-size: .74rem; letter-spacing: .2em; margin-bottom: 1.1em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: .88rem; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--line-soft);
  color: var(--muted-dk); font-size: .8rem;
}
.footer-base a { color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21,26,34,.92); border: 1px solid var(--line);
  border-radius: 50%; color: var(--gold-lt); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--panel-2); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-block.reverse > *:first-child { order: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 14px 22px 26px;
    background: rgba(8,10,13,.985);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > li { height: auto; display: block; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: .88rem; }
  .nav-link.is-active::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 1px solid var(--line);
    border-radius: 0; margin: 0 0 8px 10px; padding: 0 0 0 10px;
    display: none; min-width: 0; background: none;
  }
  .submenu.is-open { display: block; }
  .nav > li:hover .submenu, .nav > li:focus-within .submenu { display: none; }
  .nav > li:hover .submenu.is-open, .nav > li:focus-within .submenu.is-open { display: block; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  td:first-child { width: auto; min-width: 160px; }
  .step { padding-left: 0; padding-top: 62px; }
  .step::before { width: 44px; height: 44px; font-size: 1.1rem; }
}

@media (max-width: 560px) {
  body { font-size: 15.8px; }
  .brand-sub { display: none; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lightbox { padding: 18px; }
  .dl-banner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .cta-strip, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
