:root {
  --ink: #05060a;
  --panel: #0b0c12;
  --panel-soft: #11121a;
  --gold: #f5bf35;
  --gold-light: #ffe188;
  --purple: #9d4edd;
  --text: #f8f7f2;
  --muted: #b7b5c0;
  --line: rgba(245, 191, 53, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 9%, rgba(124, 41, 178, 0.17), transparent 28rem),
    linear-gradient(180deg, #05060a 0%, #080910 62%, #05060a 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(18px);
}

.logo {
  width: max-content;
  background: linear-gradient(180deg, #fff3bd 0%, #f6c443 44%, #b97605 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  text-shadow: 0 8px 22px rgba(245, 191, 53, 0.2);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #e7e5e9;
  font-size: 0.9rem;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0 24px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: 180ms ease;
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(245, 191, 53, 0.5);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
  background-image:
    radial-gradient(circle at 78% 47%, rgba(188, 87, 255, 0.42), transparent 26%),
    linear-gradient(90deg, #07080c 0%, rgba(7, 8, 12, 0.92) 36%, rgba(7, 8, 12, 0.1) 78%),
    url("images/waw4d-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, transparent 65%, rgba(5, 6, 10, 0.92) 100%),
    radial-gradient(circle at 24% 50%, transparent 0%, rgba(5, 6, 10, 0.18) 50%);
}

.hero-content {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  background: linear-gradient(180deg, #fff1b4 0%, #f3b928 55%, #bd7602 100%);
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: #e5e2e8;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #ffe57f 0%, #efb323 60%, #c77b07 100%);
  box-shadow: 0 15px 35px rgba(218, 150, 13, 0.2);
  color: #1b1302;
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(218, 150, 13, 0.34);
}

.button-secondary {
  border: 1px solid rgba(176, 89, 230, 0.62);
  background: rgba(8, 9, 15, 0.72);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.shortcut-wrap {
  position: relative;
  z-index: 4;
  margin-top: -26px;
}

.shortcut-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(126px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding: 9px;
  border: 1px solid rgba(245, 191, 53, 0.28);
  border-radius: 18px;
  background: rgba(9, 10, 16, 0.94);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #15151c;
}

.shortcut {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(245, 191, 53, 0.64);
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(245, 191, 53, 0.1), transparent 50%),
    #101017;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
  transition: 180ms ease;
}

.shortcut:hover {
  border-color: #ffe887;
  background-color: #17151c;
  box-shadow: 0 0 26px rgba(157, 78, 221, 0.22);
  transform: translateY(-2px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(245, 191, 53, 0.15);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 19, 27, 0.96), rgba(10, 11, 17, 0.96));
}

.trust-strip article {
  display: flex;
  min-height: 128px;
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
}

.trust-strip article + article {
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(157, 78, 221, 0.2);
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 900;
}

.trust-strip h2,
.trust-strip p {
  margin: 0;
}

.trust-strip h2 {
  font-size: 0.94rem;
  text-transform: uppercase;
}

.trust-strip p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.section {
  padding-block: 108px;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.section-heading h2,
.security-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading > p:last-child,
.security-copy > p:not(.eyebrow),
.final-cta > div > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  transition: 180ms ease;
}

.game-card:hover {
  border-color: rgba(245, 191, 53, 0.65);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
  transform: translateY(-5px);
}

.game-image {
  position: relative;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(157, 78, 221, 0.55), transparent 38%),
    linear-gradient(145deg, #2d1a47, #11141d 62%, #5d3b05);
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.game-card:hover .game-image img {
  transform: scale(1.045);
}

.game-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 230, 139, 0.6);
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.82);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.game-info p,
.game-info h3 {
  margin: 0;
}

.game-info p {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-info h3 {
  margin-top: 5px;
  font-size: 1.08rem;
}

.game-info a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}

.process {
  padding-top: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 12, 18, 0.82);
}

.steps article {
  min-height: 230px;
  padding: 34px;
}

.steps article + article {
  border-left: 1px solid var(--line);
}

.steps span,
.security-grid span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.steps h3,
.security-grid h3 {
  margin: 40px 0 10px;
  font-size: 1.25rem;
}

.steps p,
.security-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.security-section {
  padding-block: 110px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 50%, rgba(157, 78, 221, 0.17), transparent 28rem),
    #0a0b10;
}

.security-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  align-items: center;
  gap: 90px;
}

.security-copy h2 {
  max-width: 480px;
}

.security-copy > p:not(.eyebrow) {
  margin: 24px 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-weight: 800;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.security-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 19, 27, 0.74);
}

.security-grid h3 {
  margin-top: 36px;
}

.faq-section {
  padding-bottom: 68px;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

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

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

.faq-list summary {
  display: flex;
  min-height: 78px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::after {
  color: var(--gold);
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 730px;
  margin: -4px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
  padding: 40px 48px;
  overflow: hidden;
  border: 1px solid rgba(245, 191, 53, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 180%, rgba(169, 69, 235, 0.58), transparent 48%),
    linear-gradient(120deg, #16111f, #0b0c12 72%);
}

.final-cta h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.final-cta p {
  margin-block: 8px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #06070a;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  min-height: 170px;
}

.footer-layout > div > p,
.legal {
  margin: 12px 0 0;
  color: #8f8d97;
  font-size: 0.78rem;
}

.footer-layout nav {
  display: flex;
  gap: 22px;
  color: #cbc9cf;
  font-size: 0.8rem;
}

.legal {
  max-width: 290px;
  justify-self: end;
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip article {
    padding-inline: 20px;
  }

  .security-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .security-copy {
    max-width: 700px;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-layout nav {
    justify-self: end;
  }

  .legal {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: -26px;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 0.7rem;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-art {
    background-image:
      linear-gradient(180deg, rgba(5, 6, 10, 0.14), rgba(5, 6, 10, 0.96) 70%),
      url("images/waw4d-hero.webp");
    background-position: 66% center;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 86px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .shortcut-wrap {
    margin-top: -36px;
  }

  .shortcut-track {
    grid-template-columns: repeat(7, 130px);
    scroll-snap-type: x mandatory;
  }

  .shortcut {
    scroll-snap-align: start;
  }

  .trust-strip,
  .steps,
  .security-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip article + article,
  .steps article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-strip article {
    min-height: 112px;
  }

  .section,
  .security-section {
    padding-block: 80px;
  }

  .game-image {
    height: 230px;
  }

  .steps article {
    min-height: 190px;
  }

  .security-grid article {
    min-height: 180px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 44px;
    padding: 34px 24px;
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    padding-block: 40px;
  }

  .footer-layout nav {
    flex-wrap: wrap;
    justify-self: start;
  }

  .legal {
    grid-column: auto;
    margin-top: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
