/* ============================================================
   GalaxySwapper V2 — Landing Page
   Deep space dark theme · Purple #a855f7 · Cyan #06b6d4
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:         #03050f;
  --bg-2:       #070c1c;
  --surface:    rgba(12, 18, 40, 0.75);
  --surface-2:  rgba(20, 28, 58, 0.6);
  --border:     rgba(168, 85, 247, 0.18);
  --border-s:   rgba(168, 85, 247, 0.35);
  --purple:     #a855f7;
  --purple-d:   #7c3aed;
  --cyan:       #06b6d4;
  --cyan-l:     #22d3ee;
  --green:      #10b981;
  --gold:       #f59e0b;
  --pink:       #ec4899;
  --text:       #e2e8f0;
  --text-2:     #94a3b8;
  --text-3:     #64748b;
  --grad:       linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --grad-r:     linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
  --glow-purple: 0 0 30px rgba(168, 85, 247, 0.4);
  --glow-cyan:   0 0 30px rgba(6, 182, 212, 0.35);
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.7);
  --rad:         14px;
  --rad-sm:      9px;
  --rad-lg:      20px;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display:     'Orbitron', 'Inter', sans-serif;
}

.skip {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; border-radius: 6px;
  background: var(--purple); color: #fff;
  font-size: .82rem; font-weight: 700;
  transition: top .15s;
}
.skip:focus { top: .75rem; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--purple); transition: color .15s; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; color: var(--text); }

/* ── CANVAS + NEBULA BACKGROUND ── */
#star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.nebula-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.nebula-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.nb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, transparent 65%);
  animation: nebDrift 35s ease-in-out infinite;
}
.nb-2 {
  width: 600px; height: 600px;
  top: 20%; right: -150px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 65%);
  animation: nebDrift 28s ease-in-out infinite reverse 8s;
}
.nb-3 {
  width: 500px; height: 500px;
  bottom: 30%; left: 15%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 65%);
  animation: nebDrift 40s ease-in-out infinite 12s;
}
.nb-4 {
  width: 800px; height: 400px;
  bottom: -100px; right: 10%;
  background: radial-gradient(ellipse, rgba(236, 72, 153, 0.06) 0%, transparent 65%);
  animation: nebDrift 32s ease-in-out infinite reverse;
}
.nb-5 {
  width: 400px; height: 600px;
  top: 50%; left: 40%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 65%);
  animation: nebDrift 45s ease-in-out infinite 5s;
}

@keyframes nebDrift {
  0%,100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}

/* ── SHARED ELEMENTS ── */
body > * { position: relative; z-index: 2; }
#star-canvas, .nebula-layer { z-index: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--grad);
  color: #fff;
  padding: .8rem 1.75rem;
  border-radius: 10px;
  font-size: .92rem; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.45), 0 0 0 1px rgba(168,85,247,.2);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(168, 85, 247, 0.55), 0 0 0 1px rgba(168,85,247,.3);
  filter: brightness(1.08);
  color: #fff;
}
.btn-primary.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: 12px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text-2);
  background: rgba(168, 85, 247, 0.07);
  border: 1px solid var(--border);
  padding: .8rem 1.75rem;
  border-radius: 10px;
  font-size: .92rem; font-weight: 600; letter-spacing: -.01em;
  backdrop-filter: blur(8px);
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--purple);
  transform: translateY(-1px);
}
.btn-ghost.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: 12px; }

.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: var(--display);
  font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .8rem;
}
.section-h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--text-2); max-width: 520px; margin-bottom: 1.75rem; line-height: 1.75; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  background: rgba(3, 5, 15, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled {
  border-bottom-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(168,85,247,.2) 0%, rgba(6,182,212,.2) 100%);
  border: 1px solid rgba(168,85,247,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(168,85,247,.2);
}
.logo-icon-sm {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, rgba(168,85,247,.2) 0%, rgba(6,182,212,.2) 100%);
  border: 1px solid rgba(168,85,247,.3);
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: var(--display);
  font-size: .92rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--text);
}
.logo-accent { color: var(--purple); }
.logo-v {
  font-family: var(--display);
  font-size: .6rem; font-weight: 900; letter-spacing: .05em;
  color: var(--cyan);
  background: rgba(6,182,212,.12); border: 1px solid rgba(6,182,212,.25);
  padding: .15rem .4rem; border-radius: 4px;
  margin-left: .1rem;
}
.nav { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  font-size: .83rem; font-weight: 500; color: var(--text-3);
  padding: .4rem .85rem; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(168,85,247,.08); color: var(--purple); }
@media (max-width: 700px) { .nav { display: none; } }
.header-right { margin-left: auto; display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.header-discord {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: #7289da;
  background: rgba(114,137,218,.08); border: 1px solid rgba(114,137,218,.2);
  padding: .38rem .9rem; border-radius: 8px;
  transition: background .15s, border-color .15s;
}
.header-discord:hover { background: rgba(114,137,218,.15); border-color: rgba(114,137,218,.4); color: #7289da; }
@media (max-width: 520px) { .header-discord { display: none; } }
.header-download {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700;
  background: var(--grad); color: #fff;
  padding: .42rem 1.1rem; border-radius: 8px;
  box-shadow: 0 2px 14px rgba(168,85,247,.35);
  transition: filter .15s, transform .15s;
}
.header-download:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 80px 2rem 60px;
  position: relative;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
  width: 100%;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-2);
  background: rgba(168,85,247,.07);
  border: 1px solid rgba(168,85,247,.2);
  padding: .38rem 1rem; border-radius: 999px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(16,185,129,.8);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 4px rgba(16,185,129,.6); }
  50% { box-shadow: 0 0 12px rgba(16,185,129,1); }
}

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: -.04em; line-height: 1.08;
  margin-bottom: 1.4rem;
  display: flex; flex-direction: column; gap: .1em;
}
.hero-word { display: block; }

.hero-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.78; margin-bottom: 1.75rem;
  max-width: 460px;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-stats { display: flex; align-items: center; gap: 0; }
.hstat { padding: 0 1.4rem; }
.hstat:first-child { padding-left: 0; }
.hstat-n {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hstat-l { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: .1rem; }
.hstat-sep { width: 1px; height: 38px; background: rgba(168,85,247,.2); flex-shrink: 0; }

/* ── HERO SWAP DEMO ── */
.hero-visual { position: relative; display: flex; justify-content: center; }

.swap-demo {
  display: flex; align-items: center; gap: 1.5rem;
  position: relative; z-index: 1;
}

/* ── SWAP PAIRS (hero 3×2 grid) ── */
.swap-pairs {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 1;
}
.swap-pair {
  display: flex; align-items: center; gap: 10px;
}
.swap-card-sm {
  width: 148px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad); overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow), 0 0 30px rgba(168,85,247,.07);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.swap-card-sm:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), 0 0 40px rgba(168,85,247,.14); border-color: var(--border-s); }
.swap-skin-img-sm {
  width: 100%; height: 118px;
  object-fit: contain; padding: 8px;
  background: linear-gradient(180deg, rgba(168,85,247,.06) 0%, rgba(6,182,212,.04) 100%);
}
.swap-default-placeholder {
  width: 100%; height: 118px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(168,85,247,.04) 0%, rgba(6,182,212,.02) 100%);
  color: var(--text-3);
}
.swap-card-info-sm {
  padding: .45rem .65rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .2rem;
}
.swap-skin-name-sm { font-family: var(--display); font-size: .66rem; font-weight: 700; color: var(--text); }
.swap-badge-sm { font-size: .54rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.swap-badge-orig    { color: var(--text-3); }
.swap-badge-swapped { color: var(--green); }
.swap-pair-arrow {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(168,85,247,.08); border: 1px solid rgba(168,85,247,.2);
  animation: arrowGlow 2.5s ease-in-out infinite;
}

/* ── SWAP FAN (one default → three swapped) ── */
.swap-fan {
  display: flex; align-items: center; justify-content: center;
  gap: 0; position: relative; z-index: 1;
}
.swap-fan-source, .swap-fan-targets, .swap-fan-arrows { flex-shrink: 0; }
.swap-fan-targets { display: flex; flex-direction: column; gap: 16px; }
.swap-fan-arrows { width: 90px; align-self: center; }
.swap-fan-arrows svg { display: block; width: 90px; height: 482px; }
.swap-fan-origin { filter: drop-shadow(0 0 6px rgba(168,85,247,.8)); animation: arrowGlow 2.5s ease-in-out infinite; }

.swap-fan-card {
  width: 148px; height: 150px;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad); overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow), 0 0 30px rgba(168,85,247,.07);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.swap-fan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), 0 0 40px rgba(168,85,247,.14); border-color: var(--border-s); }
.swap-fan-source .swap-fan-card { box-shadow: var(--shadow), 0 0 44px rgba(168,85,247,.16); border-color: var(--border-s); }

.swap-fan-media {
  flex: 1; min-height: 0; width: 100%;
  object-fit: cover; object-position: center 18%;
  background: linear-gradient(180deg, rgba(168,85,247,.06) 0%, rgba(6,182,212,.04) 100%);
}
.swap-fan-ph {
  flex: 1; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(168,85,247,.04) 0%, rgba(6,182,212,.02) 100%);
  color: var(--text-3);
}
.swap-fan-info {
  padding: .45rem .65rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .2rem;
}

@media (max-width: 560px) {
  .swap-fan { transform: scale(.82); transform-origin: center; margin: -42px 0; }
}

.swap-card {
  width: 170px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow), 0 0 40px rgba(168,85,247,.08);
  transition: transform .3s, box-shadow .3s;
}
.swap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 60px rgba(168,85,247,.15); }

.swap-card-inner { position: relative; }
.swap-rarity-bar { height: 3px; width: 100%; }
.swap-rarity-bar.swap-rarity-legendary { background: linear-gradient(90deg, #f59e0b, #f97316); box-shadow: 0 0 10px rgba(245,158,11,.5); }
.swap-rarity-bar.swap-rarity-epic { background: linear-gradient(90deg, #a855f7, #ec4899); }
.swap-rarity-bar.swap-rarity-rare { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.swap-rarity-bar.swap-rarity-default { background: linear-gradient(90deg, #a855f7, #06b6d4); }

.swap-skin-img {
  width: 100%; height: 140px;
  object-fit: contain; object-position: center;
  padding: 10px;
  background: linear-gradient(180deg, rgba(168,85,247,.06) 0%, rgba(6,182,212,.04) 100%);
  transition: opacity .3s;
}
.swap-skin-img[src=""] { opacity: 0; }

.swap-card-info {
  padding: .6rem .75rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .3rem;
}
.swap-skin-name { font-family: var(--display); font-size: .72rem; font-weight: 700; color: var(--text); }
.swap-skin-badge {
  font-size: .58rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-3);
}
.swap-skin-badge-active { color: var(--green); }

.swap-center-col { display: flex; flex-direction: column; align-items: center; gap: .65rem; flex-shrink: 0; }
.swap-icon-wrap {
  position: relative; width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
}
.swap-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(168,85,247,.3);
  animation: ringPulse 2.5s ease-in-out infinite;
}
.swap-ring-1 { width: 44px; height: 44px; }
.swap-ring-2 { width: 54px; height: 54px; animation-delay: .6s; opacity: .5; }
@keyframes ringPulse {
  0%,100% { opacity: .3; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.05); }
}
.swap-arrows-svg { position: relative; z-index: 1; animation: arrowGlow 2.5s ease-in-out infinite; }
@keyframes arrowGlow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(168,85,247,.4)); }
  50% { filter: drop-shadow(0 0 10px rgba(168,85,247,.8)) drop-shadow(0 0 20px rgba(6,182,212,.4)); }
}
.swap-label { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

.hero-glow-orb {
  position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 120px;
  background: radial-gradient(ellipse, rgba(168,85,247,.25) 0%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
  animation: scrollHint 2.5s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,100% { opacity: .5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}
.scroll-dot { animation: scrollDot 2.5s ease-in-out infinite; }
@keyframes scrollDot {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: linear-gradient(90deg, rgba(168,85,247,.06) 0%, rgba(6,182,212,.06) 100%);
  border-top: 1px solid rgba(168,85,247,.12);
  border-bottom: 1px solid rgba(168,85,247,.12);
  padding: 1rem 2rem;
  position: relative; z-index: 2;
}
.trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; color: var(--text-2);
  padding: .3rem 1.4rem;
}
.trust-sep { width: 1px; height: 18px; background: rgba(168,85,247,.2); flex-shrink: 0; }
@media (max-width: 480px) { .trust-sep { display: none; } .trust-item { padding: .3rem .7rem; font-size: .7rem; } }

/* ── SKINS SHOWCASE ── */
.skins-section { padding: 60px 0; }
.skins-section .section-inner { margin-bottom: 1.75rem; }

.marquee-wrap { position: relative; overflow: hidden; }
.marquee-fade-left, .marquee-fade-right {
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 10; pointer-events: none;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee-row { overflow: hidden; margin-bottom: 14px; }
.marquee-row:last-child { margin-bottom: 0; }
.marquee-track {
  display: flex; gap: 14px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track.marquee-reverse { animation-direction: reverse; animation-duration: 36s; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.skin-card {
  width: 140px; flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  cursor: default;
}
.skin-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--border-s);
  box-shadow: 0 8px 32px rgba(168,85,247,.18);
}
/* Hide and collapse broken cards so they don't leave gaps */
.skin-card[style*="display: none"] {
  width: 0; min-width: 0; margin: 0; padding: 0; border: 0; overflow: hidden;
}

.skin-card-rarity { height: 2.5px; width: 100%; }
.rarity-legendary { background: linear-gradient(90deg, #f59e0b, #f97316); }
.rarity-epic      { background: linear-gradient(90deg, #a855f7, #ec4899); }
.rarity-rare      { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.rarity-uncommon  { background: #22c55e; }
.rarity-common    { background: #94a3b8; }

.skin-card-img-wrap {
  height: 120px;
  background: linear-gradient(180deg, rgba(168,85,247,.06) 0%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.skin-card-img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  padding: 8px;
  transition: opacity .3s;
}
.skin-card-img.img-error {
  opacity: 0;
}

.skin-card-info {
  padding: .5rem .65rem;
  border-top: 1px solid rgba(168,85,247,.08);
}
.skin-card-name { font-family: var(--display); font-size: .62rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skin-card-rarity-label { font-size: .55rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-top: .15rem; }
.rarity-label-legendary { color: #f59e0b; }
.rarity-label-epic      { color: #a855f7; }
.rarity-label-rare      { color: #3b82f6; }
.rarity-label-uncommon  { color: #22c55e; }
.rarity-label-common    { color: var(--text-3); }

/* ── SKIN CARD SHIMMER ── */
.skin-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.skin-card-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(168,85,247,.04) 0%,
    rgba(168,85,247,.1) 40%,
    rgba(6,182,212,.08) 60%,
    rgba(168,85,247,.04) 100%
  );
  background-size: 200% 100%;
  animation: shimmerSlide 2.2s ease-in-out infinite;
}
.skin-card-img-wrap.img-loaded .skin-card-shimmer { display: none; }
.skin-card-img-wrap.img-failed .skin-card-shimmer {
  background: linear-gradient(135deg, rgba(168,85,247,.07) 0%, rgba(6,182,212,.04) 100%);
  animation: none;
}
.skin-card-img-wrap.img-failed::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='rgba(168,85,247,.12)' stroke-width='1.5'/%3E%3Cellipse cx='20' cy='20' rx='6' ry='18' fill='none' stroke='rgba(168,85,247,.12)' stroke-width='1.5'/%3E%3Cellipse cx='20' cy='20' rx='18' ry='6' fill='none' stroke='rgba(168,85,247,.12)' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
  background-size: 36px;
  opacity: .6;
}
@keyframes shimmerSlide {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ── SCREENSHOT SECTIONS ── */
.ss-section {
  padding: 60px 0;
  border-top: 1px solid rgba(168,85,247,.1);
}
.ss-section-alt {
  background: linear-gradient(180deg, rgba(168,85,247,.025) 0%, transparent 100%);
}

.ss-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ss-layout-rev { direction: rtl; }
.ss-layout-rev > * { direction: ltr; }
@media (max-width: 900px) {
  .ss-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ss-layout-rev { direction: ltr; }
}

/* Screenshot text side */
.ss-body {
  font-size: .95rem; color: var(--text-2); line-height: 1.8;
  margin-bottom: 1.5rem;
}
.ss-checklist {
  list-style: none; display: flex; flex-direction: column; gap: .65rem;
}
.ss-checklist li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; color: var(--text-2);
}
.ss-checklist svg { flex-shrink: 0; }

/* Screenshot window */
.ss-window-wrap { position: relative; }

.ss-win {
  background: rgba(6, 9, 24, 0.97);
  border: 1px solid rgba(168,85,247,.28);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.75), 0 0 50px rgba(168,85,247,.08);
  font-family: var(--sans);
  position: relative; z-index: 1;
}

.ss-win-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .85rem;
  background: rgba(168,85,247,.07);
  border-bottom: 1px solid rgba(168,85,247,.15);
}
.ss-win-bar-left { display: flex; align-items: center; gap: .5rem; }
.ss-win-title { font-family: var(--display); font-size: .72rem; font-weight: 700; color: var(--text); }
.ss-win-tag { font-size: .58rem; font-weight: 600; color: var(--purple); background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.2); padding: .1rem .4rem; border-radius: 4px; }
.ss-win-controls { display: flex; gap: .3rem; }
.ss-wc {
  width: 22px; height: 18px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .52rem; color: var(--text-3); cursor: pointer;
  transition: background .1s;
}
.ss-wc:hover { background: rgba(255,255,255,.07); color: var(--text); }
.ss-wc-cls:hover { background: #e81123; color: #fff; }

/* Browse screenshot body */
.ss-win-body { padding: .65rem; }
.ss-search-row {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .65rem;
}
.ss-search {
  flex: 1; display: flex; align-items: center; gap: .4rem;
  background: rgba(168,85,247,.07); border: 1px solid rgba(168,85,247,.25);
  border-radius: 7px; padding: .4rem .65rem;
  font-size: .72rem; color: var(--text);
}
.ss-search-cursor {
  width: 1.5px; height: 12px; background: var(--purple);
  animation: blink .9s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.ss-result-count { font-size: .62rem; color: var(--text-3); white-space: nowrap; }

.ss-skin-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.ss-skin {
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(168,85,247,.04);
  cursor: pointer;
  transition: border-color .12s, transform .12s;
}
.ss-skin:hover { border-color: var(--border-s); transform: translateY(-2px); }
.ss-skin-active {
  border-color: rgba(168,85,247,.6) !important;
  background: rgba(168,85,247,.1) !important;
  box-shadow: 0 0 14px rgba(168,85,247,.2);
}
.ss-skin img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; background: linear-gradient(180deg, var(--rarity-color, rgba(168,85,247,.06)) 0%, transparent 100%); }
.ss-skin-name { font-size: .58rem; font-weight: 600; color: var(--text-2); padding: 2px 5px 4px; text-align: center; }
.ss-skin-rarity { font-size: .5rem; font-weight: 800; letter-spacing: .06em; text-align: center; padding-bottom: 4px; }

.ss-win-foot {
  display: flex; align-items: center;
  padding: .35rem .85rem;
  background: rgba(168,85,247,.04);
  border-top: 1px solid rgba(168,85,247,.1);
  gap: 0;
}
.ss-win-status { font-size: .58rem; color: var(--text-3); padding: 0 .65rem; display: flex; align-items: center; gap: .3rem; white-space: nowrap; }
.ss-win-status.ok { color: var(--green); padding-left: 0; }
.ss-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px var(--green); flex-shrink: 0; }
.ml-auto { margin-left: auto; }

.ss-win-glow {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 60px;
  background: radial-gradient(ellipse, rgba(168,85,247,.2) 0%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.ss-win-glow-green {
  background: radial-gradient(ellipse, rgba(16,185,129,.18) 0%, transparent 70%);
}

/* Swap success screenshot */
.ss-win-success { }
.ss-success-body {
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.ss-success-badge {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-size: .85rem; font-weight: 700; color: var(--green);
  background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2);
  padding: .6rem 1.25rem; border-radius: 10px;
}
.ss-before-after {
  display: flex; align-items: center; gap: 1rem;
}
.ss-ba-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  width: 110px; text-align: center;
  backdrop-filter: blur(16px);
}
.ss-ba-card-result {
  border-color: rgba(16,185,129,.35);
  box-shadow: 0 0 20px rgba(16,185,129,.12);
}
.ss-ba-label {
  font-size: .55rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); padding: .35rem 0; background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.ss-ba-label-new { color: var(--green); }
.ss-ba-card img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; background: linear-gradient(180deg, rgba(168,85,247,.07) 0%, transparent 100%); }
.ss-ba-name { font-size: .62rem; font-weight: 700; color: var(--text); padding: .3rem; font-family: var(--display); }
.ss-ba-arrow { flex-shrink: 0; opacity: .8; }

.ss-success-actions { display: flex; gap: .6rem; }
.ss-launch-btn {
  display: flex; align-items: center; gap: .4rem;
  background: var(--grad); color: #fff;
  padding: .55rem 1.1rem; border-radius: 8px;
  font-size: .78rem; font-weight: 700;
  box-shadow: 0 2px 14px rgba(168,85,247,.4);
  transition: filter .15s;
}
.ss-launch-btn:hover { filter: brightness(1.1); }
.ss-restore-btn {
  display: flex; align-items: center; gap: .35rem;
  color: var(--text-3); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: .55rem 1rem; border-radius: 8px;
  font-size: .78rem; font-weight: 600;
  transition: color .15s, background .15s;
}
.ss-restore-btn:hover { color: var(--text-2); background: rgba(255,255,255,.08); }

/* ── FEATURES ── */
.features { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 780px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 1.4rem;
  backdrop-filter: blur(20px);
  transition: box-shadow .2s, border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,.04) 0%, transparent 60%);
  pointer-events: none;
}
.feat-card:hover {
  box-shadow: var(--shadow), 0 0 40px rgba(168,85,247,.1);
  border-color: rgba(168,85,247,.35);
  transform: translateY(-3px);
}
.feat-card-wide { grid-column: span 2; }
@media (max-width: 780px) { .feat-card-wide { grid-column: span 1; } }

.feat-icon-wrap { margin-bottom: 1rem; }
.feat-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.feat-icon-purple { background: rgba(168,85,247,.12); color: var(--purple); box-shadow: 0 0 16px rgba(168,85,247,.2); }
.feat-icon-cyan   { background: rgba(6,182,212,.12);  color: var(--cyan);   box-shadow: 0 0 16px rgba(6,182,212,.2); }
.feat-icon-green  { background: rgba(16,185,129,.12); color: var(--green);  box-shadow: 0 0 16px rgba(16,185,129,.2); }
.feat-icon-gold   { background: rgba(245,158,11,.12); color: var(--gold);   box-shadow: 0 0 16px rgba(245,158,11,.2); }
.feat-icon-pink   { background: rgba(236,72,153,.12); color: var(--pink);   box-shadow: 0 0 16px rgba(236,72,153,.2); }

.feat-card h3 { font-family: var(--display); font-size: .95rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: -.01em; }
.feat-card p { font-size: .875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.1rem; }
.feat-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.feat-tag {
  font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 5px;
  background: rgba(168,85,247,.1); color: var(--purple);
  border: 1px solid rgba(168,85,247,.2);
}

/* ── APP PREVIEW ── */
.app-preview-section { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.app-preview-outer {
  position: relative;
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
}

.app-window {
  background: rgba(6, 9, 24, 0.95);
  border: 1px solid rgba(168,85,247,.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 0 60px rgba(168,85,247,.1);
  font-family: var(--sans);
}

.aw-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem;
  background: rgba(168,85,247,.06);
  border-bottom: 1px solid rgba(168,85,247,.15);
}
.aw-titlebar-left { display: flex; align-items: center; gap: .65rem; }
.aw-logo-sm {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, rgba(168,85,247,.2) 0%, rgba(6,182,212,.2) 100%);
  border: 1px solid rgba(168,85,247,.3);
  display: flex; align-items: center; justify-content: center;
}
.aw-title { font-family: var(--display); font-size: .78rem; font-weight: 700; color: var(--text); }
.aw-version { font-size: .6rem; color: var(--text-3); background: rgba(255,255,255,.05); padding: .1rem .4rem; border-radius: 4px; }
.aw-titlebar-actions { display: flex; align-items: center; gap: .5rem; }
.aw-btn {
  display: flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600;
  padding: .32rem .8rem; border-radius: 6px;
  transition: background .15s;
}
.aw-btn-verify { color: var(--cyan); background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.25); }
.aw-btn-verify:hover { background: rgba(6,182,212,.18); }
.aw-btn-swap { color: #fff; background: var(--grad); box-shadow: 0 2px 12px rgba(168,85,247,.4); }
.aw-btn-swap:hover { filter: brightness(1.1); }
.aw-controls { display: flex; gap: 0; margin-left: .5rem; }
.awc { width: 28px; height: 24px; font-size: .58rem; color: var(--text-3); border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: background .1s, color .1s; }
.awc:hover { background: rgba(255,255,255,.08); color: var(--text); }
.awc-cls:hover { background: #e81123; color: #fff; }

.aw-body { display: flex; height: 360px; }

.aw-sidebar {
  width: 170px; flex-shrink: 0;
  background: rgba(168,85,247,.03);
  border-right: 1px solid rgba(168,85,247,.1);
  padding: .75rem .5rem;
  overflow-y: auto; overflow-x: hidden;
}
.aw-sidebar-section { margin-bottom: 1rem; }
.aw-sidebar-label { font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 0 .5rem; margin-bottom: .3rem; }
.aw-cat {
  width: 100%; display: flex; align-items: center; gap: .5rem;
  padding: .45rem .65rem; border-radius: 7px; text-align: left;
  font-size: .72rem; font-weight: 500; color: var(--text-2);
  transition: background .12s, color .12s;
}
.aw-cat:hover { background: rgba(168,85,247,.07); color: var(--text); }
.aw-cat-active { background: rgba(168,85,247,.12); color: var(--purple); }
.aw-cat-count { margin-left: auto; font-size: .58rem; color: var(--text-3); }
.aw-rarity-filter {
  display: block; width: 100%;
  padding: .3rem .65rem; border-radius: 6px; text-align: left;
  font-size: .68rem; font-weight: 600;
  margin-bottom: .25rem;
  transition: background .12s;
}
.aw-rarity-all { color: var(--text-2); }
.aw-rarity-all:hover { background: rgba(255,255,255,.05); }
.aw-rarity-legendary { color: #f59e0b; }
.aw-rarity-legendary:hover { background: rgba(245,158,11,.08); }
.aw-rarity-epic { color: var(--purple); }
.aw-rarity-epic:hover { background: rgba(168,85,247,.08); }
.aw-rarity-rare { color: var(--cyan); }
.aw-rarity-rare:hover { background: rgba(6,182,212,.08); }

.aw-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid rgba(168,85,247,.1); }
.aw-search-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .75rem;
  border-bottom: 1px solid rgba(168,85,247,.08);
  font-size: .72rem; color: var(--text-3);
}
.aw-search-placeholder { flex: 1; }
.aw-search-kbd { font-size: .6rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: .1rem .35rem; border-radius: 4px; color: var(--text-3); }

.aw-skins-grid {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; padding: 8px;
  align-content: start;
}
.aw-skin {
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(168,85,247,.1);
  background: rgba(168,85,247,.04);
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.aw-skin:hover { border-color: rgba(168,85,247,.3); background: rgba(168,85,247,.09); }
.aw-skin-selected {
  border-color: rgba(168,85,247,.6) !important;
  background: rgba(168,85,247,.12) !important;
  box-shadow: 0 0 12px rgba(168,85,247,.2);
}
.aw-skin[data-rarity="legendary"] { border-color: rgba(245,158,11,.18); }
.aw-skin[data-rarity="legendary"].aw-skin-selected { border-color: rgba(245,158,11,.6); box-shadow: 0 0 12px rgba(245,158,11,.2); }
.aw-skin img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 4px; background: linear-gradient(180deg, rgba(168,85,247,.05) 0%, transparent 100%); }
.aw-skin-name { font-size: .55rem; font-weight: 600; color: var(--text-2); padding: 2px 4px 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.aw-detail {
  width: 160px; flex-shrink: 0;
  display: flex; flex-direction: column;
  padding: .75rem;
  background: rgba(168,85,247,.03);
}
.aw-detail-preview {
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(168,85,247,.15);
  margin-bottom: .75rem;
  background: linear-gradient(180deg, rgba(168,85,247,.08) 0%, rgba(6,182,212,.04) 100%);
}
.aw-detail-rarity-bar { height: 3px; }
.aw-detail-legendary { background: linear-gradient(90deg, #f59e0b, #f97316); }
.aw-detail-preview img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; }
.aw-detail-rarity-badge {
  font-size: .52rem; font-weight: 900; letter-spacing: .1em;
  padding: .18rem .5rem; border-radius: 4px; display: inline-block;
  margin-bottom: .3rem;
}
.aw-badge-legendary { background: rgba(245,158,11,.15); color: #f59e0b; }
.aw-detail-name { font-family: var(--display); font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.aw-detail-desc { font-size: .6rem; color: var(--text-3); line-height: 1.5; margin-bottom: .85rem; }
.aw-swap-btn {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; padding: .55rem; border-radius: 8px;
  background: var(--grad);
  font-size: .72rem; font-weight: 700; color: #fff;
  box-shadow: 0 2px 14px rgba(168,85,247,.4);
  transition: filter .15s; margin-bottom: .4rem;
}
.aw-swap-btn:hover { filter: brightness(1.1); }
.aw-detail-restore {
  display: flex; align-items: center; justify-content: center; gap: .3rem;
  font-size: .62rem; color: var(--text-3); cursor: pointer;
  transition: color .12s;
}
.aw-detail-restore:hover { color: var(--text-2); }

.aw-statusbar {
  display: flex; align-items: center;
  padding: .4rem 1rem;
  background: rgba(168,85,247,.04);
  border-top: 1px solid rgba(168,85,247,.1);
  gap: 0; flex-wrap: nowrap; overflow: hidden;
}
.aw-status-item { font-size: .6rem; color: var(--text-3); padding: 0 .75rem; white-space: nowrap; }
.aw-status-item:first-child { padding-left: 0; }
.aw-status-ok { color: var(--green); display: flex; align-items: center; gap: .35rem; }
.aw-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; }
.aw-status-sep { width: 1px; height: 12px; background: rgba(168,85,247,.12); flex-shrink: 0; }
.aw-status-right { margin-left: auto; }

.app-preview-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 80px;
  background: radial-gradient(ellipse, rgba(168,85,247,.2) 0%, transparent 70%);
  filter: blur(24px); pointer-events: none;
}

/* ── HOW IT WORKS ── */
.hiw {
  padding: 60px 0;
  border-top: 1px solid rgba(168,85,247,.1);
  background: linear-gradient(180deg, rgba(168,85,247,.03) 0%, transparent 100%);
}
.hiw-steps {
  display: flex; align-items: flex-start; gap: 0;
  margin-top: 1.5rem;
}
@media (max-width: 720px) { .hiw-steps { flex-direction: column; } .hiw-connector { display: none; } }

.hiw-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 1.5rem 1.5rem;
  backdrop-filter: blur(20px);
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.hiw-step::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,.04) 0%, transparent 60%);
  pointer-events: none;
}
.hiw-step:hover { box-shadow: var(--shadow), 0 0 40px rgba(168,85,247,.1); transform: translateY(-2px); border-color: rgba(168,85,247,.35); }

.hiw-connector { display: flex; align-items: center; padding: 0 8px; padding-top: 3.5rem; flex-shrink: 0; }
.hiw-line { width: 40px; height: 2px; background: linear-gradient(90deg, rgba(168,85,247,.4), rgba(6,182,212,.4)); }

.hiw-num {
  font-family: var(--display);
  font-size: .6rem; font-weight: 900; letter-spacing: .15em;
  color: var(--purple); opacity: .6; margin-bottom: .75rem;
}
.hiw-icon-wrap {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 20px rgba(168,85,247,.35);
}
.hiw-step h3 { font-family: var(--display); font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.hiw-step p { font-size: .875rem; color: var(--text-2); line-height: 1.75; }

/* ── SAFETY ── */
.safety-section {
  padding: 60px 0;
  border-top: 1px solid rgba(168,85,247,.1);
}
.safety-layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem;
}
@media (max-width: 860px) { .safety-layout { grid-template-columns: 1fr; } }

.safety-lead { font-size: 1.02rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.safety-body { font-size: .9rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }

.safety-checks { display: flex; flex-direction: column; gap: 1rem; }
.safety-check {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid rgba(16,185,129,.15);
  border-radius: var(--rad); padding: 1.1rem 1.25rem;
  backdrop-filter: blur(16px);
  transition: border-color .2s;
}
.safety-check:hover { border-color: rgba(16,185,129,.3); }
.sc-icon { width: 32px; height: 32px; border-radius: 9px; background: rgba(16,185,129,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-title { font-family: var(--display); font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.sc-desc { font-size: .78rem; color: var(--text-2); line-height: 1.5; }

/* ── FAQ ── */
.faq {
  padding: 60px 0;
  border-top: 1px solid rgba(168,85,247,.1);
}
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .faq-inner { grid-template-columns: 1fr; } }
.faq-left .section-sub { margin-bottom: 1.75rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  margin-bottom: .6rem; overflow: hidden;
  backdrop-filter: blur(16px);
  transition: border-color .18s;
}
.faq-item[open] { border-color: rgba(168,85,247,.4); }
.faq-item summary {
  list-style: none; padding: 1rem 1.25rem;
  font-size: .88rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none; transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(168,85,247,.04); }
.faq-item summary::after { content: '+'; color: var(--purple); font-weight: 400; font-size: 1.3rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: .9rem 1.25rem 1.1rem;
  font-size: .875rem; color: var(--text-2); line-height: 1.78;
  border-top: 1px solid rgba(168,85,247,.1);
}

/* ── CTA ── */
.cta-section {
  padding: 72px 2rem;
  border-top: 1px solid rgba(168,85,247,.1);
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(124,58,237,.12) 0%, transparent 70%);
}
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-glow-1 {
  position: absolute; width: 600px; height: 300px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(168,85,247,.15) 0%, transparent 65%);
  filter: blur(60px); pointer-events: none;
}
.cta-glow-2 {
  position: absolute; width: 400px; height: 200px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(6,182,212,.1) 0%, transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.cta-badge {
  display: inline-block; font-family: var(--display);
  font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan); background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.2);
  padding: .3rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.cta-h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900; letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.cta-sub { font-size: 1.02rem; color: var(--text-2); margin-bottom: 1.75rem; line-height: 1.75; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid rgba(168,85,247,.1);
  background: rgba(3,5,15,.95);
  padding: 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.footer-name { font-family: var(--display); font-size: .85rem; font-weight: 700; color: var(--text); }
.footer-copy { font-size: .76rem; color: var(--text-3); flex: 1; min-width: 200px; }
.footer-links { display: flex; gap: .5rem; flex-shrink: 0; }
.footer-links a {
  font-size: .78rem; font-weight: 600; color: var(--text-3);
  padding: .3rem .75rem; border-radius: 7px;
  border: 1px solid rgba(168,85,247,.15);
  transition: background .15s, color .15s, border-color .15s;
}
.footer-links a:hover { background: rgba(168,85,247,.08); color: var(--purple); border-color: rgba(168,85,247,.3); }

/* ── HAMBURGER / MOBILE NAV ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(168,85,247,.08); border: 1px solid rgba(168,85,247,.18);
  cursor: pointer; padding: 9px;
  transition: background .15s; margin-left: .4rem; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text-2); border-radius: 2px;
  transition: transform .22s, opacity .15s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 700px) { .hamburger { display: flex; } }

.mobile-nav {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(3,5,15,.98); border-bottom: 1px solid rgba(168,85,247,.2);
  padding: 1rem 1.25rem 1.5rem; flex-direction: column; gap: .25rem;
  z-index: 198; -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
}
.mobile-nav.open { display: flex; animation: mnSlide .18s ease; }
@keyframes mnSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.mnav-link {
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  padding: .8rem 1rem; border-radius: 10px;
  transition: background .12s, color .12s;
}
.mnav-link:hover { background: rgba(168,85,247,.08); color: var(--purple); }
.mnav-cta {
  margin-top: .5rem; display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .88rem; font-weight: 700; color: #fff !important;
  background: var(--grad); padding: .8rem 1rem; border-radius: 10px;
  box-shadow: 0 2px 14px rgba(168,85,247,.35); transition: filter .15s;
}
.mnav-cta:hover { filter: brightness(1.1); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .swap-pairs { gap: 8px; }
  .swap-card-sm { width: 130px; }
  .swap-skin-img-sm { height: 100px; }
  .hero-stats { gap: .5rem; }
}
@media (max-width: 780px) {
  .app-preview-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 1.25rem 1rem; }
  .app-window { min-width: 680px; }
}
@media (max-width: 620px) {
  .hero { padding: 72px 1.25rem 48px; }
  .section-inner { padding: 0 1.25rem; }
  .features, .hiw, .faq, .safety-section, .skins-section, .app-preview-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .aw-sidebar { display: none; }
  .aw-detail { display: none; }
  .aw-skins-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-section { padding: 52px 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-copy { min-width: 0; }
  .hero-scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.1rem; }
  .aw-body { height: 280px; }
  .hero-actions { flex-direction: column; gap: .65rem; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hstat-sep { display: none; }
  .hero-stats { flex-wrap: wrap; gap: .65rem; padding-top: .75rem; border-top: 1px solid rgba(168,85,247,.1); }
  .hstat { padding: 0 1rem 0 0; }
  .swap-card { width: 130px; }
  .trust-item { font-size: .68rem; padding: .25rem .5rem; }
  .ss-before-after { flex-direction: column; align-items: center; }
  .ss-ba-arrow { transform: rotate(90deg); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost { max-width: 360px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 108px 2rem 52px;
  position: relative;
}
.page-hero-inner { max-width: 1120px; margin: 0 auto; }
.page-hero-h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.08;
  margin: .75rem 0 1.2rem;
  display: flex; flex-direction: column; gap: .1em;
}
.page-hero-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.78; max-width: 600px;
}
.nav-link-active { color: var(--purple) !important; background: rgba(168,85,247,.1); }

/* ── ABOUT: STORY ── */
.about-story { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.story-layout {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center;
}
@media (max-width: 860px) { .story-layout { grid-template-columns: 1fr; gap: 2.5rem; } }
.story-lead { font-size: 1.05rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1.2rem; }
.story-body { font-size: .9rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.story-stats-col { display: flex; flex-direction: column; gap: 1rem; }
.story-stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad); padding: 1.1rem 1.5rem;
  backdrop-filter: blur(16px);
  transition: border-color .2s, transform .2s;
}
.story-stat-card:hover { border-color: rgba(168,85,247,.35); transform: translateX(4px); }
.story-stat-n {
  font-family: var(--display); font-size: 2rem; font-weight: 900; letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.story-stat-l { font-size: .78rem; color: var(--text-3); margin-top: .2rem; }

/* ── ABOUT: VALUES ── */
.about-values { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }

/* ── ABOUT: COMMUNITY ── */
.about-community { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.community-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 600px) { .community-grid { grid-template-columns: 1fr; } }
.community-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad-lg); padding: 1.5rem;
  backdrop-filter: blur(20px);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column; gap: 1rem;
}
.community-card:hover { border-color: rgba(168,85,247,.35); box-shadow: var(--shadow), 0 0 40px rgba(168,85,247,.1); transform: translateY(-3px); }
.community-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.community-card-icon-discord { background: rgba(114,137,218,.12); color: #7289da; box-shadow: 0 0 16px rgba(114,137,218,.2); }
.community-card-icon-github { background: rgba(255,255,255,.07); color: var(--text); box-shadow: 0 0 16px rgba(255,255,255,.06); }
.community-card h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; }
.community-card p { font-size: .875rem; color: var(--text-2); line-height: 1.75; flex: 1; }

/* ── DOWNLOAD: HERO ── */
.dl-hero {
  padding: 108px 2rem 60px;
  position: relative; text-align: center;
}
.dl-hero-inner { max-width: 760px; margin: 0 auto; }
.dl-version-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.2);
  padding: .4rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.dl-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.08;
  margin-bottom: 1.2rem;
}
.dl-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.78; margin-bottom: 2.5rem;
}
.dl-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.dl-meta { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.dl-meta-item { font-size: .78rem; color: var(--text-3); display: flex; align-items: center; gap: .45rem; }

/* ── DOWNLOAD: REQUIREMENTS ── */
.req-section { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .req-grid { grid-template-columns: 1fr; } }
.req-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad-lg); overflow: hidden;
  backdrop-filter: blur(20px);
}
.req-card-head {
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .65rem;
  background: rgba(168,85,247,.04);
}
.req-card-badge {
  font-size: .58rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 5px;
}
.req-badge-min { background: rgba(255,255,255,.05); color: var(--text-3); border: 1px solid rgba(255,255,255,.08); }
.req-badge-rec { background: rgba(168,85,247,.1); color: var(--purple); border: 1px solid rgba(168,85,247,.2); }
.req-card-title { font-family: var(--display); font-size: .9rem; font-weight: 700; }
.req-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.req-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.req-row-label { font-size: .78rem; color: var(--text-3); font-weight: 500; }
.req-row-value { font-size: .82rem; color: var(--text); font-weight: 600; text-align: right; }

/* ── DOWNLOAD: INSTALL STEPS ── */
.install-section { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.install-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 1rem;
}
@media (max-width: 780px) { .install-grid { grid-template-columns: 1fr; } }
.install-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad-lg); padding: 1.4rem;
  backdrop-filter: blur(20px);
  transition: box-shadow .2s, border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.install-step::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,.04) 0%, transparent 60%);
  pointer-events: none;
}
.install-step:hover { box-shadow: var(--shadow), 0 0 40px rgba(168,85,247,.1); border-color: rgba(168,85,247,.35); transform: translateY(-3px); }
.install-num {
  font-family: var(--display); font-size: .58rem; font-weight: 900; letter-spacing: .18em;
  color: var(--purple); opacity: .6; margin-bottom: .85rem;
}
.install-icon-wrap {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; box-shadow: 0 4px 20px rgba(168,85,247,.35);
}
.install-step h3 { font-family: var(--display); font-size: .92rem; font-weight: 700; margin-bottom: .5rem; }
.install-step p { font-size: .875rem; color: var(--text-2); line-height: 1.75; }

/* ── DOWNLOAD: NOTICE BOX ── */
.notice-section { padding: 0 0 60px; }
.notice-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--rad-lg); padding: 1.5rem 1.75rem;
}
.notice-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: rgba(245,158,11,.1); color: #f59e0b;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(245,158,11,.2);
}
.notice-content h3 { font-family: var(--display); font-size: .9rem; font-weight: 700; color: #f59e0b; margin-bottom: .45rem; }
.notice-content p { font-size: .875rem; color: var(--text-2); line-height: 1.75; }

/* ── DOWNLOAD: SUPPORT ── */
.support-section { padding: 60px 0; border-top: 1px solid rgba(168,85,247,.1); }
.support-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 780px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rad-lg); padding: 1.4rem;
  backdrop-filter: blur(20px);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column; gap: .75rem;
}
.support-card:hover { border-color: rgba(168,85,247,.35); box-shadow: var(--shadow), 0 0 40px rgba(168,85,247,.1); transform: translateY(-3px); }
.support-card-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
}
.support-card h3 { font-family: var(--display); font-size: .92rem; font-weight: 700; }
.support-card p { font-size: .875rem; color: var(--text-2); line-height: 1.7; flex: 1; }
