/**
 * ASX FACEIT — Onyx & Championship Gold
 * Modern Clean Tech SaaS Typography: Plus Jakarta Sans + Inter
 */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #f59e0b;
  --gold-hover: #fbbf24;
  --gold-dim: rgba(245, 158, 11, 0.15);
  --orange: var(--gold);
  --orange-hover: var(--gold-hover);
  --orange-dim: var(--gold-dim);

  /* Pure Onyx / Carbon Canvas — Zero Navy or Blue */
  --bg: #0b0b0e;
  --bg-card: #131317;
  --bg-panel: #191920;
  --bg-highlight: #22222b;

  --text: #ffffff;
  --text-mid: #d4d4d8;
  --text-dim: #a1a1aa;
  --text-muted: #52525b;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.4);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
}

::selection {
  background: var(--gold);
  color: #000;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
code {
  font-family: inherit;
  font-weight: 600;
  color: var(--gold);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #000000;
  padding: 11px 24px;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.4);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 700;
}

.btn-header {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
}
.btn-header:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}


/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-mid);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-cta {
  margin-top: 8px;
  justify-content: center;
  border-bottom: none;
  padding: 12px;
}


/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 32px 0;
  background: var(--bg);
  overflow: visible;
  position: relative;
  box-sizing: border-box;
}

.hero > .container {
  width: 100%;
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
}

.text-orange, .text-gold { color: var(--gold); }

.hero-subtitle {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 500px;
  font-weight: 400;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copy-invite {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.copy-invite-url {
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dim);
  user-select: all;
  font-weight: 500;
}
.copy-invite-btn {
  padding: 10px 16px;
  background: var(--bg-panel);
  border: none;
  border-left: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.15s;
}
.copy-invite-btn:hover { color: var(--gold); }

.hero-stats {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Ambient warm trophy glow matching Discord banner */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.04) 50%, transparent 75%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 395px;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  height: auto;
  filter: drop-shadow(0 22px 52px rgba(0, 0, 0, 0.85)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-phone:hover {
  transform: translateY(-8px);
}


/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-card);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--text);
  letter-spacing: -0.03em;
}

.section-desc {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 860px;
  font-weight: 400;
  text-wrap: pretty;
}


/* ── Divisions ── */

.divisions-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.division-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.division-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px -8px rgba(245, 158, 11, 0.15);
}

.division-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.division-desc {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex-grow: 1;
  font-weight: 400;
}

.division-specs {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.division-specs div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.82rem;
}
.division-specs div + div {
  border-top: 1px solid var(--border);
}
.division-specs dt {
  color: var(--text-dim);
  font-weight: 400;
}
.division-specs dd {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.division-cta {
  display: block;
  margin-top: 20px;
  padding: 12px 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.division-cta:hover {
  background: var(--gold);
  color: #000;
}


/* ── Maps ── */

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

.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.map-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
}
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.map-card:hover img {
  transform: scale(1.05);
}

.map-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.01em;
}


/* ── Ranks ── */

.ranks-track {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rank-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s;
}
.rank-group:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.rank-tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.rank-elo {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

.rank-badges {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.rank-badges img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.rank-group-champion {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 100%);
}
.rank-group-champion .rank-tier-name {
  color: var(--gold);
}
.rank-group-champion .rank-elo {
  color: var(--gold);
}
.rank-group-champion .rank-badges img {
  width: 52px;
  height: 52px;
}


/* ── How It Works ── */

.steps-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px -4px rgba(245, 158, 11, 0.1);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--gold);
}

.step-channel code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold);
  background: var(--bg-panel);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.step-desc {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.62;
  font-weight: 400;
}
.step-desc a {
  color: var(--gold);
  font-weight: 600;
}
.step-desc a:hover {
  text-decoration: underline;
}
.step-desc code {
  color: var(--gold);
  font-weight: 600;
  background: rgba(245, 158, 11, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}


/* ══════════════════════════════════════════
   OFFICIAL SPONSOR
   ══════════════════════════════════════════ */

.section-sponsor {
  background: var(--bg);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.sponsor-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.sponsor-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 16px 40px -12px rgba(245, 158, 11, 0.12);
}

.sponsor-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.sponsor-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text);
  letter-spacing: -0.025em;
}

.sponsor-desc {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 480px;
}

.btn-sponsor {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-panel);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.btn-sponsor:hover {
  background: var(--gold);
  color: #0b0b0e;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sponsor-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  width: 100%;
  max-width: 360px;
  transition: all 0.25s ease;
}
.sponsor-logo-box:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: #1c1c24;
  transform: scale(1.02);
}

.sponsor-logo {
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}


/* ── CTA Section ── */

.cta-section {
  background: var(--bg);
  text-align: center;
}

.cta-content {
  max-width: 600px;
}

.cta-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  color: var(--text);
  letter-spacing: -0.03em;
}

.cta-desc {
  margin: 12px auto 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 480px;
  font-weight: 400;
}


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

.site-footer {
  border-top: 1px solid var(--border);
  background: #070709;
  padding: 56px 0 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1.2fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-sponsor {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-sponsor-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.footer-sponsor-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-sponsor-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.footer-sponsor-link img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.footer-heading {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-social-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.footer-social-item svg {
  color: var(--gold);
  flex-shrink: 0;
}
.footer-social-item:hover {
  color: var(--text);
  border-color: rgba(245, 158, 11, 0.4);
  background: var(--bg-panel);
  transform: translateY(-2px);
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 12px;
  word-break: break-all;
  transition: opacity 0.2s;
}
.footer-email-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}
.footer-email-link svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-legal {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 40px 0 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
    margin: 0 auto 8px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-phone {
    width: 80vw;
    max-width: 340px;
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero-visual::before {
    width: 300px;
    height: 420px;
    filter: blur(40px);
  }
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  .maps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ranks-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-actions .btn-header {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 0.72rem;
  }
  .mobile-menu-btn {
    display: flex;
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: auto;
    padding: 8px 0 32px;
  }
  .hero-grid {
    gap: 6px;
  }

  /* Full-bleed phone opener with deeper bottom fade: FIRST */
  .hero-visual {
    order: -1;
    width: 100%;
    margin: 0 auto -38px;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .hero-visual::before {
    width: 280px;
    height: 380px;
    filter: blur(38px);
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.05) 55%, transparent 75%);
  }
  .hero-phone {
    width: 86vw;
    max-width: 325px;
    max-height: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 98%);
    filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.9));
  }

  /* Headline & copy pulled up: SECOND */
  .hero-title {
    font-size: clamp(2.05rem, 7.2vw, 2.65rem);
    line-height: 1.06;
  }
  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-top: 6px;
  }
  .hero-actions {
    margin-top: 14px;
    gap: 10px;
  }

  /* Single row of 3 equal columns */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    text-align: center;
  }
  .hero-stat strong {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
  }
  .hero-stat span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
  }
  .hero-stat-divider { display: none; }

  .section { padding: 64px 0; }

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

  .ranks-track {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-card {
    padding: 24px 20px;
  }

  .sponsor-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
    text-align: center;
  }
  .sponsor-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .sponsor-brand {
    justify-content: center;
  }
  .sponsor-logo-box {
    max-width: 290px;
    padding: 20px 24px;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 6px 0 26px;
  }
  .hero-grid {
    gap: 4px;
  }
  .hero-visual {
    margin: 0 auto -44px;
  }
  .hero-phone {
    width: 88vw;
    max-width: 295px;
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 58%, transparent 98%);
  }
  .hero-visual::before {
    width: 240px;
    height: 320px;
    filter: blur(32px);
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-subtitle {
    margin-top: 4px;
  }
  .hero-actions {
    margin-top: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .copy-invite {
    justify-content: space-between;
  }
  .btn-lg {
    justify-content: center;
  }
  .hero-stats {
    margin-top: 14px;
    padding-top: 10px;
  }
  .maps-grid {
    grid-template-columns: 1fr;
  }
  .ranks-track {
    grid-template-columns: 1fr;
  }
}
