/* KDP Rise of Kingdoms account page */
:root {
  --bg: #0b0906;
  --bg-2: #120e0a;
  --card: #17120c;
  --card-2: #1e1810;
  --gold: #d4b24a;
  --gold-2: #c9a227;
  --gold-soft: #e8d5a3;
  --ink: #f4ebd8;
  --muted: #b7a88a;
  --line: rgba(212, 178, 74, 0.28);
  --line-strong: rgba(212, 178, 74, 0.55);
  --whatsapp: #25d366;
  --discord: #5865f2;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cinzel", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.muted { color: var(--muted); }
.en { color: var(--muted); font-size: 0.92em; display: block; margin-top: 0.2em; font-weight: 400; }
.kicker {
  font-family: var(--serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.72rem;
  margin: 0 0 0.6rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.03em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); color: var(--gold-soft); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); color: var(--gold-soft); }
h3 { font-size: 1.15rem; color: var(--gold-soft); }
p { margin: 0.7em 0 0; }
.lead { font-size: 1.08rem; max-width: 42rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 9, 6, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.logo {
  font-family: var(--serif);
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}
.logo span { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.08em; display: block; font-family: var(--sans); }
nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.92rem; }
nav a:hover { color: var(--gold-soft); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,9,6,0.35) 0%, rgba(11,9,6,0.72) 55%, var(--bg) 100%),
    url("img/hero-bg.jpg") center 30% / cover no-repeat;
  z-index: -1;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.1rem 0 1.4rem; }
.badge {
  border: 1px solid var(--line-strong);
  background: rgba(23, 18, 12, 0.75);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2rem;
}
.stat {
  background: rgba(23, 18, 12, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat b { display: block; font-size: 1.25rem; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.82rem; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid rgba(212, 178, 74, 0.12); }
.section-head { margin-bottom: 1.5rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.fact strong { display: block; font-size: 1.35rem; color: var(--gold-soft); font-family: var(--serif); }
.fact span { color: var(--muted); font-size: 0.9rem; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card.gold {
  background: linear-gradient(180deg, #221c12 0%, #16110b 100%);
  border-color: var(--line-strong);
}

/* KvK */
.kvk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 1.2rem 0;
}
.kvk-grid .stat b { font-size: 1.05rem; }
.source { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.place {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--serif); color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}
.place small { font-family: var(--sans); color: var(--muted); font-size: 1rem; letter-spacing: 0; }

/* Infantry set highlight */
.set-block {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.set-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #000;
}
.set-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.set-stats { display: flex; flex-direction: column; gap: 10px; }
.set-stat {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 14px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.set-stat b { color: var(--gold-soft); font-size: 1.2rem; white-space: nowrap; }
.set-stat.hi {
  background: linear-gradient(90deg, rgba(212,178,74,0.16), rgba(23,18,12,0.4));
  border-color: var(--line-strong);
}
.mini-list { margin: 0.8rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.mini-list li { padding: 0.22rem 0; border-bottom: 1px solid rgba(212,178,74,0.1); }
.mini-list li:last-child { border-bottom: 0; }

/* Commanders */
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.cmd {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.cmd img { aspect-ratio: 3/4; width: 100%; object-fit: cover; object-position: center top; }
.cmd-body { padding: 12px 14px 14px; }
.cmd-body h3 { font-size: 1.02rem; }
.skills {
  display: flex; gap: 5px; margin: 8px 0 6px; flex-wrap: wrap;
}
.skills i {
  font-style: normal;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: #2a2216;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.82rem; font-weight: 700;
}
.cmd-meta { color: var(--muted); font-size: 0.86rem; }
.cmd-note { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }

/* Resources */
.res-grid, .spd-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.res, .spd {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.res b, .spd b { display: block; color: var(--gold-soft); font-size: 1.15rem; }
.res span, .spd span { color: var(--muted); font-size: 0.86rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1200px, 100%); max-height: 90vh; border-radius: 8px; }
.lightbox button {
  position: absolute; top: 16px; right: 16px;
  background: transparent; color: var(--gold-soft);
  border: 1px solid var(--line); border-radius: 999px;
  width: 42px; height: 42px; font-size: 1.4rem; cursor: pointer;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.price {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--gold-soft);
  margin: 0.4rem 0 0.8rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
  color: #111;
}
.btn-wa { background: var(--whatsapp); color: #062; }
.btn-wa:hover { color: #041; filter: brightness(1.05); }
.btn-dc { background: var(--discord); color: #fff; }
.btn-dc:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--gold-soft);
}
.btn-ghost:hover { color: #fff; }
.copy-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212,178,74,0.12);
}
.copy-row:last-child { border-bottom: 0; }
.copy-row button {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { margin: 0.4em 0 0; max-width: 52rem; }

@media (max-width: 900px) {
  .hero-stats, .facts, .kvk-grid, .res-grid, .spd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmd-grid, .gallery, .split, .set-block, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  nav { gap: 0.35rem 0.85rem; }
  .hero { padding: 36px 0 32px; }
  section { padding: 40px 0; }
  .hero-stats, .facts, .kvk-grid, .cmd-grid, .gallery, .res-grid, .spd-grid,
  .split, .set-block, .contact-grid { grid-template-columns: 1fr; }
  .cmd-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .stat b, .fact strong { font-size: 1.15rem; }
}



/* Warning page additions */
:root {
  --danger: #c45a3a;
  --danger-soft: #f0c4b4;
  --warn-bg: #1a100c;
}

.logo.warn-logo { letter-spacing: 0.08em; }
.logo.warn-logo span { letter-spacing: 0.12em; text-transform: uppercase; }

.alert-banner {
  display: inline-block;
  border: 1px solid rgba(196, 90, 58, 0.7);
  background: rgba(196, 90, 58, 0.16);
  color: var(--danger-soft);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--serif);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin: 0 0 1rem;
}

.hero.warning-hero h1 { font-size: clamp(1.85rem, 4.6vw, 3.35rem); }
.hero.warning-hero .lead { font-size: 1.12rem; max-width: 46rem; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  align-items: start;
}
.timeline .step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #221c12;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.timeline p { margin-top: 0.25rem; color: var(--ink); }
.timeline p + p { margin-top: 0.45rem; }

.statement {
  background: linear-gradient(180deg, #241610 0%, #16100b 100%);
  border: 1px solid rgba(196, 90, 58, 0.45);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-top: 1.4rem;
}
.statement .kicker { color: var(--danger-soft); }
.statement p { font-size: 1.08rem; max-width: 54rem; }
.statement .attrib { color: var(--muted); font-size: 0.9rem; margin-top: 0.9rem; }

.advice {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 24px 10px;
  box-shadow: var(--shadow);
}
.advice ol, .advice ul {
  margin: 0.4rem 0 0;
  padding: 0 0 0 1.2rem;
}
.advice li {
  margin: 0.55rem 0 0.85rem;
  padding-left: 0.2rem;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.proof-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.proof-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
  transition: transform 0.35s ease;
}
.proof-card:hover img { transform: scale(1.02); }
.proof-card:hover { border-color: var(--line-strong); color: inherit; }
.proof-card figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.proof-card figcaption strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  font-weight: 650;
}

.claim-note {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 1rem;
}

.contact-single .copy-row { border-bottom: 0; }
.hint { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 1100px) {
  .proof-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .proof-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; }
  .timeline .step { width: 40px; height: 40px; font-size: 1rem; }
}
@media (max-width: 520px) {
  .proof-gallery { grid-template-columns: 1fr; }
}


@media (max-width: 640px) {
  .hero.warning-hero h1 { font-size: 1.58rem; }
  .hero.warning-hero h1 .h1-line2 { white-space: nowrap; }
}


.section-head.after-head { margin-top: 2.6rem; }
.proof-gallery.after-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .proof-gallery.after-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .proof-gallery.after-gallery { grid-template-columns: 1fr; }
}


.payment-banner {
  display: block;
  width: 100%;
  background: #b10d0d;
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 16px;
  margin: 0 0 1.1rem;
  border: 4px solid #7a0808;
  border-radius: 6px;
}
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 1.3rem;
}
.action-box {
  border: 2px solid #c45a3a;
  background: rgba(196, 90, 58, 0.16);
  color: #ffd4c8;
  padding: 10px 12px;
  font-weight: 700;
  line-height: 1.35;
  border-radius: 8px;
}
.timeline li.flagged {
  border: 2px solid #c45a3a;
  background: rgba(196, 90, 58, 0.12);
}
.proof-card.flagged {
  border: 2px solid #c45a3a;
}
.flag-label {
  display: inline-block;
  background: #b10d0d;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  margin: 0 0 6px;
  border-radius: 3px;
}
.proof-card figcaption .flag-label { display: block; width: fit-content; }
@media (max-width: 720px) {
  .action-grid { grid-template-columns: 1fr; }
}
