/* ============================================
   PLAY LOCALS — Main Stylesheet
   ============================================ */

:root {
  /* Brand palette — extracted from logo */
  --red:          #ff3232;   /* Logo red — primary brand accent */
  --red-light:    #FF5C5C;   /* Lighter red for hovers */
  --red-mid:      #C82020;   /* Mid red */
  --red-dark:     #1A0808;   /* Deep red-black for dark sections */
  --blush:        #FAD4D4;   /* Logo circle — soft secondary */

  /* Legacy aliases (used throughout CSS) */
  --black:        #1A0808;   /* = --red-dark */
  --black-soft:   #2A1010;
  --lime:         #ff3232;   /* = --red */
  --lime-mid:     #C82020;   /* = --red-mid */
  --lime-dark:    #A01010;

  /* Backgrounds — white from logo */
  --white:        #FFFFFF;
  --off-white:    #FFF8F8;   /* Barely-there blush — page background */
  --gray-100:     #F5EAEA;   /* Soft blush — section bg */
  --gray-200:     #E8D4D4;   /* Pink-tinted border */
  --gray-500:     #A88888;   /* Muted warm gray */
  --gray-700:     #584848;   /* Dark warm gray */

  /* Text */
  --text:         #1A0808;   /* Near-black with warm undertone */
  --text-mid:     #5A4444;   /* Mid warm gray */
  --text-light:   #8A7070;   /* Soft warm gray */

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07);
  --shadow:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.14);

  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.header-inner.has-logo {
  justify-content: space-between;
}

.logo-wrap { flex-shrink: 0; }

@keyframes headerLogoFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header-logo {
  display: none;
}

.header-logo.is-visible {
  display: flex;
  align-items: center;
  animation: headerLogoFadeIn 0.35s ease forwards;
}

.site-logo {
  height: 48px;
  width: auto;
  mix-blend-mode: multiply;
}

.logo-fallback { display: none; align-items: center; }

.logo-fallback-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--black);
  letter-spacing: -1px;
}

.logo-fallback-text span { color: var(--lime-mid); }

.logo-fallback--large .logo-fallback-text { font-size: 2.2rem; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--black);
  background: var(--gray-100);
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-mobile-join { display: none; }
.btn-icon-mobile { display: none; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(240,48,48,0.40);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--gray-100);
}

.btn--large {
  padding: 14px 40px;
  font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  min-height: 560px;
}

.hero-content {
  flex: 0 0 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  padding: 64px 48px 64px max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hero-content-inner {
  max-width: 460px;
}

.hero-logo-large {
  height: 88px;
  width: auto;
  mix-blend-mode: multiply;
  display: block;
  margin-bottom: 12px;
}

.hero-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
}

.hero-chips-and {
  font-size: 0.95rem;
  color: var(--text-light);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(240, 48, 48, 0.09);
  color: var(--red-dark);
  border: 1px solid rgba(240, 48, 48, 0.22);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.88em;
  white-space: nowrap;
}

.hero-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide--2 {
  background-image: url('/images/hero-bg-2.jpg');
  background-position: center 30%;
}

.hero-slide--3 {
  background-image: url('/images/hero-bg-3.jpg');
  background-position: center 40%;
  animation: hero-crossfade 18s infinite;
}

@keyframes hero-crossfade {
  0%, 40%  { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}

/* ============================================
   NATIVE APP MODE (iOS/Android, logged out)
   Simplified single-screen entry point in place
   of the full marketing homepage.
   ============================================ */
.native-only { display: none; }

html.native-app .site-header,
html.native-app .hero-visual,
html.native-app .app-promo-section,
html.native-app .how-section,
html.native-app .cta-section,
html.native-app .faq-section,
html.native-app .site-footer {
  display: none;
}

html.native-app,
html.native-app body {
  height: 100%;
  overflow: hidden;
}

html.native-app .hero {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

html.native-app .hero-content {
  flex: 1 1 100%;
  justify-content: flex-start;
  padding: calc(env(safe-area-inset-top) + max(48px, 8vh)) 32px max(40px, env(safe-area-inset-bottom));
}

html.native-app .hero-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 380px;
  margin: 0 auto;
}

html.native-app .hero-logo-large {
  margin: 0 auto 40px;
}

html.native-app .hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

html.native-app .hero-cta-group .btn {
  width: 100%;
}

html.native-app .native-only {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hero { flex-direction: column; min-height: unset; }
  .hero-visual {
    position: relative;
    width: 100%;
    height: 300px;
    flex: 0 0 300px;
    overflow: hidden;
    background: #111;
  }
  .hero-content { padding: 40px 24px 40px; background: var(--off-white); }
  .hero-content-inner { max-width: 100%; }
  .hero-brand-name, .hero-title { font-size: 2.2rem; letter-spacing: -1.5px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content { padding: 48px 40px; }
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1px;
  cursor: default;
  user-select: none;
}

.badge--city {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.badge--sport {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  border: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--black);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
}

/* ============================================
   BROWSE / CAROUSEL SECTION
   ============================================ */
.browse-section {
  background: var(--off-white);
  padding: 64px 24px;
  border-top: 1px solid var(--gray-200);
}

.browse-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.browse-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--black);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* FILTERS */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.more-filters-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.more-filters-wrap .filters {
  margin-bottom: 0;
}

.more-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 4px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 0;
}

.more-filters-btn:hover {
  border-color: var(--text-mid);
  color: var(--black);
}

.more-filters-btn.open {
  border-color: var(--red);
  color: var(--red);
}

.more-filters-btn .mfb-chevron {
  transition: transform 0.2s ease;
}

.more-filters-btn.open .mfb-chevron {
  transform: rotate(180deg);
}

.avail-filters-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.avail-filters-panel.open {
  max-height: 200px;
  opacity: 1;
}

.avail-filters-panel .filters {
  margin-top: 14px;
}

.filter-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  margin-bottom: 0;
  text-align: center;
}

.filter-btn,
.avail-filter-btn {
  padding: 5px 13px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--text-mid);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.83rem;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.avail-filter-btn:hover {
  border-color: var(--black);
  color: var(--black);
}

.filter-btn:focus,
.avail-filter-btn:focus,
.filter-btn:focus-visible,
.avail-filter-btn:focus-visible {
  outline: none;
}

.filter-btn.active,
.avail-filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

@media (max-width: 480px) {
  .filter-btn,
  .avail-filter-btn {
    padding: 4px 9px;
    font-size: 0.78rem;
  }
  .filters {
    gap: 5px;
  }
}

/* CAROUSEL */
.carousel-container {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.carousel-track-wrap {
  flex: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  padding: 12px 4px 20px;
}

/* PLAYER CARD */
.player-card {
  flex-shrink: 0;
  width: calc((100% - 40px) / 3);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--lime);
}

.player-card.is-active {
  border-color: var(--lime);
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: 22px 22px 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
}

.card-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-identity { flex: 1; min-width: 0; }

.card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 3px;
}

.card-ntrp {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}

.ntrp-badge {
  background: var(--red-dark);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 9px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}

.level-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--gray-100);
  padding: 2px 9px;
  border-radius: 100px;
}

.card-body { padding: 0 58px 18px; }

.card-bio {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}

.bio-read-more {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: var(--red);
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
}

.card-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.avail-chip {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--red-dark);
  background: rgba(240,48,48,0.10);
  border: 1px solid rgba(240,48,48,0.25);
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-last-active {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 8px;
  margin-bottom: 4px;
  opacity: 0.7;
}

.card-record {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.record-w { color: #16a34a; font-weight: 700; }
.record-l { color: #dc2626; font-weight: 700; }

.card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 8px;
}

.card-btn-challenge {
  flex: 1;
  padding: 10px 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.2px;
}

.card-btn-challenge:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}

.card-btn-view {
  padding: 10px 14px;
  background: var(--gray-100);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.card-btn-view:hover { background: var(--gray-200); }

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.location-dot {
  width: 6px;
  height: 6px;
  background: var(--lime-mid);
  border-radius: 50%;
}

/* CAROUSEL BUTTONS */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-btn:disabled:hover {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

/* DOTS */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}

.carousel-counter {
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   APP DOWNLOAD PROMO
   ============================================ */
.app-promo-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,50,50,0.3) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.06) 0%, transparent 40%),
    var(--black);
  padding: 96px 24px;
  overflow: hidden;
}

.app-promo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.app-promo-text {
  flex: 1 1 420px;
  max-width: 460px;
}

.app-promo-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(255,50,50,0.16);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.app-promo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}

.app-promo-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  margin-bottom: 32px;
}

.app-promo-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-appstore,
.badge-web,
.badge-googleplay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius);
}

.badge-appstore,
.badge-web {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.badge-appstore:hover,
.badge-web:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
}

.badge-appstore-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.badge-web-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.badge-googleplay {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}

.badge-googleplay-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.85;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.badge-text-small {
  font-size: 0.66rem;
  font-weight: 400;
}

.badge-text-large {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.app-promo-visual {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
}

.app-promo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.app-promo-phone {
  position: relative;
  width: 240px;
  aspect-ratio: 1294 / 2657;
}

.app-promo-phone img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}

.app-promo-notif {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px 12px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.45);
  z-index: 3;
  text-align: left;
}

.app-promo-notif-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.app-promo-notif-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.app-promo-notif-app {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  color: var(--text-light);
  flex: 1;
}

.app-promo-notif-time {
  font-size: 0.62rem;
  color: var(--text-light);
}

.app-promo-notif-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  margin-bottom: 2px;
}

.app-promo-notif-body {
  font-size: 0.74rem;
  color: var(--text-mid);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .app-promo-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .app-promo-text { max-width: 480px; }
  .app-promo-badges { justify-content: center; }
  .app-promo-visual { width: 240px; }
  .app-promo-notif { width: 300px; }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  background: var(--blush);
  padding: 72px 24px;
  text-align: center;
}

.how-section .section-title { color: var(--black); }

.how-section .section-sub {
  color: var(--text-mid);
  margin-bottom: 48px;
}


.steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  grid-template-rows: auto auto auto auto;
  column-gap: 8px;
  row-gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  text-align: center;
  justify-items: center;
  min-width: 0;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.step-icon--svg {
  font-size: 0;
  line-height: 0;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-bottom: 32px;
}

.step-arrow {
  grid-row: span 4;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  font-size: 1.3rem;
  color: rgba(26,8,8,0.25);
}

/* Step UI previews — mini player cards */
.step-preview {
  margin-top: 40px;
  width: 220px;
  min-height: 200px;
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(26,8,8,0.10), 0 1px 4px rgba(26,8,8,0.06);
  margin: 0 0 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}

.spc-header {
  padding: 14px 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.spc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.spc-identity { flex: 1; min-width: 0; }

.spc-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--black);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.spc-level {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--gray-100);
  padding: 1px 7px;
  border-radius: 100px;
  margin-top: 3px;
}

.spc-body {
  padding: 0 14px 14px;
}

.spc-bio {
  font-size: 0.72rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 8px;
}

.spc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.spc-chip {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--red-dark);
  background: rgba(240,48,48,0.09);
  border: 1px solid rgba(240,48,48,0.22);
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Browse card action bar */
.spc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.spc-action-hit,
.spc-action-miss {
  padding: 10px 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-align: center;
}

.spc-action-hit {
  color: var(--red);
  border-right: 1px solid var(--gray-200);
}

.spc-action-miss { color: var(--text-mid); }

.spc-action-message {
  grid-column: 1 / -1;
  color: var(--white);
  background: var(--red);
  padding: 10px 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-align: center;
  border-radius: 0 0 16px 16px;
}

.spc-action-create {
  grid-column: 1 / -1;
  color: var(--white);
  background: var(--red);
  padding: 10px 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-align: center;
  letter-spacing: -0.1px;
}

/* Notification variant */
.step-preview--notif {
  background: var(--white);
  border-color: var(--gray-200);
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px 20px;
}

.spc-notif-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,50,50,0.25);
  flex-shrink: 0;
}

.spc-notif-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--black);
  line-height: 1.3;
}

.spc-notif-actions {
  display: flex;
  gap: 6px;
}

.spc-notif-accept {
  background: var(--red);
  color: #fff;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.spc-notif-decline {
  border: 1.5px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--text-mid);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

/* Card component shared styles */
.card-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-mid);
  margin-bottom: 8px;
  margin-top: 14px;
}

.card-actions {
  display: block;
  border-top: 1px solid var(--gray-200);
}

.card-action-hit {
  display: block;
  width: 100%;
  padding: 14px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: -0.2px;
  color: var(--red);
  border-radius: 0 0 20px 20px;
  text-align: center;
}



/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,50,50,0.3) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.06) 0%, transparent 40%),
    var(--black);
  padding: 72px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  opacity: 1;
  margin-bottom: 28px;
}

.cta-section .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--red);
}

.cta-section .btn-primary:hover {
  background: var(--off-white);
  border-color: var(--off-white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-appstore--cta,
.cta-btn-group .badge-web {
  padding: 14px 22px;
  min-height: 60px;
}

.cta-section .badge-appstore:hover,
.cta-section .badge-web:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--off-white);
  padding: 72px 24px;
}

.faq-inner {
  max-width: 680px;
  margin: 0 auto;
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(26,8,8,0.1);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(26,8,8,0.07);
}

.faq-answer p {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--off-white);
  letter-spacing: -0.3px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,240,240,0.40);
}

.footer-links { display: flex; gap: 20px; }

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,240,240,0.45);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--off-white); }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform var(--transition);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.is-open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--black);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 1;
  line-height: 1;
}

.modal-close:hover { background: var(--gray-200); }

.modal-content { padding: 32px; }

.modal-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 18px;
}

.modal-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--black);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.8px;
}

.modal-location {
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.modal-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.modal-bio {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  text-align: center;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-style: italic;
}

.modal-section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.modal-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--black);
}

.modal-chip--avail {
  background: rgba(240,48,48,0.10);
  border: 1px solid rgba(240,48,48,0.25);
  color: var(--red-dark);
}

.modal-record {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.modal-record-item {
  flex: 1;
  text-align: center;
}

.modal-record-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -1px;
}

.modal-record-label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.modal-actions .btn { flex: 1; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 60px 80px;
  flex: 1;
  min-width: 300px;
}

.empty-state-icon { font-size: 2.8rem; margin-bottom: 12px; }
.empty-state p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .player-card { width: calc((100% - 20px) / 2); }
}

@media (max-width: 600px) {
  .header-inner { gap: 0; justify-content: flex-end; }
  .site-nav { display: none; }
  .logo-wrap { display: none; }
  .header-actions .btn-outline,
  .header-actions .btn-primary {
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 20px;
  }

  .btn-mobile-join {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--red);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    letter-spacing: -0.3px;
  }

  .btn-icon-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--red);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition);
  }

  .btn-icon-mobile:hover { background: rgba(240,48,48,0.08); }

  .hero { padding: 0; }
  .hero-logo-img { height: 88px; }
  .hero-brand-name, .hero-title { font-size: 2rem; letter-spacing: -1px; }

  .hero-stats { padding: 16px 12px; flex-wrap: wrap; gap: 12px; }
  .stat { padding: 0 14px; }
  .stat-divider { display: none; }

  .player-card { width: calc(100vw - 108px); }

  .step-arrow { display: none; }

  .steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 88px;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
  }

  .footer-inner { flex-direction: column; text-align: center; }

  .modal-content { padding: 24px 20px; }
}

/* Dark mode lives in /css/dark.css */
