@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #050407;
  --bg-soft: #0e0c12;
  --panel: rgba(17, 14, 20, 0.82);
  --panel-strong: rgba(8, 7, 10, 0.94);
  --line: rgba(245, 209, 132, 0.18);
  --line-strong: rgba(245, 209, 132, 0.42);
  --text: #fff6e8;
  --muted: #cdbda6;
  --dim: #8f806f;
  --gold: #dca84a;
  --gold-2: #ffe2a1;
  --red: #9d1f2c;
  --green: #35e092;
  --violet: #a663ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -5%, rgba(157, 31, 44, 0.32), transparent 34rem),
    radial-gradient(circle at 15% 15%, rgba(166, 99, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 85% 35%, rgba(220, 168, 74, 0.13), transparent 26rem),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  opacity: 0.12;
  background-image: url("assets/noise.png");
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 50% 10%, transparent, rgba(0, 0, 0, 0.72) 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 4, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle, rgba(255, 226, 161, 0.28), transparent 58%),
    linear-gradient(145deg, #4d1019, #120b12);
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-family: "Cinzel", serif;
  font-size: 16px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease, text-shadow 160ms ease;
}

.site-nav a:hover {
  color: var(--gold-2);
  text-shadow: 0 0 18px rgba(255, 226, 161, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px clamp(18px, 4vw, 64px) 42px;
  place-items: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(0deg, rgba(5, 4, 7, 0.98), rgba(5, 4, 7, 0.15) 45%, rgba(5, 4, 7, 0.7)),
    radial-gradient(circle at 50% 48%, rgba(157, 31, 44, 0.28), transparent 30rem),
    url("assets/game/gallery-01.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner {
  width: min(980px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cinzel", Georgia, serif;
}

h1 {
  margin-bottom: 22px;
  color: #fff3d7;
  font-size: clamp(58px, 11vw, 140px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow:
    0 0 18px rgba(255, 226, 161, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.82);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  width: min(780px, 100%);
  margin-inline: auto;
  color: #eadccd;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-width: 190px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 226, 161, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.48), 0 0 22px rgba(255, 226, 161, 0.12);
}

.button.primary {
  border-color: rgba(255, 226, 161, 0.74);
  background: linear-gradient(145deg, #c78326, #7d1623 60%, #211018);
  color: white;
}

.rate-strip {
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.rate-strip div {
  padding: 24px 18px;
  background: rgba(8, 7, 10, 0.82);
}

.rate-strip span,
.rate-strip strong {
  display: block;
}

.rate-strip span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rate-strip strong {
  margin-top: 8px;
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-size: 30px;
}

.section-pad {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 4vw, 64px);
}

.section-heading {
  width: min(920px, 100%);
}

.section-heading.centered,
.centered-copy {
  margin-inline: auto;
  text-align: center;
}

.intro {
  padding-bottom: 54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.feature-card,
.path-grid article,
.economy-grid article,
.premium-card,
.download-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(15, 12, 18, 0.78);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.28);
}

.feature-card {
  min-height: 285px;
  padding: 30px;
  text-align: center;
}

.feature-card.highlight {
  background:
    radial-gradient(circle at 50% 0%, rgba(157, 31, 44, 0.36), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
}

.feature-icon {
  display: inline-grid;
  min-width: 58px;
  height: 46px;
  margin-bottom: 34px;
  padding-inline: 12px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}

.panel-art {
  min-height: 540px;
  border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(5, 4, 7, 0.5), rgba(5, 4, 7, 0.05)),
    url("assets/game/gallery-04.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.stat-list div {
  padding: 22px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.stat-list strong,
.stat-list span {
  display: block;
}

.stat-list strong {
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-size: 34px;
}

.stat-list span {
  color: var(--muted);
  font-size: 13px;
}

.abilities {
  background:
    linear-gradient(rgba(5, 4, 7, 0.84), rgba(5, 4, 7, 0.95)),
    url("assets/rune-texture.png") center / cover no-repeat;
}

.path-grid,
.economy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.path-grid article,
.economy-grid article {
  padding: 30px;
  text-align: center;
}

.economy {
  padding-top: 88px;
}

.economy-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-size: 20px;
}

.premium {
  padding-top: 0;
}

.premium-card {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(180deg, rgba(5, 4, 7, 0.72), rgba(5, 4, 7, 0.94)),
    url("assets/game/gallery-03.jpg") center / cover no-repeat;
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(280px, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.premium-main,
.premium-list {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.54);
}

.premium-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 22px;
  padding: 24px;
}

.premium-main span {
  color: var(--gold-2);
}

.premium-main strong {
  color: var(--green);
}

.premium-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 24px 28px;
  color: var(--muted);
}

.transform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.transform-list span {
  padding: 8px 12px;
  border: 1px solid rgba(53, 224, 146, 0.32);
  background: rgba(53, 224, 146, 0.08);
  color: #8fffc8;
  font-size: 13px;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.price-row div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.54);
  text-align: center;
}

.price-row strong,
.price-row span {
  display: block;
}

.price-row strong {
  color: var(--gold-2);
  font-family: "Cinzel", serif;
}

.price-row span {
  margin-top: 6px;
  color: var(--muted);
}

.media {
  padding-top: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: 235px;
  gap: 16px;
  margin-top: 38px;
}

.media-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #09080d;
  box-shadow: 0 16px 58px rgba(0, 0, 0, 0.32);
}

.media-tile.large {
  grid-row: span 2;
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 260ms ease, opacity 260ms ease;
}

.media-tile:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.media-tile figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 226, 161, 0.22);
  background: rgba(0, 0, 0, 0.62);
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-weight: 700;
  text-align: center;
}

.download {
  padding-top: 0;
}

.download-card {
  display: grid;
  gap: 28px;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 54px);
  background:
    linear-gradient(110deg, rgba(103, 19, 30, 0.78), rgba(11, 9, 15, 0.94)),
    url("assets/download-banner.png") center / cover no-repeat;
  text-align: center;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 34px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: #030205;
  text-align: center;
}

.site-footer strong {
  color: var(--gold-2);
  font-family: "Cinzel", serif;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(5, 4, 7, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .feature-grid,
  .split,
  .path-grid,
  .economy-grid,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .rate-strip,
  .price-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 16px;
  }

  .button {
    width: 100%;
  }

  .rate-strip,
  .stat-list,
  .price-row,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .panel-art {
    min-height: 360px;
  }

  .media-tile.large {
    grid-row: span 1;
  }
}
