/* =============================================================
   SBO88PLUS — Streetball Asphalt
   Indoor Gym variant · hardwood + asphalt + lime + spray paint
   ============================================================= */

:root {
  /* streetball palette · lime + asphalt + orange + graf-red */
  --asphalt:   #2D2D2D;
  --asphalt-2: #1F1F1F;
  --asphalt-3: #161616;
  --asphalt-4: #0B0B0B;
  --concrete:  #999999;
  --concrete-2:#5A5A5A;
  --concrete-3:#3A3A3A;
  --lime:      #C7F464;
  --lime-2:    #A8E03C;
  --lime-3:    #7FB31E;
  --orange:    #FFA500;
  --orange-2:  #FF8C00;
  --red-graf:  #FF073A;
  --red-graf-2:#D6002F;
  --hardwood:  #B47C4F;
  --hardwood-2:#8C5A33;
  --line-green:#06C755;

  --text:   #F1F1EE;
  --text-2: #B8B8B5;
  --text-3: #757572;

  --line:   rgba(199, 244, 100, 0.18);
  --line-2: rgba(255, 255, 255, 0.06);
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--asphalt-3);
  /* concrete texture: grain + diagonal chain-link suggestion */
  background-image:
    radial-gradient(800px 400px at 100% 0%, rgba(199,244,100,.05), transparent 60%),
    radial-gradient(700px 500px at 0% 80%, rgba(255,165,0,.04), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0px, rgba(255,255,255,.012) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.008) 0px, rgba(255,255,255,.008) 1px, transparent 1px, transparent 4px);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Mitr', 'Bai Jamjuree', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  min-height: 100vh;
}

a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-2); }
img { display: block; max-width: 100%; }

/* =========== TYPOGRAPHY =========== */
h1, h2, h3, h4, h5 {
  font-family: 'Bungee', 'Mitr', sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(28px, 5vw, 56px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 18px; }
h4 { font-size: 15px; }

.marker-text {
  font-family: 'Permanent Marker', 'Mitr', cursive;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.lime-text  { color: var(--lime); }
.orange-text { color: var(--orange); }
.red-text   { color: var(--red-graf); }
.dim        { color: var(--text-2); }
.mono       { font-family: 'JetBrains Mono', 'Mitr', monospace; }
.center     { text-align: center; }
.right      { text-align: right; }
.row        { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mt         { margin-top: 18px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* =========== TOPBAR =========== */
.topbar {
  background: var(--asphalt-4);
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--text-2);
}
.topbar .container {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px;
}
.topbar a { color: var(--text-2); }
.topbar a:hover { color: var(--lime); }
.topbar .sep { color: var(--concrete-3); }
.topbar .gym-status {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime); font-weight: 600;
  font-family:'Bungee','Mitr',sans-serif; font-size: 11px;
  letter-spacing: .04em;
}
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(199,244,100, .8);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(199,244,100, .85); }
  70%  { box-shadow: 0 0 0 10px rgba(199,244,100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(199,244,100, 0); }
}
.line-link { color: var(--line-green) !important; font-weight: 600; }
.hide-xs { display: inline; }
@media (max-width: 700px) { .hide-xs { display: none; } }

/* =========== HEADER =========== */
header.main {
  background: var(--asphalt-3);
  border-bottom: 1px solid var(--line-2);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background-image:
    /* graffiti splatter top right */
    radial-gradient(circle at 95% 50%, rgba(255,7,58,.06) 0px, rgba(255,7,58,.02) 60px, transparent 80px);
}
header.main .container {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  position: relative;
  width: 48px; height: 48px;
  background: var(--lime);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family:'Bungee Inline','Mitr',sans-serif;
  color: var(--asphalt-4);
  font-size: 28px;
  box-shadow: 0 0 0 3px var(--asphalt-4), 0 4px 14px rgba(199,244,100,.4);
}
.logo-mark .logo-x { z-index: 2; line-height: 1; transform: translateY(-1px); }
.logo-mark .logo-ring {
  position: absolute; inset: -6px;
  border: 2px dashed var(--lime);
  border-radius: 50%;
  animation: rot 14s linear infinite;
  opacity: .55;
}
@keyframes rot { to { transform: rotate(360deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .lime-text {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 22px;
  letter-spacing: .02em;
}
.brand-text em {
  font-style: normal;
  color: var(--orange);
  font-family:'Permanent Marker','Mitr',cursive;
  text-transform: lowercase;
}
.brand-text small {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
  letter-spacing: .02em;
}
.header-cta {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}
.balance {
  font-family:'JetBrains Mono','Mitr',monospace;
  font-size: 13px;
  color: var(--lime);
  background: var(--asphalt-4);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
@media (max-width: 700px) { .balance { display: none; } }

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-family:'Bungee','Mitr',sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .04em;
  border: 2px solid transparent;
  background: var(--asphalt-2);
  color: var(--text);
  cursor: pointer;
  transition: transform .14s ease, box-shadow .2s, background .2s;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 28px; font-size: 14px; }
.btn-sm { padding: 8px 14px; font-size: 11px; }
.btn-block { display: flex; width: 100%; }

.btn-lime {
  background: var(--lime);
  color: var(--asphalt-4);
  border-color: var(--lime);
  box-shadow:
    0 4px 0 var(--lime-3),
    0 8px 16px rgba(199,244,100,.32);
}
.btn-lime:hover {
  box-shadow:
    0 6px 0 var(--lime-3),
    0 12px 22px rgba(199,244,100,.45);
  background: var(--lime-2);
  color: var(--asphalt-4);
}
.btn-outline {
  background: transparent;
  border-color: var(--lime);
  color: var(--lime);
}
.btn-outline:hover {
  background: var(--lime);
  color: var(--asphalt-4);
}
.btn-ghost {
  background: var(--asphalt-2);
  border-color: var(--concrete-3);
  color: var(--text-2);
  font-family: 'Mitr', sans-serif;
  font-weight: 600;
  text-transform: none;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--lime); border-color: var(--lime); }

/* =========== NAV =========== */
nav.main-nav {
  background: var(--asphalt-2);
  border-bottom: 3px solid var(--lime);
  position: sticky; top: 76px; z-index: 49;
  /* spray-paint corner shadow */
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
nav.main-nav .container {
  display: flex; gap: 4px; padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.main-nav .container::-webkit-scrollbar { display: none; }
nav.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 16px;
  color: var(--text-2);
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 12px;
  letter-spacing: .05em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .15s, border .15s;
}
nav.main-nav a:hover { color: var(--lime); }
nav.main-nav a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
nav.main-nav .badge {
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 9px;
  background: var(--orange);
  color: var(--asphalt-4);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0;
  text-transform: none;
  transform: rotate(-3deg);
}
nav.main-nav .badge.hot { background: var(--red-graf); color: #fff; }
nav.main-nav .badge.live { background: var(--lime); color: var(--asphalt-4); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .55; } }

/* =========== RIBBON =========== */
.ribbon {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: var(--asphalt-4);
  padding: 11px 0;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.ribbon::before, .ribbon::after {
  content: '';
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 100%;
  background: repeating-linear-gradient(45deg,
    var(--asphalt-4) 0 8px, var(--orange) 8px 16px);
  opacity: .8;
}
.ribbon::before { left: 0; }
.ribbon::after  { right: 0; }
.ribbon .container {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}
.ribbon .pill {
  background: var(--asphalt-4);
  color: var(--lime);
  padding: 3px 10px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.code-tag {
  background: var(--asphalt-4);
  color: var(--lime);
  padding: 3px 10px;
  border-radius: 4px;
  font-family:'JetBrains Mono','Mitr',monospace;
  font-weight: 700;
  font-size: 12px;
}

/* =========== MAIN / SECTIONS =========== */
main { padding: 28px 0 60px; }
section[data-page] { display: none; }
section[data-page].show { display: block; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin: 32px 0 16px; gap: 16px;
}
.sec-head h2 { font-size: clamp(20px, 2.6vw, 28px); }
.sec-head p { font-size: 13px; margin-top: 4px; }
.sec-head .more {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 12px;
  color: var(--lime);
  letter-spacing: .04em;
  white-space: nowrap;
}
.sec-head .more:hover { color: var(--orange); }
.sec-title {
  font-size: 22px;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--lime);
  display: inline-block;
}

.page-head {
  padding: 30px 0 8px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 24px;
}
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--text-2); }

/* =========== HERO INDOOR GYM =========== */
.hero-gym {
  position: relative;
  height: clamp(380px, 50vw, 540px);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, #4a3424 0%, #2a1812 60%, #1a0e08 100%);
  border: 2px solid var(--asphalt);
  box-shadow:
    inset 0 0 60px rgba(0,0,0,.7),
    0 12px 40px rgba(0,0,0,.6);
}
.hero-floor {
  position: absolute; inset: 60% 0 0 0;
  background: var(--hardwood);
  background-image:
    /* hardwood planks */
    repeating-linear-gradient(90deg,
      var(--hardwood-2) 0px, var(--hardwood-2) 2px,
      var(--hardwood) 2px, var(--hardwood) 80px),
    /* free-throw line */
    linear-gradient(180deg, transparent 30%, rgba(255,255,255,.03) 30%, rgba(255,255,255,.03) 31%, transparent 31%);
  transform: perspective(800px) rotateX(50deg);
  transform-origin: top center;
  box-shadow: inset 0 -40px 60px rgba(0,0,0,.7);
}
.hero-floor::before {
  /* court center circle */
  content: '';
  position: absolute;
  left: 50%; top: 30%;
  width: 200px; height: 200px;
  border: 3px solid rgba(199, 244, 100, .35);
  border-radius: 50%;
  transform: translateX(-50%);
}
.hero-floor::after {
  /* lime free throw arc */
  content: '';
  position: absolute;
  left: 50%; top: 8%;
  width: 280px; height: 280px;
  border: 3px solid rgba(255, 165, 0, .35);
  border-radius: 50%;
  border-bottom: none;
  transform: translateX(-50%);
}
.hero-hoop {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  width: 120px; height: 80px;
  pointer-events: none;
}
.hero-hoop::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--orange);
}
.hero-hoop::after {
  content: '';
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 50px;
  border: 2px solid #fff;
  border-top: none;
  border-radius: 0 0 30px 30px;
  background: repeating-linear-gradient(45deg,
    transparent 0 4px, rgba(255,255,255,.6) 4px 5px);
}
.hero-spot {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  mix-blend-mode: screen;
}
.hero-spot.spot-1 {
  top: -100px; left: -80px;
  background: radial-gradient(circle, rgba(199,244,100, .35) 0%, transparent 70%);
}
.hero-spot.spot-2 {
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(255,165,0, .35) 0%, transparent 70%);
}
.hero-graffiti {
  position: absolute;
  top: 30%; right: 6%;
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: clamp(56px, 8vw, 110px);
  color: var(--red-graf);
  opacity: .14;
  transform: rotate(-12deg);
  letter-spacing: -.04em;
  text-shadow: 4px 4px 0 var(--asphalt-4);
  user-select: none;
}
.hero-content {
  position: relative; z-index: 4;
  padding: 36px 32px;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--lime);
  border-radius: 30px;
  font-size: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: .95;
  margin-bottom: 14px;
  text-shadow: 3px 3px 0 var(--asphalt-4);
}
.hero-content h1 span { display: inline-block; margin-right: .25em; }
.hero-tag {
  font-family: 'Mitr', sans-serif;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 22px;
  max-width: 540px;
}
.hero-stat-row {
  display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column; line-height: 1;
}
.hero-stat strong {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 22px;
  letter-spacing: .02em;
}
.hero-stat span {
  font-family: 'Mitr', sans-serif;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* =========== LEADERBOARD =========== */
.lb-section {
  margin: 36px 0;
  padding: 28px;
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.lb-section::before {
  content: '#WK17';
  position: absolute; top: 14px; right: 18px;
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 36px;
  color: rgba(255, 165, 0, .12);
  transform: rotate(-6deg);
  pointer-events: none;
  letter-spacing: -.03em;
}
.lb-week {
  font-family:'Permanent Marker','Mitr',cursive;
  color: var(--orange);
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 8px;
}

.lb-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  margin: 28px 0;
  align-items: end;
}
@media (max-width: 700px) {
  .lb-podium { grid-template-columns: 1fr; }
}
.podium-slot {
  text-align: center;
  position: relative;
  padding: 18px 14px 12px;
  background: var(--asphalt-3);
  border: 2px solid var(--concrete-3);
  border-radius: 8px;
  transition: transform .25s;
}
.podium-slot:hover { transform: translateY(-4px); }
.podium-slot.rank-1 {
  border-color: var(--lime);
  background: linear-gradient(180deg, rgba(199,244,100,.06) 0%, var(--asphalt-3) 50%);
  box-shadow: 0 0 30px rgba(199,244,100,.15);
}
.podium-slot.rank-2 { border-color: var(--concrete); }
.podium-slot.rank-3 { border-color: #cd7f32; }
.podium-crown {
  font-size: 28px;
  margin-bottom: 4px;
}
.podium-rank {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: .04em;
}
.rank-1 .podium-rank { color: var(--lime); }
.podium-avatar {
  width: 64px; height: 64px;
  margin: 8px auto;
  border-radius: 50%;
  background: var(--asphalt-4);
  border: 2px solid var(--concrete-3);
  display: grid; place-items: center;
  overflow: hidden;
}
.podium-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--asphalt-4);
}
.podium-avatar.lime-glow {
  border-color: var(--lime);
  box-shadow: 0 0 20px rgba(199,244,100, .35);
}
.podium-name {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 14px;
  margin-top: 6px;
}
.rank-1 .podium-name { font-size: 16px; }
.podium-team {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.podium-score {
  font-size: 16px;
  font-weight: 700;
  color: var(--lime);
  margin: 8px 0 4px;
}
.podium-prize {
  font-size: 11px;
  color: var(--orange);
  font-family:'Permanent Marker','Mitr',cursive;
  letter-spacing: 0;
  text-transform: none;
}
.podium-block {
  height: 18px;
  margin: 12px -14px -12px;
  background: var(--concrete-3);
  border-radius: 0 0 6px 6px;
}
.podium-block.gold { height: 30px; background: linear-gradient(180deg, var(--lime) 0%, var(--lime-3) 100%); }
.podium-block.silver { background: linear-gradient(180deg, var(--concrete) 0%, var(--concrete-2) 100%); }
.podium-block.bronze { background: linear-gradient(180deg, #cd7f32 0%, #8b5a1a 100%); }

.lb-list {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 18px;
}
.lb-row {
  display: grid;
  grid-template-columns: 40px 56px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: var(--asphalt-3);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--lime);
  border-radius: 6px;
  transition: background .2s;
}
.lb-row:hover { background: var(--asphalt-2); }
.lb-num {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 20px;
  color: var(--orange);
  text-align: center;
}
.lb-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--asphalt-4);
  border: 1px solid var(--concrete-3);
}
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-name { font-family:'Bungee','Mitr',sans-serif; font-size: 13px; }
.lb-team { font-size: 11px; }
.lb-stats {
  display: flex; gap: 18px;
}
.lb-stats > div { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.lb-stats strong { font-size: 14px; }
.lb-stats span { font-size: 9px; color: var(--text-3); margin-top: 4px; letter-spacing: .04em; }
.lb-cta {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--lime);
  border-radius: 6px;
  color: var(--lime);
  text-decoration: none;
  transition: background .15s;
}
.lb-cta:hover { background: var(--lime); color: var(--asphalt-4); }
.lb-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}

@media (max-width: 700px) {
  .lb-row { grid-template-columns: 36px 40px 1fr; gap: 8px; padding: 10px 12px; }
  .lb-stats { display: none; }
  .lb-cta { display: none; }
}

/* =========== 3v3 BRACKET =========== */
.bracket-section {
  margin: 36px 0;
  padding: 28px;
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  background-image:
    /* chain-link fence pattern */
    radial-gradient(circle at 20px 20px, rgba(255,255,255,.018) 1px, transparent 1.5px),
    radial-gradient(circle at 0px 0px, rgba(255,255,255,.018) 1px, transparent 1.5px);
  background-size: 40px 40px, 40px 40px;
  background-position: 0 0, 20px 20px;
}
.bracket-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.bracket-round {
  display: flex; flex-direction: column;
  justify-content: space-around;
  gap: 16px;
}
.round-label {
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 16px;
  color: var(--orange);
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 4px;
}
.match {
  background: var(--asphalt-3);
  border: 2px solid var(--concrete-3);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.match.live {
  border-color: var(--red-graf);
  box-shadow: 0 0 0 2px rgba(255,7,58, .3), 0 0 24px rgba(255,7,58, .25);
  animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
  50% { box-shadow: 0 0 0 4px rgba(255,7,58, .25), 0 0 30px rgba(255,7,58, .35); }
}
.match.upcoming {
  border-style: dashed;
  border-color: var(--concrete-2);
  opacity: .8;
}
.team {
  display: grid;
  grid-template-columns: 36px 1fr 50px;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  font-family: 'Mitr', sans-serif;
  font-size: 13px;
}
.team:last-child { border-bottom: none; }
.team .seed {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
}
.team .team-name { font-weight: 600; }
.team .score {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  color: var(--text-2);
}
.team.winner { background: rgba(199, 244, 100, .04); }
.team.winner .team-name { color: var(--lime); }
.team.winner .score { color: var(--lime); font-size: 18px; }
.team.winner .seed { color: var(--lime); }
.match-live-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--red-graf);
  color: #fff;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 10px;
  letter-spacing: .04em;
}
.match-live-tag .dot-pulse { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); }
.match-upcoming-tag {
  padding: 6px 14px;
  background: var(--asphalt-4);
  color: var(--orange);
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 12px;
  text-align: center;
}
.bracket-trophy {
  margin-top: 16px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(199,244,100,.08) 0%, transparent 100%);
  border: 2px dashed var(--lime);
  border-radius: 6px;
  text-align: center;
}
.trophy-icon { font-size: 48px; margin-bottom: 6px; }
.trophy-prize {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 24px;
  letter-spacing: .02em;
}
@media (max-width: 880px) {
  .bracket-wrap { grid-template-columns: 1fr; }
}

/* =========== TRICKSHOT =========== */
.trickshot-section { margin: 36px 0; }
.ts-streak {
  font-size: 14px;
  text-align: right;
}
.ts-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .ts-card { grid-template-columns: 1fr; }
}
.ts-court {
  position: relative;
  height: 360px;
  background: linear-gradient(180deg, #2a1812 0%, var(--asphalt-3) 60%);
  overflow: hidden;
}
.ts-floor {
  position: absolute; inset: 60% 0 0 0;
  background: var(--hardwood);
  background-image: repeating-linear-gradient(90deg,
    var(--hardwood-2) 0px, var(--hardwood-2) 2px,
    var(--hardwood) 2px, var(--hardwood) 70px);
  transform: perspective(700px) rotateX(55deg);
  transform-origin: top center;
}
.ts-hoop {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  width: 80px; height: 60px;
}
.ts-rim {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--orange);
}
.ts-net {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 38px;
  border: 2px solid #fff;
  border-top: none;
  border-radius: 0 0 22px 22px;
  background: repeating-linear-gradient(45deg,
    transparent 0 3px, rgba(255,255,255,.55) 3px 4px);
}
.ts-target {
  position: absolute;
  bottom: 18%;
  left: 50%; transform: translateX(-50%);
  font-size: 38px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid var(--lime);
  cursor: pointer;
  z-index: 5;
  transition: transform .18s, background .15s;
  display: grid; place-items: center;
  box-shadow: 0 0 18px rgba(199,244,100, .4);
  animation: ts-bob 1.2s ease-in-out infinite alternate;
}
.ts-target:hover { background: rgba(199,244,100,.15); }
.ts-target:active { transform: translateX(-50%) scale(0.85); }
.ts-target.scored {
  animation: ts-score .55s ease;
}
.ts-target.disabled {
  opacity: .4;
  pointer-events: none;
  border-color: var(--concrete-3);
  box-shadow: none;
}
@keyframes ts-bob {
  to { transform: translateX(-50%) translateY(-6px); }
}
@keyframes ts-score {
  0%   { transform: translateX(-50%) scale(1); }
  50%  { transform: translateX(-50%) translateY(-200px) scale(0.6); }
  100% { transform: translateX(-50%) scale(1); }
}
.ts-line {
  position: absolute; bottom: 16%; left: 0; right: 0;
  text-align: center;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 9px;
  color: rgba(255,255,255,.4);
  letter-spacing: .12em;
  pointer-events: none;
}
.ts-shoot-from {
  position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  pointer-events: none;
}
.ts-meta {
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.ts-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--asphalt-3);
  border-radius: 6px;
  border-left: 3px solid var(--lime);
}
.ts-row span {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .04em;
}
.ts-row strong { font-size: 16px; }
.ts-hint { font-size: 12px; margin-top: 8px; }

/* =========== SNEAKER VAULT =========== */
.vault-section { margin: 36px 0; }
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.vault-grid.full {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.sneaker-card {
  background: var(--asphalt-2);
  border: 2px solid var(--concrete-3);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.sneaker-card:hover { transform: translateY(-3px); }
.sneaker-card.unlocked { border-color: var(--lime); }
.sneaker-card.unlocked::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(199,244,100,.05) 0%, transparent 60%);
  pointer-events: none;
}
.sneaker-card.locked { opacity: .85; }
.sneaker-card.tier-special { border-color: var(--orange); }
.sneaker-card.goat { border-color: var(--red-graf); }
.sneaker-tier {
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--orange);
  margin-bottom: 6px;
}
.sneaker-card.unlocked .sneaker-tier { color: var(--lime); }
.sneaker-img {
  font-size: 56px;
  margin: 8px 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
}
.sneaker-card.locked .sneaker-img { filter: grayscale(.7) opacity(.65); }
.sneaker-name {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 12px;
  margin: 4px 0;
}
.sneaker-req {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.sneaker-status {
  display: inline-block;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.unlocked-badge {
  background: rgba(199,244,100, .18);
  border: 1px solid var(--lime);
  color: var(--lime);
}
.locked-badge {
  background: var(--asphalt-4);
  color: var(--text-3);
  border: 1px solid var(--concrete-3);
}

.vault-progress {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.vault-progress.big { padding: 26px 28px; margin-bottom: 24px; }
.vault-progress-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.vault-progress-label .marker-text { color: var(--orange); font-size: 14px; }
.progress-bar {
  height: 12px;
  background: var(--asphalt-4);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--concrete-3);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--orange) 100%);
  box-shadow: inset 0 0 8px rgba(255,255,255,.25);
  transition: width .4s;
}
.vault-progress-bot {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 12px; color: var(--text-2);
}

/* =========== MIXTAPE =========== */
.mixtape-section { margin: 36px 0; }
.mx-votes-tot { font-size: 14px; }
.mixtape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.mixtape-card {
  background: var(--asphalt-2);
  border: 2px solid var(--concrete-3);
  border-radius: 8px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  transition: transform .2s;
}
.mixtape-card:hover { transform: translateY(-3px); border-color: var(--lime); }
.mx-rank {
  position: absolute; top: 12px; right: 14px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 18px;
  color: var(--orange);
  background: var(--asphalt-4);
  padding: 2px 10px;
  border-radius: 4px;
}
.mx-cover {
  position: relative;
  width: 100%; aspect-ratio: 1;
  background:
    repeating-linear-gradient(45deg,
      var(--asphalt-3) 0 6px, var(--asphalt-2) 6px 12px);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.mx-cover-art {
  width: 80%; height: 80%;
  display: grid; place-items: center;
}
.mx-cover-art img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.mx-spin {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 30px; height: 30px;
  background: var(--lime);
  color: var(--asphalt-4);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.mx-name {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.mx-curator {
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 8px;
}
.mx-tracks {
  font-size: 11px;
  margin-bottom: 10px;
}
.mx-bar {
  position: relative;
  height: 8px;
  background: var(--asphalt-4);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--concrete-3);
}
.mx-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--orange) 100%);
  transition: width .3s;
}
.mx-pct {
  position: absolute;
  right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 9px; color: var(--asphalt-4); font-weight: 700;
  background: rgba(255,255,255,.7);
  padding: 0 4px;
  border-radius: 2px;
}
.vote-btn { font-size: 11px; }
.vote-btn.voted {
  background: var(--lime-3);
  color: var(--asphalt-4);
  cursor: default;
  border-color: var(--lime-3);
}
.mx-foot {
  display: flex; justify-content: center;
  margin-top: 16px;
  font-size: 13px;
}

/* =========== GAME GRID =========== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.game-grid.cols-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.game-card, .live-card {
  position: relative;
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .2s;
}
.game-card:hover, .live-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 12px 28px rgba(0,0,0,.4), 0 0 0 1px rgba(199,244,100,.2);
}
.game-card .thumb, .live-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--asphalt-3);
}
.live-card .thumb { aspect-ratio: 16 / 9; }
.game-card .body, .live-card .body {
  padding: 12px 14px 14px;
}
.game-card h4, .live-card h4 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.game-card .meta {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.game-card .meta .mono { color: var(--lime); }
.game-card .tag, .live-card .live-badge {
  position: absolute; top: 8px; left: 8px;
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 10px;
  background: var(--orange);
  color: var(--asphalt-4);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0;
  text-transform: none;
  z-index: 2;
  transform: rotate(-3deg);
}
.game-card .tag.lime { background: var(--lime); }
.game-card .tag.red  { background: var(--red-graf); color: #fff; }
.game-card .tag.orange { background: var(--orange); }
.live-card .live-badge {
  background: var(--red-graf);
  color: #fff;
  font-family:'Bungee','Mitr',sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  animation: blink 1.4s infinite;
}
.provider-tag {
  position: absolute; top: 8px; right: 8px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 9px;
  background: var(--asphalt-4);
  color: var(--lime);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .04em;
  z-index: 2;
  border: 1px solid var(--line);
}
.play-btn {
  width: 100%;
  padding: 9px;
  background: var(--lime);
  color: var(--asphalt-4);
  border: none;
  border-radius: 6px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
}
.play-btn:hover { background: var(--lime-2); }
.live-card .info {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.live-card .info strong { color: var(--lime); font-weight: 600; }

/* =========== TABLES =========== */
.tbl {
  width: 100%;
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  border-collapse: collapse;
  font-size: 13px;
}
.tbl thead {
  background: var(--asphalt-3);
  border-bottom: 2px solid var(--lime);
}
.tbl th {
  padding: 12px 14px;
  text-align: left;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-2);
  font-weight: 400;
}
.tbl td {
  padding: 11px 14px;
  border-top: 1px solid var(--line-2);
  vertical-align: middle;
}
.tbl tbody tr:hover { background: var(--asphalt-3); }
.tbl .live-tag {
  background: var(--red-graf);
  color: #fff;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  letter-spacing: .04em;
  animation: blink 1.4s infinite;
}
.odds-btn {
  background: var(--asphalt-4);
  color: var(--lime);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 4px;
  font-family:'JetBrains Mono','Mitr',monospace;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  min-width: 56px;
}
.odds-btn:hover {
  background: var(--lime);
  color: var(--asphalt-4);
  border-color: var(--lime);
  transform: translateY(-1px);
}
.odds-btn.selected {
  background: var(--lime);
  color: var(--asphalt-4);
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(199,244,100,.25);
}
.amt { color: var(--lime); font-family:'JetBrains Mono','Mitr',monospace; font-weight: 700; }

@media (max-width: 700px) {
  .tbl { font-size: 12px; }
  .tbl th, .tbl td { padding: 8px 10px; }
}

.tbl-feed tbody tr {
  transition: background .3s;
}
.new-row { animation: row-flash 1.2s ease; }
@keyframes row-flash {
  0%   { background: rgba(199,244,100, .25); }
  100% { background: transparent; }
}

/* =========== LOTTERY GRID =========== */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.lottery-card {
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  position: relative;
}
.lottery-card:hover { border-color: var(--lime); }
.lot-emoji { font-size: 32px; margin-bottom: 6px; }
.lottery-card h4 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 13px;
  letter-spacing: .02em;
}
.lottery-card .dim {
  font-size: 11px;
  margin-bottom: 12px;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.unit {
  background: var(--asphalt-4);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 6px 8px;
  min-width: 40px;
  text-align: center;
}
.unit .num {
  font-family:'JetBrains Mono','Mitr',monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--lime);
}
.unit span {
  font-size: 9px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* =========== PROVIDER WALL =========== */
.provider-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.prov {
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 16px 10px 10px;
  text-align: center;
  transition: transform .15s, border-color .15s;
}
.prov:hover { transform: translateY(-2px); border-color: var(--lime); }
.prov img {
  width: 48px; height: 48px;
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(.95);
}
.prov span {
  display: block;
  font-size: 11px;
  color: var(--text-2);
  margin-top: 6px;
  font-family:'Bungee','Mitr',sans-serif;
  letter-spacing: .02em;
}

/* =========== BANK RAIL — compact pill row in header sub-bar =========== */
.bank-rail {
  background:
    linear-gradient(180deg, var(--asphalt-3) 0%, var(--asphalt-2) 100%),
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(199,244,100,.025) 11px 12px);
  border-top: 1px solid var(--line-2);
  border-bottom: 2px solid var(--lime);
  padding: 8px 0;
  position: relative;
}
.bank-rail::before {
  /* tape-edge motif inherited from streetwear DNA */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: repeating-linear-gradient(90deg,
    var(--lime) 0 14px, var(--asphalt-4) 14px 18px);
  opacity: .7;
}
.bank-rail .container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 48px;
}
.bank-rail-head {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px dashed rgba(199, 244, 100, .25);
}
.bank-rail-title {
  font-family: 'Bungee', 'Mitr', sans-serif;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--lime);
  text-transform: uppercase;
}
.bank-rail-sub {
  font-family: 'Permanent Marker', 'Mitr', cursive;
  font-size: 11px;
  color: var(--text-2);
  transform: rotate(-2deg);
  display: inline-block;
}

.bank-pills {
  display: flex;
  gap: 8px;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
}

/* PILL — sneaker-store quick-view aesthetic */
.bank-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 4px;
  background: var(--asphalt);
  border: 1px solid var(--lime);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.bank-pill:hover {
  transform: scale(1.05);
  background: var(--asphalt-2);
  box-shadow:
    0 0 0 2px rgba(199, 244, 100, .25),
    0 0 18px rgba(199, 244, 100, .45),
    0 0 38px rgba(199, 244, 100, .18);
}
.bank-pill:active { transform: scale(1.02); }

.bank-pill-logo {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  /* ring around the logo — sneaker-store accent */
  box-shadow: 0 0 0 1px var(--asphalt-4) inset;
}
/* duotone-brand: bank logo blends with lime via mix-blend-mode lighten */
.bank-pill-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  mix-blend-mode: lighten;
  filter: brightness(.95) contrast(1.25);
}

.bank-pill-code {
  font-family: 'Bungee', 'Mitr', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

/* mixtape track # tag — hidden until hover */
.bank-pill-track {
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translate(-50%, -50%) rotate(-3deg);
  background: var(--orange);
  color: var(--asphalt-4);
  font-family: 'Permanent Marker', 'Mitr', cursive;
  font-size: 10px;
  letter-spacing: .02em;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
  transition: opacity .18s ease, top .18s ease;
}
.bank-pill:hover .bank-pill-track,
.bank-pill:focus-visible .bank-pill-track {
  opacity: 1;
  top: -10px;
}
.bank-pill:focus-visible {
  outline: none;
  transform: scale(1.05);
  box-shadow:
    0 0 0 2px rgba(199, 244, 100, .35),
    0 0 18px rgba(199, 244, 100, .45);
}

/* Mobile — wrap to 2 rows, keep pills compact */
@media (max-width: 768px) {
  .bank-rail { padding: 8px 0; }
  .bank-rail .container { gap: 10px; min-height: 44px; }
  .bank-rail-head {
    width: 100%;
    padding-right: 0;
    padding-bottom: 6px;
    border-right: none;
    border-bottom: 1px dashed rgba(199, 244, 100, .2);
  }
  .bank-pills { gap: 6px; }
  .bank-pill { height: 32px; padding: 0 10px 0 3px; gap: 5px; }
  .bank-pill-logo { width: 26px; height: 26px; }
  .bank-pill-logo img { width: 20px; height: 20px; }
  .bank-pill-code { font-size: 10px; }
}

/* =========== WHY GRID =========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.why {
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--lime);
  border-radius: 8px;
  padding: 22px 20px;
  transition: transform .2s;
}
.why:hover { transform: translateY(-3px); }
.why-icon { font-size: 32px; margin-bottom: 8px; }
.why h3 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.why p { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* =========== CTA BLOCK =========== */
.cta-block {
  margin: 40px 0;
  padding: 36px 28px;
  background:
    /* graffiti pattern */
    radial-gradient(circle at 90% 110%, rgba(199,244,100,.15) 0%, transparent 50%),
    radial-gradient(circle at 5% -10%, rgba(255,165,0,.1) 0%, transparent 60%),
    var(--asphalt-2);
  border: 2px solid var(--lime);
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: 'LET\\'S GO';
  position: absolute;
  bottom: -20px; right: -10px;
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 80px;
  color: rgba(255,7,58, .08);
  transform: rotate(-8deg);
  pointer-events: none;
  letter-spacing: -.02em;
}
.cta-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
  position: relative; z-index: 2;
}
.cta-block p { font-size: 16px; margin-bottom: 24px; position: relative; z-index: 2; }
.cta-block .row { justify-content: center; position: relative; z-index: 2; }

/* =========== INDOOR GYM PAGE =========== */
.gym-floor-plan {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.gym-area {
  background: var(--asphalt-2);
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 22px 20px;
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.gym-area:hover { border-color: var(--lime); transform: translateY(-3px); }
.ga-icon { font-size: 38px; margin-bottom: 8px; }
.gym-area h3 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.gym-area p {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 14px;
  min-height: 36px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.mission-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 12px 16px;
}
.mission-card.done { border-left: 3px solid var(--lime); }
.m-icon { font-size: 22px; text-align: center; }
.m-body h4 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 12px;
  margin-bottom: 2px;
  letter-spacing: .02em;
}
.m-body p { font-size: 11px; }
.m-reward {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 12px;
  letter-spacing: .02em;
}

/* =========== FILTER BAR =========== */
.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.chip {
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 30px;
  padding: 8px 14px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.chip:hover { color: var(--lime); border-color: var(--lime); }
.chip.active {
  background: var(--lime);
  color: var(--asphalt-4);
  border-color: var(--lime);
}

/* =========== PROMO GRID =========== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.promo-card {
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.promo-card:hover { transform: translateY(-3px); border-color: var(--lime); }
.promo-tag {
  position: absolute;
  top: 14px; right: -28px;
  padding: 4px 32px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--asphalt-4);
  transform: rotate(35deg);
}
.lime-bg { background: var(--lime); }
.orange-bg { background: var(--orange); }
.red-bg { background: var(--red-graf); color: #fff; }
.promo-card h3 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.promo-amt {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.promo-amt span {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 22px;
  letter-spacing: .02em;
}
.promo-card p { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }

/* =========== ACCOUNT PAGE =========== */
.acct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 760px) { .acct-grid { grid-template-columns: 1fr; } }
.acct-card {
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px;
}
.acct-card h2 {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--orange);
  font-family:'Permanent Marker','Mitr',cursive;
  text-transform: none;
  letter-spacing: 0;
}
.acct-card h3 {
  font-size: 14px;
  color: var(--orange);
  font-family:'Permanent Marker','Mitr',cursive;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.form { display: flex; flex-direction: column; gap: 12px; }
.form label {
  display: flex; flex-direction: column;
  font-size: 12px;
  color: var(--text-2);
  gap: 6px;
}
.form input, .form select {
  background: var(--asphalt-4);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 11px 14px;
  color: var(--text);
  font-family: 'Mitr', sans-serif;
  font-size: 14px;
  transition: border-color .15s;
}
.form input:focus, .form select:focus {
  outline: none;
  border-color: var(--lime);
}
.form .check {
  flex-direction: row; align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 4px;
}
.form .check input { margin-top: 3px; }
.acct-foot {
  display: flex; gap: 16px; justify-content: center;
  margin-top: 14px;
  font-size: 12px;
}

/* =========== CONTACT GRID =========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.contact-card {
  background: var(--asphalt-2);
  border: 2px solid var(--line-2);
  border-radius: 8px;
  padding: 22px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s, border-color .15s;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card.line:hover { border-color: var(--line-green); }
.contact-card.tg:hover   { border-color: #0088cc; }
.contact-card.phone:hover{ border-color: var(--lime); }
.contact-card.mail:hover { border-color: var(--orange); }
.ctc-icon { font-size: 38px; margin-bottom: 8px; }
.contact-card h3 {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 13px;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.contact-card p { font-size: 12px; color: var(--text-2); margin-bottom: 12px; }
.contact-cta {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 11px;
  color: var(--lime);
  letter-spacing: .04em;
}

/* =========== FAQ =========== */
.faq { display: flex; flex-direction: column; gap: 8px; }
details {
  background: var(--asphalt-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
}
details[open] { border-color: var(--lime); }
summary {
  padding: 14px 18px;
  cursor: pointer;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 13px;
  letter-spacing: .02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: '+';
  font-size: 22px;
  color: var(--lime);
  transition: transform .2s;
}
details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
summary::-webkit-details-marker { display: none; }
details p {
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* =========== FOOTER =========== */
.main-footer {
  background: var(--asphalt-4);
  margin-top: 60px;
  padding: 40px 0 20px;
  border-top: 4px solid var(--lime);
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 800px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .ft-grid { grid-template-columns: 1fr; } }
.ft-brand {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 22px;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.ft-brand em {
  font-style: normal;
  color: var(--orange);
  font-family:'Permanent Marker','Mitr',cursive;
  text-transform: lowercase;
}
.ft-license {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--asphalt-3);
  border-left: 3px solid var(--lime);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.7;
}
.ft-grid h4 {
  font-family:'Permanent Marker','Mitr',cursive;
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--orange);
  text-transform: none;
  letter-spacing: 0;
}
.ft-grid ul { list-style: none; }
.ft-grid li { margin-bottom: 8px; }
.ft-grid a { color: var(--text-2); font-size: 13px; }
.ft-grid a:hover { color: var(--lime); }

.ft-bot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.ft-copy {
  font-size: 11px;
  text-align: center;
  font-family:'JetBrains Mono','Mitr',monospace;
  letter-spacing: .04em;
}

/* =========== FAB =========== */
.fab-stack {
  position: fixed;
  right: 16px; bottom: 18px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 60;
}
.fab {
  display: flex; flex-direction: column; align-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--asphalt-2);
  border: 2px solid var(--lime);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s, background .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
  font-size: 18px;
}
.fab:hover { transform: scale(1.08); }
.fab span { line-height: 1; }
.fab small {
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 7px;
  margin-top: 2px;
  color: var(--text-2);
  letter-spacing: .04em;
}
.fab-line { background: var(--line-green); border-color: var(--line-green); }
.fab-line small { color: rgba(255,255,255,.85); }
.fab-tg   { background: #0088CC; border-color: #0088CC; }
.fab-tg small { color: rgba(255,255,255,.85); }

/* =========== TOAST =========== */
.toast {
  position: fixed;
  bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--lime);
  color: var(--asphalt-4);
  padding: 12px 22px;
  border-radius: 8px;
  font-family:'Bungee','Mitr',sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 2px var(--asphalt-4);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  max-width: 90%;
  text-align: center;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========== UTIL =========== */
@media (max-width: 700px) {
  header.main .container { padding: 12px; }
  .ribbon .container { font-size: 12px; }
  nav.main-nav { top: 64px; }
  .hero-content { padding: 24px 18px; }
  .hero-stat-row { gap: 14px; }
  .hero-stat strong { font-size: 18px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
