/* ─── VARIABLES ────────────────────────────────────────────────── */
:root {
  --bg:           #050A12;
  --surface:      #0D1525;
  --surface-alt:  #0A1020;
  --accent:       #F0845A;
  --accent-dark:  #C85F35;
  --accent-blue:  #5890C8;
  --accent-gold:  #D4A030;
  --text:         #F5EFE6;
  --text-muted:   #8A7A6A;
  --text-dim:     #4A3E35;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --glow-coral:   rgba(240,132,90,0.18);
  --glow-blue:    rgba(88,144,200,0.15);
  --glow-gold:    rgba(212,160,48,0.15);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-phone: 44px;
}

/* ─── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(52px, 7vw, 88px); }
h2 { font-size: clamp(36px, 4.5vw, 58px); }
h3 { font-size: 22px; }
p  { font-size: 16px; color: var(--text-muted); }

/* ─── LAYOUT ───────────────────────────────────────────────────── */
.section-inner  { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label  {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.label-coral { color: var(--accent); }
.label-blue  { color: var(--accent-blue); }
.label-gold  { color: var(--accent-gold); }

/* ─── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── CURSOR GLOW ──────────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,132,90,0.055) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
/* shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-coral {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(240,132,90,0.35);
  animation: pulse-glow 3s ease-in-out infinite;
}
.btn-coral:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 40px rgba(240,132,90,0.55);
  transform: translateY(-2px);
  animation: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 24px rgba(240,132,90,0.35); }
  50%      { box-shadow: 0 0 44px rgba(240,132,90,0.6); }
}

/* ─── NAVIGATION ───────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(5,10,18,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif; font-size: 20px; color: var(--text);
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; margin: 0 auto; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transition: transform 0.25s ease; transform-origin: left;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 9px 20px; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  display: none; flex-direction: column; align-items: center;
  gap: 12px; padding: 20px 24px 28px;
  background: rgba(5,10,18,0.97);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 18px; font-weight: 700; color: var(--text-muted); padding: 8px 0; }
.mobile-link:hover { color: var(--text); }
.mobile-cta { margin-top: 8px; width: 100%; justify-content: center; }

/* ─── HERO ──────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
#particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.03;
  pointer-events: none; z-index: 0;
}
.hero-glow {
  position: absolute; left: -5%; top: 15%;
  width: 65%; height: 65%;
  background: radial-gradient(ellipse, rgba(240,132,90,0.18) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none; z-index: 0;
  animation: hero-glow-drift 8s ease-in-out infinite alternate;
}
@keyframes hero-glow-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,30px) scale(1.1); }
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: 80px 24px 120px;
  display: flex; align-items: center; gap: 64px;
  animation: hero-fade-in 1s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text { flex: 1; max-width: 560px; }
.hero-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  animation: hero-fade-in 1s 0.1s both;
}
.hero-headline {
  color: var(--text);
  margin-bottom: 24px;
  background: linear-gradient(135deg, #F5EFE6 0%, rgba(245,239,230,0.75) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-fade-in 1s 0.2s both;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted); max-width: 480px;
  margin-bottom: 32px; line-height: 1.75;
  animation: hero-fade-in 1s 0.3s both;
}

/* ─── LIVE BATTLE WIDGET ───────────────────────────────────────── */
.hero-battle-widget {
  background: rgba(13,21,37,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 32px;
  max-width: 360px;
  backdrop-filter: blur(12px);
  animation: hero-fade-in 1s 0.45s both;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.battle-widget-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 6px rgba(34,197,94,0.8); }
  50%      { box-shadow: 0 0 14px rgba(34,197,94,1); }
}
.live-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #22C55E;
}
.battle-timer {
  margin-left: auto;
  font-family: 'Fraunces', serif;
  font-size: 13px; color: var(--text-muted);
}
.battle-player {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.battle-player:last-child { margin-bottom: 0; }
.bp-avatar { font-size: 20px; flex-shrink: 0; }
.bp-name {
  font-size: 12px; font-weight: 700; color: var(--text);
  width: 36px; flex-shrink: 0;
}
.bp-bar-wrap {
  flex: 1; height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden;
}
.bp-bar {
  height: 100%; border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}
.bp-bar-you   { background: linear-gradient(90deg, var(--accent), #FF6B35); width: 72%; }
.bp-bar-rival { background: linear-gradient(90deg, var(--accent-blue), #4A7AB5); width: 64%; }
.bp-steps {
  font-family: 'Fraunces', serif; font-size: 13px;
  color: var(--text); width: 48px; text-align: right; flex-shrink: 0;
}

/* ─── HERO CTAS ────────────────────────────────────────────────── */
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
  animation: hero-fade-in 1s 0.55s both;
}
.platform-coming {
  display: flex; gap: 10px; flex-wrap: wrap;
  animation: hero-fade-in 1s 0.65s both;
}
.platform-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
}

/* ─── HERO PHONE + FLOATING CHIPS ──────────────────────────────── */
.hero-phone-wrap {
  flex-shrink: 0;
  position: relative;
  display: flex; justify-content: center;
  animation: hero-fade-in 1s 0.25s both;
}
.hero-phone { width: 260px; position: relative; z-index: 1; }
.hero-phone-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse, rgba(240,132,90,0.25) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0; pointer-events: none;
  animation: hero-glow-drift 6s ease-in-out infinite alternate;
}

/* animated gradient border ring on hero phone */
.hero-phone::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: calc(var(--radius-phone) + 2px);
  padding: 2px;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-blue), var(--accent-gold), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 5s linear infinite;
  z-index: 0; opacity: 0.6;
}
@keyframes border-spin {
  to { --border-angle: 360deg; }
}

/* floating chips */
.float-chip {
  position: absolute;
  background: rgba(13,21,37,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 12px; font-weight: 700; color: var(--text);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 2;
}
.float-chip-1 { top: 10%; right: -60px; animation: chip-float 4s ease-in-out infinite; }
.float-chip-2 { top: 38%; left: -80px; animation: chip-float 4s 1s ease-in-out infinite; }
.float-chip-3 { bottom: 28%; right: -70px; animation: chip-float 4s 0.5s ease-in-out infinite; }
.float-chip-4 { bottom: 12%; left: -90px; animation: chip-float 4s 1.5s ease-in-out infinite; }
@keyframes chip-float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

/* ─── SCROLL HINT ───────────────────────────────────────────────── */
.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%      { transform: rotate(45deg) translateY(6px); opacity: 0.8; }
}

/* ─── PHONE MOCKUP ──────────────────────────────────────────────── */
.phone-mockup {
  position: relative;
  background: #080E1C;
  border-radius: var(--radius-phone);
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 80px rgba(0,0,0,0.65);
  padding: 5px;
  width: 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.phone-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 52px 90px rgba(0,0,0,0.7);
}
.phone-mockup-coral { box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 80px rgba(0,0,0,0.65), 0 0 60px rgba(240,132,90,0.1); }
.phone-mockup-blue  { box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 80px rgba(0,0,0,0.65), 0 0 60px rgba(88,144,200,0.12); }
.phone-mockup-gold  { box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 80px rgba(0,0,0,0.65), 0 0 60px rgba(212,160,48,0.1); }
.phone-notch {
  width: 80px; height: 26px;
  background: #080E1C;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  border: 1.5px solid rgba(255,255,255,0.07); border-top: none;
}
.phone-notch-sm { width: 60px; height: 18px; margin-bottom: 6px; }
.phone-screen {
  border-radius: calc(var(--radius-phone) - 6px); overflow: hidden;
  aspect-ratio: 9/19.5; background: #0D1525;
}
.phone-btn { position: absolute; background: rgba(255,255,255,0.06); border-radius: 2px; }
.phone-btn-vol1  { left: -4px; top: 80px; width: 4px; height: 28px; }
.phone-btn-vol2  { left: -4px; top: 118px; width: 4px; height: 28px; }
.phone-btn-power { right: -4px; top: 96px; width: 4px; height: 40px; }
.phone-sm { width: 180px; border-radius: 32px; padding: 4px; }
.phone-sm .phone-screen { border-radius: 28px; }

/* ─── SCREENSHOT PLACEHOLDERS ───────────────────────────────────── */
.screenshot-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0D1525 0%, #091020 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.screenshot-placeholder::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}
.screenshot-placeholder-blue  { background: linear-gradient(160deg, #071424 0%, #050D1A 100%); }
.screenshot-placeholder-coral { background: linear-gradient(160deg, #1C0A06 0%, #120806 100%); }
.screenshot-placeholder-gold  { background: linear-gradient(160deg, #1A1206 0%, #100C04 100%); }

/* ─── CONCEPT STRIP ─────────────────────────────────────────────── */
#concept-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}
.concept-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-style: italic; font-weight: 300;
  color: var(--text); margin-bottom: 56px;
}
.stat-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 720px; margin: 0 auto;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 0 52px; flex: 1;
}
.stat-icon  { font-size: 28px; }
.stat-value {
  font-family: 'Fraunces', serif; font-size: 30px; font-weight: 400;
  color: var(--text);
}
.stat-label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.stat-divider { width: 1px; height: 64px; background: var(--border); flex-shrink: 0; }

/* ─── HOW IT WORKS ──────────────────────────────────────────────── */
#how-it-works { padding: 120px 0; background: var(--bg); }
.steps-row { display: flex; align-items: flex-start; gap: 0; }
.step {
  flex: 1; position: relative; text-align: center; padding: 40px 32px;
  transition: transform 0.3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-number {
  display: block;
  font-family: 'Fraunces', serif; font-size: 80px; font-weight: 300;
  /* FIX: was opacity 0.06 — now visible with accent tint */
  color: var(--accent);
  opacity: 0.22;
  line-height: 1; margin-bottom: -20px;
}
.step-icon { font-size: 38px; margin-bottom: 16px; }
.step h3 { color: var(--text); margin-bottom: 12px; }
.step p   { font-size: 15px; max-width: 220px; margin: 0 auto; line-height: 1.7; }
.step-connector {
  flex: 0 0 60px; height: 2px;
  border-top: 2px dashed rgba(240,132,90,0.2);
  align-self: center; margin-top: -40px;
}

/* ─── FEATURE SECTIONS ──────────────────────────────────────────── */
.feature-section { padding: 120px 0; position: relative; overflow: hidden; }
.feature-section:nth-child(odd) { background: var(--bg); }
.feature-section-alt            { background: var(--surface-alt) !important; }
.feature-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  pointer-events: none; z-index: 0; filter: blur(100px);
}
.feature-glow-coral { background: radial-gradient(ellipse, rgba(240,132,90,0.1) 0%, transparent 70%); bottom: -150px; left: -150px; }
.feature-glow-blue  { background: radial-gradient(ellipse, rgba(88,144,200,0.1) 0%, transparent 70%); top: -150px; right: -150px; }
.feature-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 80px; }
.feature-inner-reverse { flex-direction: row-reverse; }
.feature-phone { flex-shrink: 0; }
.feature-text  { flex: 1; }
.feature-text h2 { color: var(--text); margin-bottom: 20px; }
.feature-body { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; max-width: 480px; }

/* staggered feature list */
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text-muted); font-weight: 600;
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.5s ease calc(var(--i, 0) * 80ms),
              transform 0.5s ease calc(var(--i, 0) * 80ms);
}
.feature-text.visible .feature-list li { opacity: 1; transform: translateX(0); }
.check { font-style: normal; font-size: 16px; }
.check.coral { color: var(--accent); }
.check.blue  { color: var(--accent-blue); }
.check.gold  { color: var(--accent-gold); }

.clan-war-bg-logo {
  position: absolute; right: -60px; top: 50%;
  transform: translateY(-50%); width: 420px;
  opacity: 0.04; pointer-events: none; z-index: 0;
}

/* ─── RANK LADDER ───────────────────────────────────────────────── */
.rank-ladder { margin-top: 40px; }
.rank-ladder-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 20px;
}
.rank-track { display: flex; align-items: center; gap: 0; }
.rank-tier {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: default;
  transition: transform 0.2s ease;
}
.rank-tier:hover { transform: translateY(-4px) scale(1.08); }
.rank-tier img { width: 40px; height: 40px; object-fit: contain; transition: filter 0.2s; }
.rank-tier:hover img { filter: drop-shadow(0 0 10px rgba(240,132,90,0.6)); }
.rank-tier span {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.rank-tier-champion img { width: 48px; height: 48px; filter: drop-shadow(0 0 12px rgba(212,160,48,0.5)); }
.rank-tier-champion:hover img { filter: drop-shadow(0 0 20px rgba(212,160,48,0.9)); }
.rank-tier-champion span { color: var(--accent-gold); }
.rank-line {
  flex: 1; height: 2px; min-width: 12px; margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(255,255,255,0.07) 0%, rgba(212,160,48,0.25) 100%);
}

/* ─── POWERUPS ──────────────────────────────────────────────────── */
#powerups {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#powerups::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(240,132,90,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(88,144,200,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.powerup-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── flip card grid ── */
.powerup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

/* card shell */
.powerup-card {
  perspective: 800px;
  height: 260px;
  cursor: pointer;
}
.powerup-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.powerup-card.flipped .powerup-card-inner,
.powerup-card:hover .powerup-card-inner {
  transform: rotateY(180deg);
}

/* front & back shared */
.powerup-card-front,
.powerup-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.powerup-card-back {
  transform: rotateY(180deg);
}

/* front colours */
.powerup-front-coral  { background: linear-gradient(160deg, #1A0C06 0%, #0F0704 100%); }
.powerup-front-gold   { background: linear-gradient(160deg, #1A1406 0%, #0F0D04 100%); }
.powerup-front-blue   { background: linear-gradient(160deg, #071422 0%, #040C18 100%); }
.powerup-front-danger { background: linear-gradient(160deg, #1A0810 0%, #0F0508 100%); }

/* back colours */
.powerup-back-coral  { background: linear-gradient(160deg, #2A1510 0%, #1A0C08 100%); border-color: rgba(240,132,90,0.3); }
.powerup-back-gold   { background: linear-gradient(160deg, #2A2010 0%, #1A1408 100%); border-color: rgba(212,160,48,0.3); }
.powerup-back-blue   { background: linear-gradient(160deg, #0E2035 0%, #081425 100%); border-color: rgba(88,144,200,0.3); }
.powerup-back-danger { background: linear-gradient(160deg, #2A1018 0%, #1A0810 100%); border-color: rgba(216,88,112,0.3); }

/* glow orb on front */
.pc-glow {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  filter: blur(40px);
  top: -20px;
  opacity: 0.6;
  transition: opacity 0.3s;
  pointer-events: none;
}
.pc-glow-coral  { background: rgba(240,132,90,0.4); }
.pc-glow-gold   { background: rgba(212,160,48,0.4); }
.pc-glow-blue   { background: rgba(88,144,200,0.4); }
.pc-glow-danger { background: rgba(216,88,112,0.4); }

.pc-img {
  width: 80px; height: 80px;
  object-fit: contain;
  position: relative; z-index: 1;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.powerup-card:hover .pc-img { transform: scale(1.08) translateY(-3px); }

.pc-name {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 400;
  color: var(--text);
  position: relative; z-index: 1;
}
.pc-hint {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
  position: relative; z-index: 1;
}

/* back content */
.pc-back-icon { font-size: 32px; }
.pc-back-icon-img { width: 48px; height: 48px; object-fit: contain; }
.powerup-card-back h3 {
  font-size: 20px; color: var(--text);
  font-family: 'Fraunces', serif;
  font-weight: 400; text-align: center;
}
.powerup-card-back p {
  font-size: 13px; line-height: 1.7;
  color: var(--text-muted); text-align: center;
}

/* ── flip-the-result widget ── */
.flip-widget {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.flip-widget::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(240,132,90,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.fw-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.fw-clutch-badge {
  margin-left: auto;
  background: rgba(212,160,48,0.12);
  border: 1px solid rgba(212,160,48,0.3);
  color: var(--accent-gold);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 99px; padding: 4px 10px;
  transition: all 0.4s ease;
}
.fw-clutch-badge.active {
  background: rgba(212,160,48,0.25);
  box-shadow: 0 0 16px rgba(212,160,48,0.4);
  animation: clutch-pulse 1.2s ease-in-out infinite;
}
@keyframes clutch-pulse {
  0%,100% { box-shadow: 0 0 12px rgba(212,160,48,0.4); }
  50%      { box-shadow: 0 0 28px rgba(212,160,48,0.7); }
}
.fw-scoreboard {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.fw-team { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.fw-team-enemy { align-items: flex-end; }
.fw-team-name {
  font-size: 12px; font-weight: 800;
  color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.fw-bar-wrap {
  width: 100%; height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden;
}
.fw-bar {
  height: 100%; border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}
.fw-bar-you   { background: linear-gradient(90deg, var(--accent), #FF6B35); width: 46%; }
.fw-bar-enemy { background: linear-gradient(90deg, var(--accent-blue), #3A6AAA); width: 54%; margin-left: auto; }
.fw-vs {
  font-family: 'Fraunces', serif;
  font-size: 13px; color: var(--text-dim);
  flex-shrink: 0;
}
.fw-steps {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 400;
  color: var(--text);
  transition: all 0.4s ease;
}
.fw-steps.winning { color: #4ADE80; text-shadow: 0 0 16px rgba(74,222,128,0.5); }

.fw-status {
  text-align: center; margin-bottom: 24px;
  font-size: 14px; font-weight: 600;
  position: relative; z-index: 1;
  transition: all 0.4s ease;
}
.fw-losing { color: rgba(216,88,112,0.9); }
.fw-winning-msg { color: #4ADE80; }

.fw-actions {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.fw-boost-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
}
.fw-boost-btn img { border-radius: 4px; }
.fw-hint-text {
  font-size: 12px; color: var(--text-dim); font-style: italic;
}

.fw-result {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  padding-top: 8px;
  z-index: 1;
}
.fw-win-label {
  font-family: 'Fraunces', serif;
  font-size: 28px; color: #4ADE80;
  text-shadow: 0 0 24px rgba(74,222,128,0.5);
  animation: win-pop 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes win-pop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.fw-win-sub {
  font-size: 14px; color: var(--text-muted); text-align: center;
}
.fw-confetti {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 80px;
  pointer-events: none;
}
.confetti-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  animation: confetti-fall 1.2s ease-out both;
}
@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(80px) rotate(360deg); opacity: 0; }
}

/* booster-active overlay on widget */
.flip-widget.boosted::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(240,132,90,0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: boost-flash 0.5s ease-out;
}
@keyframes boost-flash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* responsive */
@media (max-width: 900px) {
  .powerup-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .powerup-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .powerup-card { height: 220px; }
  .pc-img { width: 64px; height: 64px; }
  .flip-widget { padding: 22px 18px; }
  .fw-steps { font-size: 18px; }
}

/* ─── SOCIAL SECTION ────────────────────────────────────────────── */
#social { padding: 120px 0; background: var(--surface); }
.cards-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.social-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
/* shimmer on hover */
.social-card::after {
  content: ''; position: absolute;
  top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.social-card:hover::after { left: 140%; }
.social-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(240,132,90,0.28);
  box-shadow: 0 12px 48px rgba(240,132,90,0.08);
}
.social-card-icon { width: 52px; height: 52px; margin-bottom: 20px; }
.social-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.social-card h3 { color: var(--text); margin-bottom: 10px; font-size: 20px; }
.social-card p  { font-size: 15px; line-height: 1.7; }

/* ─── PROGRESSION ───────────────────────────────────────────────── */
#progression { background: var(--bg); }
.progression-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.prog-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.prog-item:hover {
  border-color: var(--border-hover); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.prog-item img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; margin-top: 2px; }
.prog-item strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.prog-item span   { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ─── GALLERY ───────────────────────────────────────────────────── */
#gallery { padding: 120px 0; background: var(--surface-alt); }
.gallery-row {
  display: flex; gap: 24px; justify-content: center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; -webkit-overflow-scrolling: touch;
}
.gallery-row::-webkit-scrollbar { height: 3px; }
.gallery-row::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 2px; }
.gallery-row::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 2px; }
.gallery-item { display: flex; flex-direction: column; align-items: center; gap: 16px; scroll-snap-align: center; flex-shrink: 0; }
.gallery-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.gallery-note  { text-align: center; margin-top: 48px; font-size: 13px; color: var(--text-dim); font-style: italic; }

/* ─── EMAIL CAPTURE ─────────────────────────────────────────────── */
#notify {
  padding: 140px 0; background: var(--surface);
  position: relative; overflow: hidden;
}
.notify-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(240,132,90,0.09) 0%, transparent 65%);
  filter: blur(80px); pointer-events: none;
  animation: hero-glow-drift 7s ease-in-out infinite alternate;
}
.notify-inner { position: relative; z-index: 1; text-align: center; max-width: 560px; }
.notify-sub { font-size: 17px; color: var(--text-muted); margin-top: 14px; margin-bottom: 40px; line-height: 1.7; }
.notify-input-row {
  display: flex; gap: 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 6px 6px 6px 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.notify-input-row:focus-within {
  border-color: rgba(240,132,90,0.45);
  box-shadow: 0 0 28px rgba(240,132,90,0.1);
}
.notify-input-row input {
  flex: 1; background: none; border: none; outline: none;
  font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--text); padding: 6px 0;
}
.notify-input-row input::placeholder { color: var(--text-dim); }
.notify-input-row .btn { padding: 11px 24px; border-radius: 11px; animation: none; }
.notify-input-row .btn:hover { animation: none; }
.notify-success {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 22px; background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2); border-radius: var(--radius-lg);
  font-size: 16px; font-weight: 600; color: var(--text);
}
.success-check {
  width: 34px; height: 34px; background: #22C55E; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: white; flex-shrink: 0;
}
.platform-pills-row { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.platform-pill-lg {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 18px;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
#footer { background: var(--bg); border-top: 1px solid var(--border); padding: 52px 0 0; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand .nav-logo { margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); font-style: italic; }
.footer-social  { display: flex; gap: 8px; }
.social-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text-muted);
  transition: all 0.2s;
}
.social-icon:hover { border-color: var(--border-hover); color: var(--text); background: var(--surface); transform: translateY(-2px); }
.footer-x-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); transition: color 0.2s;
}
.footer-x-link:hover { color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 20px 24px; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .float-chip-2, .float-chip-4 { left: -40px; }
  .float-chip-1, .float-chip-3 { right: -40px; }
}
@media (max-width: 900px) {
  .feature-inner, .feature-inner-reverse { flex-direction: column; gap: 48px; align-items: center; }
  .feature-inner-reverse { flex-direction: column; }
  .feature-phone { order: -1; }
  .hero-inner  { flex-direction: column; text-align: center; padding: 60px 24px 80px; gap: 48px; }
  .hero-text   { max-width: 100%; }
  .hero-sub    { margin: 0 auto 32px; }
  .hero-ctas   { justify-content: center; }
  .hero-phone-wrap { max-width: 260px; }
  .float-chip  { display: none; }
  .hero-battle-widget { margin-left: auto; margin-right: auto; }
  .platform-coming { justify-content: center; }
  .cards-row   { grid-template-columns: 1fr; }
  .steps-row   { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; border-top: none; border-left: 2px dashed rgba(240,132,90,0.2); align-self: auto; flex: none; margin: 0; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .progression-grid { grid-template-columns: 1fr; }
  .rank-track { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .rank-line  { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 480px) {
  .stat-row     { flex-direction: column; gap: 28px; }
  .stat-divider { width: 60px; height: 1px; }
  .btn-lg       { padding: 13px 22px; font-size: 15px; }
  .notify-input-row { flex-direction: column; padding: 12px; gap: 8px; }
  .notify-input-row input { text-align: center; }
  .notify-input-row .btn { width: 100%; justify-content: center; }
  .hero-battle-widget { max-width: 100%; }
}
