/* ============================================================
   MILPITAS BOXING — STYLESHEET
   Premium Gritty Dark Mode / Cinematic Authenticity
   ============================================================ */

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

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --black:      #080808;
  --surface:    #111111;
  --surface-2:  #181818;
  --border:     #242424;
  --red:        #cc0000;
  --red-hover:  #e60000;
  --white:      #f0f0f0;
  --silver:     #a8a8a8;
  --gray:       #585858;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h:      72px;
  --pad:        100px;
  --max-w:      1200px;
  --ease:       0.2s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.5rem, 8vw, 8rem); }
h2 { font-size: clamp(2rem,   4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1rem; letter-spacing: 0.12em; }

p  { color: var(--silver); line-height: 1.7; }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--pad) 0; }

.section-header            { margin-bottom: 56px; }
.section-header.centered   { text-align: center; }

.divider {
  width: 48px; height: 3px;
  background: var(--red);
  margin-top: 14px;
}
.divider.centered { margin: 14px auto 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--ease);
  border-radius: 0;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* ============================================================
   LOGO
   ============================================================ */
.logo-img {
  height: 160px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text {
  display: none; /* shown via onerror fallback if image missing */
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.logo-text span { color: var(--red); }

/* Footer logo is slightly larger */
.footer-logo-img { height: 200px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,8,0.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--ease);
}

/* Mobile nav open state */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed !important;
  top: var(--nav-h) !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: calc(100vh - var(--nav-h)) !important;
  background: #080808 !important;   /* fully solid — no bleed-through */
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 1100;   /* above nav (1000) so nothing bleeds through */
}
.nav-links.open a { font-size: 1.5rem; letter-spacing: 0.2em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Desktop hero reel (video + photo slideshow) ──────────────── */
.hero-reel {
  position: absolute;
  inset: 0;
  z-index: 0;           /* creates stacking context — overlay sits above */
  background: #0a0a0a;
}
.reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
}
.reel-slide.active {
  opacity: 1;
  z-index: 1;
}
/* Cinematic film treatment — same look as old single video */
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(18%) saturate(70%) contrast(1.08) brightness(1.0);
}
.reel-photo {
  filter: sepia(18%) saturate(70%) contrast(1.08) brightness(1.0);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(8,8,8,0.60) 0%,
    rgba(8,8,8,0.32) 55%,
    rgba(8,8,8,0.10) 100%
  );
}
/* Fallback photo bg — sits behind the video */
.hero-bg {
  position: absolute;
  inset: 0;
  background: #111;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Mobile hero photo slideshow — hidden on desktop, shown on mobile */
.hero-slideshow {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a;
}
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.88) 0%, rgba(8,8,8,0.35) 60%, rgba(8,8,8,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  animation: heroSlide 45s infinite;
}
/* 9 slides × 5s each = 45s cycle */
.hero-slide:nth-child(1) { animation-delay:  0s; }
.hero-slide:nth-child(2) { animation-delay:  5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }
.hero-slide:nth-child(6) { animation-delay: 25s; }
.hero-slide:nth-child(7) { animation-delay: 30s; }
.hero-slide:nth-child(8) { animation-delay: 35s; }
.hero-slide:nth-child(9) { animation-delay: 40s; }

@keyframes heroSlide {
  0%    { opacity: 0; }
  2%    { opacity: 1; }  /* ~1s fade in */
  11%   { opacity: 1; }  /* hold ~4s */
  13%   { opacity: 0; }  /* ~1s fade out */
  100%  { opacity: 0; }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8,8,8,0.96) 0%,
    rgba(8,8,8,0.78) 55%,
    rgba(8,8,8,0.35) 100%
  );
}

/* Warm photo filter — apply to any img for consistent tone */
.warm { filter: sepia(18%) saturate(75%) contrast(1.06) brightness(0.92); }

/* YouTube video grid section */
.yt-section {
  background: var(--black);
  padding: 80px 0 88px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}
.yt-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  border: none;
  transition: opacity 0.2s ease;
}
.yt-card:hover {
  opacity: 0.9;
}
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 820px;
}

.hero-est {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  font-size: clamp(4.5rem, 10vw, 11rem);
  line-height: 0.88;
  margin-bottom: 28px;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--silver);
  max-width: 460px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.35;
  animation: bounce 2.2s ease-in-out infinite;
}
.hero-scroll-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--white), transparent);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 5px;
}
.stat-div {
  width: 1px; height: 40px;
  background: var(--border);
}

/* ============================================================
   CLASSES GRID
   ============================================================ */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.class-card {
  background: var(--surface);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background var(--ease), border-color var(--ease);
}
.class-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height 0.3s ease;
}
.class-card:hover { background: var(--surface-2); border-color: #2e2e2e; }
.class-card:hover::before { height: 100%; }

.class-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.2);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.class-card h3 { font-size: 1.15rem; margin-bottom: 12px; letter-spacing: 0.06em; }
.class-card p  { font-size: 0.88rem; }
.class-note    { margin-top: 12px; font-size: 0.78rem; color: var(--gray); font-style: italic; }

.classes-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--red);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band .sub { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.05rem; }

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-teaser-text h2 { margin-bottom: 24px; }
.about-teaser-text p  { margin-bottom: 16px; }
.about-teaser-text .btn { margin-top: 24px; }

.about-photo {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.stars { color: var(--red); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  margin-bottom: 24px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
}
.pricing-card.featured { border-color: var(--red); }
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  padding: 5px 18px;
  white-space: nowrap;
}
.pricing-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pricing-price   { margin: 20px 0; }
.pricing-amount  {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}
.pricing-period { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }

.pricing-features { margin: 20px 0 28px; }
.pricing-features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--silver);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pricing-features li::before { content: '—'; color: var(--red); flex-shrink: 0; }
.pricing-features li:last-child { border-bottom: none; }

.pricing-note { text-align: center; color: var(--gray); font-size: 0.85rem; margin-top: 12px; }
.pricing-note a { color: var(--red); text-decoration: underline; }

/* ============================================================
   LOCATION
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.location-info {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px 40px;
}
.location-info h3 { font-size: 1.5rem; margin-bottom: 36px; }

.loc-block       { margin-bottom: 28px; }
.loc-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.loc-block p, .loc-block a { color: var(--silver); font-size: 0.92rem; }
.loc-block a:hover { color: var(--white); }

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day  { color: var(--silver); }
.hours-time { color: var(--white); font-weight: 500; }

.map-frame {
  background: var(--surface-2);
  border: 1px solid var(--border);
  min-height: 400px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: grayscale(1) invert(0.88) contrast(0.88);
  opacity: 0.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--red); }
.footer-tagline { color: var(--gray); font-size: 0.88rem; margin-bottom: 24px; line-height: 1.65; }

.footer-social   { display: flex; gap: 10px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0;
  transition: var(--ease);
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul li         { margin-bottom: 10px; }
.footer-col ul li a       { color: var(--gray); font-size: 0.88rem; transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 140px 0 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   PHOTO PLACEHOLDERS (remove once real photos are added)
   ============================================================ */
.photo-ph {
  background: var(--surface-2);
  border: 1px dashed #2e2e2e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-ph-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.45;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

/* ============================================================
   SCHEDULE PAGE
   ============================================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.schedule-day {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
}
.schedule-day-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--white);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.schedule-day-name span { color: var(--red); font-size: 0.8em; margin-left: 6px; }
.schedule-class {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.schedule-class:last-child { border-bottom: none; }
.schedule-time {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  min-width: 88px;
  margin-top: 2px;
  flex-shrink: 0;
}
.schedule-name  { font-size: 0.9rem; color: var(--white); font-weight: 500; }
.schedule-level { font-size: 0.78rem; color: var(--gray); margin-top: 2px; }

.schedule-closed {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.schedule-closed p { font-size: 0.9rem; }

/* Holiday closures */
.holiday-section { margin-top: 64px; }
.holiday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}
.holiday-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.holiday-bar {
  width: 3px;
  height: 100%;
  min-height: 40px;
  background: var(--red);
  flex-shrink: 0;
}
.holiday-name { font-family: var(--font-display); font-size: 0.95rem; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.holiday-date { font-size: 0.82rem; color: var(--gray); }

/* ============================================================
   ABOUT PAGE — TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--ease);
}
.team-card:hover { border-color: #2e2e2e; }
.team-photo {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: grayscale(0.2) contrast(1.05);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 28px; }
.team-role {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.team-name { font-size: 1.2rem; margin-bottom: 12px; }
.team-bio  { font-size: 0.86rem; line-height: 1.7; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px 40px;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px 40px;
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color var(--ease);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--surface); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 72px; }
  .about-teaser    { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid    { grid-template-columns: 1fr; }
}

/* ============================================================
   INSTAGRAM FEED
   ============================================================ */
.instagram-section { padding: var(--pad) 0; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 32px;
}

.instagram-post {
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-post img,
.instagram-post video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.instagram-post:hover img,
.instagram-post:hover video { transform: scale(1.04); }

.instagram-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.instagram-post:hover .instagram-post-overlay { opacity: 1; }

.instagram-post-icon {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

/* Placeholder state */
.instagram-ph {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.instagram-ph-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.45;
  text-align: center;
  pointer-events: none;
}

.instagram-follow {
  text-align: center;
}
.instagram-handle {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
  display: block;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section { padding: var(--pad) 0; }

.faq-category { margin-bottom: 48px; }
.faq-category:last-child { margin-bottom: 0; }

.faq-category-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-category-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--silver); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), border-color var(--ease), transform 0.3s ease;
  font-size: 0.75rem;
  color: var(--gray);
}
.faq-item.open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding-bottom: 22px;
  color: var(--silver);
  font-size: 0.93rem;
  line-height: 1.75;
  max-width: 680px;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad: 56px; }

  /* Nav is always solid black on mobile — no transparent phase */
  .nav {
    background: rgba(8,8,8,0.97) !important;
    border-bottom-color: var(--border) !important;
    backdrop-filter: blur(12px);
  }

  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }

  /* Prevent inner-page banners from hiding under the fixed nav.
     Use margin-top so the section itself shifts down, not just internal content. */
  .page-header    { margin-top: var(--nav-h); }
  .fightteam-hero { margin-top: var(--nav-h); min-height: 580px; }

  /* Ensure the bg image fills the hero height on mobile.
     !important needed because desktop rule below has no min-width guard. */
  .fightteam-hero-bg {
    position: absolute !important;
    inset: 0;
  }
  .fightteam-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Text container: push down so it has room, add top padding so text isn't clipped */
  .fightteam-hero .container {
    padding-top: 20px;
  }

  /* Hero typography — clamp() uses vw so override explicitly for mobile */
  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
    line-height: 0.9;
  }
  .hero-sub {
    font-size: 0.92rem;
    max-width: 100%;
  }
  .hero-content { padding-bottom: 52px; }

  /* Global heading scale-down */
  h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .stats-grid  { gap: 20px; }
  .stat-div    { display: none; }

  .classes-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }

  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Nav: hide CTA button, keep logo+lang+hamburger */
  .nav .btn-primary { display: none; }
  .logo-img        { height: 48px; }
  .footer-logo-img { height: 90px; }

  /* Page header: reduce excessive padding (inline padding:0 overrides this, but keep for non-inlined headers) */
  .page-header { padding-bottom: 44px; }

  /* Section headers: tighter spacing */
  .section-header { margin-bottom: 36px; }

  /* Stats bar: 2×2 grid instead of cramped single row */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    justify-items: center;
  }

  /* Fighter panels: reduce heavy desktop padding */
  .fighter-info { padding: 40px 24px; }
  .fighter-meta { gap: 12px; }
  .fightteam-sub { font-size: 0.85rem; line-height: 1.6; }

  /* Lang toggle: bigger touch targets */
  .lang-btn { padding: 8px 6px; }

  /* Mobile hero reel — video reframes to portrait, then mobile photos */
  .hero-reel          { top: var(--nav-h); }           /* push below nav */
  .hero-video-overlay { display: block; }              /* keep gradient overlay */
  .hero-slideshow     { display: none; }               /* retired — reel handles mobile now */
  .reel-video         { object-position: center center; } /* center-crop landscape→portrait */

  .yt-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Fighter panel: force flex column so gallery always renders above bio */
  .fighter-panel,
  .fighter-panel.reverse {
    display: flex !important;
    flex-direction: column !important;
    direction: ltr !important;
    min-height: unset;
  }
  .fighter-photo { order: 1; min-height: unset; overflow: visible; }
  .fighter-info  { order: 2; }
  .fighter-achievements  { grid-template-columns: 1fr; }

  /* ── Mobile gallery: full photo + 3 equal thumb blocks below ── */
  .fighter-gallery {
    flex-direction: column !important;
    min-height: unset;
  }

  /* Main photo: portrait default (9:16), switches to 16:9 for landscape */
  .fighter-gallery-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
    aspect-ratio: 9 / 16;
    height: auto;
    min-height: unset;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    transition: aspect-ratio 0.2s ease;
  }
  .fighter-gallery-main.is-landscape {
    aspect-ratio: 16 / 9;
  }
  .fighter-gallery-main .fg-main-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Thumb row: 3 equal fixed-height blocks in a horizontal row */
  .fighter-gallery-thumbs {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    height: 80px;
    flex-shrink: 0;
    gap: 4px;
    min-width: unset;
  }
  .fighter-gallery-thumbs .fg-thumb {
    flex: 1 1 0 !important;
    height: 80px;
    min-width: 0;
  }
}

/* ============================================================
   480px — SMALL PHONES (iPhone SE, older Androids)
   ============================================================ */
@media (max-width: 480px) {
  :root { --pad: 44px; }

  .nav-inner { padding: 0 16px; }

  h2 { font-size: clamp(1.45rem, 7vw, 2.2rem); }

  .hero h1 { font-size: clamp(2rem, 13vw, 3.5rem); }
  .fightteam-tagline { font-size: clamp(2.2rem, 11vw, 3.5rem); margin-bottom: 8px; }

  .stats-grid { gap: 16px 12px; }
  .stat-number { font-size: 1.6rem; }

  .fighter-info { padding: 32px 20px; }
  .fighter-nickname { font-size: clamp(1.7rem, 8vw, 2.5rem); }

  .achievement-badge { padding: 8px 12px; }

  .section-header { margin-bottom: 28px; }

  .footer-grid { gap: 24px; }
}

/* ============================================================
   FIGHT TEAM
   ============================================================ */

/* Hero */
.fightteam-hero {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.fightteam-hero-bg {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
}
.fightteam-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
}
.fightteam-hero .container { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding-bottom: var(--pad); }
.fightteam-tagline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 16px 0 24px;
}
.fightteam-tagline span { color: var(--red); }
.fightteam-sub {
  max-width: 520px;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.7;
}

/* Fighter panels — alternating layout */
.fighter-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-bottom: 1px solid var(--border);
}
.fighter-panel.reverse {
  direction: rtl;
}
.fighter-panel.reverse > * {
  direction: ltr;
}

.fighter-photo {
  position: relative;
  background: var(--surface-2);
  overflow: hidden;
  min-height: 560px;
}
.fighter-photo .photo-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fighter-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.fighter-panel.reverse .fighter-photo-overlay {
  background: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 60%);
}

/* ============================================================
   FIGHT TEAM — PHOTO GALLERY (4 photos per fighter)
   Main (enlarged) + 3 thumbnails on inner edge
   ============================================================ */
.fighter-gallery {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 560px;         /* floor; stretches to match text column in grid */
  align-self: stretch;       /* fills full grid cell height */
}

/* Reversed panel: flip so thumbs sit on inner edge */
.fighter-panel.reverse .fighter-gallery {
  flex-direction: row-reverse;
}

/* ── PORTRAIT MODE (default) ──────────────────────────────────────
   Main photo: natural aspect ratio, fills full gallery height.
   Thumb strip: expands to fill remaining horizontal space.          */
.fighter-gallery-main {
  flex: none;
  /* width set dynamically by JS based on orientation & gallery height */
  max-width: calc(100% - 80px);
  position: relative;
  overflow: hidden;
  background: #111;
  transition: opacity 0.28s ease;
}

.fg-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           /* fills container; no letterboxing */
  object-position: center top;
  z-index: 2;
  filter: sepia(18%) saturate(75%) contrast(1.06) brightness(0.92);
  transition: opacity 0.22s ease;
}
.fg-main-img[src=""] { visibility: hidden; }

.fighter-gallery-main .photo-ph {
  position: absolute;
  inset: 0;
  min-height: unset;
  height: 100%;
  border: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* THUMBNAIL STRIP — portrait mode: fills all remaining width */
.fighter-gallery-thumbs {
  flex: 1;
  min-width: 88px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #0a0a0a;
}

/* ── LANDSCAPE MODE ───────────────────────────────────────────────
   Main photo: fills the full available main area (cover crop).
   Thumb strip: fixed narrow column — same box size as portrait mode. */
.fighter-gallery.mode-landscape .fighter-gallery-main {
  flex: 1;
  aspect-ratio: unset;
  max-width: none;
}

.fighter-gallery.mode-landscape .fg-main-img {
  object-fit: cover;
  object-position: center center;
}

.fighter-gallery.mode-landscape .fighter-gallery-thumbs {
  flex: none;
  width: 120px;
  max-width: 120px;
}

.fg-thumb {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--surface-2);
  padding: 0;
  margin: 0;
  opacity: 0.48;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  outline: none;
}
.fg-thumb:hover { opacity: 0.85; }
.fg-thumb:focus-visible { border-color: var(--red); }
.fg-thumb.pressing { transform: scale(0.92); opacity: 1; }

.fg-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fill the frame — thumbs crop to fit expanded space */
  object-position: center top;
  z-index: 2;
  filter: sepia(18%) saturate(75%) contrast(1.06);
  pointer-events: none;
}
.fg-thumb-img[src=""] { display: none; }

.fighter-gallery-thumbs .photo-ph {
  position: absolute;
  inset: 0;
  min-height: unset;
  height: 100%;
  border: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fighter-gallery-thumbs .photo-ph-label {
  font-size: 0.42rem;
  line-height: 1.4;
  text-align: center;
  padding: 4px;
}

/* ============================================================ */

.fighter-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: var(--black);
}

.fighter-number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.fighter-nickname {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.fighter-nickname-quote {
  color: var(--red);
}

.fighter-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 28px;
}

.fighter-divider {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-bottom: 24px;
}

.fighter-bio {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: 32px;
}

.fighter-achievements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}

.achievement-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--red);
  padding: 10px 14px;
}
.achievement-badge-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 3px;
}
.achievement-badge-value {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.fighter-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}
.fighter-meta-item {
  font-size: 0.78rem;
  color: var(--gray);
}
.fighter-meta-item strong {
  color: var(--silver);
  font-weight: 500;
}

/* ============================================================
   LANGUAGE TOGGLE  (v10)
   ============================================================ */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 4px 2px;
  transition: color 0.18s;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  color: var(--red);
}

.lang-sep {
  color: var(--border);
  font-size: 0.65rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Compact on mobile so it fits beside the hamburger */
@media (max-width: 768px) {
  .lang-toggle {
    margin-right: 4px;
  }
  .lang-btn {
    font-size: 0.62rem;
    padding: 4px 1px;
  }
}

/* Member Login nav item */
.nav-member-item a {
  color: var(--red) !important;
  border: 1px solid rgba(204,0,0,0.35);
  padding: 5px 12px !important;
  border-radius: 2px;
  transition: border-color 0.18s, background 0.18s, color 0.18s !important;
  white-space: nowrap;
}
.nav-member-item a:hover {
  background: rgba(204,0,0,0.08);
  border-color: var(--red);
  color: var(--white) !important;
}
/* In mobile overlay, drop the border and show as full-size link */
.nav-links.open .nav-member-item a {
  border: none;
  padding: 0 !important;
  background: none;
  color: var(--red) !important;
}

/* Fighter social handle */
.fighter-social { margin: 4px 0 0; }
.fighter-ig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--red);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.18s;
}
.fighter-ig:hover { opacity: 1; }

/* ============================================================
   SHOP — Printify product grid
   ============================================================ */
.shop-hero {
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.shop-hero h1 { margin-bottom: 12px; }
.shop-hero p  { color: var(--silver); max-width: 520px; margin: 0 auto; }

/* Loading / error states */
.shop-loading, .shop-error {
  text-align: center;
  padding: 80px 0;
  color: var(--silver);
  font-size: 1rem;
}
.shop-error { color: var(--red); }

/* Product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  padding: 60px 0;
}

/* Product card */
.product-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-2);
  display: block;
}
.product-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.product-card-price {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.product-card-cta {
  margin-top: auto;
  padding-top: 14px;
}

/* Product modal */
.shop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.shop-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.shop-modal {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.shop-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
  transition: color 0.15s;
}
.shop-modal-close:hover { color: var(--white); }

.shop-modal-gallery { background: var(--surface-2); }
.shop-modal-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.shop-modal-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  flex-wrap: wrap;
  background: var(--surface-2);
}
.shop-modal-thumbs img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.shop-modal-thumbs img.active,
.shop-modal-thumbs img:hover { border-color: var(--red); }

.shop-modal-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shop-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.shop-modal-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}
.shop-modal-desc {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.7;
}
.shop-modal-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.shop-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-variant-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--silver);
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.shop-variant-btn:hover,
.shop-variant-btn.selected {
  border-color: var(--red);
  color: var(--white);
  background: rgba(200,20,20,0.1);
}
.shop-buy-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.shop-buy-btn:hover { background: #a00; }
.shop-buy-btn:disabled {
  background: var(--surface-2);
  color: var(--gray);
  cursor: not-allowed;
}

/* Offline / hidden state */
.shop-disabled {
  text-align: center;
  padding: 100px 0;
}
.shop-disabled h2 { margin-bottom: 12px; }
.shop-disabled p  { color: var(--silver); }

/* Disclaimer */
.shop-disclaimer {
  margin: 48px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--silver);
  opacity: 0.7;
  max-width: 520px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .shop-hero { padding: 100px 0 44px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 40px 0; }
  .shop-modal { grid-template-columns: 1fr; }
  .shop-modal-info { padding: 24px 20px; }
}
.fighter-ig-label { color: var(--gray); font-weight: 600; }
