/* ================================================================
   BLUE DRAGON 777 — BRAND SYSTEM
   Royal purple lobby • electric cyan dragon energy • warm gold
   ================================================================ */

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

:root {
  --bg: #09071f;
  --bg-deep: #050411;
  --surface: #120d2b;
  --surface-2: #1a113d;
  --surface-3: #241654;
  --purple: #2d0b4c;
  --purple-bright: #8a5cff;
  --cyan: #00d7ff;
  --cyan-soft: #83ecff;
  --blue: #176bff;
  --gold: #f6c453;
  --gold-bright: #ffe18e;
  --text: #f7f9ff;
  --text-muted: #aaa8c6;
  --border: rgba(154, 136, 216, 0.18);
  --border-bright: rgba(0, 215, 255, 0.34);
  --success: #35d599;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  --font: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 0%, rgba(63, 28, 145, 0.34), transparent 34rem),
    radial-gradient(circle at 12% 36%, rgba(0, 123, 255, 0.12), transparent 26rem),
    linear-gradient(180deg, #0b0824 0%, var(--bg) 45%, #070616 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
summary {
  color: inherit;
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(0, 215, 255, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #09071f;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: 104px 0;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.16;
}

.ambient-one {
  top: 10%;
  right: -10rem;
  background: var(--purple-bright);
}

.ambient-two {
  left: -12rem;
  bottom: 8%;
  background: var(--blue);
}

/* Promo banner */
.top-banner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), transparent 30%, rgba(255,255,255,0.05)),
    linear-gradient(100deg, #2d0b4c, #1d237f 48%, #244e90);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #eafcff;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
}

.top-banner strong {
  color: var(--gold-bright);
}

.top-banner .code {
  padding: 2px 8px;
  border: 1px solid rgba(246, 196, 83, 0.38);
  border-radius: 5px;
  background: rgba(246, 196, 83, 0.1);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.banner-spark {
  color: var(--cyan);
}

.promo-code {
  padding: 2px 8px;
  border: 1px solid rgba(246, 196, 83, 0.38);
  border-radius: 5px;
  background: rgba(246, 196, 83, 0.1);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.top-banner a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  color: #fff;
  font-weight: 700;
}

.top-banner a:hover {
  color: var(--cyan-soft);
}

/* Header and brand */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 7, 31, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-header > .container:not(.header-inner) {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(0, 215, 255, 0.34);
  border-radius: 15px;
  object-fit: cover;
  box-shadow:
    0 0 0 3px rgba(0, 215, 255, 0.05),
    0 0 26px rgba(0, 215, 255, 0.12);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  line-height: 0.82;
}

.brand-main,
.brand-777 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.025em;
}

.brand-main {
  font-size: 24px;
  background: linear-gradient(180deg, #fff 5%, #a6ecff 72%, #4d8eea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-777 {
  margin-left: 7px;
  font-size: 21px;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(246, 196, 83, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo .brand-logo-lockup {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 215, 255, 0.34);
  border-radius: 14px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 5%, #a6ecff 72%, #4d8eea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-name b {
  margin-left: 4px;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

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

.site-nav > a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 17px;
  border: 1px solid rgba(0, 215, 255, 0.38);
  background: linear-gradient(135deg, rgba(0, 215, 255, 0.18), rgba(23, 107, 255, 0.2));
  color: #fff;
  box-shadow: inset 0 0 20px rgba(0, 215, 255, 0.04);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  border-radius: 9px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 36px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -24rem;
  left: 50%;
  width: 70rem;
  height: 70rem;
  transform: translateX(-10%);
  border: 1px solid rgba(138, 92, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 8rem rgba(0, 215, 255, 0.012),
    0 0 0 18rem rgba(138, 92, 255, 0.015);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.95fr);
  align-items: center;
  gap: 76px;
}

.hero-copy {
  max-width: 650px;
}

.hero-eyebrow,
.kicker {
  color: var(--cyan-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 215, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 215, 255, 0.06);
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 215, 255, 0.1);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  50% { box-shadow: 0 0 0 9px rgba(0, 215, 255, 0); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 7.5vw, 104px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(90deg, #fff 0%, var(--cyan-soft) 35%, #7fb0ff 67%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 16px 60px rgba(0, 215, 255, 0.05);
}

.hero-lede {
  max-width: 610px;
  margin-top: 28px;
  color: #c0bdd4;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00bbef, #176bff 54%, #6c47db);
  color: #fff;
  box-shadow: 0 12px 34px rgba(23, 107, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 42px rgba(23, 107, 255, 0.4);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.btn-secondary:hover {
  border-color: rgba(0,215,255,0.32);
  background: rgba(0,215,255,0.05);
}

.hero-facts {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 38px;
  color: var(--text-muted);
  font-size: 12px;
}

.hero-facts span {
  padding: 0 18px;
  border-right: 1px solid var(--border);
}

.hero-facts span:first-child {
  padding-left: 0;
}

.hero-facts span:last-child {
  border-right: 0;
}

.hero-facts strong {
  margin-right: 5px;
  color: #fff;
  font-size: 15px;
}

/* Dragon feature composition */
.dragon-stage {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 215, 255, 0.24), rgba(91, 55, 192, 0.08) 50%, transparent 72%);
  filter: blur(18px);
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(0, 215, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 480px;
  height: 480px;
  animation: spin 22s linear infinite;
}

.orbit-one::after {
  content: "";
  position: absolute;
  top: 52px;
  right: 50px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-style: dashed;
  border-color: rgba(246, 196, 83, 0.16);
  animation: spin 28s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.dragon-card {
  position: relative;
  z-index: 3;
  width: min(410px, 88%);
  overflow: hidden;
  border: 1px solid rgba(0, 215, 255, 0.3);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(36, 22, 84, 0.92), rgba(10, 7, 30, 0.96));
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.55),
    0 0 0 8px rgba(255,255,255,0.018),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: rotate(2deg);
}

.dragon-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.08) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite 1.5s;
  pointer-events: none;
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

.dragon-card-label {
  display: block;
  padding: 16px 20px 12px;
  color: var(--cyan-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.dragon-card > img {
  width: 100%;
  aspect-ratio: 370 / 248;
  object-fit: cover;
  border-block: 1px solid var(--border);
}

.dragon-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px 19px;
}

.dragon-card-footer > div {
  display: grid;
}

.dragon-card-footer strong {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
}

.dragon-card-footer span {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
}

.dragon-card-footer a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #171020;
  font-size: 19px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.dragon-card-footer a:hover {
  transform: rotate(45deg) scale(1.08);
}

.float-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(10, 7, 30, 0.82);
  box-shadow: 0 12px 35px rgba(0,0,0,0.34);
  backdrop-filter: blur(12px);
  color: #eafcff;
  font-size: 11px;
  font-weight: 700;
}

.float-chip ion-icon {
  color: var(--cyan);
  font-size: 16px;
}

.chip-top {
  top: 88px;
  right: -2px;
  animation: float 4s ease-in-out infinite;
}

.chip-bottom {
  bottom: 72px;
  left: 4px;
  animation: float 4.5s ease-in-out infinite reverse;
}

@keyframes float {
  50% { transform: translateY(-8px); }
}

.category-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 58px;
  border-block: 1px solid var(--border);
}

.category-rail span {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid var(--border);
  color: #c3c0d5;
  font-size: 12px;
  font-weight: 600;
}

.category-rail span:last-child {
  border-right: 0;
}

.category-rail ion-icon {
  color: var(--cyan);
  font-size: 19px;
}

/* Shared headings */
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.section-heading h2,
.feature-intro h2,
.download-copy h2,
.faq-intro h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 66px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-transform: uppercase;
}

.section-heading p,
.feature-intro > p,
.faq-intro > p {
  color: var(--text-muted);
  line-height: 1.75;
}

/* Games */
.games-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.01), transparent 30%),
    rgba(5, 4, 17, 0.32);
  border-block: 1px solid rgba(255,255,255,0.035);
}

.game-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 26px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
}

.game-tab {
  padding: 8px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.game-tab.active {
  background: var(--surface-3);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

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

.games-grid-extra {
  display: contents;
}

.games-grid-extra[hidden] {
  display: none;
}

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(26,17,61,0.82), rgba(13,10,36,0.92));
  box-shadow: 0 10px 34px rgba(0,0,0,0.16);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 215, 255, 0.42);
  box-shadow: 0 24px 55px rgba(0,0,0,0.36), 0 0 32px rgba(0,215,255,0.07);
}

.game-card.featured {
  border-color: rgba(246, 196, 83, 0.4);
}

.game-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 370 / 210;
  background: var(--purple);
}

.game-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(9,7,31,0.55));
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-art img {
  transform: scale(1.04);
}

.game-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(246,196,83,0.4);
  border-radius: 7px;
  background: rgba(15,10,30,0.72);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.game-info > div {
  display: grid;
}

.gc-name {
  font-size: 16px;
  font-weight: 700;
}

.game-info small {
  color: var(--text-muted);
  font-size: 10px;
}

.game-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--cyan);
  transition: background 0.2s ease, color 0.2s ease;
}

.game-card:hover .game-arrow {
  background: var(--cyan);
  color: #07101b;
}

/* Features */
.feature-intro {
  max-width: 770px;
  margin-bottom: 42px;
}

.feature-intro > p {
  max-width: 690px;
  margin-top: 22px;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(138,92,255,0.15), transparent 44%),
    linear-gradient(145deg, var(--surface-2), rgba(11,8,34,0.96));
}

.feature-large {
  background:
    radial-gradient(circle at 82% 12%, rgba(0,215,255,0.18), transparent 38%),
    linear-gradient(145deg, #1d1651, #0d0929);
}

.feature-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255,255,255,0.12);
  font-family: var(--display);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid rgba(0,215,255,0.23);
  border-radius: 13px;
  background: rgba(0,215,255,0.08);
  color: var(--cyan);
  font-size: 22px;
}

.feature-card h3 {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
  text-transform: uppercase;
}

.feature-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.mini-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.mini-categories span {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  color: #cecbdf;
  font-size: 9px;
  font-weight: 700;
}

/* Download */
.download-section {
  padding-top: 40px;
}

.download-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 72px;
  padding: 72px;
  border: 1px solid rgba(0,215,255,0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 30%, rgba(0,215,255,0.18), transparent 32%),
    radial-gradient(circle at 15% 100%, rgba(138,92,255,0.22), transparent 34%),
    linear-gradient(135deg, #160c3b, #0b0a2c 58%, #071d3a);
  box-shadow: var(--shadow);
}

.download-shell::after {
  content: "";
  position: absolute;
  top: -170px;
  right: -130px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(0,215,255,0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(0,215,255,0.015), 0 0 0 110px rgba(138,92,255,0.012);
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy h2 {
  max-width: 600px;
}

.download-copy > p {
  max-width: 570px;
  margin-top: 20px;
  color: #bab7cd;
}

.platform-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.platform-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  color: #d7d4e6;
  font-size: 11px;
}

.platform-list ion-icon {
  color: var(--cyan);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover {
  color: #fff;
}

.app-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(9,7,31,0.76);
  box-shadow: 0 28px 70px rgba(0,0,0,0.4);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 17px;
}

.app-card-top img {
  width: 94px;
  height: 94px;
  flex: 0 0 auto;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(0,215,255,0.3);
}

.app-card-top div {
  display: grid;
}

.app-card-top small {
  color: var(--cyan-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.app-card-top strong {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 0.98;
  text-transform: uppercase;
}

.app-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0;
  border-block: 1px solid var(--border);
}

.app-card-stats span {
  display: grid;
  place-items: center;
  padding: 14px 7px;
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 9px;
}

.app-card-stats span:last-child { border-right: 0; }
.app-card-stats strong { color: #fff; font-size: 17px; }

.app-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--gold);
  color: #191020;
  font-size: 12px;
  font-weight: 800;
}

/* Steps */
.steps-section {
  padding-top: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.step-card {
  display: flex;
  gap: 20px;
  min-height: 190px;
  padding: 26px;
  border-top: 1px solid var(--border-bright);
  background: linear-gradient(180deg, rgba(0,215,255,0.035), transparent);
}

.step-card > span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 47px;
  font-weight: 900;
  line-height: 0.9;
}

.step-card h3 {
  font-size: 17px;
}

.step-card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* FAQ */
.faq-section {
  background: rgba(5,4,17,0.35);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro p {
  margin: 20px 0 24px;
}

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

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

.faq-list summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
}

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

.faq-list summary ion-icon {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 21px;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary ion-icon {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 650px;
  padding: 0 46px 26px 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* Footer */
.site-footer {
  padding: 70px 0 24px;
  border-top: 1px solid var(--border);
  background: #050410;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 180px 190px;
  gap: 80px;
  padding-bottom: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 70px;
  padding-bottom: 48px;
}

.footer-desc {
  max-width: 410px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-grid .footer-links h4 {
  margin-bottom: 7px;
  color: #fff;
  font-size: 12px;
}

.footer-brand .brand img {
  width: 50px;
  height: 50px;
}

.footer-brand > p {
  max-width: 400px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--cyan-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #77758c;
  font-size: 10px;
}

/* Utilities and motion */
.back-to-top {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(18,13,43,0.9);
  color: var(--cyan);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta {
  display: none;
}

.anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.anim.in-view {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; }
.d4 { transition-delay: 0.24s; }
.d5 { transition-delay: 0.3s; }
.d6 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1020px) {
  .site-nav > a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 36px;
  }

  .dragon-stage {
    min-height: 460px;
  }

  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 350px; height: 350px; }

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

  .feature-large {
    grid-column: 1 / -1;
  }

  .download-shell {
    grid-template-columns: 1fr 330px;
    gap: 40px;
    padding: 54px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .site-header > .container:not(.header-inner) {
    min-height: 72px;
  }

  .site-header > .container:not(.header-inner) .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-nav {
    position: fixed;
    z-index: 102;
    top: 72px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(11,8,36,0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 12px 13px;
    font-size: 13px;
  }

  .site-nav .nav-cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .nav-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    background: rgba(2,2,10,0.58);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
    text-align: center;
  }

  .hero-eyebrow,
  .hero-actions,
  .hero-facts {
    justify-content: center;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .dragon-stage {
    width: min(100%, 580px);
    min-height: 500px;
    margin-inline: auto;
  }

  .chip-top { right: 8%; }
  .chip-bottom { left: 8%; }

  .category-rail {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar { display: none; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading p {
    max-width: 560px;
  }

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

  .download-shell {
    grid-template-columns: 1fr;
    padding: 50px;
  }

  .app-card {
    max-width: 430px;
  }

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

  .step-card {
    min-height: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-intro {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 72px;
  }

  .top-banner {
    min-height: 38px;
    gap: 6px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .banner-spark,
  .top-banner a {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .brand-main { font-size: 20px; }
  .brand-777 { font-size: 17px; margin-left: 5px; }
  .brand-name { font-size: 19px; }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-facts {
    justify-content: space-between;
    gap: 8px;
  }

  .hero-facts span {
    display: grid;
    justify-items: center;
    padding: 0 10px;
  }

  .hero-facts strong {
    margin-right: 0;
  }

  .dragon-stage {
    min-height: 390px;
  }

  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 290px; height: 290px; }

  .dragon-card {
    width: 88%;
    border-radius: 20px;
  }

  .dragon-card-label {
    padding: 12px 15px 9px;
  }

  .dragon-card-footer {
    padding: 13px 15px 15px;
  }

  .dragon-card-footer strong { font-size: 20px; }
  .dragon-card-footer a { width: 36px; height: 36px; }

  .float-chip {
    padding: 7px 9px;
    font-size: 9px;
  }

  .chip-top { top: 42px; right: 0; }
  .chip-bottom { bottom: 35px; left: 0; }

  .category-rail {
    margin-top: 28px;
  }

  .category-rail span {
    min-height: 60px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading h2,
  .feature-intro h2,
  .download-copy h2,
  .faq-intro h2 {
    font-size: 42px;
  }

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

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

  .feature-large {
    grid-column: auto;
  }

  .feature-card {
    min-height: 300px;
    padding: 24px;
  }

  .download-section {
    padding-inline: 0;
  }

  .download-shell {
    width: calc(100% - 20px);
    padding: 34px 20px;
    border-radius: 22px;
  }

  .download-actions {
    align-items: stretch;
  }

  .download-actions .text-link {
    justify-content: center;
    padding-block: 8px;
  }

  .app-card {
    padding: 18px;
    transform: none;
  }

  .app-card-top img {
    width: 78px;
    height: 78px;
  }

  .app-card-top strong {
    font-size: 24px;
  }

  .faq-list summary {
    min-height: 74px;
    font-size: 15px;
  }

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

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }

  .back-to-top {
    display: none;
  }

  .floating-cta {
    position: fixed;
    z-index: 88;
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(0,215,255,0.4);
    border-radius: 12px;
    background: linear-gradient(135deg, #00bce9, #176bff, #6741d7);
    box-shadow: 0 12px 35px rgba(0,0,0,0.44);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(70px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
