/* KROG CCG website. Plain CSS, no build step. Fonts are self-hosted (no calls to Google). */
@font-face { font-family: "Cinzel"; src: url("fonts/cinzel-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IM Fell"; src: url("fonts/imfell.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IM Fell"; src: url("fonts/imfell-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #12151a;
  --panel: #1b2027;
  --panel-edge: #2c333d;
  --text: #e4dac4;
  --muted: #a99f8a;
  --gold: #d4ab55;
  --gold-hi: #f0d28a;
  --gold-dark: #8a6a2c;
  --head: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "IM Fell", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.15rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff3cf; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: .03em;
}
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.9rem); margin: 2.2em 0 .7em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
h2::after {
  content: ""; display: block; width: 4rem; height: 2px; margin-top: .5rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 46rem; }

/* Header */
.site-head { border-bottom: 1px solid var(--panel-edge); background: #0e1115; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.2rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { font-family: var(--head); color: var(--gold); text-decoration: none; font-size: 1.15rem; letter-spacing: .08em; }
.site-head nav a { font-family: var(--head); font-size: .85rem; color: var(--muted); text-decoration: none; margin-left: 1rem; letter-spacing: .05em; }
.site-head nav a:first-child { margin-left: 0; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--gold-hi); }

/* Hero */
.hero { position: relative; background: #0a0c0f; overflow: hidden; }
.hero > img { width: 100%; height: clamp(18rem, 42vw, 34rem); object-fit: cover; opacity: .75; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.teaser { position: relative; overflow: hidden; background: #0a0c0f; }
.teaser video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-note { position: absolute; left: 0; right: 0; bottom: .8rem; margin: 0; text-align: center; text-shadow: 0 2px 6px #000; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,21,26,0) 40%, var(--bg) 100%); pointer-events: none; }
.hero-inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem 16px; }
.hero-inner .logo { width: min(36rem, 88vw); filter: drop-shadow(0 4px 12px rgba(0,0,0,.8)); }
.tagline { font-style: italic; font-size: clamp(1.05rem, 2.6vw, 1.35rem); margin: .8rem 0 0; text-shadow: 0 2px 6px #000; max-width: 40rem; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.6rem 0 .6rem; }
.btn {
  display: inline-block; font-family: var(--head); font-size: 1rem; letter-spacing: .06em; text-decoration: none;
  padding: .75rem 1.4rem; border-radius: 4px; border: 1px solid var(--gold); color: var(--gold-hi);
  background: rgba(14,17,21,.85);
}
.btn:hover { background: #2a2416; color: #fff3cf; }
.btn.primary { background: linear-gradient(180deg, #e2bd6a, #a8812f); color: #17130a; border-color: #f0d28a; }
.btn.primary:hover { background: linear-gradient(180deg, #f0d28a, #b88f38); color: #000; }
.founder { text-align: center; color: var(--gold-hi); font-family: var(--head); font-size: .95rem; letter-spacing: .05em; margin: 0 0 1rem; }

/* Panels and lists */
.panel { background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 6px; padding: 1.1rem 1.3rem; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.features li { background: var(--panel); border: 1px solid var(--panel-edge); border-left: 3px solid var(--gold-dark); border-radius: 4px; padding: .8rem 1rem; }
.features strong { color: var(--gold-hi); font-weight: normal; font-family: var(--head); font-size: .95rem; letter-spacing: .03em; display: block; }
.factions { padding-left: 1.2rem; }
.factions li { margin: .3rem 0; }

.shots { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.shots a { display: block; border: 1px solid var(--panel-edge); border-radius: 4px; overflow: hidden; }
.shots a:hover { border-color: var(--gold); }
.shots img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.trailer { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; text-align: center; background: #0a0c0f url("img/hero_small.webp") center / cover; border: 1px solid var(--panel-edge); border-radius: 6px; }
.trailer p { background: rgba(10,12,15,.85); padding: .6rem 1rem; border-radius: 4px; margin: 0 1rem; }

.note { color: var(--muted); font-size: 1rem; }
.disclosure { font-size: .98rem; color: var(--muted); border-top: 1px solid var(--panel-edge); padding-top: 1rem; margin-top: 2.5rem; }
.placeholder { background: #4a3a12; color: #ffe7a8; padding: 0 .25em; border-radius: 3px; font-style: normal; }

table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--panel-edge); }
th { font-family: var(--head); font-weight: 700; color: var(--gold); font-size: .9rem; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-foot { margin-top: 4rem; border-top: 1px solid var(--panel-edge); background: #0e1115; color: var(--muted); font-size: .95rem; }
.site-foot .wrap { padding-top: 1.4rem; padding-bottom: 2rem; }
.site-foot nav a { margin-right: 1rem; color: var(--muted); }
.site-foot nav a:hover { color: var(--gold-hi); }

@media (max-width: 34rem) {
  body { font-size: 1.08rem; }
  .site-head nav a { margin-left: .7rem; font-size: .8rem; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
