:root {
  --bg: #081019;
  --bg-soft: #101b29;
  --panel: rgba(11, 18, 29, 0.82);
  --panel-strong: rgba(15, 24, 39, 0.96);
  --border: rgba(255, 255, 255, 0.09);
  --gold: #f0c56b;
  --gold-strong: #ffdb8a;
  --text: #edf3ff;
  --muted: #a9b4c9;
  --accent: #6bb2ff;
  --success: #7ef7b2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(107, 178, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(240, 197, 107, 0.12), transparent 30%),
    linear-gradient(180deg, #060c14 0%, #081019 35%, #09111a 100%);
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35));
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.alt-section {
  padding-top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(6, 12, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 10px 30px rgba(240, 197, 107, 0.24);
}

.brand strong,
.section-heading h2,
.hero h1,
.cta-box h2,
.feature-card h3,
.class-card h3,
.download-card h3 {
  font-family: "Cinzel", serif;
}

.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  color: #0b1018;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 16px 40px rgba(240, 197, 107, 0.22);
}

.btn-secondary,
.btn-download {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn-secondary:hover,
.btn-download:hover {
  border-color: rgba(240, 197, 107, 0.5);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 197, 107, 0.25);
  background: rgba(240, 197, 107, 0.08);
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.feature-card,
.discover-panel,
.accordion-item,
.cta-box,
.class-card,
.download-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-lg);
  padding: 42px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.hero h1 span {
  color: var(--gold-strong);
}

.hero-text,
.section-heading p,
.discover-copy p,
.accordion-content p,
.feature-card p,
.download-card p,
.site-footer p,
.stat-box p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-points li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #dfe8f7;
}

.hero-points li::before {
  content: "✦";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-strong);
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  align-self: start;
  height: fit-content;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -30% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 197, 107, 0.18), transparent 60%);
}

.hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #d8e8ff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(126, 247, 178, 0.8);
}

.stat-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-box {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-box.accent {
  background: linear-gradient(180deg, rgba(240, 197, 107, 0.12), rgba(255, 255, 255, 0.03));
}

.stat-label {
  display: block;
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.stat-box strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 34px;
}

.section-heading h2,
.discover-copy h2,
.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

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

.feature-card {
  border-radius: var(--radius-md);
  padding: 28px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: rgba(240, 197, 107, 0.1);
  border: 1px solid rgba(240, 197, 107, 0.18);
}

.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.discover-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  padding: 12px 16px;
  border-radius: 999px;
  color: #dce7fb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion-item {
  border-radius: 22px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  font-size: 1.18rem;
  font-weight: 700;
  cursor: pointer;
}

.accordion-symbol {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-strong);
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-symbol {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content > * {
  padding-inline: 26px;
}

.accordion-content > *:first-child {
  padding-top: 0;
}

.accordion-content > *:last-child {
  padding-bottom: 28px;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 26px 0;
}

.accordion-item.open .classes-grid {
  padding-bottom: 28px;
}

.class-card {
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.class-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.mini-block + .mini-block {
  margin-top: 18px;
}

.mini-block strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-strong);
}

.mini-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 26px 0;
}

.accordion-item.open .download-grid {
  padding-bottom: 28px;
}

.download-card {
  border-radius: 20px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.platform-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(107, 178, 255, 0.12);
  border: 1px solid rgba(107, 178, 255, 0.2);
  color: #badbff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.cta-box {
  border-radius: 28px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(240, 197, 107, 0.09), rgba(107, 178, 255, 0.08)),
    var(--panel-strong);
}

.site-footer {
  padding: 0 0 38px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  color: var(--gold-strong);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .hero-grid,
  .discover-grid,
  .feature-grid,
  .classes-grid,
  .download-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .stat-boxes,
  .hero-points {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero-copy,
  .hero-card,
  .feature-card,
  .cta-box,
  .download-card,
  .class-card,
  .rule-card,
  .rules-note {
    padding: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .cta-box,
  .footer-wrap,
  .nav-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero-points,
  .stat-boxes,
  .classes-grid,
  .download-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .accordion-trigger {
    padding: 20px;
    font-size: 1.04rem;
  }

  .accordion-content > *,
  .classes-grid,
  .download-grid {
    padding-inline: 20px;
  }
}


.rule-card h3,
.rule-card-head h3 {
  font-family: "Cinzel", serif;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rule-card,
.rules-note {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
}

.rule-card {
  padding: 26px;
}

.rule-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.rule-card-head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.rule-penalty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(240, 197, 107, 0.1);
  border: 1px solid rgba(240, 197, 107, 0.22);
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.rules-sublist {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.rules-sublist li + li {
  margin-top: 4px;
}

.rules-note {
  margin-top: 18px;
  padding: 28px;
}

.rules-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.rules-note p + p {
  margin-top: 16px;
}


.download-page {
  min-height: calc(100vh - 160px);
}

.download-page-grid {
  padding: 0;
  align-items: stretch;
}

.download-page-grid .download-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.download-card-button {
  margin-top: auto;
  width: 100%;
}

.card-kicker {
  color: var(--gold-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.download-card-list li + li {
  margin-top: 4px;
}

.download-page-note {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
}

.download-page-note a {
  color: var(--gold-strong);
  font-weight: 700;
}
