@import url("site-footer.css");
@import url("nav.css");

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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100%;
    scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #080808;
  color: #fff;
  line-height: 1.6;
}

.logo {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  border: none;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(55%) contrast(110%);
  z-index: -1;
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Edits page: crop from top so the head is fully in frame, slightly zoom in */
.edits-page .hero .hero-image {
  object-position: center 42%;
  animation: heroZoomEdits 12s ease-out forwards;
}

@keyframes heroZoomEdits {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

.hero-content {
  position: absolute;
  top: 60%;
  right: 5%;
  max-width: 800px;
  transform: translateY(-50%);
  text-align: center;
  color: white;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  font-weight: 800;
  letter-spacing: 1px;
}

.welcome {
  font-family: 'Poppins', sans-serif;
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 0;
  white-space: nowrap;
}

.main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.8rem;
  margin-top: 5px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: softGlow 4.5s ease-in-out infinite;
  text-shadow: 0 0 6px rgba(255,0,0,0.5), 0 0 14px rgba(0,70,173,0.4);
}

@keyframes softGlow {
  0%, 100% {
    text-shadow: 0 0 6px rgba(255,0,0,0.5), 0 0 14px rgba(0,70,173,0.4);
  }
  50% {
    text-shadow: 0 0 10px rgba(255,0,0,0.7), 0 0 20px rgba(0,70,173,0.6);
  }
}

.subtext {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin: 20px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 12px #ff0000, 0 0 25px #0046ad;
  }
  50% {
    text-shadow: 0 0 25px #0046ad, 0 0 45px #ff0000;
  }
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f1f1f1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 45px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  background-size: 200%;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(255,255,255,0.4), 0 0 60px rgba(200,16,46,0.3);
  background: linear-gradient(90deg, #c8102e, #0046ad);
}

.hero-btn:active {
  transform: scale(0.97);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
}

.btn-secondary {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── Home activity feed (Live now) ────────────────────────────────── */
.home-activity-feed {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-activity-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  color: rgba(244, 244, 245, 0.92);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-activity-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 211, 252, 0.25);
  transform: translateX(2px);
}

.home-activity-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0046ad, #c8102e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.92rem;
  overflow: hidden;
  flex-shrink: 0;
}

.home-activity-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-activity-item__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.home-activity-item__text strong {
  font-weight: 700;
  color: #ffffff;
}

.home-activity-item__text a {
  color: inherit;
  text-decoration: none;
}

.home-activity-item__text a:hover {
  color: #7dd3fc;
}

.home-activity-item__kind {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 6px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: middle;
}

.home-activity-item__kind--signup {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.home-activity-item__kind--comment {
  background: rgba(125, 211, 252, 0.18);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.35);
}

.home-activity-item__time {
  font-size: 0.78rem;
  color: rgba(244, 244, 245, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
}

.home-activity-item.is-skeleton {
  pointer-events: none;
}

.home-activity-item.is-skeleton .home-activity-item__avatar {
  background: rgba(255, 255, 255, 0.06);
  color: transparent;
}

.home-activity-item.is-skeleton .home-activity-item__text,
.home-activity-item.is-skeleton .home-activity-item__time {
  color: rgba(255, 255, 255, 0.25);
}

.home-activity-empty {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(244, 244, 245, 0.55);
}

@media (max-width: 540px) {
  .home-activity-item {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .home-activity-item__time {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* ─── Home newsletter band ─────────────────────────────────────────── */
.home-newsletter-band {
  margin: 0 auto;
  padding: 36px 5%;
  max-width: 100%;
}

.home-newsletter-band__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 60%),
    radial-gradient(circle at bottom left, rgba(98, 40, 215, 0.2), transparent 60%),
    #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}

.home-newsletter-band__kicker {
  color: #7dd3fc;
  margin-bottom: 6px;
}

.home-newsletter-band__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.home-newsletter-band__lead {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.78);
  max-width: 46ch;
}

.home-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-newsletter-form__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.7);
}

.home-newsletter-form__row {
  display: flex;
  gap: 8px;
}

.home-newsletter-form__input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 7, 16, 0.7);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-newsletter-form__input::placeholder {
  color: rgba(244, 244, 245, 0.45);
}

.home-newsletter-form__input:focus {
  border-color: #7dd3fc;
  background: rgba(7, 7, 16, 0.9);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.18);
}

.home-newsletter-form__input.is-invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.home-newsletter-form__btn.hero-btn {
  margin: 0;
  flex-shrink: 0;
  padding: 12px 20px;
}

.home-newsletter-form__btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.home-newsletter-form__status {
  margin: 4px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
}

.home-newsletter-form__status.is-ok {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.home-newsletter-form__status.is-err {
  background: rgba(248, 113, 113, 0.13);
  color: #fda4af;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.home-newsletter-form__privacy {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: rgba(244, 244, 245, 0.55);
}

.home-newsletter-form__privacy a {
  color: #ff8aa3;
  text-decoration: none;
  font-weight: 600;
}

.home-newsletter-form__privacy a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .home-newsletter-band__inner {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }
}

@media (max-width: 540px) {
  .home-newsletter-form__row {
    flex-direction: column;
  }
}

/* ─── A11y: skip-to-main-content link ──────────────────────────────── */
.skip-to-main {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: #0a0a14;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid #7dd3fc;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
}

.skip-to-main:focus {
  top: 12px;
  outline: none;
}

/* ─── Home trust strip (right under hero) ──────────────────────────── */
.home-trust-strip {
  position: relative;
  overflow: hidden;
  padding: 52px 5% 58px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(0, 212, 255, 0.05), transparent 65%),
    linear-gradient(180deg, #05050a 0%, #0a0a14 55%, #07070f 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  isolation: isolate;
}

.home-trust-strip__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 700px;
  height: 240px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 212, 255, 0.16) 0%, transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.home-trust-strip__kicker {
  position: relative;
  z-index: 1;
  margin: 0 auto 28px;
  text-align: center;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #00d4ff;
}

.home-trust-strip__kicker::before,
.home-trust-strip__kicker::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.55));
  margin: 0 14px 4px;
}

.home-trust-strip__kicker::after {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.55), transparent);
}

.home-trust-strip__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-trust-strip__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 22px 22px 22px 24px;
  background: linear-gradient(180deg, rgba(20, 22, 30, 0.62) 0%, rgba(14, 15, 22, 0.62) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  overflow: hidden;
}

.home-trust-strip__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.75), transparent);
  opacity: 0.65;
  transition: opacity 0.25s;
}

.home-trust-strip__item:hover,
.home-trust-strip__item:focus-within {
  border-color: rgba(0, 212, 255, 0.28);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(20, 22, 30, 0.78) 0%, rgba(14, 15, 22, 0.78) 100%);
}

.home-trust-strip__item:hover::before,
.home-trust-strip__item:focus-within::before {
  opacity: 1;
}

.home-trust-strip__index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(0, 212, 255, 0.45);
}

.home-trust-strip__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00d4ff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16) 0%, rgba(0, 70, 173, 0.18) 100%);
  border: 1px solid rgba(0, 212, 255, 0.32);
  flex-shrink: 0;
}

.home-trust-strip__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-top: 2px;
}

.home-trust-strip__text strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  letter-spacing: -0.005em;
}

.home-trust-strip__text span {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.72);
}

.home-trust-strip__link {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.45);
  padding: 0.05rem 0;
  transition: color 0.2s, border-color 0.2s;
}

.home-trust-strip__link:hover {
  color: #5ce6ff;
  border-bottom-color: rgba(0, 212, 255, 0.85);
}

@media (max-width: 720px) {
  .home-trust-strip { padding: 40px 5% 44px; }
  .home-trust-strip__item { padding: 18px 18px 20px 20px; }
  .home-trust-strip__index { top: 12px; right: 14px; }
}

/* ─── Home · Next match (hub-section reskin) ───────────────────────────── */
/* Wins over the legacy .next-match rules (stadium bg, full overlay) by
   sharing both classes on the same element. The matches.html version is
   untouched because it doesn't carry .home-next-match-section. */
.home-next-match-section.next-match {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.07), transparent 65%),
    linear-gradient(180deg, #07070f 0%, #0a0a14 100%);
  padding: 60px 5%;
  color: #fff;
}

.home-next-match-section .next-match-overlay { display: none; }

.home-next-match-section .next-match-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.home-next-match-section .section-title { display: none; }

/* Card */
.home-next-match-card {
  position: relative;
  margin: 0 auto;
  padding: 28px 32px 30px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0, 212, 255, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(20, 22, 30, 0.78) 0%, rgba(14, 15, 22, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(0, 212, 255, 0.36);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
}

.home-next-match-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.85), transparent);
}

.home-next-match-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-next-match-card__competition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00d4ff;
}

.home-next-match-card__comp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.65);
}

.home-next-match-card__venue {
  color: rgba(244, 244, 245, 0.6);
  letter-spacing: 0.18em;
}

/* Teams row */
.home-next-match-section .match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
}

.home-next-match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-next-match-section .team-logo {
  width: 92px;
  height: 92px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.home-next-match-card__team-name {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-align: center;
}

.home-next-match-section .match-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-next-match-section .match-vs span {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 245, 0.65);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* Kickoff line */
.home-next-match-card__kickoff {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 10px;
}

.home-next-match-card__kickoff-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.5);
}

.home-next-match-card__kickoff-time {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

/* Countdown row — override legacy .timer / .timer-box rules */
.home-next-match-section .timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.home-next-match-section .timer-box {
  height: auto;
  min-width: 0;
  padding: 14px 8px 12px;
  background: rgba(10, 10, 16, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 12px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.home-next-match-section .timer-box:hover {
  transform: none;
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(10, 10, 16, 0.85);
  box-shadow: none;
}

.home-next-match-section .timer-box span {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
  -webkit-background-clip: initial;
          background-clip: initial;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  line-height: 1;
}

.home-next-match-section .timer-box small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.55);
  margin-top: 6px;
}

/* CTA — center it inside the card */
.home-next-match-section .next-match-inner .hero-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: 0.78rem;
  padding: 0.72rem 1.5rem;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .home-next-match-card { padding: 22px 18px 24px; }
  .home-next-match-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
  .home-next-match-section .team-logo { width: 68px; height: 68px; }
  .home-next-match-card__team-name { font-size: 0.84rem; }
  .home-next-match-section .timer { gap: 6px; }
  .home-next-match-section .timer-box { padding: 10px 4px 8px; }
  .home-next-match-section .timer-box small { font-size: 0.62rem; letter-spacing: 0.14em; }
}

/* ─── Home recovery timeline ───────────────────────────────────────── */
.home-recovery-section {
  position: relative;
}

.home-recovery-track {
  list-style: none;
  margin: 12px 0 0;
  padding: 8px 4px 4px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.home-recovery-track::-webkit-scrollbar {
  height: 8px;
}

.home-recovery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.home-recovery-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #0046ad, #c8102e);
  border-radius: 999px;
}

.home-recovery-step {
  flex: 0 0 clamp(260px, 28vw, 320px);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-recovery-step__rail {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
}

.home-recovery-step__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.home-recovery-step.is-done .home-recovery-step__rail::before {
  background: linear-gradient(90deg, #34d399, rgba(52, 211, 153, 0.45));
}

.home-recovery-step.is-current .home-recovery-step__rail::before {
  background: linear-gradient(90deg, #7dd3fc, rgba(125, 211, 252, 0.45));
}

.home-recovery-step.is-upcoming .home-recovery-step__rail::before {
  background: rgba(255, 255, 255, 0.14);
  border-top: 2px dashed rgba(255, 255, 255, 0.18);
}

.home-recovery-step__dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid #0a0a14;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
  margin: 0 auto 0 0;
}

.home-recovery-step.is-done .home-recovery-step__dot {
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.4);
}

.home-recovery-step.is-current .home-recovery-step__dot {
  background: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.35);
  animation: home-recovery-pulse 1.8s ease-in-out infinite;
}

@keyframes home-recovery-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.35); }
  50% { box-shadow: 0 0 0 9px rgba(125, 211, 252, 0); }
}

.home-recovery-step__card {
  position: relative;
  flex: 1;
  padding: 16px 16px 18px;
  border-radius: 14px;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.home-recovery-step.is-current .home-recovery-step__card {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.18), 0 16px 32px rgba(0, 0, 0, 0.5);
}

.home-recovery-step.is-done .home-recovery-step__card {
  opacity: 0.92;
}

.home-recovery-step__card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.3);
}

.home-recovery-step__date {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.65);
}

.home-recovery-step__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.home-recovery-step__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.82);
}

.home-recovery-step__chip {
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-recovery-step__chip--done {
  background: rgba(52, 211, 153, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.home-recovery-step__chip--current {
  background: rgba(125, 211, 252, 0.18);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.45);
}

.home-recovery-step__chip--soon {
  background: rgba(255, 188, 5, 0.14);
  color: #fde68a;
  border: 1px solid rgba(255, 188, 5, 0.35);
}

.home-recovery-footnote {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: rgba(244, 244, 245, 0.55);
}

.home-recovery-footnote em {
  font-style: italic;
  color: rgba(244, 244, 245, 0.75);
}

@media (max-width: 720px) {
  .home-recovery-step {
    flex-basis: 80%;
  }
}

/* ─── News slide meta (date + read time) ───────────────────────────── */
.home-trend-slide__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(244, 244, 245, 0.7);
  letter-spacing: 0.02em;
}

.home-trend-slide__meta-dot {
  opacity: 0.7;
}

/* ─── Home IG band (right under hero) ──────────────────────────────── */
.home-ig-band {
  position: relative;
  padding: 38px 5% 42px;
  background:
    radial-gradient(ellipse at top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72) 70%),
    linear-gradient(90deg, #0033A0 0%, #5c1f86 50%, #A50044 100%);
  overflow: hidden;
}

.home-ig-band__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0033A0, #A50044);
  box-shadow: 0 0 10px rgba(165, 0, 68, 0.7);
  z-index: 3;
  pointer-events: none;
}

.home-ig-band__line--top {
  top: 0;
  animation: moveLine 6s linear infinite;
}

.home-ig-band__line--bottom {
  bottom: 0;
  animation: moveLine 6s linear infinite reverse;
}

.home-ig-band__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.home-ig-band__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.home-ig-band__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
}

.home-ig-band__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(238, 42, 123, 0.45);
}

.home-ig-band__brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.home-ig-band__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
}

.home-ig-band__handle {
  margin-top: 3px;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 800;
  color: #ffffff;
}

.home-ig-band__cta {
  margin-left: auto;
  padding: 9px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a14;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-ig-band__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.18);
}

.home-ig-band__embed {
  background: #08080f;
  border-radius: 16px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
  min-height: 220px;
}

.home-ig-band__embed > [class^="elfsight-app-"] {
  width: 100%;
}

@media (max-width: 720px) {
  .home-ig-band {
    padding: 28px 5% 32px;
  }
  .home-ig-band__cta {
    margin-left: 0;
  }
}

.dynamic-separator {
    position: relative;
    height: 60px;
    padding-top: 10px;
    background: linear-gradient(90deg, #0033A0, #A50044);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 51, 160, 0.5), 0 0 15px rgba(165, 0, 68, 0.5);
    z-index: 5; 
    padding: 0; 
}

.dynamic-separator > div.elfsight-app-f5cd14f0-1c79-4ac3-989f-0db8b5a738c5,
.dynamic-separator > div.elfsight-app-2b5d6504-b46f-48dd-939a-20a3978c43a8 {
    transform: translateY(6px) !important;
}

.htmlsnpt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200%;
}

.instagram-live-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white; 
    font-size: 1.1rem;
    font-weight: 700;
}

#live-follower-widget-placeholder {
    padding: 0 20px;
}

.separator-line {
    position: absolute;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #0033A0, #A50044);
    box-shadow: 0 0 10px rgba(165, 0, 68, 0.7);
}

.separator-line-1 {
    top: 0;
    animation: moveLine 6s linear infinite;
}

.separator-line-2 {
    bottom: 0;
    animation: moveLine 6s linear infinite reverse;
}

@keyframes moveLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.next-match-inner .hero-btn {
  margin-top: 30px;
}

.next-match {
  position: relative;
  padding: 60px 5%;
  color: #fff;
  background: url("images/campnou-dark.jpg") center/cover no-repeat fixed;
}

.next-match-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 0;
}

.next-match-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 25px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.match-card img,
.team-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.match-vs span {
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.match-vs p {
  margin: 3px 0;
}

.match-date {
  opacity: 0.85;
  font-size: 0.95rem;
}

.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 2rem;
    color: white;
    margin: 20px 0;
}

.next-match-section {
    padding: 60px 0;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 20px;
  border-radius: 16px;
  min-width: 110px; 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 51, 160, 0.5);
  transition: transform 0.2s ease;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.timer-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 
                0 0 25px rgba(0, 51, 160, 0.8), 
                0 0 40px rgba(165, 0, 68, 0.6);
}

.timer-box span {
  display: block;
  font-size: 2.2rem; 
  font-weight: 800; 
  background: linear-gradient(45deg, #0033A0, #A50044);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
}

.timer-box small {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 600;
}

.home-section {
  padding: 60px 5%;
  background: #080808;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-section:nth-of-type(even) {
  background: #080808;
}

.home-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 100px rgba(0, 51, 160, 0.1) inset, 0 0 100px rgba(165, 0, 68, 0.1) inset;
    pointer-events: none;
    animation: backgroundGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes backgroundGlowPulse {
  0% {
    box-shadow: 0 0 100px rgba(0, 51, 160, 0.1) inset, 0 0 100px rgba(165, 0, 68, 0.1) inset;
  }
  100% {
    box-shadow: 0 0 120px rgba(0, 51, 160, 0.2) inset, 0 0 120px rgba(165, 0, 68, 0.2) inset;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 25px;
}

.section-header h2 {
  font-size: 1.6rem;
}

.see-all-link {
  font-size: 0.9rem;
  color: #ff4b6a;
  text-decoration: none;
}

.see-all-link:hover {
  text-decoration: underline;
}

/* ─── Home hub (home.html) ─────────────────────────────────────────── */
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.home-hero-actions .hero-btn {
  margin-top: 0;
}

.home-hero-secondary {
  margin-top: 0;
}

.hero-content .home-mission {
  max-width: 36rem;
  margin: 0.85rem auto 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #d4d4d8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
  opacity: 0.95;
}

/* ─── Hub sections: generic editorial background (Home-only) ──────── */
.home-hub-section {
  padding: 70px 5% 80px;
  isolation: isolate;
  background-color: #0a0a13;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(0, 70, 173, 0.18), transparent 55%);
  background-size: 22px 22px, 100% 100%;
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
}

.home-hub-section.home-mosaic-section {
  background-color: #0a0a13;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.16), transparent 55%);
}

.home-hub-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.55), rgba(255, 43, 123, 0.55), transparent);
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

/* Home sections sit on their own dotted canvas — kill the inherited
   blue/garnet inset pulse so it doesn't look like Trainings’ shadow. */
.home-page .home-hub-section::after {
  display: none;
}

.home-section-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 32px;
}

.home-section-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #7dd3fc;
  opacity: 0.85;
}

.home-section-title {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 35%, #ff8aa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

.home-section-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #d4d4d8;
}

/* ─── Slider: "What's new on the hub" ─────────────────────────────── */
.home-feature-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-feature-track {
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px;
}

.home-feature-track::-webkit-scrollbar {
  display: none;
}

.home-feature-slide {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(560px, 52vw, 780px);
  border-radius: 22px;
  overflow: hidden;
  background: #07070d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6);
  color: #f4f4f5;
  text-decoration: none;
  isolation: isolate;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: transform 0.35s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.home-feature-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}

.home-feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 16, 0.05) 0%, rgba(7, 7, 16, 0.55) 55%, rgba(7, 7, 16, 0.95) 100%),
    linear-gradient(115deg, rgba(0, 70, 173, 0.35) 0%, rgba(7, 7, 16, 0) 55%, rgba(200, 16, 46, 0.28) 100%);
}

.home-feature-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 28px 32px 32px;
  gap: 10px;
  max-width: 720px;
}

.home-feature-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  box-shadow: 0 0 18px rgba(0, 70, 173, 0.45);
  margin-bottom: 4px;
}

.home-feature-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.home-feature-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.88);
  max-width: 52ch;
}

.home-feature-cta {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ff8aa3;
  align-self: flex-start;
}

.home-feature-slide:hover {
  border-color: rgba(0, 153, 255, 0.4);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.72),
    0 0 40px rgba(0, 70, 173, 0.35);
}

.home-feature-slide:hover .home-feature-media {
  transform: scale(1.08);
}

/* Arrow controls */
.home-feature-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f0f1d;
  color: #f4f4f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-feature-arrow:hover {
  background: linear-gradient(135deg, #0046ad, #c8102e);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.home-feature-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
  background: #0f0f1d;
}

/* Dots */
.home-feature-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.home-feature-dot {
  width: 30px;
  height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}

.home-feature-dot:hover {
  background: rgba(255, 255, 255, 0.3);
}

.home-feature-dot.is-active {
  width: 44px;
  background: linear-gradient(90deg, #0099ff, #ff2b7b);
}

/* Trust line under the bento (solid, not transparent gray) */
.home-trust-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(0, 70, 173, 0.18), rgba(7, 7, 16, 0.95) 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #c8102e;
}

.home-trust-line__icon {
  font-size: 1.1rem;
  line-height: 1.45;
  color: #ff8aa3;
}

.home-trust-line p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #e4e4e7;
}

.home-trust-line__link {
  display: inline;
  margin-left: 0.35rem;
  color: #ff8aa3;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-trust-line__link:hover {
  text-decoration: underline;
}

/* ─── Mosaic: "Explore the hub" ───────────────────────────────────── */
.home-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.home-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #08080f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  color: #ffffff;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.32s ease, border-color 0.28s ease;
}

.home-tile-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 0.6s ease;
  filter: saturate(1.05);
}

.home-tile-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 16, 0.05) 0%, rgba(7, 7, 16, 0.7) 65%, rgba(7, 7, 16, 0.95) 100%),
    linear-gradient(45deg, rgba(0, 70, 173, 0.4), rgba(165, 0, 68, 0.35));
}

.home-tile-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 18px 20px;
  gap: 4px;
}

.home-tile-label {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.home-tile-body p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(244, 244, 245, 0.86);
}

.home-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 153, 255, 0.4);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 70, 173, 0.35);
}

.home-tile:hover .home-tile-media {
  transform: scale(1.12);
}

/* Quick-links strip below the mosaic */
.home-quick-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.home-quick-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #0d0d18;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid #0046ad;
  color: #f4f4f5;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-quick-link:nth-child(2) {
  border-left-color: #c8102e;
}

.home-quick-link:nth-child(3) {
  border-left-color: #7dd3fc;
}

.home-quick-link:hover {
  transform: translateX(2px);
  background: #11111e;
  border-color: rgba(0, 153, 255, 0.4);
}

.home-quick-link:hover {
  border-left-color: #ff8aa3;
}

.home-quick-link__name {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.home-quick-link__desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(244, 244, 245, 0.78);
}

/* ─── Onboarding + community panels ───────────────────────────────── */
.home-onboarding {
  background: #060610;
}

.home-onboarding-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.home-onboarding-card {
  position: relative;
  padding: 26px 26px 28px;
  border-radius: 18px;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.home-onboarding-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 70, 173, 0.3), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.home-onboarding-card--social::before {
  background: radial-gradient(circle at top right, rgba(200, 16, 46, 0.3), transparent 60%);
}

.home-onboarding-card > * {
  position: relative;
  z-index: 1;
}

.home-onboarding-title {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.home-onboarding-intro {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.84);
}

.home-new-here-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: home-step;
}

.home-new-here-steps li {
  counter-increment: home-step;
  margin: 0 0 12px;
  padding: 12px 14px 12px 50px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.5;
  border-radius: 10px;
  background: #0f0f1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-new-here-steps li:last-child {
  margin-bottom: 0;
}

.home-new-here-steps li::before {
  content: counter(home-step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0046ad, #c8102e);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 70, 173, 0.5);
}

.home-new-here-steps a {
  color: #f4f4f5;
  text-decoration: none;
}

.home-new-here-steps a:hover {
  color: #ff8aa3;
}

.home-social-btn.hero-btn {
  margin-top: 8px;
}

/* ─── Instagram corner ────────────────────────────────────────────── */
.home-instagram-section {
  padding: 70px 5% 80px;
  isolation: isolate;
  background-color: #0a0a13;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 100% 0%, rgba(225, 48, 108, 0.16), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(81, 91, 212, 0.14), transparent 55%);
  background-size: 22px 22px, 100% 100%, 100% 100%;
  background-position: 0 0, 100% 0, 0 100%;
  background-repeat: repeat, no-repeat, no-repeat;
}

.home-instagram-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 48, 108, 0.55), rgba(245, 133, 41, 0.55), rgba(81, 91, 212, 0.55), transparent);
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

.home-page .home-instagram-section::after {
  display: none;
}

.home-ig-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.home-ig-feed,
.home-ig-legacy {
  position: relative;
  border-radius: 20px;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}

.home-ig-feed {
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
}

.home-ig-handle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-ig-handle__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #515bd4 0%, #8134af 30%, #dd2a7b 60%, #f58529 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.4);
  flex-shrink: 0;
}

.home-ig-handle__text {
  flex: 1;
  min-width: 0;
}

.home-ig-handle__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.home-ig-handle__sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: rgba(244, 244, 245, 0.7);
  line-height: 1.4;
}

.home-ig-handle__cta {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(90deg, #515bd4, #dd2a7b 55%, #f58529);
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.4);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.home-ig-handle__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(225, 48, 108, 0.55);
}

.home-ig-embed {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
}

.home-ig-embed [class^="elfsight-app-"] {
  width: 100%;
}

/* Archive plaque for @gavihugefan */
.home-ig-legacy {
  padding: 22px 22px 20px;
  border-left: 3px solid #c8102e;
  background:
    linear-gradient(180deg, rgba(200, 16, 46, 0.06), rgba(10, 10, 20, 0) 60%),
    #0a0a14;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-ig-legacy__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-ig-legacy__story {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 0;
}

.home-ig-legacy__story p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.85);
}

.home-ig-legacy__embed {
  border-radius: 12px;
  overflow: hidden;
  background: #08080f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 180px;
  filter: grayscale(0.25);
  opacity: 0.92;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.home-ig-legacy__embed:hover {
  filter: grayscale(0);
  opacity: 1;
}

.home-ig-legacy__embed [class^="elfsight-app-"] {
  width: 100%;
}

.home-ig-legacy__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb0bf;
  background: rgba(200, 16, 46, 0.18);
  border: 1px solid rgba(200, 16, 46, 0.4);
}

.home-ig-legacy__handle {
  margin: 6px 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.home-ig-legacy__memorial {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.82);
}

.home-ig-legacy__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(244, 244, 245, 0.6);
}

@media (max-width: 900px) {
  .home-ig-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .home-ig-handle {
    flex-wrap: wrap;
  }

  .home-ig-handle__cta {
    flex-basis: 100%;
    text-align: center;
  }
}

/* ─── Community band ──────────────────────────────────────────────── */
.home-community-band {
  padding: 60px 5% 70px;
  background: #060610;
}

.home-community-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px 32px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 70, 173, 0.45), rgba(7, 7, 16, 0.95) 55%, rgba(200, 16, 46, 0.45)),
    #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6);
}

.home-community-band__text {
  max-width: 36rem;
}

.home-community-band__title {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
}

.home-community-band__text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.88);
}

.home-community-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.home-community-band__actions .hero-btn,
.home-community-band__actions .btn-secondary {
  margin-top: 0;
}

.home-community-primary {
  text-decoration: none;
  text-align: center;
}

/* ─── Top 3 podium (community band right column) ───────────────────── */
.home-top3 {
  padding: 18px 20px 16px;
  border-radius: 16px;
  background: rgba(7, 7, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-top3__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.home-top3__kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.home-top3__see-all {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff8aa3;
  text-decoration: none;
}

.home-top3__see-all:hover {
  text-decoration: underline;
}

.home-top3__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-top3__item {
  display: grid;
  grid-template-columns: 36px 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-top3__item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 153, 255, 0.3);
}

.home-top3__rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-top3__item--rank1 .home-top3__rank {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: #fde68a;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
  color: #1a1300;
}

.home-top3__item--rank2 .home-top3__rank {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  border-color: #f3f4f6;
  color: #1a1a1a;
}

.home-top3__item--rank3 .home-top3__rank {
  background: linear-gradient(135deg, #d97706, #92400e);
  border-color: #fbbf24;
  color: #2a1a00;
}

.home-top3__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0046ad, #c8102e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}

.home-top3__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-top3__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-top3__name:hover {
  color: #7dd3fc;
}

.home-top3__score {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f4f4f5;
  white-space: nowrap;
}

.home-top3__score strong {
  font-weight: 800;
  color: #ffffff;
}

.home-top3__item.is-skeleton .home-top3__name,
.home-top3__item.is-skeleton .home-top3__score {
  color: rgba(255, 255, 255, 0.35);
}

.home-top3__item.is-skeleton .home-top3__avatar {
  background: rgba(255, 255, 255, 0.08);
  color: transparent;
}

.home-top3__empty {
  margin: 4px 0 0;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(244, 244, 245, 0.65);
}

@media (max-width: 900px) {
  .home-community-band__inner {
    grid-template-columns: 1fr;
  }
}

/* ─── Socials directory (Home) ─────────────────────────────────────── */
.home-socials-grid {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.home-social-card {
  position: relative;
  border-radius: 16px;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 70, 173, 0.25), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.home-social-card--tt::before {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
}

.home-social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6);
}

.home-social-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
}

.home-social-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.home-social-card--ig .home-social-card__icon {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
  box-shadow: 0 6px 18px rgba(238, 42, 123, 0.4);
}

.home-social-card--tt .home-social-card__icon {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #25f4ee;
}

.home-social-card__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.home-social-card__platform {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.65);
}

.home-social-card__handle {
  margin-top: 3px;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-social-card__meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.home-social-card__status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.home-social-card__status--live {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.home-social-card__status--soon {
  background: rgba(255, 188, 5, 0.16);
  color: #fde68a;
  border: 1px solid rgba(255, 188, 5, 0.35);
}

.home-social-card__cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff8aa3;
  letter-spacing: 0.04em;
}

.home-social-card:hover .home-social-card__cta {
  color: #ffd1dc;
}

.home-socials-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(244, 244, 245, 0.6);
  text-align: center;
}

@media (max-width: 560px) {
  .home-social-card__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: 16px 18px;
  }
  .home-social-card__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }
}

/* ─── Trending slider (Latest News + Featured Edits) ───────────────── */
.home-trend-slider {
  position: relative;
  margin-top: 10px;
}

.home-trend-slider__viewport {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #08080f;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

.home-trend-slider__track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.home-trend-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  min-height: clamp(720px, 70vw, 1020px);
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.home-trend-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 8s ease-out;
  z-index: 0;
}

.home-trend-slide:hover .home-trend-slide__media {
  transform: scale(1.06);
}

/* Match data/news.json thumbObjectPosition for gavi-double-trophy-25-26 (wide
   fan banner: Spain flag / Gavi sit below a dark top band on newer art). */
.home-trend-slide__media--news-trophy {
  background-position: 26% 56%;
}

.news-latest-hub {
  scroll-margin-top: 24px;
}

.news-latest-hub .home-trend-slide {
  min-height: clamp(560px, 64vw, 880px);
}

.home-trend-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 16, 0.05) 0%, rgba(7, 7, 16, 0.55) 55%, rgba(7, 7, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 7, 16, 0.65) 0%, rgba(7, 7, 16, 0.05) 55%, rgba(7, 7, 16, 0) 100%);
  z-index: 1;
}

.home-trend-slide__body {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 40px 44px 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: clamp(720px, 70vw, 1020px);
  justify-content: flex-end;
}

.home-trend-slide__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(0, 70, 173, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-trend-slide__tag--red {
  background: rgba(200, 16, 46, 0.85);
}

.home-trend-slide--edit .home-trend-slide__tag {
  background: rgba(200, 16, 46, 0.85);
}

.home-trend-slide__title {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
}

.home-trend-slide__text {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.9);
  max-width: 580px;
}

.home-trend-slide__cta {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ff8aa3;
  letter-spacing: 0.04em;
}

.home-trend-slide:hover .home-trend-slide__cta {
  color: #ffd1dc;
}

/* Arrows */
.home-trend-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f4f4f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.home-trend-slider__arrow:hover {
  background: rgba(0, 70, 173, 0.75);
  border-color: rgba(125, 211, 252, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.home-trend-slider__arrow--prev { left: 14px; }
.home-trend-slider__arrow--next { right: 14px; }

/* Dots */
.home-trend-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.home-trend-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, width 0.25s ease;
}

.home-trend-slider__dot.is-active {
  background: #ffffff;
  width: 22px;
  border-radius: 999px;
}

.home-trend-section__more {
  margin: 14px 0 0;
  text-align: right;
}

@media (max-width: 1024px) {
  .home-trend-slide,
  .home-trend-slide__body {
    min-height: clamp(620px, 80vw, 820px);
  }
}

@media (max-width: 720px) {
  .home-trend-slide,
  .home-trend-slide__body {
    min-height: clamp(520px, 95vw, 680px);
  }
  .home-trend-slide__body {
    padding: 28px 24px 36px;
  }
  .home-trend-slider__arrow {
    width: 38px;
    height: 38px;
  }
  .home-trend-slider__arrow--prev { left: 8px; }
  .home-trend-slider__arrow--next { right: 8px; }
}

@media (max-width: 540px) {
  .home-trend-slide,
  .home-trend-slide__body {
    min-height: 460px;
  }
  .home-trend-slide__text {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
  }
}

/* ─── Gavi Snapshot (player-profile card) ───────────────────────────── */
.home-snapshot-card {
  position: relative;
  margin-top: 10px;
  padding: 26px 26px 24px;
  border-radius: 18px;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.home-snapshot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 70, 173, 0.28), transparent 60%),
    radial-gradient(circle at bottom left, rgba(200, 16, 46, 0.22), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.home-snapshot-card > * {
  position: relative;
  z-index: 1;
}

.home-snapshot-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.home-snapshot-stat {
  position: relative;
  padding: 18px 16px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #0f0f1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-snapshot-stat::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #0046ad, #c8102e);
  opacity: 0.7;
}

.home-snapshot-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.home-snapshot-stat__value {
  display: block;
  font-family: "Orbitron", "Poppins", system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #7dd3fc 0%, #ff8aa3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
}

.home-snapshot-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.7);
}

.home-snapshot-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ff8aa3;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.home-snapshot-link:hover {
  color: #ffd1dc;
}

@media (max-width: 720px) {
  .home-snapshot-card {
    padding: 20px 18px 18px;
  }
  .home-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-snapshot-stat {
    padding: 14px 10px;
  }
}

/* ─── Elfsight free-plan promo & "Powered by" mark: hidden ─────────── */
/* Covers (a) the floating "Free Instagram Feed Widget" pill, and
   (b) the small Elfsight watermark/toolbar that sits under each feed.
   IMPORTANT: keep selectors scoped to branding only — Elfsight serves
   the real post images through elfsightcdn.com and renders the feed
   inside an iframe titled "Elfsight Instagram Feed", so anything that
   matches by src*=elfsight or title*=elfsight will hide the posts. */
.eapps-link,
[class*="eapps-link"],
.eapps-instagram-feed-promo,
.eapps-instagram-feed-cta,
[class*="eapps-widget-toolbar"],
[class*="eapps-widget-toolbar-panel"],
[class*="eapps-widget-toolbar-panel-logo"],
[class*="eapps-widget-toolbar-panel-link"],
[class*="EappsWidgetToolbar"],
[class*="elfsight"][class*="branding"],
[class*="elfsight"][class*="footer"][class*="branding"],
[class^="elfsight-app-"] a[href*="elfsight.com"],
a[aria-label*="Powered by Elfsight" i],
a[title*="Powered by Elfsight" i],
[class*="powered-by"],
[id*="powered-by"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .home-feature-slide {
    min-height: 560px;
  }

  .home-feature-body {
    padding: 22px 24px 26px;
  }
}

@media (max-width: 720px) {
  .home-feature-arrow {
    display: none;
  }

  .home-feature-track {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 640px) {
  .home-hub-section {
    padding: 50px 5% 60px;
  }

  .home-feature-slide {
    min-height: 480px;
    border-radius: 18px;
  }

  .home-feature-body {
    padding: 20px 20px 22px;
  }

  .home-community-band__inner {
    padding: 22px 20px;
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 20px;  
  box-shadow: 0 0 15px rgba(0, 51, 160, 0.3), 0 0 15px rgba(165, 0, 68, 0.3);
  transition: transform 0.3s ease, box-shadow 0.5s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.7), 
                0 0 35px rgba(0, 51, 160, 0.8), 
                0 0 55px rgba(165, 0, 68, 0.7);
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0088ff; 
  margin-bottom: 6px;
  text-shadow: 0 0 6px rgba(0, 136, 255, 0.5);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  background: linear-gradient(45deg, #0099ff, #ff0044);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-link {
    text-decoration: none;
    color: inherit; 
}

.card-link .card:hover {
    cursor: pointer;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.7), 
                0 0 35px rgba(0, 51, 160, 0.8), 
                0 0 55px rgba(165, 0, 68, 0.7);
}

.card-link .card h3 {
    background: linear-gradient(45deg, #0099ff, #ff0044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.edits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.edit-card {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    transition: 0.2s ease;
}

.edit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6),
                0 0 25px rgba(80,0,180,0.6);
}

.edit-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #000;
}

.edit-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edit-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.video-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.edit-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.edit-thumb-1 { background-image: url("images/account-back.jpg"); }
.edit-thumb-2 { background-image: url("images/todays-edit.jpg"); }
.edit-thumb-3 { background-image: url("images/pedri-x-gavi-collage.jpg"); }

.video-container {
    display: none;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card.playing .edit-media {
    display: none;
}

.video-card.playing .video-container {
    display: block;
}

.video-card.playing p {
    display: block !important;
}

.edit-card p {
    margin: 0;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background: rgba(15, 15, 15, 0.7);
    border-radius: 0 0 12px 12px;
}

/* ----- Edits page (full) ----- */
.edits-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #060810 0%, #0a0e18 40%, #0d1220 100%);
  overflow: hidden;
}

.edits-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0, 51, 160, 0.2) 0%, rgba(165, 0, 68, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.edits-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.edits-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 5%;
}

.edits-hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.edits-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #00a2ff, #ff50ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.edits-hero-title--animated {
  position: relative;
  background: linear-gradient(110deg, #00a2ff 0%, #5c6cff 35%, #ff50ad 70%, #00d4aa 100%);
  background-size: 200% auto;
  animation: pressTitleGradient 6s ease-in-out infinite;
}

.edits-hero-title--animated::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #00a2ff, #ff50ad);
  border-radius: 2px;
  opacity: 0.6;
  animation: pressTitleShine 2.5s ease-in-out infinite;
}

.edits-hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Tall hero band (~2× viewport): looping muted background clip + dark filter */
.edits-page .edits-video-hero {
  position: relative;
  height: 200vh;
  min-height: 200vh;
  overflow: hidden;
  background: #05070d;
}

.edits-video-hero-poster,
.edits-video-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.edits-video-hero-poster {
  transition: opacity 0.35s ease;
}

.edits-video-hero-bg {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.edits-page .edits-video-hero.is-playing .edits-video-hero-bg {
  opacity: 1;
}

.edits-page .edits-video-hero.is-playing .edits-video-hero-poster {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .edits-video-hero-bg {
    display: none;
  }
}

.edits-video-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 140px 50px rgba(0, 0, 0, 0.55);
}

/* Fresh picks: starfield bg + full-width slide carousel */
.edits-page .edits-fresh-picks {
  position: relative;
  overflow: hidden;
  padding: 72px 5% 96px;
  scroll-margin-top: 24px;
}

/* Fresh picks — editorial (front page) */
.edits-fresh-picks--new {
  background: linear-gradient(165deg, #0a0908 0%, #100e0c 42%, #080706 100%);
}

/* Today's edit — editorial (headlines) */
.edits-todays-edit {
  background: linear-gradient(165deg, #0a0908 0%, #100e0c 42%, #080706 100%);
}

/* Fallback / latest mode — date stamp only, never the live "TODAY" pulse badge */
.edits-todays-edit:not(.is-todays-edit--today) [data-todays-edit-badge] {
  gap: 0;
  background: linear-gradient(135deg, rgba(0, 70, 173, 0.92), rgba(200, 16, 46, 0.82));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.edits-todays-edit:not(.is-todays-edit--today) [data-todays-edit-badge]::before {
  display: none !important;
  content: none !important;
  width: 0;
  height: 0;
  margin: 0;
  animation: none !important;
}

/* Editor's choice — print editorial */
.edits-fresh-picks--classics {
  background: linear-gradient(165deg, #0a0908 0%, #100e0c 42%, #080706 100%);
}

/* Featured edits archive */
.edits-fresh-picks--archive {
  background: linear-gradient(165deg, #0a0908 0%, #100e0c 42%, #080706 100%);
}

.edits-fresh-single {
  position: relative;
}

.edits-fresh-stage-shell--single {
  max-width: min(920px, 100%);
  margin: 0 auto;
}

.edits-fresh-chrome--single {
  margin-top: 18px;
  text-align: center;
}

.edits-fresh-chrome--single .edit-fresh-credit {
  margin: 0;
}

/* Month's best edit — ballot */
.edits-month-poll {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 72px 5% 96px;
  scroll-margin-top: 24px;
  background: linear-gradient(165deg, #09080a 0%, #0f0d12 45%, #080709 100%);
}

.edits-month-poll.is-solo-hero {
  overflow: visible;
}

.edits-month-poll__inner {
  max-width: min(1180px, 96vw);
}

.edits-month-poll__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 22px;
}

.edits-month-poll__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.edits-month-poll__phase {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edits-month-poll__phase--open {
  background: rgba(0, 70, 173, 0.28);
  border: 1px solid rgba(0, 120, 255, 0.45);
  color: rgba(180, 210, 255, 0.95);
}

.edits-month-poll__phase--closed {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
}

.edits-month-poll__phase--upcoming,
.edits-month-poll__phase--void {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: rgba(245, 215, 110, 0.92);
}

.edits-month-poll.is-solo-hero .edits-month-poll__toolbar {
  display: none;
}

.edits-month-poll.is-solo-hero [data-month-poll-subtitle] {
  display: none;
}

.edits-month-poll.is-solo-hero .edits-month-poll__inner {
  max-width: min(1320px, 96vw);
}

.edits-month-poll.is-solo-hero .edits-month-poll__grid--hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 56px;
  padding: 0;
  position: relative;
  z-index: 3;
  isolation: isolate;
}

.edits-month-poll.is-solo-hero .edits-month-poll__hero-slide {
  border-radius: 0;
  border-left: none;
  border-right: none;
  min-height: clamp(480px, 56vw, 820px);
}

.edits-month-poll.is-solo-hero .edits-month-poll__winners {
  margin-top: 8px;
  padding-top: 32px;
  position: relative;
  z-index: 4;
  clear: both;
}

.edits-month-poll.is-solo-hero .edits-month-poll__winners-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edits-month-poll.is-solo-hero .edits-month-poll__winner {
  align-items: center;
}

.edits-month-poll.is-solo-hero .edits-month-poll__winner-media {
  flex: 0 0 112px;
  width: 112px;
}

.edits-month-poll__winner-media.is-cover-missing {
  background: linear-gradient(145deg, #0c1018, #141820);
}

.edits-month-poll__winner-media.is-cover-missing img {
  opacity: 0;
}

.edits-month-poll__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.edits-month-poll__grid.edits-month-poll__grid--hero {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 48px;
}

.edits-month-poll__hero {
  width: 100%;
}

.edits-month-poll__hero-slide {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(560px, 52vw, 780px);
  border-radius: 22px;
  overflow: hidden;
  background: #07070d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6);
  color: #f4f4f5;
  isolation: isolate;
  cursor: pointer;
  outline: none;
  transition: transform 0.35s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.edits-month-poll__hero-slide:hover {
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.72),
    0 0 40px rgba(212, 175, 55, 0.18);
}

.edits-month-poll__hero-poster,
.edits-month-poll__hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  background: #07070d;
  z-index: 0;
  transform: scale(1.04);
  transition: opacity 0.28s ease, transform 0.7s ease;
}

.edits-month-poll__hero-video {
  opacity: 0;
  z-index: 1;
}

.edits-month-poll__hero-slide.is-previewing .edits-month-poll__hero-video {
  opacity: 1;
}

.edits-month-poll__hero-slide.is-previewing .edits-month-poll__hero-poster {
  opacity: 0;
}

.edits-month-poll__hero-slide:hover .edits-month-poll__hero-poster {
  transform: scale(1.07);
}

.edits-month-poll__hero-slide.is-poster-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #0c1018, #141820);
}

.edits-month-poll__hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7, 7, 16, 0.05) 0%, rgba(7, 7, 16, 0.55) 55%, rgba(7, 7, 16, 0.95) 100%),
    linear-gradient(115deg, rgba(0, 70, 173, 0.35) 0%, rgba(7, 7, 16, 0) 55%, rgba(200, 16, 46, 0.28) 100%);
  pointer-events: none;
}

.edits-month-poll__hero-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(560px, 52vw, 780px);
  padding: 28px 32px 32px;
  gap: 10px;
  max-width: 720px;
  pointer-events: none;
}

.edits-month-poll__hero-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  box-shadow: 0 0 18px rgba(0, 70, 173, 0.45);
  margin-bottom: 4px;
}

.edits-month-poll__hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.edits-month-poll__hero-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0.02em;
}

.edits-month-poll__hero-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(244, 244, 245, 0.88);
  max-width: 52ch;
}

.edits-month-poll__hero-cta {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ff8aa3;
  align-self: flex-start;
}

.edits-month-poll__hero-play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 4;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #fff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.edits-month-poll__hero-play-glow {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
  opacity: 0.85;
  animation: editsPollHeroPulse 2.8s ease-in-out infinite;
}

@keyframes editsPollHeroPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

.edits-month-poll__hero-play-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.22s ease;
}

.edits-month-poll__hero-play:hover .edits-month-poll__hero-play-btn {
  transform: scale(1.06);
}

.edits-month-poll__hero-slide.is-previewing .edits-month-poll__hero-play {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .edits-month-poll__hero-slide,
  .edits-month-poll__hero-body {
    min-height: clamp(480px, 88vw, 620px);
  }

  .edits-month-poll__hero-body {
    padding: 22px 20px 24px;
  }
}

.edits-month-poll__countdown[hidden],
.edits-month-poll__quota[hidden],
.edits-month-poll__quota:empty {
  display: none !important;
}

.edits-month-poll__countdown {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(245, 230, 200, 0.92);
}

.edits-month-poll__empty {
  margin: 0 0 28px;
  padding: 36px 24px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.28);
  background: rgba(8, 10, 18, 0.55);
}

.edits-month-poll__empty-title {
  margin: 0 0 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.1em;
  color: #fff;
}

.edits-month-poll__empty-lead {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.edits-month-poll__next {
  margin: 28px 0 0;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(12, 10, 16, 0.72);
}

.edits-month-poll__next.is-no-edits {
  border-style: dashed;
}

.edits-month-poll__next-kicker {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 215, 110, 0.75);
}

.edits-month-poll__next-title {
  margin: 0 0 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.edits-month-poll__next-countdown {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  color: rgba(245, 230, 200, 0.88);
}

.edits-month-poll__next-countdown-kicker {
  margin: 18px 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 215, 110, 0.82);
}

.edits-month-poll__timeline {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.38);
}

.edits-month-poll__timeline-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  gap: 4px;
}

.edits-month-poll__timeline-val {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.edits-month-poll__timeline-lbl {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.edits-month-poll__timeline-sep {
  align-self: center;
  margin-bottom: 18px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: rgba(212, 175, 55, 0.55);
}

.edits-month-poll__next-date {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  color: rgba(245, 230, 200, 0.78);
}

.edits-month-poll__next-empty {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.edits-month-poll__next-empty-lead {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
}

.edits-month-poll__card.is-closed .edits-month-poll__vote {
  opacity: 0.55;
  cursor: not-allowed;
}

.edits-month-poll__gaps {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(200, 16, 46, 0.28);
  background: rgba(200, 16, 46, 0.1);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 220, 220, 0.88);
}

.edits-month-poll__winners-empty {
  margin: 0;
  padding: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.52);
}

.edits-month-poll__month-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edits-month-poll__tab {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  background: rgba(12, 10, 16, 0.72);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.edits-month-poll__tab.is-active {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, rgba(0, 70, 173, 0.28), rgba(200, 16, 46, 0.22));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.edits-month-poll__tab-status {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 215, 110, 0.75);
}

.edits-month-poll__quota {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.edits-month-poll__record {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-left: 3px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: rgba(245, 230, 200, 0.88);
}

.edits-month-poll__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 10, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.edits-month-poll__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.edits-month-poll__card.is-voted {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2), 0 18px 44px rgba(0, 0, 0, 0.4);
}

.edits-month-poll__card.is-disabled {
  opacity: 0.72;
}

.edits-month-poll__card-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.edits-month-poll__card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #030508;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.edits-month-poll__card-poster,
.edits-month-poll__card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #030508;
  transition: opacity 0.18s ease;
}

.edits-month-poll__card-video {
  opacity: 0;
  z-index: 1;
}

.edits-month-poll__card-media.is-previewing .edits-month-poll__card-video {
  opacity: 1;
}

.edits-month-poll__card-media.is-previewing .edits-month-poll__card-poster {
  opacity: 0;
}

.edits-month-poll__card-media.is-poster-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.04) 8%, rgba(255, 255, 255, 0.12) 18%, rgba(255, 255, 255, 0.04) 33%),
    #0a0c12;
  background-size: 200% 100%;
  animation: editsPollPosterShimmer 1.2s ease-in-out infinite;
}

.edits-month-poll__card-media.is-poster-failed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #0c1018, #141820);
}

@keyframes editsPollPosterShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.edits-month-poll__card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.edits-month-poll__card-media.is-previewing::after {
  opacity: 0.35;
}

.edits-month-poll__card-media:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.55);
}

.edits-month-poll__card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.edits-month-poll__card-media.is-previewing .edits-month-poll__card-play {
  opacity: 0.25;
  transform: translate(-50%, -50%) scale(0.92);
}

.edits-month-poll__card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edits-month-poll__card-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.edits-month-poll__card-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.edits-month-poll__card-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0046ad, #c8102e);
}

.edits-month-poll__card-meta {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
}

.edits-month-poll__vote {
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.edits-month-poll__vote:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.edits-month-poll__vote.is-active {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(200, 16, 46, 0.18));
  color: rgba(255, 248, 230, 0.95);
}

.edits-month-poll__vote:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.edits-month-poll__winners {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.edits-month-poll__winners-title {
  margin: 0 0 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.12em;
  color: #fff;
}

.edits-month-poll__winners-lead {
  margin: 0 0 22px;
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.edits-month-poll__winners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.edits-month-poll__winner {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(8, 10, 18, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.edits-month-poll__winner-media {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #030508;
}

.edits-month-poll__winner-media img,
.edits-month-poll__winner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edits-month-poll__winner-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.edits-month-poll__winner-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.edits-month-poll__winner-month {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.edits-month-poll__winner-badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 215, 110, 0.9);
}

.edits-month-poll__winner-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.edits-month-poll__winner-meta {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.edits-poll-watch {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 16px;
}

.edits-poll-watch[hidden] {
  display: none !important;
}

.edits-poll-watch__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.edits-poll-watch__dialog {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(96vw, 920px);
  padding: 4px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.85), rgba(120, 90, 20, 0.75));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.edits-poll-watch__dialog::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 15%, rgba(24, 20, 12, 0.94), rgba(4, 4, 8, 0.98));
  z-index: -1;
}

.edits-poll-watch__video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 860px);
  max-height: min(85vh, 900px);
  object-fit: contain;
  border-radius: 14px;
  background: #000;
  vertical-align: top;
}

.edits-poll-watch.is-portrait-video .edits-poll-watch__video {
  max-width: min(72vw, 520px);
  max-height: min(85vh, 900px);
}

.edits-poll-watch.is-landscape-video .edits-poll-watch__video {
  max-width: min(92vw, 920px);
  max-height: min(72vh, 640px);
}

.edits-poll-watch.is-loading .edits-poll-watch__video {
  opacity: 0.35;
}

.edits-poll-watch__status {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(245, 230, 200, 0.88);
}

.edits-poll-watch__status[hidden] {
  display: none !important;
}

.edits-poll-watch.is-error .edits-poll-watch__status {
  color: rgba(255, 190, 190, 0.92);
}

.edits-poll-watch__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.edits-poll-watch__close:hover {
  background: rgba(0, 0, 0, 0.65);
}

.edits-poll-watch__close:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.7);
  outline-offset: 2px;
}

body.edits-poll-watch-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .edits-month-poll__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .edits-month-poll__quota {
    text-align: center;
  }
}

.edits-fresh-bg,
.edits-theme-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.edits-theme {
  position: absolute;
  inset: 0;
}

.edits-theme__label {
  position: absolute;
  top: 38px;
  left: 32px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.18em;
  color: rgba(220, 210, 195, 0.22);
  text-transform: uppercase;
}

.edits-theme__label--editorial {
  left: auto;
  right: 32px;
  color: rgba(212, 175, 55, 0.3);
}

.edits-theme--editorial-today .edits-theme__editorial-rule--gold {
  background: linear-gradient(180deg, transparent, rgba(245, 215, 110, 0.28) 20%, rgba(245, 215, 110, 0.28) 80%, transparent);
}

.edits-theme__label--today {
  color: rgba(245, 215, 110, 0.34);
}

@keyframes editsRecBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* —— Editorial (all three sections) —— */
.edits-theme__halftone {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(rgba(220, 210, 195, 0.55) 1px, transparent 1px);
  background-size: 5px 5px;
}

.edits-theme__headlines {
  position: absolute;
  inset: 10% 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  opacity: 0.07;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 0.95;
  color: rgba(220, 210, 195, 0.9);
  pointer-events: none;
}

.edits-theme__headlines span:nth-child(1) { font-size: clamp(2.4rem, 7vw, 4.5rem); letter-spacing: -0.02em; }
.edits-theme__headlines span:nth-child(2) { font-size: clamp(1.6rem, 4.5vw, 2.8rem); padding-left: 12%; }
.edits-theme__headlines span:nth-child(3) { font-size: clamp(2rem, 5.5vw, 3.6rem); text-align: right; font-style: italic; }
.edits-theme__headlines span:nth-child(4) { font-size: clamp(1.2rem, 3vw, 2rem); padding-left: 28%; letter-spacing: 0.3em; }
.edits-theme__headlines span:nth-child(5) { font-size: clamp(1.8rem, 4vw, 3rem); }
.edits-theme__headlines span:nth-child(6) { font-size: clamp(1rem, 2.5vw, 1.6rem); text-align: right; font-style: italic; letter-spacing: 0.15em; }

.edits-theme__editorial-rule {
  position: absolute;
  top: 0;
  left: 72px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.2) 20%, rgba(212, 175, 55, 0.2) 80%, transparent);
}

.edits-theme__editorial-rule::before {
  content: 'OPINION';
  position: absolute;
  top: 48px;
  left: -6px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(212, 175, 55, 0.22);
}

.edits-fresh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.edits-fresh-inner {
  position: relative;
  z-index: 1;
  max-width: min(1320px, 96vw);
  margin: 0 auto;
}

.edits-fresh-header {
  text-align: center;
  margin-bottom: 40px;
}

.edits-fresh-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(0, 100, 200, 0.25);
}

.edits-fresh-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  opacity: 0.95;
}

.edits-fresh-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 auto;
  max-width: 520px;
  line-height: 1.55;
}

.edits-fresh-carousel {
  position: relative;
}

.edits-fresh-stage-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  max-width: min(920px, 96vw);
  margin: 0 auto;
}

.edits-fresh-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 10, 18, 0.72);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.edits-fresh-arrow--side {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
}

.edits-fresh-arrow--bottom {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

.edits-fresh-arrow:hover {
  background: linear-gradient(135deg, #0046ad, #c8102e);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(0, 70, 173, 0.35);
}

.edits-fresh-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.edits-fresh-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 24px);
}

@media (max-width: 720px) {
  .edits-fresh-stage-row {
    gap: 0;
  }

  .edits-fresh-arrow--side {
    position: absolute;
    z-index: 6;
    top: 50%;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    transform: translateY(-50%);
    background: rgba(6, 8, 14, 0.84);
  }

  .edits-fresh-arrow--side:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .edits-fresh-arrow--side.edits-fresh-arrow--prev {
    left: 6px;
  }

  .edits-fresh-arrow--side.edits-fresh-arrow--next {
    right: 6px;
  }
}

/* Gradient frame (same vibe as title underline) around the carousel */
.edits-fresh-stage-shell {
  --fresh-shell-r: clamp(18px, 2.4vw, 28px);
  --fresh-shell-pad: 3px;
  flex: 1 1 auto;
  width: 100%;
  max-width: min(740px, 80vw);
  margin: 0 auto;
  padding: var(--fresh-shell-pad);
  border-radius: var(--fresh-shell-r);
  background: linear-gradient(120deg, #0046ad 0%, #2f6feb 42%, #c8102e 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 28px 72px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(0, 80, 180, 0.22),
    0 0 48px rgba(200, 16, 46, 0.12);
}

.edits-fresh-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(92vh, 940px);
  min-height: min(520px, 70vh);
  margin: 0 auto;
  border-radius: calc(var(--fresh-shell-r) - var(--fresh-shell-pad));
  overflow: hidden;
  background: #020408;
  border: none;
  box-shadow: none;
}

.edits-fresh-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateX(100%);
  transition: transform 0.95s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.edits-fresh-slide.fresh-no-transition {
  transition: none !important;
}

.edits-fresh-slide.is-active {
  transform: translateX(0);
  z-index: 2;
}

.edits-fresh-slide.is-off-left {
  transform: translateX(-100%);
  z-index: 1;
}

.edits-fresh-slide.is-off-right {
  transform: translateX(100%);
  z-index: 0;
}

.edit-fresh-showcase {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.edit-fresh-media {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  background: #030508;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.edit-fresh-media:not(.has-ever-played) {
  cursor: default;
}

/* Middle-frame cover (see setupEditVideoMiddleCover); video stays hidden until first play */
.edit-fresh-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  background: #030508;
}

.edit-fresh-media:not(.has-ever-played) .edit-fresh-video {
  opacity: 0;
  pointer-events: none;
}

.edit-fresh-media.has-ever-played .edit-fresh-video {
  opacity: 1;
  pointer-events: auto;
}

.edit-fresh-media.has-ever-played .edit-fresh-cover {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.edit-fresh-video {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #030508;
  transition: opacity 0.35s ease;
}

/* Fullscreen: letterbox with true video fit (no crop) */
.edit-fresh-media:fullscreen,
.edit-fresh-media:-webkit-full-screen,
.edit-fresh-media:-moz-full-screen {
  background: #000;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.edit-fresh-media:fullscreen .edit-fresh-video,
.edit-fresh-media:-webkit-full-screen .edit-fresh-video,
.edit-fresh-media:-moz-full-screen .edit-fresh-video {
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

.edit-fresh-media:fullscreen .edit-fresh-cover,
.edit-fresh-media:-webkit-full-screen .edit-fresh-cover,
.edit-fresh-media:-moz-full-screen .edit-fresh-cover {
  object-fit: contain !important;
  object-position: center !important;
}

.edit-fresh-media:fullscreen .edit-fresh-ui,
.edit-fresh-media:-webkit-full-screen .edit-fresh-ui,
.edit-fresh-media:-moz-full-screen .edit-fresh-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8;
}

.edit-fresh-media:fullscreen .edit-fresh-launch,
.edit-fresh-media:-webkit-full-screen .edit-fresh-launch,
.edit-fresh-media:-moz-full-screen .edit-fresh-launch {
  display: none;
}

.edit-fresh-media:fullscreen .edit-fresh-badge,
.edit-fresh-media:-webkit-full-screen .edit-fresh-badge,
.edit-fresh-media:-moz-full-screen .edit-fresh-badge {
  z-index: 9;
}

/* Center play — first frame / poster until click */
.edit-fresh-launch {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  cursor: pointer;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.edit-fresh-media.has-ever-played .edit-fresh-launch {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.edit-fresh-launch-glow {
  position: absolute;
  width: min(200px, 42vw);
  height: min(200px, 42vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 100, 220, 0.35) 0%, transparent 70%);
  filter: blur(12px);
  animation: editFreshPulse 2.8s ease-in-out infinite;
}

@keyframes editFreshPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edit-fresh-launch-glow {
    animation: none;
    opacity: 0.75;
  }
}

.edit-fresh-launch-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.edit-fresh-launch:hover .edit-fresh-launch-btn {
  transform: scale(1.06);
}

.edit-fresh-launch:active .edit-fresh-launch-btn {
  transform: scale(0.96);
}

.edit-fresh-launch-svg {
  width: min(88px, 20vw);
  height: min(88px, 20vw);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.edit-fresh-launch-ring {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
}

.edit-fresh-launch-triangle {
  fill: rgba(255, 255, 255, 0.95);
}

/* Custom control bar */
.edit-fresh-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 0 12px 12px;
  pointer-events: none;
}

.edit-fresh-ui:not([hidden]) {
  pointer-events: auto;
}

.edit-fresh-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  border-radius: 14px;
  cursor: default;
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.45) 0%, rgba(4, 6, 14, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 70, 173, 0.12) inset;
}

.edit-fresh-time {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  min-width: 5.5rem;
}

.edit-fresh-time-sep {
  margin: 0 3px;
  opacity: 0.45;
}

.edit-fresh-scrub-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.edit-fresh-scrub {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.edit-fresh-scrub::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(0, 70, 173, 0.9), rgba(200, 16, 46, 0.85));
}

.edit-fresh-scrub::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 70, 173, 0.5), 0 2px 10px rgba(0, 0, 0, 0.4);
  border: none;
}

.edit-fresh-scrub::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.edit-fresh-scrub::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
}

.edit-fresh-scrub::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 0 2px rgba(0, 70, 173, 0.5);
}

.edit-fresh-vol {
  flex: 0 0 auto;
  width: 72px;
  display: flex;
  align-items: center;
}

.edit-fresh-vol-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  appearance: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
}

.edit-fresh-vol-slider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #c8102e);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.edit-fresh-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #c8102e);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.edit-fresh-vol-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .edit-fresh-vol {
    width: 56px;
  }
}

.edit-fresh-bar-btn {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.edit-fresh-bar-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.edit-fresh-bar-btn:active {
  transform: scale(0.94);
}

.edit-fresh-bar-btn--play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}

.edit-fresh-bar-btn--play.is-paused::before {
  transform: translate(-50%, -50%);
  border-width: 8px 0 8px 14px;
}

.edit-fresh-bar-btn--play:not(.is-paused)::before {
  width: 4px;
  height: 14px;
  border: none;
  background: #fff;
  transform: translate(calc(-50% - 4px), -50%);
  box-shadow: 8px 0 0 #fff;
}

.edit-fresh-bar-btn--mute::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -50%);
  width: 9px;
  height: 7px;
  border: 2px solid #fff;
  border-right: none;
  border-radius: 2px 0 0 2px;
}

.edit-fresh-bar-btn--mute::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(35%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
}

.edit-fresh-bar-btn--mute.is-muted {
  opacity: 0.55;
}

.edit-fresh-bar-btn--fs::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: -3px -3px 0 -1px #fff;
}

.edit-fresh-bar-btn--dl::before {
  content: '';
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: #fff transparent transparent transparent;
}

.edit-fresh-bar-btn--dl::after {
  content: '';
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 7px;
  border: 2px solid #fff;
  border-top: none;
  border-radius: 0 0 3px 3px;
}

.edit-fresh-bar-btn--dl:disabled {
  opacity: 0.45;
  cursor: wait;
  pointer-events: none;
}

.edit-fresh-badge {
  z-index: 7;
  position: absolute;
  top: clamp(12px, 2vw, 20px);
  right: clamp(12px, 2vw, 20px);
  padding: 8px 14px;
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.edit-fresh-badge--date {
  background: linear-gradient(135deg, rgba(0, 70, 173, 0.92), rgba(200, 16, 46, 0.82));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Today badge — cyan accent with a small pulsing dot to communicate "live". */
.edit-fresh-badge--today {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.92), rgba(0, 212, 255, 0.82));
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 212, 255, 0.18) inset;
  color: #ffffff;
}

.edit-fresh-badge--today::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
  animation: edit-fresh-today-pulse 1.6s ease-in-out infinite;
}

@keyframes edit-fresh-today-pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50%      { transform: scale(1.35); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .edit-fresh-badge--today::before { animation: none; }
}

.edits-fresh-chrome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.edit-fresh-credit {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-shadow: 0 0 24px rgba(0, 120, 255, 0.35);
}

.edits-fresh-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.edits-fresh-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.edits-fresh-dot:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.15);
}

.edits-fresh-dot.is-active {
  background: linear-gradient(135deg, #0046ad, #c8102e);
  box-shadow: 0 0 14px rgba(0, 100, 200, 0.45);
  transform: scale(1.2);
}

.edits-fresh-picks.is-reduced-motion .edits-fresh-dots,
.edits-fresh-picks.is-reduced-motion .edits-fresh-arrow {
  display: none;
}

.edits-fresh-picks.is-reduced-motion .edits-fresh-stage-shell {
  max-width: min(760px, 90vw);
}

.edits-fresh-picks.is-reduced-motion .edits-fresh-stage {
  aspect-ratio: auto;
  max-height: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: visible;
  background: rgba(3, 5, 12, 0.92);
  border: none;
  box-shadow: none;
}

.edits-fresh-picks.is-reduced-motion .edits-fresh-slide {
  position: relative;
  inset: auto;
  width: 100%;
  flex: none;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  transform: none !important;
  transition: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.edits-fresh-picks.is-reduced-motion .edits-fresh-slide.is-off-left,
.edits-fresh-picks.is-reduced-motion .edits-fresh-slide.is-off-right {
  transform: none !important;
}

@media (max-width: 700px) {
  .edits-page .edits-fresh-picks {
    padding: 48px 4% 72px;
  }
  .edits-fresh-header {
    margin-bottom: 28px;
  }
  .edits-fresh-stage-shell {
    max-width: min(680px, 92vw);
  }
  .edits-fresh-stage {
    max-height: none;
    aspect-ratio: 3 / 4;
    min-height: 420px;
  }
}

.edits-content {
  padding: 60px 8% 100px;
  background: linear-gradient(180deg, #080b12 0%, #060810 100%);
}

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

.edits-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  text-align: center;
}

/* Featured edits archive hub */
.edits-archive-head {
  text-align: center;
  margin-bottom: 36px;
}

.edits-archive-head .edits-section-title {
  margin-bottom: 12px;
}

.edits-archive-lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.edits-archive-toolbar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
  max-width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.edits-archive-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.edits-archive-filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.edits-archive-filter:hover {
  border-color: rgba(0, 162, 255, 0.45);
  color: #fff;
}

.edits-archive-filter.is-active {
  background: linear-gradient(135deg, rgba(0, 70, 173, 0.55), rgba(200, 16, 46, 0.42));
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.edits-archive-search-wrap {
  display: flex;
  justify-content: center;
}

.edits-archive-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
}

.edits-archive-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.edits-archive-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.edits-archive-search input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.edits-archive-search-clear {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.edits-archive-date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.edits-archive-date-row label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.edits-archive-date-wrap {
  position: relative;
}

.edits-archive-date-input {
  min-width: 180px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.9rem;
}

.edits-archive-date-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  max-height: 240px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 18, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.edits-archive-date-suggestions.is-open {
  display: flex;
}

.edits-archive-date-suggestions button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.88rem;
}

.edits-archive-date-suggestions button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.edits-archive-clear-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.edits-archive-date-helper {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  margin: -6px 0 0;
}

.edits-archive-grid {
  margin-top: 8px;
}

.edits-archive-card {
  cursor: pointer;
}

.edits-archive-card:focus-visible {
  outline: 2px solid rgba(0, 162, 255, 0.85);
  outline-offset: 3px;
}

.edits-archive-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.edits-archive-card__date {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 70, 173, 0.92), rgba(200, 16, 46, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.edits-archive-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 40px;
}

.edits-archive-pagination__nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  flex: 0 0 auto;
}

.edits-archive-pagination__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.edits-archive-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.edits-archive-page-num {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 244, 245, 0.88);
  cursor: pointer;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.edits-archive-page-num:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.32);
  color: #fff;
  transform: translateY(-1px);
}

.edits-archive-page-num.is-active {
  background: linear-gradient(135deg, rgba(0, 70, 173, 0.92), rgba(200, 16, 46, 0.82));
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}

.edits-archive-pagination__ellipsis {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  padding: 0 2px;
  user-select: none;
}

.edits-archive-pagination__jump {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.edits-archive-pagination__jump-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.edits-archive-pagination__jump-input {
  width: 52px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.edits-archive-pagination__jump-input:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}

.edits-archive-pagination__jump-input::-webkit-outer-spin-button,
.edits-archive-pagination__jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.edits-archive-pagination__jump-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.edits-archive-pagination__jump-btn:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.35);
}

.edits-archive-pagination__info {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .edits-archive-pagination__jump-label {
    font-size: 0;
    gap: 0;
  }

  .edits-archive-pagination__jump-label .edits-archive-pagination__jump-input {
    margin-left: 0;
  }
}

.edits-archive-empty {
  text-align: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.edits-archive-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
}

.edits-archive-lightbox[hidden] {
  display: none !important;
}

.edits-archive-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.edits-archive-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(14, 18, 28, 0.98), rgba(6, 8, 14, 0.99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.edits-archive-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.edits-archive-lightbox__img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #000;
}

.edits-archive-lightbox__meta {
  padding: 22px 24px 28px;
}

.edits-archive-lightbox__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #fff;
}

.edits-archive-lightbox__desc {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.edits-archive-lightbox__date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(180, 210, 255, 0.88);
}

body.edits-archive-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .edits-archive-date-row {
    flex-direction: column;
    align-items: stretch;
  }

  .edits-archive-date-wrap,
  .edits-archive-date-input {
    width: 100%;
  }

  .edits-archive-clear-btn {
    width: 100%;
  }
}

.edits-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.edit-card-v2 {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.edit-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(0, 162, 255, 0.15),
              0 0 30px rgba(255, 80, 173, 0.1);
}

.edits-page .edit-card-v2 {
  border: 2px solid transparent;
  background: linear-gradient(165deg, rgba(18, 22, 34, 0.98), rgba(8, 10, 18, 0.99)) padding-box,
    linear-gradient(120deg, #0046ad 0%, #3b82f6 45%, #c8102e 100%) border-box;
  background-clip: padding-box, border-box;
}

.edit-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0c;
}

.edit-card-media img,
.edit-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edit-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.edit-card-body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edit-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.edit-card-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 700px) {
  .edits-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .edits-hero {
    min-height: 36vh;
  }
  .edits-content {
    padding: 40px 6% 80px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 51, 160, 0.3), 0 0 15px rgba(165, 0, 68, 0.3);
  transition: transform 0.3s ease, box-shadow 0.5s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.7), 
                0 0 35px rgba(0, 51, 160, 0.8), 
                0 0 55px rgba(165, 0, 68, 0.7);
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(45deg, #0099ff, #ff0044);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 5px rgba(0, 136, 255, 0.5);
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  color: #fff;
}


.news-hero {
  position: relative;
  height: 140vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: flex-start;
  padding-top: 60px;
}

.news-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(55%) contrast(110%);
  z-index: -1;
  animation: heroZoom 12s ease-out forwards;
}

.news-hero-content {
  position: relative;
  z-index: 1;
}

.news-hero-title {
  font-family: sans-serif, 'Popins';
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.news-separator {
  position: relative;
  height: 70px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-separator-line {
  position: absolute;
  height: 3px;
  width: 140%;
  background: linear-gradient(90deg, #0033A0, #A50044);
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(165,0,68,0.7));
}

.line-1 {
  top: 10px;
  animation: moveSep1 6s linear infinite;
}

.line-2 {
  bottom: 10px;
  animation: moveSep2 6s linear infinite reverse;
}

@keyframes moveSep1 {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(40%); }
}

@keyframes moveSep2 {
  0% { transform: translateX(40%); }
  100% { transform: translateX(-100%); }
}

/* News archive section: rides on .home-hub-section base styles (kicker /
   title / lead head + dotted-grain bg), but tones down the radial gradient
   so the cyan accent doesn't fight the cards. The original .news-section
   selectors are kept for the legacy classname; ::before/::after orbs are
   removed because the hub-section already paints its own top hairline. */
.news-section {
  position: relative;
  overflow: hidden;
  background-color: #0a0a13;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 212, 255, 0.10), transparent 60%);
  background-size: 22px 22px, 100% 100%;
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
}

.news-section-head {
  text-align: left;
  max-width: 760px;
  margin: 0 auto 32px;
}

.news-section .news-section-head .home-section-title {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 35%, #7dd3fc 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.news-section-title { display: none; }

/* Suppress the inherited blue/garnet inset pulse from .home-section so it
   doesn't fight the cyan-only news palette. */
.news-section::after { display: none; }

.news-categories {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.news-categories .cat {
  padding: 10px 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 40px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
}

.news-categories .cat:hover {
  background: rgba(255,255,255,0.25);
}

.news-categories .active {
  background: white;
  color: #000;
  font-weight: 700;
}

.news-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(400px, auto);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Card: glass surface, cyan top-accent, lift on hover. Replaces the old
   pink-gradient title + photo-overlay styling that clashed with the rest
   of the site. */
.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(20, 22, 30, 0.78) 0%, rgba(14, 15, 22, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 212, 255, 0.04) inset;
}

.news-card:hover::before,
.news-card:focus-within::before {
  opacity: 1;
}

.news-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.news-card img {
  width: 100%;
  flex: 0 0 auto;
  height: clamp(176px, 24vw, 232px);
  object-fit: cover;
  object-position: center top;
  border-radius: 15px 15px 0 0;
  display: block;
  transform: scale(1.02);
  transform-origin: center top;
  transition: transform 1.2s ease, filter 0.25s ease;
  filter: saturate(1.05);
}

.news-card:hover img,
.news-card:focus-within img {
  transform: scale(1);
  filter: saturate(1.15);
}

.news-card-content {
  flex: 1 1 auto;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
}

.news-card-date {
  font-size: 0.76rem;
  color: rgba(244, 244, 245, 0.55);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.news-tag {
  align-self: flex-start;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.news-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.32;
  color: #ffffff;
  letter-spacing: -0.005em;
  /* clear out the old gradient-clip */
  background: none;
  -webkit-text-fill-color: initial;
  -webkit-background-clip: initial;
          background-clip: initial;
  margin: 0;
  /* clamp to 2 lines to keep cards aligned */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.72);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-stats {
  list-style: none;
  margin-top: auto;
  margin-bottom: 0;
  padding: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: rgba(244, 244, 245, 0.62);
  flex-shrink: 0;
  min-height: 2.25rem;
}

.news-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.news-card-stat-icon {
  opacity: 0.9;
  font-size: 0.92rem;
  line-height: 1;
}

.news-card-stat[data-stat="likes"]    .news-card-stat-icon { color: #ff7e88; }
.news-card-stat[data-stat="views"]    .news-card-stat-icon { color: #00d4ff; }
.news-card-stat[data-stat="comments"] .news-card-stat-icon { color: #ffd166; }

.news-card-stat-value {
  color: #ffffff;
  font-weight: 600;
}

.news-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 18px;
  max-width: 920px;
  position: relative;
  z-index: 10;
}

.news-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 244, 245, 0.85);
  cursor: pointer;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.news-filter-btn:hover {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.32);
  color: #ffffff;
  transform: translateY(-1px);
}

.news-filter-btn.active {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.10), 0 6px 16px rgba(0, 212, 255, 0.18);
}

/* ─── News search bar ──────────────────────────────────────────────────── */
.news-search-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 32px;
  padding: 0 12px;
  position: relative;
  z-index: 10;
}

.news-search {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.6rem 1rem 0.6rem 1.05rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.news-search:focus-within {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.35);
}

.news-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}

.news-search input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.15rem 0;
}

.news-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Hide the browser's built-in clear "x" since we ship our own. */
.news-search input::-webkit-search-cancel-button { display: none; }

.news-search-clear {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  line-height: 1;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.news-search-clear:hover,
.news-search-clear:focus-visible {
  background: rgba(0, 212, 255, 0.18);
  color: #fff;
  outline: none;
}

.news-search-hint {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.news-search-hint kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 0.05rem 0.4rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  margin: 0 0.15rem;
}

/* Empty-results state inside the news grid. */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.news-empty-title {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 0.45rem;
}

.pagination {
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.page-num {
  min-width: 40px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 244, 245, 0.85);
  border-radius: 10px;
  cursor: pointer;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.page-num:hover {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.32);
  color: #ffffff;
  transform: translateY(-1px);
}

.page-num.active {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.10), 0 6px 16px rgba(0, 212, 255, 0.18);
}

.article-container {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
  color: white;
  position: relative;
}

.article-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.article-title {
  font-size: 2.2rem;
  margin: 25px 0 10px;
}

#article-tags {
    margin: 15px 0;
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.article-tag:hover {
    background: rgba(255,255,255,0.25);
}

.article-fulltext {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.back-btn {
  display: inline-block;
  margin-bottom: 25px;
  color: #ff4b6a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: .3s;
}

.back-btn:hover {
  text-decoration: underline;
  color: #ff3355;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: #66aaff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.related-list,
#related-articles {
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 15px;
}

.related-grid {
    overflow: visible !important;
}

.related-card {
    width: 31%;  
    border-radius: 12px;
    overflow: visible !important;
    height: auto !important;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
    color: white;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(255, 0, 120, 0.3);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.article-main-img {
    width: 100%;
    border-radius: 20px;
    animation: slowZoom 10s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

#comment-input {
  width: 100%;
  height: 120px;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  background: rgba(255,255,255,0.08);
  color: white;
}

#comment-post {
  padding: 10px 20px;
  background: linear-gradient(90deg,#0033A0,#A50044);
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.comment {
  padding: 12px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 12px;
  border-radius: 8px;
}

.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, #3b0d33, #000);
  animation: bgMove 12s infinite alternate ease-in-out;
  filter: blur(60px);
}

@keyframes bgMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, -40px); }
}

.article-meta {
  margin: 12px 0 20px;
  opacity: .9;
  font-size: 0.95rem;
}

#like-button {
  background: rgba(255,255,255,0.12);
  padding: 5px 15px;
  border-radius: 8px;
  border: 1px solid #ff4477;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

#like-button:hover {
  background: #ff4477;
}

.tag-list {
  margin-bottom: 20px;
}

.tag-list .tag {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  padding: 4px 10px;
  border-radius: 6px;
  margin-right: 8px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
}

#comments-title {
    margin-top: 40px; 
}

.comments-title {
  margin-top: 70px;
}

.comments-section {
    margin-top: 40px;
}

#comments-container {
    z-index: 1 !important;
}

#related-articles,
#comments-container {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    margin-top: 15px;
}

.share-title {
  margin-top: 60px;
}

.share-section {
    margin-top: 40px;
    position: relative;
    z-index: 20;
}

.share-buttons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 21;
}

.share-buttons a {
    display: inline-block;
    padding: 12px 22px;
    margin-right: 10px;
    background: linear-gradient(45deg, #0044ff, #d40057);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    position: relative;
    z-index: 22;
    pointer-events: auto;
}

.share-buttons a:hover {
    transform: translateY(-4px);
    filter: brightness(1.2);
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.article-tag:hover {
    background: rgba(255,255,255,0.2);
}

body.article-page {
    background: radial-gradient(circle at center, #1a0025, #0a0012, #000000);
    background-attachment: fixed;
    animation: bgFloat 10s infinite alternate ease-in-out;
}

@keyframes bgFloat {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.latest-fullscreen {
    position: relative;
    height: 200vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    scroll-margin-top: 24px;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.9)
    );
    /* Stack title + slider in normal flow so "LATEST NEWS" never overlaps
       slide headlines (previously both used % of 200vh + centered slides). */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.latest-slider {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    z-index: 5;
    display: block;
    overflow: hidden;
}

.latest-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(16px, 2.5vh, 32px) clamp(4%, 5vw, 8%) clamp(20px, 4vh, 48px);
    gap: 40px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.latest-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.latest-text {
    width: 50%;
    z-index: 2;
}

.latest-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #0033A0, #A50044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.latest-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.92;
}

.latest-image {
    width: 45%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 51, 160, 0.5),
                0 0 25px rgba(165, 0, 68, 0.5);
}

.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: imageZoom 12s ease-in-out infinite alternate;
}

@keyframes imageZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.cosmic-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.stars, .stars-2 {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    background-size: contain;
    opacity: 0.45;
    animation: drift 120s linear infinite;
    pointer-events: none;
}

.stars {
    background-image: url('https://i.imgur.com/o5uMfKo.png');
    animation-duration: 140s;
}

.stars-2 {
    background-image: url('https://i.imgur.com/HhP3sG5.png'); 
    animation-duration: 90s;
    opacity: 0.60;
}

.nebula {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(160,0,255,0.35), transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(0,102,255,0.35), transparent 65%);
    filter: blur(100px);
    mix-blend-mode: screen;
    animation: nebulaShift 16s ease-in-out infinite alternate;
}

@keyframes nebulaShift {
    0% {
        opacity: 0.9;
        background: radial-gradient(circle at 30% 40%, rgba(180,0,60,0.35), transparent 70%),
                    radial-gradient(circle at 70% 70%, rgba(0,76,255,0.35), transparent 65%);
    }
    50% {
        opacity: 0.7;
        background: radial-gradient(circle at 25% 65%, rgba(130,0,255,0.35), transparent 70%),
                    radial-gradient(circle at 75% 35%, rgba(0,140,255,0.35), transparent 65%);
    }
    100% {
        opacity: 0.85;
        background: radial-gradient(circle at 40% 30%, rgba(255,0,120,0.35), transparent 70%),
                    radial-gradient(circle at 60% 75%, rgba(0,100,255,0.35), transparent 65%);
    }
}

@keyframes drift {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(-800px, -1200px, 0); }
}

.space-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    filter: blur(2px);
    animation: floatDust linear infinite;
}

@keyframes floatDust {
    from { transform: translateY(0) translateX(0) scale(1); opacity: 1; }
    to { transform: translateY(-800px) translateX(200px) scale(0.5); opacity: 0; }
}

.shooting-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.shooting-star {
    position: absolute;
    width: 3px;
    height: 150px;
    background: linear-gradient(180deg, white, transparent);
    filter: blur(1px);
    opacity: 0;
    transform: rotate(45deg);
    animation: shoot 1.8s ease-out infinite;
}

@keyframes shoot {
    0% { opacity: 0; transform: translate(-200px, -200px) rotate(45deg); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translate(800px, 800px) rotate(45deg); }
}

.planet {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a, #000);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9), 
                0 0 120px rgba(0, 51, 160, 0.7),
                0 0 160px rgba(165, 0, 68, 0.7);
    top: 20%;
    left: -250px;
    opacity: 0.5;
    animation: planetRotate 55s linear infinite;
    z-index: 1;
}

@keyframes planetRotate {
    0%   { transform: rotate(0deg) translateX(0) scale(1); }
    100% { transform: rotate(360deg) translateX(50px) scale(1.05); }
}

.parallax-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at bottom,
        rgba(0,255,200,0.25),
        transparent 60%
    );
    filter: blur(80px);
    mix-blend-mode: screen;
    animation: auroraWaves 14s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes auroraWaves {
    0% {
        transform: translateY(20px) scaleX(1);
        opacity: 0.5;
        background: radial-gradient(
            ellipse at 70% 90%,
            rgba(0,255,170,0.28),
            transparent 70%
        );
    }
    50% {
        transform: translateY(-20px) scaleX(1.2);
        opacity: 0.75;
        background: radial-gradient(
            ellipse at 20% 75%,
            rgba(0,140,255,0.35),
            transparent 70%
        );
    }
    100% {
        transform: translateY(30px) scaleX(1.05);
        opacity: 0.6;
        background: radial-gradient(
            ellipse at 40% 85%,
            rgba(180,0,255,0.3),
            transparent 70%
        );
    }
}

.latest-title-wrapper {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: clamp(28px, 5vh, 64px) 16px clamp(28px, 4vh, 48px);
    z-index: 10;
}

.latest-main-title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 900;
    text-transform: uppercase;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.05;
}

.latest-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    padding: clamp(28px, 5vh, 56px) clamp(16px, 4vw, 48px) clamp(16px, 3vh, 32px);
    gap: clamp(36px, 5.5vh, 64px);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.latest-text-block {
    flex: 0 0 auto;
    width: 100%;
    max-width: min(960px, 94vw);
    min-width: 0;
    margin: 0 auto;
    text-align: left;
}

.latest-section-title {
    font-size: 3.4rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, #A50044, #0033A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    width: 100%;
    margin-bottom: 35px;
    margin-top: -50px;
}

.latest-news-title {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 2.8vw, 2.15rem);
    font-weight: 800;
    line-height: 1.18;
    white-space: normal;
    word-break: keep-all;
    letter-spacing: 0.04em;
}

.latest-news-subtitle {
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    color: rgba(244, 244, 245, 0.88);
    margin: 0 0 12px;
    letter-spacing: 0.02em;
    font-weight: 500;
    line-height: 1.55;
    opacity: 1;
}

.latest-image-block {
    flex: 0 0 auto;
    width: 100%;
    max-width: min(1240px, 96vw);
    min-width: 0;
    min-height: 0;
    margin-top: clamp(8px, 1.5vh, 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: none;
}

.latest-image-block img {
    display: block;
    margin-inline: auto;
    width: 100%;
    max-width: min(1240px, 94vw);
    height: auto;
    max-height: min(62vh, 720px);
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    animation: floatImage 6s ease-in-out infinite alternate;
}

/* LaLiga + Supercopa fan banner: soft crop without editing the file (tweak
   object-position / aspect-ratio if you replace the asset later). */
.latest-image-block--trim {
    max-width: min(1240px, 96vw);
    overflow: hidden;
    border-radius: 0;
}

.latest-image-block--trim img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: min(58vh, 680px);
    min-height: min(36vh, 420px);
    object-fit: cover;
    object-position: center 38%;
    border-radius: 0;
    box-shadow: none;
}

@keyframes floatImage {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.015); }
}

@media (max-width: 960px) {
    .latest-slide {
        padding: 0 5%;
    }

    .latest-content {
        gap: 28px;
        padding-top: clamp(20px, 4vh, 40px);
        padding-bottom: 20px;
    }

    .latest-text-block {
        max-width: none;
    }

    .latest-image-block img {
        max-height: min(42vh, 380px);
    }

    .latest-image-block--trim img {
        min-height: 220px;
        max-height: min(44vh, 400px);
        object-position: center 35%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-image-block img {
        animation: none;
    }
}

.browse-news-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-top: -80px;
    margin-bottom: 40px;
    position: relative;
    z-index: 5; 
}

.video-feature-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 120px 0;
    overflow: hidden;
}

.video-feature-bg {
    position: absolute;
    width: 100%;
    max-width: 100%;
    inset: 0;
    background-image: url('images/gavi-campnou.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(65%) blur(1.5px);
    z-index: 1;
}

.video-feature-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-feature-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.video-feature-subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

/* News page — official club YouTube spotlight (max 3 in data/news-youtube-spotlight.json) */
.news-yt-spotlight {
  margin-top: 0.5rem;
}

.news-yt-spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 1.25rem;
  align-items: start;
  margin-top: 0.35rem;
}

.news-yt-spotlight__main {
  min-width: 0;
}

.news-yt-spotlight__iframe-wrap {
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.news-yt-spotlight__main-meta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.news-yt-spotlight__main-title {
  margin: 0;
  font-family: "Orbitron", "Poppins", system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw + 0.65rem, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f4f4f5;
  line-height: 1.35;
}

.news-yt-spotlight__source {
  margin: 0;
  font-size: 0.88rem;
  color: #a1a1aa;
}

.news-yt-spotlight__ext {
  align-self: flex-start;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #00d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.news-yt-spotlight__ext:hover {
  color: #6affff;
  border-color: rgba(106, 255, 255, 0.55);
}

.news-yt-spotlight__queue {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.65rem 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 15, 0.65);
}

.news-yt-spotlight__queue-label {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.55);
}

.news-yt-spotlight__queue-btn {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  outline: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-yt-spotlight__queue-btn:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 3px;
}

.news-yt-spotlight__queue-btn:hover {
  transform: translateY(-2px);
}

.news-yt-spotlight__queue-btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.news-yt-spotlight__queue-cap {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #d4d4d8;
  padding: 0 0.05rem 0.35rem;
}

@media (max-width: 900px) {
  .news-yt-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .news-yt-spotlight__queue {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .news-yt-spotlight__queue-label {
    flex: 1 0 100%;
  }

  .news-yt-spotlight__queue-btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 140px;
  }
}

.hero video {
  object-fit: cover;
  object-position: center;
}

.training-hero {
  position: relative;
  height: 140vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.training-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(55%) contrast(110%);
  z-index: 0;
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.training-hero-content {
  position: absolute;
  top: 50%;              
  left: 50%;             
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 100%;     
  padding: 0 20px;
  z-index: 1;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.training-welcome {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 4.8rem;
  line-height: 1;
  margin-bottom: 0; 
  top: 140px;
  animation: fadeUp 3s ease-out forwards;
}

@media (max-width: 768px) {
  .training-welcome {
    font-size: 3.2rem;
  }
}

.training-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  margin-top: 5px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: softGlow 4.5s ease-in-out infinite;
  text-shadow: 0 0 6px rgba(255,0,0,0.5), 0 0 14px rgba(0,70,173,0.4);
}

@media (max-width: 768px) {
  .training-main-title {
    font-size: 3.4rem;
  }
}

.training-subtext {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin: 20px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  animation: glowPulse 3s ease-in-out infinite;
}

.training-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f1f1f1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.training-hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 45px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, #0046ad, #c8102e);
  background-size: 200%;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  animation: gradientShift 4s linear infinite;
}

.training-hero-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(255,255,255,0.4), 0 0 60px rgba(200,16,46,0.3);
  background: linear-gradient(90deg, #c8102e, #0046ad);
}

.training-hero-btn:active {
  transform: scale(0.97);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
}

.training-hub {
    position: relative;
    padding: 70px 6% 90px;
    display: grid;
    gap: 28px;
    overflow: hidden;
}

.training-hex-layer {
    position: absolute;
    inset: 0;
    background-image: url("images/barcahex.png");
    background-size: 220px;
    opacity: 0.15;
    z-index: 0;
    animation: hexMove 22s linear infinite;
    pointer-events: none;
}

.training-hex-layer2 {
    position: absolute;
    inset: 0;
    background-image: url("images/barcahex2.png");
    background-size: 220px;
    opacity: 0.15;
    z-index: 0;
    animation: hexMove 22s linear infinite;
    pointer-events: none;
}

@keyframes hexMove {
    from { background-position: 0 0; }
    to   { background-position: 600px 400px; }
}

.training-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: white;
    letter-spacing: 2px;
}

.training-block {
    position: relative;
    z-index: 2;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 26px;
    box-shadow: 
        0 0 35px rgba(165, 0, 68, 0.25),
        0 0 35px rgba(0, 51, 160, 0.25);
}

.training-block-head {
    margin-bottom: 18px;
}

.training-block-desc {
    color: #e8e8e8;
    font-size: 1.02rem;
}

.today-training-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(260px, 0.95fr);
    gap: 24px;
    align-items: center;
}

.today-training-slider {
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.today-train-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.1s ease;
}

.today-train-img.active {
    opacity: 1;
    z-index: 2;
}

.today-training-info p {
    margin-bottom: 12px;
    color: #f3f3f3;
    line-height: 1.5;
}

.recent-training-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.recent-training-slider-shell {
    position: relative;
    display: block;
}

.recent-training-slider {
    position: relative;
    min-height: 164px;
}

.recent-training-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 18px;
    min-height: 164px;
    animation: recent-training-fade 0.45s ease;
}

.recent-training-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.recent-training-card p {
    color: #e7e7e7;
}

.recent-training-clone {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    animation: recent-training-fade 0.45s ease;
}

.recent-training-clone-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(260px, 0.95fr);
    gap: 24px;
    align-items: center;
    min-height: auto;
}

.recent-training-clone .today-training-slider {
    height: 460px;
    border-radius: 16px;
}

.recent-training-clone .today-train-img.active {
    opacity: 1;
    filter: brightness(0.72) contrast(1.02);
}

.recent-training-clone .today-training-info p {
    color: #f3f3f3;
}

.recent-training-clone-info {
    position: static;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px 22px;
    box-shadow: none;
    max-width: none;
}

.recent-training-clone-info p {
    margin-bottom: 14px;
    font-size: 1.35rem;
    line-height: 1.35;
}

.recent-training-clone-info .recent-date {
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.recent-training-clone-info .recent-date strong {
    color: #fff;
    font-weight: 800;
}

.recent-training-showcase-card {
    display: block;
}

.recent-training-showcase-media {
    display: block;
    min-height: 460px;
    border-radius: 16px;
    overflow: hidden;
}

.recent-training-showcase-media img,
.recent-training-showcase-media video {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #000;
}

.recent-training-showcase-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.recent-training-showcase-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.recent-training-cta {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.recent-training-nav {
    position: absolute;
    top: 230px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

#recentTrainingPrev {
    left: 12px;
}

#recentTrainingNext {
    right: 12px;
}

.recent-training-indicator {
    margin-top: 10px;
    text-align: center;
    color: #fff;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
    opacity: 0.9;
}

@keyframes recent-training-fade {
    from { opacity: 0.3; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.recent-date {
    color: #ffb5c4;
    font-weight: 600;
    margin-bottom: 10px;
}

.training-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.training-date-select {
    min-width: 210px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.training-date-search-wrap {
    position: relative;
}

.training-date-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    display: none;
    z-index: 20;
}

.training-date-suggestions.is-open {
    display: block;
}

.training-date-suggestion-item {
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    text-align: left;
    padding: 9px 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.training-date-suggestion-item:hover {
    background: rgba(255, 255, 255, 0.14);
}

.training-clear-filter-btn {
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
}

.training-date-helper {
    margin-top: -6px;
    margin-bottom: 14px;
    color: #d7d7d7;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
}

.training-photo-results {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.training-photo-item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    padding: 0;
}

.training-photo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.training-photo-item:hover img {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.training-photo-item-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background: linear-gradient(90deg, #0b4fd6, #bf1d5f);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
    z-index: 1;
}

.training-video-compact {
    width: 100%;
    max-height: 460px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #000;
}

.training-video-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.training-video-item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
    padding: 0;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.training-video-item video {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.training-video-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

.training-video-item-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.training-video-item-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background: linear-gradient(90deg, #0b4fd6, #bf1d5f);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.training-empty-note {
    margin-top: 12px;
    color: #ffd5dd;
    font-weight: 500;
}

.training-photo-pagination {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.training-photo-pagination button {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.training-photo-pagination span {
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.training-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
}

.training-photo-lightbox[hidden] {
    display: none !important;
}

.training-photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.training-photo-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1200px);
    max-height: 86vh;
    border-radius: 14px;
}

.training-photo-lightbox-dialog img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.65);
}

.training-photo-lightbox-sign {
    position: absolute;
    right: 14px;
    top: 14px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 10px 12px;
    color: #fff;
    min-width: 230px;
    text-align: left;
    font-family: sans-serif;
}

.training-photo-lightbox-sign p {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    line-height: 1.35;
}

.training-photo-lightbox-sign p:last-child {
    margin-bottom: 0;
}

.training-photo-like-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.training-photo-like-btn {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-family: sans-serif;
    position: relative;
}

.training-photo-like-btn.is-liked {
    color: #1f7aff;
    animation: training-heart-pulse 0.3s ease;
}

.training-photo-like-btn.like-tone-blue {
    color: #1f7aff;
    text-shadow: 0 0 8px rgba(31, 122, 255, 0.8);
}

.training-photo-like-btn.like-tone-red {
    color: #d10f45;
    text-shadow: 0 0 8px rgba(209, 15, 69, 0.8);
}

@keyframes training-heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.training-like-burst-heart {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-size: 0.9rem;
    opacity: 0.45;
    animation: training-heart-float 780ms ease-out forwards;
}

.training-like-burst-heart.like-tone-blue {
    color: #1f7aff;
}

.training-like-burst-heart.like-tone-red {
    color: #d10f45;
}

@keyframes training-heart-float {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.52;
    }
    100% {
        transform: translate(var(--tx, -50%), var(--ty, -160%)) scale(1.25);
        opacity: 0;
    }
}

.training-photo-lightbox-sign,
.training-photo-lightbox-sign *,
.training-photo-like-btn,
.training-photo-like-row span {
    font-family: sans-serif;
}

.training-photo-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.training-photo-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    z-index: 2;
}

.training-photo-lightbox-nav.prev { left: 10px; }
.training-photo-lightbox-nav.next { right: 10px; }

.training-photo-lightbox-nav[hidden] {
    display: none;
}

.photo-lightbox-open .training-hero,
.photo-lightbox-open .training-hub {
    filter: blur(3px);
    pointer-events: none;
}

.training-video-lightbox-dialog video {
    width: 100%;
    height: min(72vh, 620px);
    max-height: 72vh;
    object-fit: contain;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.55);
}

.training-video-lightbox-dialog {
    width: min(96vw, 980px);
    padding: 4px;
    border-radius: 22px;
    background: linear-gradient(120deg, rgba(32, 109, 255, 0.9), rgba(188, 28, 88, 0.9));
}

.training-video-lightbox-dialog::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 20%, rgba(20, 28, 46, 0.92), rgba(2, 4, 10, 0.97));
    z-index: -1;
}

.training-video-ui {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(3, 10, 28, 0.9);
    border: 1px solid rgba(64, 108, 191, 0.4);
    border-radius: 16px;
    padding: 10px 14px;
}

.training-video-topline {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 760px);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    z-index: 3;
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.25;
    white-space: nowrap;
    pointer-events: none;
    justify-content: center;
    text-align: center;
}

.training-video-topline strong,
.training-video-topline span,
.training-video-topline button {
    font-family: sans-serif;
}

.training-video-topline-sep {
    opacity: 0.65;
}

.training-video-topline-like {
    gap: 6px;
    pointer-events: auto;
}

.training-video-topline-like * {
    pointer-events: auto;
}

.video-lightbox-fullscreen .training-video-topline {
    display: none !important;
}

.training-video-lightbox-dialog:fullscreen,
.training-video-lightbox-dialog:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    padding: 0;
    border-radius: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.training-video-lightbox-dialog:fullscreen::before,
.training-video-lightbox-dialog:-webkit-full-screen::before {
    display: none;
}

.training-video-lightbox-dialog:fullscreen video,
.training-video-lightbox-dialog:-webkit-full-screen video {
    width: auto;
    max-width: 100vw;
    height: calc(100vh - 108px);
    max-height: calc(100vh - 108px);
    border-radius: 0;
    box-shadow: none;
}

.training-video-lightbox-dialog:fullscreen .training-video-ui,
.training-video-lightbox-dialog:-webkit-full-screen .training-video-ui {
    width: min(96vw, 1200px);
    margin-top: 0;
}

.training-video-ui-btn {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
    cursor: pointer;
}

.training-video-ui-time {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    min-width: 96px;
}

.training-video-ui-seek {
    flex: 1;
    accent-color: #cf1f5b;
}

.training-video-date-badge {
    display: none;
}

.video-lightbox-fullscreen .training-video-date-badge {
    display: none !important;
}

.video-lightbox-open .training-hero,
.video-lightbox-open .training-hub {
    filter: blur(3px);
    pointer-events: none;
}

.training-video-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: linear-gradient(90deg, #0046ad, #c8102e);
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    z-index: 5;
    text-shadow: 0 0 6px black;
    box-shadow: 0 0 18px rgba(0,0,0,0.5);
    transition: 0.3s ease;
}

.training-video-btn:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

@media (max-width: 1000px) {
    .today-training-layout {
        grid-template-columns: 1fr;
    }

    .recent-training-grid {
        grid-template-columns: 1fr 1fr;
    }

    .recent-training-slider-shell {
        display: block;
    }

    .recent-training-nav {
        display: none;
    }

    .recent-training-showcase-card {
        display: block;
    }

    .recent-training-clone .today-training-slider {
        height: 340px;
    }

    .recent-training-clone-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .recent-training-clone-info {
        position: static;
        padding: 14px 14px;
    }

    .recent-training-clone-info .recent-date {
        font-size: 1.4rem;
    }

    .recent-training-showcase-media img,
    .recent-training-showcase-media video {
        height: 340px;
    }

    .recent-training-showcase-media {
        min-height: 340px;
    }

    .training-photo-results,
    .training-video-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .training-hub {
        padding: 50px 4% 70px;
    }

    .training-title {
        font-size: 2.2rem;
    }

    .today-training-slider {
        height: 340px;
    }

    .recent-training-grid,
    .training-photo-results,
    .training-video-results {
        grid-template-columns: 1fr;
    }

    .recent-training-slider {
        min-height: 190px;
    }

    .recent-training-card {
        min-height: 190px;
    }

    .recent-training-clone .today-training-slider {
        height: 280px;
    }

    .recent-training-clone-layout {
        min-height: auto;
    }

    .recent-training-clone-info {
        position: static;
        padding: 11px 11px;
    }

    .recent-training-clone-info p {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .recent-training-clone-info .recent-date {
        font-size: 1.08rem;
        margin-bottom: 8px;
    }

    .recent-training-cta {
        font-size: 0.92rem;
        padding: 9px 12px;
    }

    .recent-training-showcase-media img,
    .recent-training-showcase-media video {
        height: 280px;
    }

    .recent-training-showcase-media {
        min-height: 280px;
    }

    .training-video-topline {
        top: 12px;
        width: min(94vw, 760px);
        font-size: 0.88rem;
        gap: 6px;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .training-video-topline-sep {
        display: none;
    }
}

.gavi-hero {
    position: relative;
    height: 160vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.gavi-hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(55%) contrast(110%);
    z-index: -1;
}

.gavi-hero-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    animation: fadeUp 1.6s ease forwards;
}

.gavi-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0046ad, #c8102e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(200,16,46,0.4);
    animation: fadeUp 5s ease forwards;
}

.gavi-hero-subtitle {
    font-size: 1.4rem;
    margin-top: 15px;
    letter-spacing: 2px;
    opacity: 0.95;
    animation: fadeUp 6s ease forwards;
}

.scroll-down {
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
    animation: bounce 2s infinite;
}

.scroll-down::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translate(-50%, -2px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.bio-section {
    position: relative;
    padding: 120px 8% 100px;
    color: #fff;
    isolation: isolate;
    background: transparent;
    z-index: 1;
}

.bio-media-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: #0a0e1c;
    background-image: url("images/background_for_gavi_section_lifepath_scroll.png");
    background-size: 100% auto;
    background-position: center 0%;
    background-repeat: no-repeat;
    will-change: background-position;
}

.bio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 12, 28, 0.28) 0%,
        transparent 18%,
        transparent 72%,
        rgba(8, 12, 28, 0.22) 92%,
        rgba(8, 12, 28, 0.38) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.bio-section::before,
.bio-section::after {
    display: none;
}

.bio-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.bio-era-nav {
    position: sticky;
    top: 72px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto 36px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(8, 20, 52, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.bio-era-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.bio-era-pill:hover,
.bio-era-pill.active {
    color: #fff;
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, rgba(0, 70, 173, 0.92), rgba(165, 0, 68, 0.88));
    transform: translateY(-1px);
}

.bio-link {
    color: #7dd3fc;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(125, 211, 252, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

.bio-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

.bio-text-col {
    flex: 1.6;
}

.bio-media-col {
    flex: 1.1;
    display: flex;
    align-items: stretch;
}

.bio-media-frame {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at top, #111 0, #000 70%);
    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(0, 180, 255, 0.6);
}

.bio-media-frame img,
.bio-media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-media-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.6),
                rgba(0, 0, 0, 0.15));
    mix-blend-mode: multiply;
    pointer-events: none;
}

.bio-media-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.bio-media-frame.is-video::before {
    background: linear-gradient(135deg,
                rgba(0, 188, 255, 0.4),
                rgba(165, 0, 68, 0.5));
}


@media (max-width: 899px) {
    .bio-inner {
        flex-direction: column;
    }
    .bio-block {
        padding-left: 56px;
    }
    .bio-media-col {
        order: -1;
    }
    .bio-era-nav {
        top: 62px;
        border-radius: 16px;
        padding: 8px 10px;
        margin-bottom: 28px;
    }
    .bio-era-pill {
        font-size: 0.68rem;
        padding: 6px 10px;
    }
}

.bio-kicker {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}

.bio-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0033A0, #A50044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.75));
}

.bio-subtitle {
    font-size: 1.05rem;
    max-width: 940px;
    opacity: 0.95;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 2px 28px rgba(0, 0, 0, 0.65);
}

.bio-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
    z-index: 2;
}

.bio-timeline::before {
    content: "";
    position: absolute;
    top: -20px;
    bottom: -40px;
    left: 50%;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(200, 145, 42, 0.85) 0%,
        rgba(0, 51, 160, 0.7) 28%,
        rgba(165, 0, 68, 0.65) 62%,
        rgba(200, 145, 42, 0.75) 100%
    );
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(200, 145, 42, 0.35);
}

.bio-timeline-label {
    position: absolute;
    bottom: -65px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.bio-row {
    position: relative;
    margin-bottom: 90px;
}

.bio-block {
    position: relative;
    width: 100%;
    padding: 20px 22px 20px 26px;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(
        105deg,
        rgba(6, 14, 36, 0.34) 0%,
        rgba(10, 8, 28, 0.22) 52%,
        rgba(16, 8, 22, 0.16) 100%
    );
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-left: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.bio-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #f5d76e 0%, #c8912a 45%, #0046ad 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.bio-row:hover .bio-block {
    background: linear-gradient(
        105deg,
        rgba(8, 20, 48, 0.42) 0%,
        rgba(14, 10, 32, 0.3) 52%,
        rgba(22, 10, 28, 0.22) 100%
    );
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

#bio-era-setback .bio-block {
    background: linear-gradient(
        105deg,
        rgba(28, 8, 12, 0.42) 0%,
        rgba(12, 8, 18, 0.32) 55%,
        rgba(8, 6, 14, 0.28) 100%
    );
    border-color: rgba(160, 70, 70, 0.22);
}

#bio-era-setback .bio-block::before {
    background: linear-gradient(
        180deg,
        rgba(220, 100, 60, 0.9) 0%,
        rgba(140, 40, 40, 0.55) 50%,
        rgba(60, 50, 80, 0.45) 100%
    );
    box-shadow: 0 0 12px rgba(180, 60, 40, 0.25);
}

#bio-era-setback .bio-block::after {
    border-color: rgba(140, 50, 50, 0.85);
    box-shadow:
        0 0 0 4px rgba(80, 20, 20, 0.25),
        0 0 10px rgba(180, 60, 40, 0.4);
}

#bio-era-setback:hover .bio-block {
    background: linear-gradient(
        105deg,
        rgba(32, 10, 14, 0.48) 0%,
        rgba(16, 8, 20, 0.36) 55%,
        rgba(10, 8, 16, 0.3) 100%
    );
    border-color: rgba(180, 80, 80, 0.3);
}

.bio-block::after {
    content: "";
    position: absolute;
    top: 34px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f5d76e;
    border: 2px solid #0046ad;
    box-shadow:
        0 0 0 4px rgba(0, 70, 173, 0.18),
        0 0 10px rgba(212, 175, 55, 0.45);
}

@media (min-width: 900px) {
    .bio-row.left .bio-block {
        width: 46%;
        margin-right: 54%;
        padding: 20px 26px 20px 22px;
        border-radius: 14px 0 0 14px;
        border-right: none;
        border-left: 1px solid rgba(212, 175, 55, 0.16);
    }

    .bio-row.right .bio-block {
        width: 46%;
        margin-left: 54%;
        padding: 20px 22px 20px 26px;
        border-radius: 0 14px 14px 0;
        border-left: none;
        border-right: 1px solid rgba(212, 175, 55, 0.16);
    }

    .bio-row.left .bio-block::before {
        left: auto;
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    .bio-row.right .bio-block::before {
        left: 0;
        border-radius: 0 3px 3px 0;
    }

    .bio-row.left .bio-block::after {
        right: -10px;
    }

    .bio-row.right .bio-block::after {
        left: -10px;
    }
}

@media (max-width: 899px) {
    .bio-timeline::before {
        left: 26px;
    }

    .bio-block {
        margin-left: 0;
        margin-right: 0;
        padding: 18px 18px 18px 56px;
        border-radius: 0 12px 12px 0;
        border-left: none;
    }

    .bio-block::before {
        left: 0;
        border-radius: 0 3px 3px 0;
    }

    .bio-block::after {
        left: 21px;
    }
}

.bio-media-card {
    position: absolute;
    top: 50%;
    height: 350px;
    transform: translateY(-50%);
    width: 34%;
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(4, 8, 20, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: opacity 0.35s ease;
}

@media (hover: hover) {
    .bio-media-card:hover {
        opacity: 0;
    }
}

.bio-media-card img,
.bio-media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-media-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(8, 20, 52, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.35);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

@media (min-width: 900px) {
    .bio-row.left .bio-media-card {
        left: 54%;   
    }

    .bio-row.right .bio-media-card {
        right: 54%;   
    }
}

@media (max-width: 899px) {
    .bio-timeline::before {
        left: 26px;
    }

    .bio-block {
        padding-left: 56px;
        width: 100%;
        margin: 0;
    }

    .bio-block::after {
        left: 21px;
    }

    .bio-media-card {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
        aspect-ratio: 4 / 3;
        margin-top: 14px;
    }
}

.bio-year {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    color: #f5e6b8;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(212, 175, 55, 0.28);
}

.bio-heading {
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.bio-text {
    font-size: 0.96rem;
    line-height: 1.7;
    padding: 12px 14px;
    border-radius: 8px;
    background: linear-gradient(
        180deg,
        rgba(4, 8, 20, 0.5) 0%,
        rgba(4, 8, 20, 0.28) 100%
    );
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

#bio-era-setback .bio-text {
    background: linear-gradient(
        180deg,
        rgba(12, 4, 8, 0.55) 0%,
        rgba(8, 4, 10, 0.32) 100%
    );
}

.bio-quote {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    font-style: italic;
    color: #ffb4c4;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1.2s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.alltime-section {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background-color: #050309;
    background-image:
        linear-gradient(180deg, rgba(5, 8, 27, 0.82) 0%, rgba(5, 3, 9, 0.88) 100%),
        url("images/background_for_gavi_section_all_time_stats.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.alltime-section::before,
.alltime-section::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    z-index: 0;
}

.alltime-section::before {
    top: -180px;
    left: -160px;
    background: rgba(0, 76, 255, 0.7);
}

.alltime-section::after {
    bottom: -220px;
    right: -120px;
    background: rgba(165, 0, 68, 0.7);
}

.alltime-inner {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    width: 100%;
}

.alltime-header {
    margin-bottom: 40px;
}

.alltime-kicker {
    font-size: 0.82rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.75;
}

.alltime-title {
    font-size: clamp(2.1rem, 3.2vw, 2.8rem);
    margin-top: 6px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0099ff, #ff2b7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alltime-subtitle {
    font-size: 0.96rem;
    opacity: 0.9;
}

.alltime-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .alltime-section {
        padding-top: 110px;
        padding-bottom: 70px;
        align-items: flex-start;
    }
    .alltime-grid {
        grid-template-columns: 1fr;
    }
}

.alltime-card {
    position: relative;
    padding: 26px 24px 24px;
    border-radius: 20px;
    background: rgba(7, 7, 9, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(0, 136, 255, 0.5),
        0 0 35px rgba(255, 0, 92, 0.45);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.4s ease;
}

.alltime-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.alltime-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 136, 255, 0.9),
        0 0 60px rgba(255, 0, 92, 0.8);
}

.alltime-card:hover::after {
    opacity: 1;
}

.alltime-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 10px;
}

.alltime-card-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.alltime-main-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, #00c6ff, #ff2b7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-main {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.85;
}

.alltime-substats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.substat {
    min-width: 80px;
}

.substat-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.substat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.alltime-note {
    font-size: 0.72rem;
    opacity: 0.7;
}

.club-barca {
    border-image: linear-gradient(120deg, #0046ff, #a50044) 1;
}

.club-spain {
    border-image: linear-gradient(120deg, #ffcc00, #e4002b) 1;
}

.alltime-tickers {
    margin-top: 10px;
    overflow: hidden;
    pointer-events: none;
}

.ticker-row {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.ticker-row + .ticker-row {
    margin-top: 6px;
    opacity: 0.8;
}

.ticker-track {
    display: inline-flex;
    gap: 40px;
    white-space: nowrap;
    animation: ticker-move 13s linear infinite;
}

.ticker-row-2 .ticker-track {
    animation-duration: 18s;
    animation-direction: reverse;
}

.ticker-track span {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.9;
}

@keyframes ticker-move {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.family-section {
    position: relative;
    z-index: 3;
    padding: 110px 8% 120px;
    background:
        radial-gradient(ellipse 85% 55% at 15% 0%, rgba(90, 52, 18, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 75% 50% at 92% 100%, rgba(0, 46, 109, 0.18) 0%, transparent 52%),
        linear-gradient(180deg, #0a0c12 0%, #060508 48%, #08060a 100%);
    color: #fff;
    overflow: hidden;
}

.family-section::before,
.family-section::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.family-section::before {
    top: -140px;
    left: -140px;
    background: rgba(200, 145, 42, 0.55);
}

.family-section::after {
    bottom: -160px;
    right: -140px;
    background: rgba(0, 70, 173, 0.45);
}

.family-inner {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
}

.family-header {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-bottom: 60px;
}

.family-kicker {
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.75;
    font-size: 0.85rem;
}

.family-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f5d76e 0%, #e8c547 35%, #c8912a 70%, #8fb8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.family-subtitle {
    margin-top: 14px;
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: 0.82;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.88);
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .family-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
  .hero-content {
    right: 5%;
    max-width: 90%;
  }
  .welcome {
    font-size: 2.4rem;
  }
  .main-title {
    font-size: 2.4rem;
  }
  .family-grid {
        grid-template-columns: 1fr;
    }
}

.family-card {
    position: relative;
    border-radius: 22px;
    background: rgba(8, 8, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(0, 153, 255, 0.45),
        0 0 30px rgba(255, 0, 92, 0.35);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.4s ease;
}

.family-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.95),
        0 0 45px rgba(0, 153, 255, 0.9),
        0 0 60px rgba(255, 0, 92, 0.75);
}

.family-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.family-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.5s ease;
}

.family-card:hover .family-media img {
    transform: scale(1.12);
}

.family-content {
    padding: 18px 18px 20px;
}

.family-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.family-text {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.9;
}

.family-story-block {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.family-story-block.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .family-story-block,
    .family-story-block.reverse {
        flex-direction: column;
        align-items: flex-start;
    }

    .family-story-text,
    .family-story-block.reverse .family-story-text {
        width: 100%;
        padding: 20px 20px 20px 24px;
        border-radius: 0 14px 14px 0;
        border-left: none;
        border-right: 1px solid rgba(212, 175, 55, 0.16);
    }

    .family-story-block.reverse .family-story-text::before {
        left: 0;
        right: auto;
        border-radius: 0 3px 3px 0;
    }
}

.family-media-wrap {
    position: relative;
    flex: 0 0 40%;
    max-width: 420px;
}

.family-media-wrap::before {
    content: "";
    position: absolute;
    inset: -32px;
    background:
        radial-gradient(circle at top, rgba(200, 145, 42, 0.35), transparent 58%),
        radial-gradient(circle at bottom, rgba(0, 70, 173, 0.25), transparent 62%);
    filter: blur(26px);
    opacity: 0.55;
    z-index: 0;
}

.family-media-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    background: linear-gradient(145deg, rgba(18, 16, 22, 0.95) 0%, rgba(8, 7, 10, 0.98) 100%);
    z-index: 1;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    padding: 8px 8px 30px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    transform: rotate(-0.4deg);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.family-media-frame img,
.family-media-frame video {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.family-media-frame video {
    grid-row: 1;
    background: #000;
}

.family-story-block:hover .family-media-frame {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48);
}

.family-media-frame video {
    filter: saturate(1.1);
}

.family-media-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 38px;
    border-radius: 10px;
    background: linear-gradient(145deg,
                rgba(0, 0, 0, 0.45),
                rgba(0, 0, 0, 0.1));
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.family-media-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}


.family-story-text {
    flex: 1;
    position: relative;
    padding: 22px 24px 22px 28px;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(
        105deg,
        rgba(6, 14, 36, 0.34) 0%,
        rgba(10, 8, 28, 0.22) 52%,
        rgba(16, 8, 22, 0.16) 100%
    );
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-left: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.family-story-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #f5d76e 0%, #c8912a 45%, #0046ad 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.family-story-block.reverse .family-story-text {
    padding: 22px 28px 22px 24px;
    border-radius: 14px 0 0 14px;
    border-left: 1px solid rgba(212, 175, 55, 0.16);
    border-right: none;
}

.family-story-block.reverse .family-story-text::before {
    left: auto;
    right: 0;
    border-radius: 3px 0 0 3px;
}

.family-story-block:hover .family-story-text {
    background: linear-gradient(
        105deg,
        rgba(8, 20, 48, 0.42) 0%,
        rgba(14, 10, 32, 0.3) 52%,
        rgba(22, 10, 28, 0.22) 100%
    );
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.family-story-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.family-story-text p {
    opacity: 0.88;
    line-height: 1.8;
    font-size: 1rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.family-mini-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.88;
    margin-bottom: 12px;
    color: rgba(245, 215, 110, 0.92);
}

.family-heading {
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    margin-bottom: 18px;
    display: inline-block;
    line-height: 1.2;
}

.family-heading .family-underline {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 70px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f5d76e, #c8912a);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.family-text {
    font-size: 1.04rem;
    line-height: 1.75;
    opacity: 0.88;
    max-width: 620px;
}

.family-text span.highlight {
    background: linear-gradient(90deg,
        rgba(0, 140, 255, 0.25),
        rgba(255, 0, 130, 0.25)
    );
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

.family-pill-row {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.family-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.18);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.family-story-text > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.family-story-block.visible .family-story-text > * {
    opacity: 1;
    transform: translateY(0);
}

.family-story-text > *:nth-child(1) { transition-delay: 0.1s; }
.family-story-text > *:nth-child(2) { transition-delay: 0.2s; }
.family-story-text > *:nth-child(3) { transition-delay: 0.3s; }
.family-story-text > *:nth-child(4) { transition-delay: 0.4s; }

.family-beam {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.2;
    z-index: 0;
    transition: transform 0.25s ease-out;
    pointer-events: none;
}

.beam-left {
    top: -130px;
    left: -130px;
    background: rgba(200, 145, 42, 0.55);
}

.beam-right {
    bottom: -160px;
    right: -130px;
    background: rgba(0, 70, 173, 0.45);
}

.family-quote {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(15px);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    color: rgba(255,255,255,0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.family-quote--link {
    pointer-events: auto;
    text-decoration: none;
    color: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.8s ease, transform 0.8s ease, background 0.2s ease, border-color 0.2s ease;
}

.family-quote--link:hover {
    background: rgba(0, 70, 173, 0.45);
    border-color: rgba(125, 211, 252, 0.45);
    color: #fff;
}

.family-story-block.visible .family-quote {
    opacity: 1;
    transform: translateY(0);
}

.family-media-caption {
    grid-row: 2;
    margin-top: 8px;
    font-family: "Pacifico", cursive;
    font-size: 1rem;
    opacity: 0.8;
    color: #ffffffb5;
    text-align: center;
    transform: rotate(-1deg);
}

.gavi-stats-rotator {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gavi-stats-card {
    position: absolute;
    width: 48%;
    max-width: 520px;
    padding: 26px 28px;
    border-radius: 22px;
    background: rgba(7, 7, 9, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(0, 136, 255, 0.45),
        0 0 30px rgba(255, 0, 92, 0.35);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.gavi-stats-card.active {
    transform: translateX(0%);
    opacity: 1;
    z-index: 10;
}

.gavi-stats-card.exit {
    transform: translateX(-120%);
    opacity: 0;
    z-index: 5;
}

.gavi-club-emblem {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 12px;
    opacity: 0.9;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}

.press {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse 85% 55% at 15% 0%, rgba(90, 52, 18, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 75% 50% at 92% 100%, rgba(0, 46, 109, 0.16) 0%, transparent 52%),
    linear-gradient(180deg, #0a0c12 0%, #060508 48%, #08060a 100%);
  overflow: hidden;
}

.press-hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.press-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--pressHero);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

.press-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(200, 145, 42, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(0, 70, 173, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.68), rgba(0,0,0,0.88));
  z-index: 1;
}

.press-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  padding: 24px 0;
}

.press-kicker {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0.88;
  color: rgba(245, 215, 110, 0.92);
}

.press-title {
  margin-top: 12px;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.03;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f5d76e 0%, #e8c547 35%, #c8912a 70%, #8fb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.press-subtitle {
  margin-top: 14px;
  font-size: 1rem;
  letter-spacing: 1px;
  opacity: 0.92;
}

.press-hero-hint {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.press-scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f5d76e;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
  animation: pressDot 1.2s ease-in-out infinite;
}

@keyframes pressDot {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(6px); opacity: 1; }
}

.press-bumper{
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  background: linear-gradient(90deg, rgba(0, 46, 109, 0.85), rgba(80, 45, 20, 0.75), rgba(0, 46, 109, 0.85));
}

.bumper-track{
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  animation: bumperMove 18s linear infinite;
}

.bumper-text{
  flex: 0 0 auto;
  white-space: nowrap;
  padding-right: 60px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  opacity: .72;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes bumperMove {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-50%);
  }
}

.press-conf{
  position: relative;
  padding-top: 0;
}

.press-conf-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  justify-content: flex-start;
  background: transparent;
  border: none;
  box-shadow: none;
}

.press-conf-nav--press-hero {
  margin: 30px 0 0;
  padding: 16px 0 0;
  width: 100%;
  max-width: 720px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

.press-hero-inner .press-hero-hint {
  margin-top: 22px;
}

.press-conf-nav-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-right: 2px;
}

.press-conf-pill {
  display: inline-block;
  padding: 4px 0;
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.58);
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}

.press-conf-pill:hover,
.press-conf-pill.active {
  color: rgba(245, 215, 110, 0.95);
  border-bottom-color: rgba(212, 175, 55, 0.65);
  background: transparent;
  transform: none;
}

.press-conf-hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.press-conf-bg{
  position: absolute;
  inset: 0;
  background-image: var(--confHero);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
}

.press-conf-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(200, 145, 42, 0.16), transparent 55%),
    radial-gradient(circle at bottom, rgba(0, 70, 173, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.58), rgba(0,0,0,0.92));
  z-index: 1;
}

.press-conf-inner{
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  padding: 30px 0;
  padding-right: 3vw;
  text-align: left;
  margin-left: auto;
}

.press-conf-inner--left {
  margin-left: 0;
  margin-right: auto;
  width: min(560px, 46vw);
  max-width: 560px;
  padding-left: 8vw;
  padding-right: 24px;
}

.press-conf-hero--face-right .press-conf-bg {
  background-position: 72% center;
}

.press-conf-hero--face-right .press-conf-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0.15) 62%, transparent 78%),
    radial-gradient(circle at top, rgba(200, 145, 42, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
}

@media (min-width: 650px){
  .press-conf-inner{ max-width: 675px; }
  .press-conf-inner--left { max-width: min(520px, 44vw); }
}

.conf-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.conf-date-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.conf-kicker{
  font-size: .95rem;
  letter-spacing: 2px;
  opacity: .88;
  text-transform: uppercase;
  color: rgba(245, 215, 110, 0.9);
}

.conf-title{
  margin-top: 14px;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f5d76e 0%, #e8c547 40%, #c8912a 75%, #8fb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 24ch;
}

.conf-title--long {
  max-width: 42ch;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.12;
  text-transform: none;
}

.conf-title--feature {
  max-width: 16ch;
  text-transform: none;
  letter-spacing: -0.01em;
}

.conf-subtitle {
  margin-top: 14px;
  max-width: 520px;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  text-transform: none;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82);
  background: none;
}

.press-quote-section {
  position: relative;
  padding: 120px 8vw;
  background: radial-gradient(
      circle at top,
      rgba(40, 90, 255, 0.15),
      rgba(0, 0, 0, 0.85)
    ),
    #05060a;
  overflow: hidden;
}

.press-quote-inner {
  max-width: 900px;
  margin: 0 auto;
}

.press-context {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.press-quote {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}

.quote-accent {
  display: block;
  background: linear-gradient(90deg, #3ea6ff, #7f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quote-main {
  display: block;
  color: #ffffff;
}

.press-meta {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.press-conf-list-header {
  text-align: center;
  padding: 80px 8vw 50px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.press-conf-list-header-bg {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 51, 160, 0.25) 0%, rgba(165, 0, 68, 0.12) 40%, transparent 70%);
  pointer-events: none;
}

.press-conf-list-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.press-conf-list-title--animated {
  background: linear-gradient(110deg, #00a2ff 0%, #5c6cff 35%, #ff50ad 70%, #00d4aa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pressTitleGradient 6s ease-in-out infinite;
}

@keyframes pressTitleGradient {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.press-conf-list-title--animated::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, #00a2ff, #ff50ad);
  border-radius: 2px;
  opacity: 0.6;
  animation: pressTitleShine 2.5s ease-in-out infinite;
}

@keyframes pressTitleShine {
  0%, 100% { opacity: 0.4; transform: scaleX(0.95); }
  50% { opacity: 0.8; transform: scaleX(1); }
}

.press-conf-list-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

.press-conf-block {
  position: relative;
}

.press-conf-block + .press-conf-block {
  margin-top: 0;
}

.press-quote-section--dark {
  background: radial-gradient(
      circle at top,
      rgba(60, 50, 120, 0.18),
      rgba(0, 0, 0, 0.9)
    ),
    #06050a;
}

.press-source {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 32px;
  padding-top: 20px;
  padding-left: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  font-style: italic;
}

.press-source--note {
  opacity: 0.68;
  font-size: 0.8rem;
}

.press-source a {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.press-source a:hover {
  color: #bae6fd;
  border-color: rgba(186, 230, 253, 0.55);
}

.press-transcript p,
.press-transcript .transcript-title,
.press-transcript .press-source,
.press-transcript .press-pull-quote {
  opacity: 1;
}

.press-transcript.in-view .press-pull-quote,
.press-transcript.in-view .transcript-title,
.press-transcript.in-view p,
.press-transcript.in-view .press-source {
  opacity: 0;
  transform: translateY(16px);
}

.press-transcript.in-view .press-pull-quote {
  animation: pressTranscriptReveal 0.55s ease 0.02s forwards;
}

.press-transcript.in-view .transcript-title {
  animation: pressTranscriptReveal 0.5s ease 0.1s forwards;
}

.press-transcript.in-view p {
  animation: pressTranscriptReveal 0.55s ease forwards;
}

.press-transcript.in-view p:nth-of-type(1) { animation-delay: 0.18s; }
.press-transcript.in-view p:nth-of-type(2) { animation-delay: 0.28s; }
.press-transcript.in-view p:nth-of-type(3) { animation-delay: 0.38s; }
.press-transcript.in-view p:nth-of-type(4) { animation-delay: 0.48s; }
.press-transcript.in-view p:nth-of-type(5) { animation-delay: 0.58s; }
.press-transcript.in-view p:nth-of-type(6) { animation-delay: 0.68s; }
.press-transcript.in-view p:nth-of-type(7) { animation-delay: 0.78s; }
.press-transcript.in-view p:nth-of-type(8) { animation-delay: 0.88s; }

.press-transcript--long.in-view p:nth-of-type(1) { animation-delay: 0.14s; }
.press-transcript--long.in-view p:nth-of-type(2) { animation-delay: 0.2s; }

.press-transcript.in-view .press-source {
  animation: pressTranscriptReveal 0.5s ease 0.78s forwards;
}

.press-transcript--long.in-view .press-source {
  animation: pressTranscriptReveal 0.5s ease 0.82s forwards;
}

@keyframes pressTranscriptReveal {
  to { opacity: 1; transform: translateY(0); }
}

.press-transcript-wrap {
  padding: 80px 8vw 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90, 52, 18, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6, 8, 14, 0.95) 0%, rgba(4, 4, 8, 0.98) 100%);
}

.press-transcript-wrap::before {
  display: none;
}

.press-transcript {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 40px 40px 44px 44px;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(
    105deg,
    rgba(6, 14, 36, 0.34) 0%,
    rgba(10, 8, 28, 0.22) 52%,
    rgba(16, 8, 22, 0.16) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-left: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.press-transcript:hover {
  transform: none;
  background: linear-gradient(
    105deg,
    rgba(8, 20, 48, 0.42) 0%,
    rgba(14, 10, 32, 0.3) 52%,
    rgba(22, 10, 28, 0.22) 100%
  );
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.press-transcript::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #f5d76e 0%, #c8912a 45%, #0046ad 100%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.press-pull-quote {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.press-pull-quote__text {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  font-weight: 800;
}

.press-pull-quote__accent {
  display: block;
  background: linear-gradient(90deg, #f5d76e, #c8912a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.press-pull-quote__main {
  display: block;
  color: rgba(255, 255, 255, 0.96);
}

.press-pull-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.52);
}

.press-pull-quote--inline {
  margin: 8px 0 18px;
  padding: 0 0 18px;
}

.press-pull-quote--inline .press-pull-quote__text {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.transcript-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(245, 215, 110, 0.88);
  padding-left: 0;
  border-left: none;
}

.press-transcript p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 20px;
}

.press-transcript p em,
.press-transcript p strong {
  font-weight: 600;
  color: #fff;
}

.press-transcript--long {
  max-width: 760px;
}

.press-interview-lead {
  font-size: 1.12rem;
  line-height: 1.85;
  opacity: 0.94;
  margin-bottom: 28px;
}

.press-interview-part {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.press-interview-part--last {
  margin-bottom: 8px;
}

.press-interview-part__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 215, 110, 0.92);
  margin: 0 0 20px;
  line-height: 1.35;
}

.press-interview-q {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 22px 0 10px;
  padding-left: 14px;
  border-left: 2px solid rgba(212, 175, 55, 0.35);
}

.press-interview-part .press-interview-q:first-of-type {
  margin-top: 0;
}

.press-interview-photo {
  margin: 28px 0 4px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.press-interview-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.press-interview-photo figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}

.press-transcript.in-view .press-interview-part {
  opacity: 0;
  transform: translateY(16px);
  animation: pressTranscriptReveal 0.55s ease forwards;
}

.press-transcript.in-view .press-interview-part:nth-of-type(1) { animation-delay: 0.2s; }
.press-transcript.in-view .press-interview-part:nth-of-type(2) { animation-delay: 0.28s; }
.press-transcript.in-view .press-interview-part:nth-of-type(3) { animation-delay: 0.36s; }
.press-transcript.in-view .press-interview-part:nth-of-type(4) { animation-delay: 0.44s; }
.press-transcript.in-view .press-interview-part:nth-of-type(5) { animation-delay: 0.52s; }
.press-transcript.in-view .press-interview-part:nth-of-type(6) { animation-delay: 0.6s; }
.press-transcript.in-view .press-interview-part:nth-of-type(7) { animation-delay: 0.68s; }

.press-quote-card {
  max-width: 820px;
  margin: 80px auto 120px;
  padding: 0 8vw;
}

.press-quote-card-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(0, 136, 255, 0.2),
              0 0 30px rgba(255, 0, 92, 0.15);
  transition: transform 0.35s ease, box-shadow 0.4s ease;
}

.press-quote-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(0, 136, 255, 0.35),
              0 0 40px rgba(255, 0, 92, 0.25);
}

.press-quote-card-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 14px;
}

.press-quote-card-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #00a2ff, #ff50ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.press-quote-card-quote {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px 0;
  padding-left: 20px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #00a2ff, #ff50ad) 1;
  font-style: italic;
}

.press-quote-card-meta {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 8px;
}

.press-quote-card-source {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

@media (max-width: 600px) {
  .press-transcript-wrap {
    padding: 60px 5vw 80px;
  }

  .press-transcript {
    padding: 28px 22px 32px 26px;
  }

  .press-conf-nav--press-hero {
    margin-top: 22px;
    padding-top: 14px;
    gap: 6px 10px;
    max-width: none;
  }

  .press-conf-nav-label {
    flex-basis: 100%;
  }

  .press-conf-inner--left {
    width: min(100%, 92vw);
    max-width: none;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .press-conf-hero--face-right .press-conf-bg {
    background-position: 80% 20%;
  }

  .press-conf-hero--face-right .press-conf-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.72) 100%),
      radial-gradient(circle at top, rgba(200, 145, 42, 0.1), transparent 55%);
  }

  .conf-title {
    max-width: none;
  }

  .press-interview-photo img {
    aspect-ratio: 4 / 3;
  }

  .press-quote-card {
    margin: 50px auto 80px;
    padding: 0 5vw;
  }

  .press-quote-card-inner {
    padding: 32px 24px;
  }
}

/* ----- Awards & Honors ----- */
/* Legacy motion decos — removed from markup; keep hidden if cached HTML loads */
.awards-bg-deco,
.awards-bg-title,
.awards-bg-medal,
.quotes-bg-deco,
.quotes-bg-ball {
  display: none !important;
}

.awards-section {
  position: relative;
  padding: 100px 8% 120px;
  background: linear-gradient(180deg, #060810 0%, #0a0e18 45%, #080b14 100%);
  color: #fff;
  overflow: hidden;
}

.awards-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.awards-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.awards-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.awards-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.awards-title--animated {
  background: linear-gradient(110deg, #00a2ff 0%, #5c6cff 35%, #ff50ad 70%, #00d4aa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pressTitleGradient 6s ease-in-out infinite;
}

.awards-title--animated::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, #00a2ff, #ff50ad);
  border-radius: 2px;
  opacity: 0.6;
  animation: pressTitleShine 2.5s ease-in-out infinite;
}

.awards-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.award-card {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.award-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #00a2ff, #5c6cff, #ff50ad, #00d4aa, #00a2ff);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  animation: awardBorderFlow 4s linear infinite paused;
}

.award-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes awardBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.award-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: transparent;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(0, 162, 255, 0.25),
              0 0 40px rgba(255, 80, 173, 0.2),
              0 0 60px rgba(0, 212, 170, 0.15);
}

.award-card:hover .award-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(0, 162, 255, 0.6));
}

.award-card:hover .award-name {
  background: linear-gradient(110deg, #00a2ff, #ff50ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 162, 255, 0.3));
}

.award-card:hover .award-year {
  color: #00d4aa;
  text-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
}

.award-card > * {
  position: relative;
  z-index: 1;
}

.award-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.award-icon--trophy {
  display: inline-block;
}

.award-year {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(0, 162, 255, 0.9);
  margin-bottom: 8px;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.award-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
  transition: filter 0.4s ease;
}

.award-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.4;
}

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

@media (max-width: 520px) {
  .awards-section {
    padding: 70px 6% 90px;
  }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .award-card {
    padding: 22px 20px;
  }
}

/* ----- What they say (Quotes) ----- */
.quotes-section {
  position: relative;
  padding: 100px 8% 120px;
  background: linear-gradient(0deg, #060810 0%, #0a0e18 35%, #070a12 100%);
  color: #fff;
  overflow: hidden;
}

.quotes-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.quotes-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.quotes-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.quotes-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.quotes-title--animated {
  background: linear-gradient(110deg, #ff50ad 0%, #5c6cff 35%, #00a2ff 70%, #00d4aa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pressTitleGradient 6s ease-in-out infinite;
}

.quotes-title--animated::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, #ff50ad, #00a2ff);
  border-radius: 2px;
  opacity: 0.6;
  animation: pressTitleShine 2.5s ease-in-out infinite;
}

.quotes-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.quote-card {
  margin: 0;
  padding: 32px 28px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.quote-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #00a2ff, #ff50ad);
  box-shadow: 0 0 12px rgba(0, 162, 255, 0.4);
  z-index: 1;
  transition: box-shadow 0.4s ease, width 0.3s ease;
}

.quote-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, #00a2ff, #5c6cff, #ff50ad, #00d4aa, #00a2ff);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  animation: awardBorderFlow 4s linear infinite paused;
}

.quote-card:hover::after {
  opacity: 1;
  animation-play-state: running;
}

.quote-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35),
              0 0 40px rgba(0, 162, 255, 0.2),
              0 0 40px rgba(255, 80, 173, 0.2),
              0 0 60px rgba(0, 212, 170, 0.12);
}

.quote-card:hover::before {
  box-shadow: 0 0 20px rgba(0, 162, 255, 0.7), 0 0 16px rgba(255, 80, 173, 0.5);
}

.quote-card .quote-text,
.quote-card .quote-attribution {
  position: relative;
  z-index: 1;
}

.quote-card:hover .quote-text {
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.quote-card:hover .quote-name {
  background: linear-gradient(110deg, #00a2ff, #ff50ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(0, 162, 255, 0.4));
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35),
              0 0 40px rgba(0, 51, 160, 0.12),
              0 0 30px rgba(255, 80, 173, 0.08);
}

.quote-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px 0;
  font-style: italic;
  flex: 1 1 auto;
}

.quote-attribution {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}

.quote-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.quote-avatar--crest {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.quote-attribution-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.quote-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  font-style: normal;
  display: inline-block;
  transition: filter 0.4s ease;
}

.quote-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .quotes-section {
    padding: 70px 6% 90px;
  }
  .quote-card {
    padding: 26px 22px 22px;
  }
}

/* ─── Loading skeletons (Phase 3 polish) ───────────────────────────────── */
@keyframes gc-skel-shimmer {
  0%   { background-position: -240px 0; }
  100% { background-position:  240px 0; }
}

.gc-skel {
  display: inline-block;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(0, 212, 255, 0.16) 40%,
    rgba(255, 255, 255, 0.04) 80%
  );
  background-size: 480px 100%;
  animation: gc-skel-shimmer 1.4s infinite linear;
  color: transparent;
  user-select: none;
}

.gc-skel--block { display: block; }
.gc-skel--text { height: 0.85em; border-radius: 4px; }
.gc-skel--title { height: 1.4em; border-radius: 6px; }
.gc-skel--avatar { border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  .gc-skel { animation: none; }
}

.news-card.is-skeleton {
  pointer-events: none;
  animation: gc-skel-shimmer 1.4s infinite linear;
  background: rgba(255, 255, 255, 0.02);
  background-size: 480px 100%;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(0, 212, 255, 0.12) 40%,
    rgba(255, 255, 255, 0.04) 80%
  );
  border-color: rgba(255, 255, 255, 0.05);
  min-height: 22rem;
  height: 100%;
}

.news-card.is-skeleton * { visibility: hidden; }

/* ─── Keyboard shortcut help popover ──────────────────────────────────── */
.gc-shortcuts-help {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 16, 0.62);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  opacity: 0;
  transition: opacity 0.18s ease;
  padding: 1rem;
}

.gc-shortcuts-help.is-open { opacity: 1; }

.gc-shortcuts-help__panel {
  position: relative;
  max-width: 26rem;
  width: 100%;
  background: linear-gradient(135deg, rgba(11, 19, 32, 0.96), rgba(7, 13, 23, 0.96));
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 212, 255, 0.12);
  color: #f4f4f5;
  padding: 1.4rem 1.5rem 1.2rem;
  font-family: inherit;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.18s ease;
}

.gc-shortcuts-help.is-open .gc-shortcuts-help__panel {
  transform: translateY(0) scale(1);
}

.gc-shortcuts-help__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #00d4ff, #6affff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gc-shortcuts-help__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  background: transparent;
  border: 0;
  color: #cdd5e0;
  font-size: 1.4rem;
  line-height: 1;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.gc-shortcuts-help__close:hover,
.gc-shortcuts-help__close:focus-visible {
  background: rgba(0, 212, 255, 0.16);
  color: #ffffff;
  outline: none;
}

.gc-shortcuts-help__list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
  row-gap: 0.55rem;
  margin: 0;
  font-size: 0.92rem;
}

.gc-shortcuts-help__list dt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.gc-shortcuts-help__list dd {
  margin: 0;
  color: #cdd5e0;
  align-self: center;
}

.gc-shortcuts-help__list kbd {
  display: inline-block;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.32);
  color: #e9eef5;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  font-size: 0.78rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4) inset;
  min-width: 1.6rem;
  text-align: center;
}

.gc-shortcuts-help__hint {
  margin: 1rem 0 0;
  color: #95a1b2;
  font-size: 0.78rem;
}

.news-card:focus-visible,
.leaderboard-row:focus-visible,
[data-gc-nav-item]:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.85);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .gc-shortcuts-help,
  .gc-shortcuts-help__panel { transition: none; }
}

/* ─── Cookie / localStorage notice banner ─────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translate(-50%, calc(100% + 1.6rem));
  width: min(720px, calc(100vw - 1.6rem));
  display: flex;
  align-items: stretch;
  gap: 1.1rem;
  padding: 0.95rem 1.15rem;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 14px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 212, 255, 0.08) inset;
  color: #f1f5f9;
  z-index: 7000;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 280ms;
  opacity: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner__body {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.25rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e6f7ff;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #b8c5d6;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-banner__link {
  color: #00d4ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.45);
  padding: 0.1rem 0;
  transition: color 0.2s, border-color 0.2s;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  color: #5ce6ff;
  border-bottom-color: rgba(0, 212, 255, 0.85);
}

.cookie-banner__ack {
  appearance: none;
  border: 1px solid rgba(0, 212, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0.06));
  color: #e6f7ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.cookie-banner__ack:hover,
.cookie-banner__ack:focus-visible {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.32), rgba(0, 212, 255, 0.12));
  border-color: rgba(0, 212, 255, 0.85);
  color: #ffffff;
  outline: none;
}

.cookie-banner__ack:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.9rem 1rem 1rem;
    bottom: 0.75rem;
  }

  .cookie-banner__actions {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 200ms; }
}

/* ─── 404 page ────────────────────────────────────────────────────────── */
.not-found-hero {
  max-width: 760px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  text-align: center;
}

.not-found-code {
  margin: 0;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  background: linear-gradient(135deg, #00d4ff 0%, #c41e3a 70%, #f5c518 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
  opacity: 0.92;
  text-shadow: 0 0 38px rgba(0, 212, 255, 0.18);
}

.not-found-title {
  margin: 0.4rem 0 0.85rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  letter-spacing: 0.02em;
  color: #f4f4f5;
}

.not-found-lead {
  margin: 0 auto 1.6rem;
  max-width: 620px;
  color: #b8c5d6;
  font-size: 1rem;
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 2rem;
}

.not-found-actions .hero-btn,
.not-found-actions .btn-secondary {
  font-size: 0.82rem;
  padding: 0.7rem 1.4rem;
}

.not-found-links {
  list-style: none;
  margin: 0 auto 1.4rem;
  padding: 1.2rem 1.4rem;
  max-width: 540px;
  text-align: left;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 14px;
  background: rgba(16, 18, 24, 0.65);
}

.not-found-links li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: #cfd8e4;
}

.not-found-links li:last-child { border-bottom: none; }

.not-found-links a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.not-found-links a:hover strong,
.not-found-links a:focus-visible strong {
  color: #5ce6ff;
}

.not-found-links strong {
  color: #00d4ff;
  font-weight: 700;
  margin-right: 0.25rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.not-found-small {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #95a1b2;
}

.not-found-small a {
  color: #00d4ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.4);
}

.not-found-small a:hover { color: #5ce6ff; }

/* Privacy / Terms shared meta line */
.welcome-prose--meta {
  font-size: 0.85rem;
  color: #95a1b2;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.welcome-prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(0, 212, 255, 0.10);
  border: 1px solid rgba(0, 212, 255, 0.22);
  color: #e6f7ff;
  padding: 0.05em 0.42em;
  border-radius: 5px;
}

.footer-legal {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0.78;
}

.site-footer .footer-legal {
  margin: 0;
  opacity: 1;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  padding: 0.05rem 0;
  transition: color 0.2s, border-color 0.2s;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #00d4ff;
  border-bottom-color: rgba(0, 212, 255, 0.55);
}

/* ─── Press / Media kit page ─────────────────────────────────────────── */
.press-page .press-hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #00d4ff;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 212, 255, 0.36);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.06);
}

.press-card {
  margin-bottom: 1.4rem;
}

.welcome-prose--lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #e6eef7;
}

.press-facts {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.press-facts__row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.press-facts__row:last-child { border-bottom: none; }

.press-facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #95a1b2;
  align-self: center;
}

.press-facts dd {
  margin: 0;
  font-size: 0.96rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.press-facts dd a {
  color: #00d4ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.4);
}

.press-facts dd a:hover { color: #5ce6ff; }

@media (max-width: 640px) {
  .press-facts__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.press-subheading {
  margin: 1.4rem 0 0.85rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfd8e4;
}

.press-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.05rem;
  margin: 0.4rem 0 1rem;
}

.press-asset {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.press-asset__art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.press-asset__art--dark {
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 212, 255, 0.16), transparent 65%),
    #0a0a0c;
}

.press-asset__art--light {
  background: #f4f4f5;
}

.press-asset__art img {
  max-width: 75%;
  max-height: 75%;
  width: auto;
  height: auto;
}

.press-asset figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #cfd8e4;
  gap: 0.6rem;
}

.press-asset figcaption strong {
  font-weight: 600;
  color: #e6f7ff;
}

.press-asset figcaption a {
  color: #00d4ff;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.42);
  padding: 0.05rem 0;
  white-space: nowrap;
}

.press-asset figcaption a:hover { color: #5ce6ff; }

.press-palette {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.press-palette__swatch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(16, 18, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.press-palette__chip {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--swatch, #000);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 6px 18px rgba(0, 0, 0, 0.35);
}

.press-palette__label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.press-palette__label strong {
  font-size: 0.82rem;
  color: #e6eef7;
  font-weight: 600;
}

.press-palette__label code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #95a1b2;
  letter-spacing: 0.04em;
}

.press-contact .press-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.press-contact .press-contact-actions .welcome-cta-site,
.press-contact .press-contact-actions .welcome-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0.75rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  box-sizing: border-box;
  text-align: center;
}

.press-contact .press-contact-actions .welcome-link-btn {
  padding-top: calc(0.75rem - 1px);
  padding-bottom: calc(0.75rem - 1px);
}

/* ─── Match-day hero override ────────────────────────────────────────── */
.matchday-hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 1.6rem 1.25rem 1.85rem;
  background:
    radial-gradient(ellipse 60% 90% at 18% 50%, rgba(196, 30, 58, 0.22), transparent 65%),
    radial-gradient(ellipse 60% 90% at 82% 50%, rgba(0, 212, 255, 0.20), transparent 65%),
    linear-gradient(180deg, #0a0a0c 0%, #11121a 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.22);
  isolation: isolate;
}

.matchday-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 24px
    );
  pointer-events: none;
  opacity: 0.4;
}

.matchday-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  text-align: left;
}

.matchday-hero__eyebrow {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #00d4ff;
}

.matchday-hero__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55);
  animation: matchday-pulse 1.6s ease-out infinite;
}

.matchday-hero.is-live .matchday-hero__pulse {
  background: #ff4757;
  box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.55);
}

.matchday-hero.is-live .matchday-hero__eyebrow { color: #ff7e88; }

.matchday-hero.is-post .matchday-hero__pulse {
  background: #f5c518;
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.55);
}

.matchday-hero.is-post .matchday-hero__eyebrow { color: #ffd95a; }

@keyframes matchday-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.matchday-hero__teams {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.matchday-hero__team {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e6eef7;
}

.matchday-hero__crest {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.matchday-hero__vs {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #95a1b2;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.matchday-hero__kickoff {
  grid-column: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #95a1b2;
}

.matchday-hero__kickoff strong {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-top: 0.15rem;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
}

.matchday-hero__actions {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  min-width: 240px;
}

.matchday-hero__actions .hero-btn,
.matchday-hero__actions .btn-secondary {
  font-size: 0.78rem;
  padding: 0.65rem 1rem;
  text-align: center;
}

.matchday-hero__cta {
  background: linear-gradient(135deg, #00d4ff 0%, #008fb3 100%);
  border: none;
  box-shadow: 0 14px 32px rgba(0, 212, 255, 0.32);
}

.matchday-hero.is-live .matchday-hero__cta {
  background: linear-gradient(135deg, #ff4757 0%, #c41e3a 100%);
  box-shadow: 0 14px 32px rgba(255, 71, 87, 0.32);
}

@media (max-width: 880px) {
  .matchday-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .matchday-hero__eyebrow,
  .matchday-hero__teams,
  .matchday-hero__kickoff,
  .matchday-hero__actions {
    grid-column: 1;
    justify-content: center;
  }
  .matchday-hero__teams { justify-content: center; }
  .matchday-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matchday-hero__pulse { animation: none; }
}

/* ─── Match-day shoutbox ─────────────────────────────────────────────── */
.home-shoutbox {
  position: relative;
  margin: 0;
  padding: 2rem 1.25rem 2.4rem;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(0, 212, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #0d0e14 0%, #0a0a0c 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.14);
}

.home-shoutbox__inner {
  max-width: 760px;
  margin: 0 auto;
}

.home-shoutbox__head {
  text-align: center;
  margin-bottom: 1.2rem;
}

.home-shoutbox__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ff7e88;
  padding: 0.32rem 0.85rem;
  border: 1px solid rgba(255, 71, 87, 0.36);
  border-radius: 999px;
  background: rgba(255, 71, 87, 0.06);
}

.home-shoutbox__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4757;
  box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.55);
  animation: matchday-pulse 1.6s ease-out infinite;
}

.home-shoutbox__title {
  margin: 0 0 0.45rem;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  color: #ffffff;
}

.home-shoutbox__lead {
  margin: 0;
  font-size: 0.92rem;
  color: #b8c5d6;
  line-height: 1.6;
}

.home-shoutbox__list {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0.85rem;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(16, 18, 24, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.35) transparent;
}

.home-shoutbox__list::-webkit-scrollbar { width: 7px; }
.home-shoutbox__list::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.35);
  border-radius: 6px;
}

.home-shoutbox__empty {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.84rem;
  color: #95a1b2;
}
.home-shoutbox__list:not(:empty) + .home-shoutbox__empty { display: none; }

.home-shoutbox__msg {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  animation: shoutbox-pop 280ms ease-out;
}

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

.home-shoutbox__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #00d4ff, #c41e3a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0c;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1px solid rgba(0, 212, 255, 0.32);
}

.home-shoutbox__avatar--fallback {
  /* same width/height/object-fit as <img>, plus letter glyph */
}

.home-shoutbox__bubble { min-width: 0; }

.home-shoutbox__meta {
  margin: 0 0 0.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: #95a1b2;
}

.home-shoutbox__name {
  color: #e6f7ff;
  font-weight: 700;
  font-size: 0.82rem;
}

.home-shoutbox__idnum {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: #6b7785;
  letter-spacing: 0.02em;
}

.home-shoutbox__time {
  margin-left: auto;
  font-size: 0.7rem;
  color: #6b7785;
  font-variant-numeric: tabular-nums;
}

.home-shoutbox__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e2e8f0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.home-shoutbox__form { margin-top: 0.4rem; }

.home-shoutbox__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #95a1b2;
}

.home-shoutbox__field {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.home-shoutbox__input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 0.94rem;
  padding: 0.7rem 0.95rem;
  color: #f4f4f5;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.home-shoutbox__input::placeholder { color: #6b7785; }

.home-shoutbox__input:focus-visible {
  border-color: rgba(0, 212, 255, 0.7);
  background: rgba(10, 10, 12, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18);
}

.home-shoutbox__input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.home-shoutbox__submit {
  font-size: 0.78rem;
  padding: 0.65rem 1.2rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-shoutbox__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(35%);
}

.home-shoutbox__status {
  margin: 0.55rem 0 0;
  min-height: 1.05rem;
  font-size: 0.82rem;
  color: #95a1b2;
}

.home-shoutbox__status.is-error { color: #ff7e88; }
.home-shoutbox__status.is-success { color: #5ce6ff; }

.home-shoutbox__signedout {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  color: #95a1b2;
}

.home-shoutbox__signin {
  margin-left: 0.4rem;
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.42);
}

.home-shoutbox__signin:hover { color: #5ce6ff; }

.home-shoutbox__form.is-signed-out .home-shoutbox__input,
.home-shoutbox__form.is-signed-out .home-shoutbox__submit {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 640px) {
  .home-shoutbox__field { flex-direction: column; }
  .home-shoutbox__submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-shoutbox__pulse { animation: none; }
  .home-shoutbox__msg { animation: none; }
}

/* ─── Site-wide a11y: focus visibility + motion reset ─────────────────── */
/* Catch-all focus ring so keyboard users always know where they are.
   Pages/components that already define :focus-visible override locally. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.85);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Language flags now behave as buttons. Make them obviously interactive. */
.flags img[role="button"] {
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  border-radius: 3px;
}

.flags img[role="button"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.flags img[role="button"]:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.85);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.18);
}

/* Global reduced-motion safety net — kills the heaviest animations on
   marketing/community pages for users who opt out. Per-component rules
   still apply on top of this. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}