/* ironslash.particles.ca — one stylesheet for the landing page and the
   privacy policy. Dark only, in the game's own palette: night purple, gold
   trim and ember orange. No web fonts: headings use the platform's serif in
   spaced capitals (Trajan or Cinzel if installed), text uses the system sans. */

:root {
  color-scheme: dark;
  --bg: #0e0a18;
  --bg-2: #150f24;
  --panel: #1b1430;
  --panel-2: #231a3d;
  --ink: #f4efff;
  --ink-soft: #cfc6e3;
  --muted: #a197ba;
  --gold: #ecc97c;
  --gold-2: #c9984a;
  --gold-line: rgba(236, 201, 124, 0.28);
  --line: rgba(244, 239, 255, 0.1);
  --violet: #7a4fd8;
  --violet-2: #a77bf3;
  --ember: #ff7a1f;
  --ember-2: #ffb347;

  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Trajan Pro', 'Trajan Pro 3', Cinzel, 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 64px;
  --radius: 18px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff3d2;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #1a1206;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.nw {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(14, 10, 24, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--gold-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--gold);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  color: var(--gold);
}

@media (max-width: 760px) {
  .nav-link {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 600 16px/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, #f6dc9c 0%, #e2b866 55%, #c9984a 100%);
  border-color: #f7e2ac;
  color: #1d1408;
  box-shadow: 0 8px 24px rgba(236, 160, 60, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
  color: #1d1408;
  box-shadow: 0 10px 30px rgba(236, 160, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: rgba(244, 239, 255, 0.04);
  border-color: var(--gold-line);
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--gold);
  border-color: rgba(236, 201, 124, 0.55);
}

.btn-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------- Section scaffolding ---------- */

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ember-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember));
}

.section h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 19px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(122, 79, 216, 0.45), transparent 70%),
    radial-gradient(40% 50% at 70% 85%, rgba(255, 122, 31, 0.22), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, rgba(167, 123, 243, 0.16), transparent 70%),
    linear-gradient(180deg, #120c20 0%, var(--bg) 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(14, 10, 24, 0.5);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.hero-kicker img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(54px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e9e4f5 38%, #9d95b4 62%, #e6e0f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.45));
}

.hero .motto {
  margin-top: 18px;
  line-height: 1.7;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero .lede {
  max-width: 34em;
  margin-top: 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fine {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 12% 8% -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 122, 31, 0.5), rgba(122, 79, 216, 0.25) 60%, transparent);
  filter: blur(30px);
}

.hero-art img {
  position: relative;
  width: 100%;
  border-radius: 21%;
  box-shadow: 0 0 0 1px var(--gold-line), 0 30px 80px rgba(0, 0, 0, 0.6);
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    width: min(62%, 300px);
  }
}

/* ---------- Wide gameplay strip ---------- */

.strip {
  margin-top: clamp(-56px, -5vw, -32px);
  position: relative;
}

.strip img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.strip-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 64px);
  align-items: end;
  margin-top: clamp(36px, 5vw, 56px);
}

.strip-copy h2 {
  color: var(--gold);
  font-size: clamp(28px, 3.6vw, 40px);
  text-transform: uppercase;
}

.strip-copy .lede {
  margin-top: 14px;
}

@media (max-width: 860px) {
  .strip-copy {
    grid-template-columns: 1fr;
  }
}

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--gold-line);
  overflow: hidden;
}

.fact {
  padding: 22px 22px 24px;
  background: var(--bg-2);
}

.fact b {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.feature + .feature {
  margin-top: clamp(64px, 9vw, 112px);
}

.feature.flip {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.feature.flip .feature-shot {
  order: 2;
}

.feature-shot img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.feature-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.feature-copy .lede {
  margin-top: 14px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.42em;
  width: 10px;
  height: 10px;
  background: var(--ember);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 122, 31, 0.7);
}

.ticks strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
  }

  .feature.flip .feature-shot {
    order: 0;
  }
}

/* ---------- Campaign ---------- */

.band {
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(122, 79, 216, 0.3), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--gold-line);
}

.battles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: battle;
}

.battles li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 15px;
  counter-increment: battle;
}

.battles li::before {
  content: counter(battle);
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold-2);
  border-radius: 50%;
  background: #161022;
  color: var(--gold);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}

.battles li.boss::before {
  border-color: #e0483a;
  color: #ffb3a8;
  box-shadow: 0 0 12px rgba(224, 72, 58, 0.45);
}

.battles li.boss span::after {
  content: 'Boss';
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(224, 72, 58, 0.18);
  color: #ffb3a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 1px;
}

@media (max-width: 420px) {
  .battles {
    grid-template-columns: 1fr;
  }
}

/* ---------- Armory ---------- */

.knights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(32px, 5vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.knight.legendary {
  grid-column: span 2;
}

@media (max-width: 760px) {
  .knights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.knight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.knight i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.knight b {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.2;
}

.knight span {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.knight.legendary {
  border-color: rgba(255, 122, 31, 0.6);
  box-shadow: 0 0 20px rgba(255, 122, 31, 0.18);
}

/* ---------- Get the game ---------- */

.get {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--gold-line);
  border-radius: 24px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 122, 31, 0.18), transparent 70%),
    radial-gradient(60% 120% at 0% 100%, rgba(122, 79, 216, 0.3), transparent 70%),
    var(--panel);
}

.get img {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--gold-line), 0 14px 40px rgba(0, 0, 0, 0.5);
}

.get h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

.get p {
  margin-top: 10px;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .get {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* ---------- Help ---------- */

.help {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-card h2 {
  font-size: 26px;
  color: var(--gold);
  text-transform: uppercase;
}

.contact-card p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.contact-card .btn {
  margin-top: 22px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq details p {
  padding-bottom: 18px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .help {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 40px 36px;
  border-top: 1px solid var(--gold-line);
  background: #0b0813;
  color: var(--muted);
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding-block: 10px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current='page'] {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  color: var(--ink-soft);
  text-decoration: none;
}

.made-by svg {
  width: 20px;
  height: 18px;
}

.made-by:hover {
  color: var(--ink);
}

/* ---------- Privacy policy ---------- */

.legal-hero {
  padding-block: clamp(48px, 7vw, 80px) clamp(32px, 4vw, 44px);
  border-bottom: 1px solid var(--gold-line);
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(122, 79, 216, 0.35), transparent 70%),
    var(--bg-2);
}

.kicker {
  color: var(--ember-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin-top: 12px;
  color: var(--gold);
  font-size: clamp(36px, 5vw, 54px);
  text-transform: uppercase;
}

.legal-hero .meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.legal {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 96px);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 14px;
}

.toc b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--gold);
}

.legal-body {
  max-width: 720px;
}

.legal-body section + section,
.summary-card + section {
  margin-top: 40px;
}

.legal-body h2 {
  color: var(--gold);
  font-size: 24px;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body p {
  margin-top: 12px;
}

.legal-body ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-body li + li {
  margin-top: 8px;
}

.legal-body strong {
  color: var(--ink);
}

.summary-card {
  padding: 24px 26px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--panel);
}

.summary-card h2 {
  font-size: 20px;
}

@media (max-width: 860px) {
  .legal {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-2);
  }
}
