/* ============================================================
   KINGS OF THE STREET — Králi Ulice
   style.css
   Mobile-first · No frameworks · Vanilla CSS
   ============================================================ */

@font-face {
  font-family: 'Road Rage';
  src: url('../assets/fonts/Road_Rage.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TOKENS ── */
:root {
  --bg:        #0A0A0A;
  --surface:   #0f0f0f;
  --surface2:  #080808;
  --text:      #E8E8E8;
  --muted:     rgba(232,232,232,0.45);
  --dim:       rgba(232,232,232,0.12);
  --red:       #C41E1E;
  --red-dark:  #a31818;
  --gold:      #D4AF37;
  --border:    rgba(232,232,232,0.08);

  --font-h: 'Bebas Neue', sans-serif;
  --font-b: 'Inter', sans-serif;

  --nav-h:  72px;
  --wrap:   1200px;
  --pad:    clamp(20px, 5vw, 64px);
  --sec:    clamp(80px, 10vw, 140px);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── RED JOURNEY LINE — fixed left edge ── */
body::before {
  content: '';
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  z-index: 9999;
  pointer-events: none;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── NOISE LAYER (reusable on sections) ── */
.noise-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: var(--sec) 0; position: relative; }

/* ── TYPOGRAPHY ── */
.section-heading {
  font-family: var(--font-h);
  font-size: clamp(52px, 9vw, 108px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.section-header { margin-bottom: clamp(48px, 7vw, 88px); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-h);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, color 0.18s;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  white-space: nowrap;
}

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

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(232,232,232,0.35);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

/* ── CROWN SVG ── */
.crown-svg { color: var(--text); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--pad);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  /* invert black logo to white on dark bg */
  filter: invert(1) brightness(1.1);
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 10;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── NAV OVERLAY ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8,8,8,0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav-overlay:not([hidden]) { transform: translateX(0); }
.nav-overlay[hidden] { display: flex; }

.nav-overlay__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 26px;
  color: var(--muted);
  padding: 10px;
  transition: color 0.18s;
}
.nav-overlay__close:hover { color: var(--text); }

.nav-overlay__links { list-style: none; margin-bottom: 48px; }

.nav-overlay__link {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(52px, 12vw, 88px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.12);
  line-height: 1.05;
  transition: color 0.2s;
}
.nav-overlay__link:hover { color: var(--text); }

.nav-overlay__socials { display: flex; gap: 24px; }

.nav-overlay__social {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-overlay__social:hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Fallback when no media loads */
  background: radial-gradient(ellipse at 30% 60%, #1a0808 0%, #0A0A0A 60%);
}

/* Media container — hidden until JS activates it */
.hero__media { position: absolute; inset: 0; z-index: 0; display: none; }
.hero__media.active { display: block; }

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Hide any native browser video UI */
.hero__media video::-webkit-media-controls { display: none !important; }
.hero__media video::-webkit-media-controls-enclosure { display: none !important; }

/* Gradient overlay — heavier at bottom */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.25)  0%,
    rgba(10,10,10,0.35)  35%,
    rgba(10,10,10,0.65)  65%,
    rgba(10,10,10,0.97) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--nav-h) var(--pad) 0;
  max-width: 1100px;
  width: 100%;
}

.hero__title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 0.6vw, 10px);
  font-family: 'Road Rage', var(--font-h);
  font-size: clamp(72px, 14vw, 190px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__title-img {
  display: block;
  width: clamp(200px, 38vw, 520px);
  height: auto;
  filter: invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.55));
}

.hero__title-x {
  color: var(--red);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  transform: translateY(-0.55em);
}

.hero__subtitle {
  font-size: clamp(11px, 1.6vw, 15px);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.6);
  margin-bottom: 44px;
}

/* ── Countdown ── */
.countdown {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(232,232,232,0.12);
  backdrop-filter: blur(6px);
  padding: 14px 18px 10px;
  min-width: 74px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.countdown__num {
  font-family: var(--font-h);
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.countdown__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.4);
  margin-top: 5px;
}

.countdown__sep {
  font-family: var(--font-h);
  font-size: clamp(30px, 4.5vw, 48px);
  color: var(--red);
  opacity: 0.65;
  margin-bottom: 22px;
  line-height: 1;
}

/* ── Hero CTAs ── */
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Scroll indicator ── */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-text {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.3);
}

.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(232,232,232,0.3), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.7; transform: scaleY(0.55); }
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--red);
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.announcement-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.announcement-bar__track {
  display: flex;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.announcement-bar__text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding-right: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  margin-bottom: clamp(60px, 9vw, 112px);
}

.about__body {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: rgba(232,232,232,0.65);
  margin-bottom: 18px;
}

.about__founder {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.35);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 28px;
}
.about__founder strong { color: var(--gold); }

.about__visual { aspect-ratio: 1/1; }

.about__image-frame {
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #141010 0%, #0c0c0c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,30,30,0.04) 0%, transparent 55%);
}

.about__image-placeholder { display: flex; align-items: center; justify-content: center; }

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

/* ── Stats ── */
.stats {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
}

.stats__item {
  flex: 1;
  padding: clamp(24px, 4vw, 52px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.stats__num {
  font-family: var(--font-h);
  font-size: clamp(52px, 7vw, 84px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stats__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* EVENT section removed */
.event { display: none; }

/* ============================================================
   TOURNAMENTS
   ============================================================ */
.tournaments { background: var(--bg); }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.tour-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* Poster image wrapper */
.tour-card__poster {
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.tour-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

/* Red numeral — clearly below the card */
.tour-card__num {
  font-family: var(--font-h);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1;
  padding-left: 2px;
}

@media (hover: hover) {
  .tour-card:hover .tour-card__poster { border-color: rgba(196,30,30,0.5); }
  .tour-card:hover .tour-card__img { transform: scale(1.04); }
}

@media (max-width: 900px) {
  .tour-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px); }
}
@media (max-width: 540px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ============================================================
   HIGHLIGHTS — YouTube video grid
   ============================================================ */
.highlights { background: var(--bg); }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(40px, 6vw, 64px);
}

.yt-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.yt-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.yt-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s;
  filter: brightness(0.85);
}

.yt-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.35);
  color: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
  /* YouTube red circle */
}

.yt-card__play svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  transition: transform 0.2s;
}

@media (hover: hover) {
  .yt-card:hover .yt-card__thumb { border-color: var(--red); }
  .yt-card:hover img { transform: scale(1.04); filter: brightness(1); }
  .yt-card:hover .yt-card__play { background: rgba(196,30,30,0.55); color: #fff; }
  .yt-card:hover .yt-card__play svg { transform: scale(1.1); }
}

/* Active iframe replaces thumbnail */
.yt-card__thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-card__caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.2s;
}
.yt-card:hover .yt-card__caption { color: var(--text); }

.yt-card__tag {
  display: inline-block;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.15em;
  border: 1px solid rgba(212,175,55,0.3);
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.highlights__cta { text-align: center; }

@media (max-width: 768px) {
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .yt-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMMUNITY — Instagram
   ============================================================ */
.community { background: var(--surface2); }

/* Profile header row */
.ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
}

.ig-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ig-profile__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.ig-profile__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ig-profile__handle {
  font-family: var(--font-h);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.ig-profile__desc {
  font-size: 12px;
  color: var(--muted);
}

.ig-stats {
  display: flex;
  gap: 28px;
}

.ig-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ig-stats__item strong {
  font-family: var(--font-h);
  font-size: 28px;
  color: var(--text);
  line-height: 1;
}

.ig-stats__item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Instagram post grid ── */
/* ── Instagram tile grid ── */
.ig-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.ig-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
}

/* IG photo background — real image with cover sizing */
.ig-post__bg {
  position: absolute;
  inset: 0;
  background: #111 center/cover no-repeat;
  transition: transform 0.45s ease;
}

/* IG gradient border on hover */
.ig-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  pointer-events: none;
}

/* Inner padding to show gradient border */
.ig-post__content {
  position: absolute;
  inset: 2px;
  background: rgba(10,10,10,0.52);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s;
}

.ig-post__icon {
  width: 32px;
  height: 32px;
  color: rgba(232,232,232,0.2);
  transition: color 0.3s, transform 0.3s;
}

.ig-post__hover-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232,232,232,0);
  transition: color 0.3s;
}

@media (hover: hover) {
  .ig-post:hover::after { opacity: 1; }
  .ig-post:hover .ig-post__bg { transform: scale(1.04); }
  .ig-post:hover .ig-post__content { background: rgba(10,10,10,0.7); }
  .ig-post:hover .ig-post__icon { color: #fff; transform: scale(1.15); }
  .ig-post:hover .ig-post__hover-label { color: rgba(232,232,232,0.7); }
}

.ig-post:active .ig-post__icon { color: #fff; }

/* ── Instagram lightbox ── */
.ig-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: lbFadeIn 0.25s ease;
}

.ig-lightbox[hidden] { display: none; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ig-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(232,232,232,0.1);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.ig-lightbox__close:hover { background: rgba(232,232,232,0.2); }

.ig-lightbox__inner {
  width: 100%;
  max-width: 480px;
  height: 85vh;
  max-height: 640px;
  background: #fff;
  overflow: hidden;
}

.ig-lightbox__inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.ig-cta { text-align: center; }

@media (max-width: 768px) {
  .ig-posts { grid-template-columns: repeat(3, 1fr); }
  .ig-lightbox__inner { max-width: 100%; height: 90vh; }
}
@media (max-width: 480px) {
  .ig-posts { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   BKFC — Fighters on World Stage
   ============================================================ */
.bkfc { background: var(--bg); }
.bkfc--alt { background: var(--surface); border-top: 1px solid var(--border); }

.bkfc__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.bkfc__body {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: rgba(232,232,232,0.65);
  margin-bottom: 18px;
}

.bkfc__fighter-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.bkfc__fighter-img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(160deg, #1a1010 0%, #111 100%);
}

.bkfc__fighter-info {
  padding: 20px 22px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bkfc__fighter-name {
  font-family: var(--font-h);
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.bkfc__fighter-org {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.bkfc__fighter-badges {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.bkfc__badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 3px 10px;
  color: var(--muted);
}

.bkfc__badge--red {
  border-color: rgba(196,30,30,0.5);
  color: var(--red);
}

@media (max-width: 768px) {
  .bkfc__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ig-header { flex-direction: column; align-items: flex-start; }
  .ig-stats { gap: 20px; }
}
@media (max-width: 480px) {
}

/* ============================================================
   TICKETS
   ============================================================ */
.tickets { background: var(--surface2); }

.tickets__sub {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.35);
  margin-top: 14px;
}

.tickets__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 860px;
  margin: 0 auto;
}

.ticket-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.ticket-card__stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.ticket-card__stripe--red  { background: var(--red); }
.ticket-card__stripe--gold { background: var(--gold); }

.ticket-card__type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticket-card__price {
  font-family: var(--font-h);
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
}
.ticket-card__price strong { font-size: clamp(44px, 7vw, 72px); }

.ticket-card__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.ticket-card__perks li {
  font-size: 14px;
  color: rgba(232,232,232,0.55);
  padding-left: 16px;
  position: relative;
}
.ticket-card__perks li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(232,232,232,0.2);
}

.ticket-card__note {
  font-size: 11px;
  color: rgba(232,232,232,0.28);
  letter-spacing: 0.04em;
}

/* ============================================================
   ESHOP CTA
   ============================================================ */
.eshop { background: var(--surface); border-top: 1px solid var(--border); }

.eshop__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.eshop__heading {
  font-family: var(--font-h);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eshop__body {
  font-size: 15px;
  color: rgba(232,232,232,0.55);
  max-width: 520px;
}

.eshop__inner .btn { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: clamp(44px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }

.footer__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232,232,232,0.35);
  transition: color 0.18s;
}
.footer__link:hover { color: var(--text); }

.footer__socials { display: flex; gap: 14px; align-items: center; }

.footer__social {
  display: flex;
  align-items: center;
  color: rgba(232,232,232,0.35);
  transition: color 0.18s;
}
.footer__social:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 11px;
  color: rgba(232,232,232,0.25);
  letter-spacing: 0.04em;
}
.footer__credit strong { color: rgba(232,232,232,0.4); }

/* ============================================================
   ANIMATIONS — Intersection Observer
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-up--delay { transition-delay: 0.16s; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-fade-up { opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; }
  .announcement-bar__track { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__visual {
    order: -1;
    aspect-ratio: 16 / 7;
  }

  .fight-grid { grid-template-columns: 1fr; }
  .fight-card--main { grid-column: 1; }

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

/* Mobile */
@media (max-width: 600px) {
  :root { --sec: clamp(60px, 14vw, 100px); }

  .countdown { gap: 3px; }
  .countdown__item { min-width: 58px; padding: 10px 12px 8px; }
  .countdown__sep { font-size: 26px; margin-bottom: 20px; }

  .hero__ctas { flex-direction: column; align-items: center; }

  /* Shift video to show the fight action rather than the edge */
  .hero__media video { object-position: 65% center; }

  .highlights__grid { grid-template-columns: 1fr; }

  .stats {
    flex-direction: column;
    gap: 0;
  }
  .stats__divider {
    width: 48px;
    height: 1px;
    align-self: center;
    margin: 0;
  }

  .tickets__grid { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

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

  /* Smaller nav links so close button stays on screen */
  .nav-overlay__link { font-size: clamp(36px, 10vw, 52px); }
}

/* Mobile nav — bigger, more obvious close button */
@media (max-width: 960px) {
  .nav-overlay__close {
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    font-size: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--text);
    transition: background 0.18s, color 0.18s;
  }
  .nav-overlay__close:hover,
  .nav-overlay__close:focus-visible {
    background: rgba(255,255,255,0.16);
    color: #fff;
  }
}
