/* ==========================================================================
   C.D. MANCHEGO CANFORRALES PROVENCIO — STYLESHEET
   Direction: Loud and flat (tasteskill v2)
   Palette: Saturated Gualdinegro (Yellow #FFD200, Obsidian #0C0D0E, Wine #721422, White #FFFFFF)
   Typography: Chillax via Fontshare
   ========================================================================== */

:root {
  /* Brand Tokens */
  --c-yellow: #FFD200;
  --c-yellow-hover: #E6BD00;
  --c-black: #0C0D0E;
  --c-dark-surface: #15161A;
  --c-dark-sheet: #1C1D22;
  --c-white: #FFFFFF;
  --c-light-ground: #F5F6F8;
  --c-light-surface: #FFFFFF;
  --c-wine: #721422;
  --c-wine-dark: #580E19;
  --c-muted: #585C66;
  --c-border: #D0D4DC;

  /* Typography */
  --font-display: "Chillax", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Chillax", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Strictly 5 Consolidate Type Steps */
  --step-small: 0.875rem;                                        /* 14px */
  --step-body: 1.0625rem;                                        /* 17px */
  --step-lead: 1.375rem;                                         /* 22px */
  --step-title: clamp(2rem, 1.4rem + 2.8vw, 2.75rem);           /* 32px - 44px */
  --step-hero: clamp(2.75rem, 1rem + 8.5vw, 6.75rem);           /* 44px - 108px */

  /* Spacings & Geometry */
  --margin: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 28px;
  --radius-sm: 14px;
  --radius-xs: 8px;

  /* Motion & Easing */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html {
  box-sizing: border-box;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  background-color: var(--c-light-ground);
  color: var(--c-black);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100vw;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Common Section Container */
section {
  position: relative;
  width: 100%;
  padding-left: var(--margin);
  padding-right: var(--margin);
  box-sizing: border-box;
}

/* Section Headings */
.section-title {
  font-family: var(--font-display);
  font-size: var(--step-title);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-black);
  text-transform: uppercase;
}

.section-desc {
  font-size: var(--step-body);
  color: var(--c-muted);
  max-width: 54ch;
  line-height: 1.45;
  margin-top: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-header {
  background-color: var(--c-yellow);
  color: var(--c-black);
  padding: 0.65rem 1.25rem;
  font-size: var(--step-small);
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-black);
}

.btn-header:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

.btn-hero {
  background-color: var(--c-black);
  color: var(--c-yellow);
  padding: 1.1rem 2rem;
  font-size: var(--step-body);
  border: 3px solid var(--c-black);
  max-width: 100%;
}

@media (max-width: 480px) {
  .btn-hero {
    width: 100%;
    padding: 0.95rem 1.4rem;
    font-size: var(--step-small);
  }
}

.btn-hero:hover {
  background-color: var(--c-white);
  color: var(--c-black);
}

.btn-footer-primary {
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: 2px solid var(--c-yellow);
}

.btn-footer-primary:hover {
  background-color: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}

.btn-footer-secondary {
  background-color: transparent;
  color: var(--c-white);
  border: 2px solid var(--c-white);
}

.btn-footer-secondary:hover {
  background-color: var(--c-white);
  color: var(--c-black);
}

/* ==========================================================================
   TOP TICKER BANNER
   ========================================================================== */
.matchday-banner {
  background-color: var(--c-black);
  color: var(--c-white);
  padding: 0.65rem var(--margin);
  font-size: var(--step-small);
  border-bottom: 2px solid var(--c-yellow);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.banner-highlight {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-weight: 600;
  font-size: var(--step-small);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-xs);
}

.banner-link {
  color: var(--c-yellow);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   STICKY HEADER UNIT (TICKER + NAVIGATION)
   ========================================================================== */
.web-sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--c-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  background-color: var(--c-white);
  border-bottom: 2px solid var(--c-border);
  padding: 0.85rem var(--margin);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1.25rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-crest {
  transition: transform 200ms ease;
}

.brand-link:hover .brand-crest {
  transform: rotate(-3deg) scale(1.05);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-body);
  line-height: 1.1;
  color: var(--c-black);
  white-space: nowrap;
}

.brand-sub {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-wine);
  white-space: nowrap;
}

.site-nav {
  display: none;
}

@media (min-width: 1040px) {
  .site-nav {
    display: block;
    flex-shrink: 1;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.6vw, 1.8rem);
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-small);
  color: var(--c-black);
  padding: 0.4rem 0;
  transition: color 150ms ease;
}

.nav-link:hover {
  color: var(--c-wine);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 1320px) {
  .site-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .header-inner {
    gap: 0.75rem;
  }
  .nav-list {
    gap: 0.65rem;
  }
  .btn-header-download {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.45rem 0.6rem;
  }
  .header-inner {
    gap: 0.35rem;
  }
  .brand-link {
    gap: 0.35rem;
  }
  .brand-crest {
    width: 28px;
    height: 34px;
  }
  .brand-name {
    font-size: 0.8rem;
  }
  .btn-header,
  .brand-sub,
  .btn-header-download,
  .btn-header-radio {
    display: none !important;
  }
  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .header-actions .btn-header-socio {
    padding: 0.38rem 0.55rem !important;
    font-size: 0.72rem !important;
    border-width: 1.5px !important;
  }
  .header-actions .cart-trigger-btn {
    padding: 0.38rem 0.55rem !important;
    font-size: 0.72rem !important;
    gap: 0.3rem !important;
  }
  .cart-count-badge {
    padding: 0.1rem 0.3rem !important;
    font-size: 0.68rem !important;
    min-width: 16px !important;
  }
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--c-black);
  color: var(--c-white);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-small);
  transition: background-color 150ms ease, transform 150ms ease;
}

.cart-trigger-btn:hover {
  background-color: var(--c-wine);
  transform: scale(1.02);
}

.cart-count-badge {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-size: var(--step-small);
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO: Shouted Headline, Rising Photograph (Loud and Flat)
   ========================================================================== */
.section-hero {
  background-color: var(--c-yellow);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 4px solid var(--c-black);
}

.hero-canvas {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-headline-wrap {
  width: 100%;
}

.hero-clarifier {
  font-family: var(--font-display);
  font-size: 1.1875rem; /* 19px */
  font-weight: 500;
  color: var(--c-black);
  margin-top: 0.85rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--step-hero);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--c-black);
  text-transform: uppercase;
}

.title-line-mask {
  display: block;
  overflow: hidden;
}

.title-line {
  display: inline-block;
  transform: translateY(110%);
  animation: maskLineReveal 850ms var(--ease-expo) forwards;
}

.title-line-mask:nth-child(2) .title-line {
  animation-delay: 110ms;
}

@keyframes maskLineReveal {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

/* Clean Media Wrap in Normal Document Flow */
.hero-media-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--c-black);
  background-color: var(--c-black);
  transition: transform 300ms ease;
}

.hero-media-wrap:hover {
  transform: scale(1.005);
}

.hero-photo {
  width: 100%;
  height: clamp(280px, 44vh, 560px);
  object-fit: cover;
  object-position: center 25%;
}

.hero-photo-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  background-color: var(--c-black);
  color: var(--c-yellow);
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
}

/* Hero Footer Grid */
.hero-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: end;
}

@media (min-width: 860px) {
  .hero-footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.hero-standfirst {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.35;
  color: var(--c-black);
  max-width: 44ch;
}

@media (max-width: 600px) {
  .hero-standfirst {
    font-size: var(--step-body-lg);
  }
}

.hero-flank-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 860px) {
  .hero-flank-right {
    align-items: flex-end;
  }
}

.hero-stat-block {
  display: flex;
  flex-direction: column;
  background-color: var(--c-black);
  color: var(--c-white);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border-left: 6px solid var(--c-wine);
}

.stat-meta {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-yellow);
}

.stat-highlight {
  font-family: var(--font-display);
  font-size: var(--step-body);
  font-weight: 600;
}

/* ==========================================================================
   SHOWCASE: Two Giant Words Compared
   ========================================================================== */
.section-showcase {
  background-color: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.showcase-header {
  max-width: 1440px;
  margin: 0 auto 3rem auto;
}

.section-showcase .section-title {
  color: var(--c-yellow);
}

.section-showcase .section-desc {
  color: #B4B8C2;
}

.showcase-comparison {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 860px) {
  .showcase-comparison {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.specimen-box {
  background-color: var(--c-dark-surface);
  border-radius: var(--radius);
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 3px solid #2B2C33;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.specimen-box:hover {
  transform: translateY(-4px);
  border-color: var(--c-yellow);
}

.specimen-word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.specimen-b .specimen-word {
  color: var(--c-yellow);
}

.specimen-foot {
  font-size: var(--step-body);
  color: #B4B8C2;
  line-height: 1.45;
}

/* ==========================================================================
   FEATURES: Stacking Colour Sheets (Pillars)
   ========================================================================== */
.section-sheets {
  background-color: var(--c-light-ground);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(5rem, 8vw, 7.5rem);
}

.sheets-intro {
  max-width: 1440px;
  margin: 0 auto 3rem auto;
}

.sheets-stack {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sheet {
  border-radius: var(--radius);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
}

.sheet-avispero {
  background-color: var(--c-black);
  color: var(--c-white);
  border: 4px solid #2B2C33;
}

.sheet-cantera {
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: 4px solid var(--c-black);
}

.sheet-bodegas {
  background-color: var(--c-wine);
  color: var(--c-white);
  border: 4px solid var(--c-wine-dark);
}

.sheet-casamayor {
  background: linear-gradient(135deg, #151829 0%, #1e223b 100%);
  color: var(--c-white);
  border: 4px solid #2B3050;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.sheet-casamayor .sheet-title {
  color: #FFFFFF;
}

.sheet-casamayor .sheet-tab {
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.sheet-casamayor .stat-pill {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.sheet-tab {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid currentColor;
}

.sheet-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.sheet-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .sheet-body {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.sheet-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sheet-lead {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.3;
}

.sheet-text {
  font-size: var(--step-body);
  line-height: 1.5;
  opacity: 0.9;
}

.sheet-stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.stat-pill {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-small);
  font-weight: 600;
}

.sheet-cantera .stat-pill {
  background-color: rgba(0, 0, 0, 0.08);
}

.sheet-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: clamp(240px, 32vh, 360px);
  background-color: rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(0, 0, 0, 0.25);
}

.sheet-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-visual-winery {
  display: block;
  min-height: clamp(280px, 36vh, 380px);
  height: auto;
  background-color: transparent;
  border: none;
  overflow: visible;
}

.winery-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 100%;
  min-height: 280px;
}

.winery-dual-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}

.winery-photo-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.winery-photo-label.label-home {
  background: rgba(12, 13, 18, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.winery-photo-label.label-away {
  background: rgba(13, 17, 36, 0.95);
  color: #FFD200;
  border: 1px solid rgba(255, 210, 0, 0.4);
}

@media (max-width: 540px) {
  .winery-dual-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.winery-dual-card {
  position: relative;
  background-color: #ffffff;
  border: 3px solid rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
}

.winery-dual-col .winery-dual-card {
  height: clamp(240px, 30vh, 320px);
  min-height: 240px;
}

.winery-dual-card.light-theme {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

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

.winery-dual-img.contain {
  object-fit: contain;
  padding: 0.75rem;
  background-color: #ffffff;
}

/* ==========================================================================
   VIDEO ATMOSPHERE SECTION
   ========================================================================== */
.section-video {
  padding: 0;
  background-color: var(--c-black);
}

.video-container {
  position: relative;
  width: 100%;
  height: clamp(320px, 45vh, 520px);
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--margin);
  background: linear-gradient(to top, rgba(12,13,14,0.85), rgba(12,13,14,0.4));
  color: var(--c-white);
}

.video-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--c-yellow);
  text-transform: uppercase;
  max-width: 24ch;
}

.video-sub {
  font-size: var(--step-body);
  color: #E2E4EC;
  margin-top: 0.75rem;
  max-width: 46ch;
}

/* ==========================================================================
   TIENDA OFICIAL: Interactive Store (One Live Thing)
   ========================================================================== */
.section-store {
  background-color: var(--c-white);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  border-top: 4px solid var(--c-black);
  border-bottom: 4px solid var(--c-black);
}

.store-header {
  max-width: 1440px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: space-between;
}

@media (min-width: 860px) {
  .store-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-btn {
  background-color: var(--c-light-ground);
  color: var(--c-black);
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-border);
  transition: all 160ms ease;
}

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

.filter-btn.active {
  background-color: var(--c-black);
  color: var(--c-yellow);
  border-color: var(--c-black);
}

/* Products Grid */
.products-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--c-light-ground);
  border-radius: var(--radius);
  border: 3px solid var(--c-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 200ms var(--ease-out), border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-black);
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--step-small);
  font-weight: 600;
  background-color: var(--c-yellow);
  color: var(--c-black);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.85rem;
}

.product-media-wrap {
  width: 100%;
  height: 220px;
  background-color: var(--c-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.85rem;
  border: 2px solid var(--c-border);
}

.product-img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 250ms var(--ease-out);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.product-desc {
  font-size: var(--step-small);
  color: var(--c-muted);
  line-height: 1.4;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-black);
}

.size-selector-row {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.size-pill {
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--c-border);
  background-color: var(--c-white);
  transition: all 120ms ease;
}

.size-pill.selected,
.size-pill:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
  border-color: var(--c-black);
}

.btn-add-cart {
  width: 100%;
  margin-top: 1.15rem;
  background-color: var(--c-black);
  color: var(--c-white);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 150ms ease;
}

.btn-add-cart:hover {
  background-color: var(--c-wine);
}

/* Editorial Narrative Perks */
.store-narrative {
  max-width: 1440px;
  margin: 3.5rem auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--c-border);
}

.narrative-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.narrative-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-black);
}

.narrative-text {
  font-size: var(--step-body);
  color: var(--c-muted);
  line-height: 1.45;
}

/* ==========================================================================
   LIST: Matchdays & Fixtures (One item per poster line)
   ========================================================================== */
.section-fixtures {
  background-color: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
}

.fixtures-header {
  max-width: 1440px;
  margin: 0 auto 3rem auto;
}

.section-fixtures .section-title {
  color: var(--c-yellow);
}

.section-fixtures .section-desc {
  color: #A4A8B5;
}

.poster-lines-list {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.poster-line {
  padding: 1.75rem 0;
  border-bottom: 2px solid #24252D;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: padding-left 180ms ease, background-color 180ms ease;
}

@media (min-width: 860px) {
  .poster-line {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}

.poster-line:hover {
  background-color: rgba(255, 210, 0, 0.05);
  padding-left: 1.25rem;
}

.line-rival {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.line-meta-small {
  font-size: var(--step-small);
  color: #8C90A0;
  font-weight: 500;
}

.line-meta-small.highlight-text {
  color: var(--c-yellow);
  font-weight: 600;
}

.line-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-white);
  transition: color 150ms ease;
}

.poster-line:hover .line-name {
  color: var(--c-yellow);
}

.line-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 860px) {
  .line-meta {
    text-align: right;
  }
}

.line-score {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--c-yellow);
}

.line-date {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-yellow);
}

.line-detail {
  font-size: var(--step-small);
  color: #A4A8B5;
}

/* ==========================================================================
   PRICING: The Ticket with Stub (Abonos)
   ========================================================================== */
.section-pricing {
  background-color: var(--c-yellow);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  border-top: 4px solid var(--c-black);
  border-bottom: 4px solid var(--c-black);
}

.pricing-header {
  max-width: 1440px;
  margin: 0 auto 3rem auto;
}

.ticket-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.ticket-card {
  position: relative;
  background-color: var(--c-white);
  border: 4px solid var(--c-black);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 860px) {
  .ticket-card {
    grid-template-columns: 7fr auto 3fr;
  }
}

.ticket-card.ticket-premium {
  border-color: var(--c-wine);
}

.ticket-notch {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: var(--c-yellow);
  border-radius: 50%;
  border: 4px solid var(--c-black);
  z-index: 5;
  display: none;
}

@media (min-width: 860px) {
  .ticket-notch {
    display: block;
    left: calc(70% - 16px);
  }
  .notch-top {
    top: -18px;
  }
  .notch-bottom {
    bottom: -18px;
  }
}

.ticket-perforation {
  display: none;
}

@media (min-width: 860px) {
  .ticket-perforation {
    display: block;
    width: 2px;
    background-image: linear-gradient(to bottom, var(--c-border) 60%, transparent 40%);
    background-size: 2px 14px;
    background-repeat: repeat-y;
  }
}

.ticket-main {
  padding: clamp(1.8rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.ticket-summary {
  font-size: var(--step-body);
  color: var(--c-muted);
  max-width: 44ch;
}

.ticket-perks-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--c-border);
}

@media (min-width: 600px) {
  .ticket-perks-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.ticket-list li {
  font-size: var(--step-small);
  color: var(--c-black);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.ticket-stub {
  background-color: var(--c-light-ground);
  padding: clamp(1.8rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}

.stub-meta {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-muted);
}

.stub-price {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--c-black);
}

.btn-stub {
  width: 100%;
  background-color: var(--c-black);
  color: var(--c-white);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-size: var(--step-small);
  font-weight: 600;
}

.btn-stub:hover {
  background-color: var(--c-wine);
}

.btn-stub-gold {
  background-color: var(--c-wine);
}

.btn-stub-gold:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

/* ==========================================================================
   FAQ: Accordion of Filled Tiles
   ========================================================================== */
.section-faq {
  background-color: var(--c-light-ground);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.faq-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr 1.6fr;
  }
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-tile {
  background-color: var(--c-white);
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-border);
  overflow: hidden;
  transition: border-color 180ms ease;
}

.faq-tile[open] {
  border-color: var(--c-black);
}

.faq-summary {
  list-style: none;
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

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

.faq-question {
  font-family: var(--font-display);
  font-size: var(--step-body);
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-black);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--c-black);
  transition: transform 180ms ease;
}

.faq-icon::before {
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 1px;
  left: 8px;
  width: 2px;
  height: 16px;
}

.faq-tile[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 1.6rem 1.35rem 1.6rem;
  font-size: var(--step-body);
  color: var(--c-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT: Address in Display Rows
   ========================================================================== */
.section-contact {
  background-color: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.contact-card {
  max-width: 1440px;
  margin: 0 auto;
}

.contact-grid-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 860px) {
  .contact-grid-split {
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-photo-box {
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid #2B2C33;
  height: clamp(200px, 28vh, 320px);
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.display-rows {
  display: flex;
  flex-direction: column;
}

.disp-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.35rem 0;
  border-bottom: 2px solid #22232A;
  align-items: baseline;
}

@media (min-width: 760px) {
  .disp-row {
    grid-template-columns: 180px 1fr;
  }
}

.row-label {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-yellow);
}

.row-value {
  font-size: var(--step-body);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.45;
  word-break: break-word;
}

/* Motion Scroll Reveals */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.link-bold {
  color: var(--c-yellow);
  text-decoration: underline;
}

.link-bold:hover {
  color: var(--c-white);
}

/* ==========================================================================
   FOOTER: Invitation over a Cropped Name
   ========================================================================== */
.site-footer {
  background-color: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--margin);
  position: relative;
  box-sizing: border-box;
}

.footer-invitation {
  background-color: var(--c-dark-surface);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 3px solid #2A2B33;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

@media (min-width: 860px) {
  .footer-invitation {
    flex-direction: row;
    align-items: center;
  }
}

.invitation-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-yellow);
  text-transform: uppercase;
}

.invitation-sub {
  font-size: var(--step-body);
  color: #B4B8C2;
  margin-top: 0.5rem;
  max-width: 46ch;
}

.invitation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-bottom: 2rem;
  font-size: var(--step-small);
  color: #8C90A0;
  position: relative;
  z-index: 5;
}

@media (min-width: 760px) {
  .footer-links-bar {
    flex-direction: row;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--c-yellow);
}

.footer-giant-crop {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 15vw);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.04em;
  color: #15161C;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  max-width: 100%;
}
  transform: translateY(12%);
  margin-top: 1rem;
}

/* ==========================================================================
   CART DRAWER & BACKDROP
   ========================================================================== */
.cart-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity 220ms ease;
}

.cart-backdrop.open,
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--c-white);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms var(--ease-expo);
  visibility: hidden;
}

.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.cart-item-count {
  font-size: var(--step-small);
  color: var(--c-muted);
}

.cart-close-btn,
.modal-close-btn {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-xs);
  background-color: var(--c-light-ground);
  font-size: var(--step-small);
  font-weight: 600;
  transition: background-color 150ms ease;
}

.cart-close-btn:hover,
.modal-close-btn:hover {
  background-color: var(--c-black);
  color: var(--c-white);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--c-muted);
  gap: 0.85rem;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  background-color: var(--c-light-ground);
  border-radius: var(--radius-xs);
  padding: 0.35rem;
  object-fit: contain;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

.cart-item-sub {
  font-size: var(--step-small);
  color: var(--c-muted);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: var(--c-light-ground);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--step-small);
}

.cart-item-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: right;
}

.cart-item-remove {
  font-size: var(--step-small);
  color: #B52A2A;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 0.35rem;
  display: inline-block;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 2px solid var(--c-border);
  background-color: var(--c-light-ground);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-shipping-notice {
  font-size: var(--step-small);
  color: var(--c-muted);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sum-label {
  font-size: var(--step-small);
  font-weight: 600;
}

.sum-total {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--c-black);
}

.btn-checkout {
  width: 100%;
  background-color: var(--c-yellow);
  color: var(--c-black);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--step-body);
  border: 2px solid var(--c-black);
}

.btn-checkout:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  position: relative;
  background-color: var(--c-white);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  border: 3px solid var(--c-black);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 600;
}

.form-input,
.form-select {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-xs);
  border: 2px solid var(--c-border);
  font-size: var(--step-body);
  width: 100%;
  background-color: var(--c-white);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-black);
}

.btn-form-submit {
  width: 100%;
  margin-top: 0.85rem;
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: 2px solid var(--c-black);
  padding: 1rem;
  font-size: var(--step-body);
}

.btn-form-submit:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background-color: var(--c-black);
  color: var(--c-yellow);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-small);
  animation: toastIn 180ms ease forwards;
}

@keyframes toastIn {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   MEMBERSHIP RECOVERY BAR
   ========================================================================== */
.membership-recovery-bar {
  margin-top: 2.5rem;
  background-color: var(--c-white);
  border: 2px solid var(--c-black);
  border-radius: var(--radius-sm);
  padding: 1.5rem clamp(1.2rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .membership-recovery-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.recovery-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.recovery-heading {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  font-weight: 600;
  color: var(--c-black);
}

.recovery-desc {
  font-size: var(--step-body);
  color: var(--c-muted);
  max-width: 60ch;
}

.btn-recovery {
  background-color: var(--c-light-ground);
  color: var(--c-black);
  border: 2px solid var(--c-black);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  font-size: var(--step-body);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.btn-recovery:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

/* ==========================================================================
   SPONSORS & PARTNERS
   ========================================================================== */
.section-sponsors {
  background-color: var(--c-white);
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  border-top: 2px solid var(--c-border);
  border-bottom: 2px solid var(--c-border);
}

.sponsors-header {
  max-width: var(--max-w);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem) auto;
  padding: 0;
}

.sponsors-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsor-card-main {
    grid-column: 1 / -1;
  }
}

.sponsor-card {
  background-color: var(--c-light-ground);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.sponsor-card-main {
  background-color: var(--c-black);
  color: var(--c-white);
  border: 3px solid var(--c-yellow);
}

.sponsor-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sponsor-logo-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.sponsor-title {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-black);
  word-break: break-word;
  overflow-wrap: break-word;
}

.sponsor-card-main .sponsor-title {
  color: var(--c-yellow);
}

.sponsor-logo-sub {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-wine);
  word-break: break-word;
  overflow-wrap: break-word;
}

.sponsor-card-main .sponsor-logo-sub {
  color: var(--c-yellow);
  opacity: 0.9;
}

.sponsor-tag {
  display: inline-block;
  background-color: var(--c-border);
  color: var(--c-black);
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .sponsor-card {
    padding: 1.25rem 1rem;
  }
  .sponsor-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .sponsor-tag {
    white-space: normal;
    font-size: 0.72rem;
  }
  .sponsor-title {
    font-size: 1.15rem;
  }
  .sponsor-link-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .sponsor-link-btn {
    text-align: center;
    justify-content: center;
  }
}

.sponsor-card-main .sponsor-tag {
  background-color: var(--c-wine);
  color: var(--c-white);
}

.sponsor-desc {
  font-size: var(--step-body);
  line-height: 1.45;
  color: var(--c-black);
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

.sponsor-card-main .sponsor-desc {
  color: #e2e4e9;
}

.sponsor-perks-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sponsor-pill {
  font-size: var(--step-small);
  font-weight: 700;
  background-color: #E2E8F0;
  color: #0F172A;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid #CBD5E1;
}

.sponsor-card-main .sponsor-pill,
.sponsor-card-casamayor .sponsor-pill {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

/* ==========================================================================
   FEATURED CASAMAYOR SPONSOR CARD & HERO BADGE
   ========================================================================== */
.sponsor-card-casamayor {
  background: linear-gradient(135deg, #111216 0%, #1a1b24 100%);
  color: var(--c-white);
  border: 2px solid #2B2C33;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sponsor-card-casamayor:hover {
  border-color: var(--c-yellow);
  transform: translateY(-2px);
}

.sponsor-card-casamayor .sponsor-title {
  color: #FFFFFF;
}

.sponsor-card-casamayor .sponsor-logo-sub {
  color: var(--c-yellow);
}

.sponsor-card-casamayor .sponsor-desc {
  color: #d1d5db;
}

.sponsor-card-casamayor .sponsor-tag {
  background-color: rgba(255, 210, 0, 0.15);
  color: var(--c-yellow);
  border: 1px solid rgba(255, 210, 0, 0.4);
}

.sponsor-card-casamayor .sponsor-link-btn {
  color: var(--c-yellow);
}

.sponsor-card-casamayor .sponsor-link-btn:hover {
  color: #FFFFFF;
}

.sponsor-card-logo-badge {
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  width: fit-content;
}

.sponsor-card-thumb-casamayor {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.strip-item-casamayor .strip-logo-img {
  max-height: 52px;
  background-color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strip-item-casamayor:hover .strip-logo-img {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 210, 0, 0.25);
}

.hero-sponsors-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(18, 19, 24, 0.9);
  border: 1px solid rgba(255, 210, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  margin-top: 0.85rem;
}

.hero-sponsors-label {
  color: #9CA3AF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.hero-sponsors-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.hero-sponsor-tag {
  color: #F3F4F6;
}

.hero-sponsor-tag.highlight-casamayor {
  color: var(--c-yellow);
}

.hero-sponsor-sep {
  color: #6B7280;
}

/* ==========================================================================
   OFFICIAL MEMBER CARD & MODAL PAYMENT METHODS
   ========================================================================== */
.payment-selector-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pay-tab-btn {
  padding: 0.75rem 0.5rem;
  border: 2px solid var(--c-border);
  background-color: var(--c-light-ground);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-small);
  color: var(--c-black);
  cursor: pointer;
  text-align: center;
  transition: all 150ms ease;
}

.pay-tab-btn.selected {
  border-color: var(--c-black);
  background-color: var(--c-yellow);
  color: var(--c-black);
}

.bizum-notice-box,
.iban-notice-box {
  background-color: var(--c-light-ground);
  border: 2px solid var(--c-border);
  padding: 1rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
  font-size: var(--step-small);
  line-height: 1.4;
}

.bizum-notice-box strong,
.iban-notice-box strong {
  color: var(--c-black);
  display: block;
  margin-bottom: 0.25rem;
}

/* Printable Member Card Widget */
.printable-card-wrap {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.official-member-card {
  width: 100%;
  max-width: 480px;
  background-color: var(--c-black);
  color: var(--c-white);
  border: 4px solid var(--c-yellow);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  box-sizing: border-box;
  position: relative;
  font-family: var(--font-display);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--c-yellow);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.card-club-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-crest {
  width: 42px;
  height: 50px;
  flex-shrink: 0;
}

.card-club-title {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-yellow);
  line-height: 1.15;
}

.card-club-sub {
  font-size: 0.8125rem;
  color: var(--c-white);
  opacity: 0.9;
}

.card-season-badge {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.card-main-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.card-member-name {
  font-size: var(--step-lead);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  word-break: break-word;
}

.card-field {
  font-size: 0.8125rem;
  color: #c9ccd3;
  margin-bottom: 0.25rem;
}

.card-field strong {
  color: var(--c-white);
}

.card-tier-tag {
  display: inline-block;
  background-color: var(--c-wine);
  color: var(--c-white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  margin-top: 0.35rem;
}

.card-qr-box {
  background-color: var(--c-white);
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-qr-svg {
  width: 80px;
  height: 80px;
}

.card-qr-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-black);
  margin-top: 0.25rem;
}

.card-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #a0a6b2;
}

.card-stadium-stamp {
  font-weight: 600;
  color: var(--c-yellow);
}

.card-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-print-card {
  flex: 1;
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: 2px solid var(--c-black);
  padding: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-body);
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 150ms ease;
}

.btn-print-card:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

.btn-secondary-card {
  padding: 0.9rem 1.25rem;
  background-color: var(--c-light-ground);
  color: var(--c-black);
  border: 2px solid var(--c-border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-body);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.btn-secondary-card:hover {
  border-color: var(--c-black);
}

/* ==========================================================================
   PRINT STYLES: Direct A4 / Card Cutout Output
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 15mm;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .matchday-banner,
  .site-header,
  #main-content,
  .site-footer,
  .cart-drawer,
  .cart-backdrop,
  .modal-close-btn,
  .card-actions-row,
  .toast-container {
    display: none !important;
  }

  .modal-backdrop {
    position: static !important;
    background: none !important;
    display: block !important;
    opacity: 1 !important;
    padding: 0 !important;
  }

  .modal-card {
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .printable-card-wrap {
    display: flex !important;
    justify-content: center !important;
    margin: 25mm auto 15mm auto !important;
  }

  .official-member-card {
    width: 125mm !important;
    max-width: 125mm !important;
    border: 3px solid #000000 !important;
    background-color: #0c0d0e !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    page-break-inside: avoid !important;
  }

  .print-instructions {
    display: block !important;
    text-align: center !important;
    font-size: 10pt !important;
    color: #444444 !important;
    margin-top: 15mm !important;
    border-top: 1px dashed #777777 !important;
    padding-top: 8mm !important;
  }
}

/* ==========================================================================
   ESCAPARATE OFICIAL DE EQUIPACIONES
   ========================================================================== */
.section-escaparate {
  background-color: var(--c-light-ground);
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  border-top: 2px solid var(--c-border);
  border-bottom: 2px solid var(--c-border);
}

.escaparate-header {
  max-width: var(--max-w);
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
  padding: 0 var(--margin);
}

.escaparate-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--margin);
}

.escaparate-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.escaparate-tab-btn {
  padding: 0.85rem 1.4rem;
  background-color: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-body);
  color: var(--c-black);
  cursor: pointer;
  transition: all 150ms ease;
}

.escaparate-tab-btn:hover {
  border-color: var(--c-black);
}

.escaparate-tab-btn.active {
  background-color: var(--c-yellow);
  color: var(--c-black);
  border-color: var(--c-black);
  font-weight: 700;
}

.escaparate-card {
  background-color: var(--c-white);
  border: 3px solid var(--c-black);
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 860px) {
  .escaparate-card {
    grid-template-columns: 1.25fr 1fr;
  }
}

.escaparate-media-box {
  background-color: #ffffff;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 2px solid var(--c-border);
}

@media (min-width: 860px) {
  .escaparate-media-box {
    border-bottom: none;
    border-right: 2px solid var(--c-border);
  }
}

.escaparate-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  transition: opacity 150ms ease;
}

.escaparate-view-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--c-black);
  color: var(--c-white);
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
}

.escaparate-details-box {
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.escaparate-kit-title {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-black);
  margin-bottom: 0.75rem;
}

.escaparate-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.kit-badge-pill {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--c-black);
}

.kit-maker-tag {
  background-color: var(--c-light-ground);
  color: var(--c-black);
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--c-border);
}

.escaparate-kit-desc {
  font-size: var(--step-body);
  line-height: 1.45;
  color: var(--c-black);
  margin-bottom: 1.5rem;
  max-width: 55ch;
}

.escaparate-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background-color: var(--c-light-ground);
  padding: 1rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--step-small);
}

.spec-label {
  color: var(--c-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--c-black);
  font-weight: 600;
  text-align: right;
}

.escaparate-price-row {
  margin-bottom: 1.5rem;
}

.escaparate-price {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 700;
  color: var(--c-black);
  display: block;
  line-height: 1;
}

.escaparate-tax {
  font-size: var(--step-small);
  color: var(--c-muted);
  margin-top: 0.35rem;
  display: block;
}

.escaparate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-escaparate-buy {
  flex: 1.2;
  min-width: 180px;
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: 2px solid var(--c-black);
  padding: 1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-body);
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: center;
  transition: all 150ms ease;
}

.btn-escaparate-buy:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

.btn-escaparate-more {
  flex: 1;
  min-width: 140px;
  background-color: var(--c-light-ground);
  color: var(--c-black);
  border: 2px solid var(--c-border);
  padding: 1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-body);
  border-radius: var(--radius-xs);
  text-align: center;
  transition: all 150ms ease;
}

.btn-escaparate-more:hover {
  border-color: var(--c-black);
}


/* ==========================================================================
   ÁLBUM DE CROMOS OFICIAL 2026/27
   ========================================================================== */
.section-plantilla {
  background-color: var(--c-dark-surface);
  color: var(--c-white);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.plantilla-header {
  max-width: 1440px;
  margin: 0 auto 2.5rem auto;
}

.plantilla-eyebrow {
  display: inline-block;
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-plantilla .section-title {
  color: var(--c-yellow);
}

.section-plantilla .section-desc {
  color: #B4B8C2;
  font-size: var(--step-body);
  max-width: 800px;
}

/* Category Filter Tabs */
.cromos-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1440px;
  margin: 0 auto 1.5rem auto;
}

.cromos-tab-btn {
  background-color: var(--c-black);
  color: var(--c-white);
  border: 2px solid #2B2C33;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cromos-tab-btn:hover:not(.active) {
  border-color: #555765;
}

.cromos-tab-btn.active {
  background-color: var(--c-yellow);
  color: var(--c-black);
  border-color: var(--c-yellow);
  font-weight: 700;
}

/* Sub-filter Pills */
.cromos-subfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1440px;
  margin: 0 auto 2.5rem auto;
}

.cromos-pill-btn {
  background-color: transparent;
  color: #B4B8C2;
  border: 1px solid #363740;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cromos-pill-btn:hover:not(.active) {
  border-color: #7A7E8C;
  color: var(--c-white);
}

.cromos-pill-btn.active {
  background-color: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
  font-weight: 700;
}

/* Cromos Grid */
.cromos-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .cromos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cromos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .cromos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cromo Card */
.cromo-card {
  background-color: var(--c-black);
  border: 2px solid #2B2C33;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.cromo-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-yellow);
}

.cromo-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #0b0c0e;
  overflow: hidden;
}

.cromo-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 250ms ease;
}

.cromo-card:hover .cromo-thumb-img {
  transform: scale(1.03);
}

.cromo-thumb-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cromo-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 0.5rem;
}

.cromo-card-pos {
  font-size: var(--step-small);
  color: var(--c-yellow);
  font-weight: 600;
  text-transform: uppercase;
}

.cromo-card-name {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.15;
  margin: 0;
}

.cromo-card-role {
  font-size: var(--step-small);
  color: #8E929E;
  margin: 0;
}

.cromo-card-action {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.5rem;
  min-height: 44px;
}

/* ==========================================================================
   CROMO LIGHTBOX MODAL
   ========================================================================== */
.cromo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(10, 11, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.cromo-modal-backdrop.is-open {
  display: flex;
}

.cromo-modal-dialog {
  position: relative;
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  background-color: #15161A;
  border: 2px solid #363740;
  border-radius: var(--radius);
  overflow-y: auto;
  overflow-x: hidden;
}

.cromo-modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background-color: #22242B;
  border: 1px solid #363740;
  color: var(--c-white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cromo-modal-close-btn:hover {
  background-color: var(--c-yellow);
  color: var(--c-black);
  border-color: var(--c-yellow);
}

.cromo-modal-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cromo-modal-body {
    grid-template-columns: 360px 1fr;
  }
}

.cromo-modal-media {
  background-color: #0A0B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid #2B2C33;
}

@media (min-width: 768px) {
  .cromo-modal-media {
    border-bottom: none;
    border-right: 1px solid #2B2C33;
  }
}

.cromo-modal-img {
  max-height: 62vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid #2B2C33;
  display: block;
}

.cromo-modal-content {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.cromo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cromo-modal-counter {
  font-size: var(--step-small);
  color: #8E929E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cromo-modal-badge {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.cromo-modal-title {
  font-family: var(--font-display);
  font-size: var(--step-title);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.1;
  margin: 0.5rem 0 0.25rem 0;
}

.cromo-modal-role {
  font-size: var(--step-body);
  color: var(--c-yellow);
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.cromo-modal-bio {
  font-size: var(--step-small);
  line-height: 1.6;
  color: #C5C9D3;
  margin: 0;
}

.cromo-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2B2C33;
}

.cromo-modal-nav-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cromo-nav-btn {
  flex: 1;
  background-color: #22242B;
  color: var(--c-white);
  border: 1px solid #363740;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cromo-nav-btn:hover {
  background-color: var(--c-yellow);
  color: var(--c-black);
  border-color: var(--c-yellow);
}

.cromo-btn-download {
  background-color: transparent;
  color: var(--c-yellow);
  border: 1px solid var(--c-yellow);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-small);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  transition: background-color 150ms ease, color 150ms ease;
}

.cromo-btn-download:hover {
  background-color: var(--c-yellow);
  color: var(--c-black);
}

/* Local Collaborators box */
.sponsors-collaborators-wrap {
  margin-top: 4rem;
  margin-bottom: 6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background-color: var(--c-light-ground);
  border-radius: var(--radius);
}

.collab-header-title {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 0.5rem;
}

.collab-header-sub {
  font-size: var(--step-body);
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}

.collab-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.collab-badge {
  background-color: var(--c-light-ground);
  color: var(--c-black);
  border: 1px solid var(--c-border);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-small);
  font-weight: 600;
  transition: all 150ms ease;
}

.collab-badge:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
  border-color: var(--c-black);
}


/* ==========================================================================
   SPONSOR CARD LINKS & FOOTBALL CLUB OFFICIAL SPONSOR STRIP
   ========================================================================== */
.sponsor-link-wrap {
  margin-top: 1rem;
}

.sponsor-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.sponsor-link-btn:hover {
  color: var(--c-wine);
}

.sponsor-card-main .sponsor-link-btn {
  color: var(--c-yellow);
}

.sponsor-card-main .sponsor-link-btn:hover {
  color: var(--c-white);
}

/* Strip like professional football club sites */
.section-club-sponsors-strip {
  background-color: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-top: 2px solid #2B2C33;
}

.strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--margin);
}

.strip-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.strip-title {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  font-weight: 700;
  color: var(--c-yellow);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.strip-sub {
  font-size: var(--step-body);
  color: #B4B8C2;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .strip-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.strip-item {
  background-color: var(--c-dark-surface);
  border-radius: var(--radius-xs);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
  min-height: 120px;
}

.strip-item:hover {
  transform: translateY(-3px);
  background-color: #20242c;
}

.strip-item-main {
  grid-column: 1 / -1;
  background-color: #1a1e27;
  padding: 1.75rem 1.5rem;
}

@media (min-width: 1024px) {
  .strip-item-main {
    grid-column: span 2;
  }
}

.strip-logo-icon {
  width: 48px;
  height: 48px;
  color: var(--c-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-logo-icon svg {
  width: 100%;
  height: 100%;
}

.strip-item-name {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
}

.strip-item-role {
  font-size: var(--step-small);
  color: #8E929E;
  font-weight: 500;
}

.strip-item:hover .strip-item-name {
  color: var(--c-yellow);
}

/* ==========================================================================
   AUTHENTIC SPONSOR LOGOS & CARTEL IMAGE
   ========================================================================== */
.strip-logo-img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xs);
  background-color: var(--c-white);
  padding: 0.4rem 0.65rem;
}

.strip-item-main .strip-logo-img {
  max-height: 68px;
  background-color: transparent;
  padding: 0;
}

.sponsor-card-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.85rem;
}

.sponsor-card-thumb {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  background-color: var(--c-white);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--c-border);
}

.sponsor-card-main .sponsor-card-thumb {
  max-height: 60px;
  border: none;
  background-color: transparent;
  padding: 0;
}

.sponsors-official-poster-card {
  margin-top: 2.5rem;
  background-color: var(--c-white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.sponsors-poster-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
  margin: 1.5rem auto 0 auto;
  display: block;
}

/* ==========================================================================
   OFFICIAL ABONOS & PATROCINADORES BANNER
   ========================================================================== */

.abonos-official-poster-banner {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  background-color: var(--c-dark-surface);
  border: 4px solid var(--c-yellow);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 860px) {
  .abonos-official-poster-banner {
    grid-template-columns: 340px 1fr;
    align-items: center;
  }
}

.abonos-poster-media {
  background-color: var(--c-black);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.abonos-poster-banner-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 4px;
  display: block;
}

.abonos-poster-meta {
  padding: 2.25rem 2rem;
  color: var(--c-light-bg);
}

.abonos-badge-gold {
  display: inline-block;
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.abonos-meta-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 0.85rem;
}

.abonos-meta-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
  max-width: 54ch;
}

.abonos-meta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.abono-feat-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-yellow);
  background-color: rgba(255, 210, 0, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

/* App Link Buttons */
.btn-header-app {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-header-app:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

.btn-hero-app {
  background-color: transparent;
  color: var(--c-black);
  border: 3px solid var(--c-black);
}

.btn-hero-app:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

/* ==========================================================================
   ÁREA PRIVADA DEL SOCIO & PORTAL DE ABONADOS
   ========================================================================== */

.btn-header-socio {
  background-color: var(--c-dark-surface);
  color: var(--c-yellow);
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-yellow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-header-socio:hover {
  background-color: var(--c-yellow);
  color: var(--c-black);
}

.socio-portal-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.socio-portal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--c-border);
}

.socio-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.socio-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--c-black);
  border: 3px solid var(--c-yellow);
  color: var(--c-yellow);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.socio-tag-status {
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.socio-perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 600px) {
  .socio-perks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.socio-perk-card {
  background-color: var(--c-dark-surface);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.socio-perk-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-yellow);
  margin-bottom: 0.35rem;
}

.socio-perk-desc {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.socio-quick-login-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-demo-pill {
  background-color: var(--c-dark-surface);
  color: var(--c-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  cursor: pointer;
}

.btn-demo-pill:hover {
  background-color: var(--c-yellow);
  color: var(--c-black);
}

/* ==========================================================================
   DOWNLOAD MODAL & APP BUTTONS
   ========================================================================== */

.btn-header-download {
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-header-download:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

.download-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 680px) {
  .download-modal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.download-os-card {
  background-color: var(--c-dark-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-os-card.highlight-card {
  border-color: var(--c-yellow);
}

.download-os-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.45rem;
}

.download-os-desc {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.45;
  margin-bottom: 1.15rem;
}

.btn-download-action {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-download-action:hover {
  background-color: var(--c-white);
}

.btn-download-secondary {
  background-color: var(--c-dark-card);
  color: var(--c-white);
  border: 1px solid var(--c-border);
}

.btn-download-secondary:hover {
  background-color: var(--c-black);
  color: var(--c-yellow);
}

@media (max-width: 1140px) {
  .btn-header-download {
    display: none;
  }
}

@media (max-width: 768px) {
  .btn-header-radio {
    display: none;
  }
}

/* ==========================================================================
   RADIO EL PROVENCIO & FRAMING STYLES
   ========================================================================== */

.btn-header-radio {
  background-color: var(--c-black);
  color: var(--c-yellow);
  border: 2px solid var(--c-yellow);
  padding: 0.55rem 0.95rem;
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 160ms ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-header-radio:hover {
  background-color: var(--c-yellow);
  color: var(--c-black);
  transform: translateY(-2px);
}

.radio-svg-icon {
  flex-shrink: 0;
  animation: radioPulse 2s infinite ease-in-out;
}

@keyframes radioPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.15); }
}

/* ==========================================================================
   DIRECT AUDIO PLAYER (EL PROVENCIO RADIO)
   ========================================================================== */

.radio-direct-player-card {
  max-width: 1240px;
  margin: 2rem auto 2.5rem auto;
  background-color: var(--c-black);
  border: 3px solid var(--c-yellow);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.radio-hero-cta-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.25rem 1rem;
  background-color: #0c0d0e;
  border: 1px solid #282a32;
  border-radius: var(--radius-sm);
}

.btn-sintonizar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background-color: #ffffff;
  color: #0a0b0d;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  padding: 1rem 2.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 52px;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn-sintonizar-pill:hover {
  background-color: var(--c-yellow);
  border-color: var(--c-yellow);
  color: #000000;
  transform: translateY(-1px);
}

.btn-sintonizar-pill.is-playing {
  background-color: var(--c-yellow);
  border-color: var(--c-yellow);
  color: #000000;
}

.radio-waves-pill-svg {
  flex-shrink: 0;
  color: currentColor;
}

.btn-sintonizar-pill.is-playing .radio-waves-pill-svg {
  animation: signalBlink 1.2s infinite;
}

.direct-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.player-station-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.live-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1a1b20;
  border: 1px solid var(--c-yellow);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-yellow);
}

.pulse-indicator-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-yellow);
  border-radius: 50%;
  animation: signalBlink 1.5s infinite;
}

.station-callsign {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 600;
  color: #c2c5d0;
}

.audio-bitrate-tag {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-white);
  background-color: #1a1b20;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
}

.direct-player-body {
  background-color: #15161a;
  border: 2px solid #282a32;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

@media (max-width: 680px) {
  .direct-player-body {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .player-controls-left, .player-controls-right {
    display: flex;
    justify-content: center;
  }
}

.btn-big-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, background-color 160ms ease;
  flex-shrink: 0;
}

.btn-big-play:hover {
  background-color: var(--c-white);
  transform: scale(1.08);
}

.player-info-center {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.now-playing-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-sub {
  font-size: var(--step-small);
  color: #a0a4b0;
}

.player-audio-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.equalizer-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.equalizer-visualizer span {
  width: 3px;
  background-color: var(--c-yellow);
  border-radius: 2px;
  height: 4px;
  transition: height 0.15s ease;
}

.equalizer-visualizer.playing span:nth-child(1) { animation: eqBar 0.8s infinite 0.1s; }
.equalizer-visualizer.playing span:nth-child(2) { animation: eqBar 0.9s infinite 0.3s; }
.equalizer-visualizer.playing span:nth-child(3) { animation: eqBar 0.7s infinite 0.2s; }
.equalizer-visualizer.playing span:nth-child(4) { animation: eqBar 1.1s infinite 0.4s; }
.equalizer-visualizer.playing span:nth-child(5) { animation: eqBar 0.6s infinite 0.1s; }
.equalizer-visualizer.playing span:nth-child(6) { animation: eqBar 0.85s infinite 0.25s; }
.equalizer-visualizer.playing span:nth-child(7) { animation: eqBar 1.0s infinite 0.35s; }
.equalizer-visualizer.playing span:nth-child(8) { animation: eqBar 0.75s infinite 0.15s; }

@keyframes eqBar {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

.stream-timer {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-yellow);
  letter-spacing: 0.05em;
}

/* Barra de desplazamiento para Podcasts */
.podcast-scrubber-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: #111216;
  border: 1px solid #282a32;
  border-radius: var(--radius-xs);
  transition: border-color 0.2s ease;
}

.podcast-scrubber-wrap:hover {
  border-color: rgba(255, 210, 0, 0.4);
}

.podcast-time-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #a0a4b0;
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.podcast-time-badge.podcast-dur {
  color: var(--c-yellow);
}

.podcast-scrubber {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #282a32;
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
  accent-color: var(--c-yellow);
  transition: height 0.15s ease;
}

.podcast-scrubber:hover {
  height: 8px;
}

.podcast-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: 2px solid #000;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 210, 0, 0.7);
  transition: transform 0.1s ease;
}

.podcast-scrubber::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.podcast-scrubber::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: 2px solid #000;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 210, 0, 0.7);
}

.volume-control-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0c0d0e;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  border: 1px solid #282a32;
}

.vol-icon {
  color: var(--c-yellow);
  display: flex;
  align-items: center;
}

.vol-slider {
  width: 80px;
  accent-color: var(--c-yellow);
  cursor: pointer;
}

/* Playlist of Podcasts */
.player-playlist-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.playlist-heading {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-white);
}

.playlist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .playlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .playlist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.playlist-item {
  min-width: 0;
  background-color: #15161a;
  border: 2px solid #282a32;
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: all 160ms ease;
  color: inherit;
  font: inherit;
}

.playlist-item:hover {
  border-color: var(--c-yellow);
  background-color: #1c1d24;
}

.playlist-item.active {
  border-color: var(--c-yellow);
  background-color: #1d1e22;
}

.playlist-item.active .pl-play-icon {
  color: var(--c-black);
  background-color: var(--c-yellow);
}

.pl-play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #252730;
  color: var(--c-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pl-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pl-title {
  font-family: var(--font-display);
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-desc {
  font-size: var(--step-small);
  color: #a0a4b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-tag {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--c-yellow);
  background-color: rgba(255, 210, 0, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .btn-header-radio {
    display: none !important;
  }
}


/* ==========================================================================
   PRIVATE ACCESS GATE (ENTORNO DE PRUEBAS CON CLAVE)
   ========================================================================== */
.private-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: #0C0D0E;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.private-gate-overlay.is-unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.private-gate-card {
  max-width: 440px;
  width: 100%;
  background-color: #15161A;
  border: 2px solid var(--c-yellow);
  border-radius: var(--radius-sm);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  box-sizing: border-box;
}

.private-gate-crest {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1.25rem auto;
  display: block;
}

.private-gate-title {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin: 0 0 0.35rem 0;
}

.private-gate-sub {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--c-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.private-gate-desc {
  font-size: var(--step-small);
  color: #B4B8C2;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.private-gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.private-gate-input {
  width: 100%;
  box-sizing: border-box;
  background-color: #0C0D0E;
  border: 2px solid #2B2C33;
  color: var(--c-white);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-body);
  font-family: inherit;
  min-height: 48px;
  transition: border-color 150ms ease;
}

.private-gate-input:focus {
  outline: none;
  border-color: var(--c-yellow);
}

.private-gate-btn {
  width: 100%;
  background-color: var(--c-yellow);
  color: var(--c-black);
  border: 2px solid var(--c-yellow);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-xs);
  font-size: var(--step-body);
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.private-gate-btn:hover {
  background-color: var(--c-white);
  border-color: var(--c-white);
}

.private-gate-error {
  font-size: var(--step-small);
  color: #FF5E5E;
  font-weight: 600;
  margin: 0.5rem 0 0 0;
  min-height: 1.25rem;
}

/* ==========================================================================
   AI ASSISTANT (AVISPA IA) - FLOATING WIDGET & CHAT DIALOG
   ========================================================================== */
.ai-float-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #121316;
  color: #ffffff;
  border: 2px solid var(--c-yellow);
  border-radius: 9999px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.ai-float-trigger:hover,
.ai-float-trigger.is-active {
  background-color: var(--c-yellow);
  color: #000000;
  transform: translateY(-2px);
}

.ai-trigger-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.ai-trigger-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.ai-chat-dialog {
  position: fixed;
  bottom: 80px;
  left: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background-color: #15161A;
  border: 2px solid var(--c-yellow);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: aiChatIn 200ms ease forwards;
}

@keyframes aiChatIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0C0D0E;
  border-bottom: 1px solid #2B2C33;
  padding: 12px 16px;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-header-crest {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ai-header-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.ai-header-subtitle {
  font-size: 0.72rem;
  color: #A0A5B5;
  margin: 2px 0 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-btn-wa-header {
  background-color: #25D366;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 150ms ease;
}

.ai-btn-wa-header:hover {
  opacity: 0.9;
}

.ai-btn-close {
  background: none;
  border: none;
  color: #A0A5B5;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.ai-btn-close:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #121316;
}

.ai-msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
}

.ai-msg-bot {
  align-self: flex-start;
}

.ai-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--c-yellow);
  color: #000000;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-msg-content {
  background-color: #1E2026;
  color: #ECEEF2;
  border: 1px solid #2B2C33;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ai-msg-bot .ai-msg-content {
  border-top-left-radius: 2px;
}

.ai-msg-user .ai-msg-content {
  background-color: var(--c-yellow);
  color: #000000;
  border-color: var(--c-yellow);
  border-top-right-radius: 2px;
  font-weight: 600;
}

.ai-msg-content p {
  margin: 0 0 6px 0;
}

.ai-msg-content p:last-child {
  margin-bottom: 0;
}

.ai-msg-content strong {
  color: var(--c-yellow);
}

.ai-msg-user .ai-msg-content strong {
  color: #000000;
}

.ai-typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 6px;
}

.ai-typing-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--c-yellow);
  border-radius: 50%;
  animation: aiDot 1.4s infinite ease-in-out both;
}

.ai-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes aiDot {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

.ai-chat-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 12px;
  background-color: #0C0D0E;
  border-top: 1px solid #2B2C33;
  scrollbar-width: none;
}

.ai-chat-chips::-webkit-scrollbar {
  display: none;
}

.ai-chip {
  background-color: #1A1C22;
  color: #ffffff;
  border: 1px solid #363740;
  border-radius: 9999px;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 150ms ease;
}

.ai-chip:hover {
  background-color: var(--c-yellow);
  color: #000000;
  border-color: var(--c-yellow);
}

.ai-chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background-color: #0C0D0E;
  border-top: 1px solid #2B2C33;
}

.ai-input {
  flex: 1;
  background-color: #15161A;
  border: 1px solid #363740;
  border-radius: 8px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 0.82rem;
  outline: none;
  font-family: inherit;
}

.ai-input:focus {
  border-color: var(--c-yellow);
}

.ai-btn-send {
  background-color: var(--c-yellow);
  color: #000000;
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
  font-size: 0.95rem;
  transition: transform 120ms ease;
}

.ai-btn-send:hover {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .ai-float-trigger {
    bottom: 16px;
    left: 16px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .ai-chat-dialog {
    bottom: 70px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    height: 75vh;
  }
}

/* ==========================================================================
   PROTECCIÓN DE CONTENIDOS Y DERECHOS DE AUTOR (ANTI-COPY SAFEGUARDS)
   ========================================================================== */
img, svg, video, canvas, .winery-dual-card, .cromo-card, .hero-media-wrap {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.footer-legal-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #94A3B8;
}

.footer-legal-block strong {
  color: #F8FAFC;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  align-items: center;
}

.footer-legal-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFD200;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-legal-btn:hover {
  background: rgba(255, 210, 0, 0.12);
  border-color: #FFD200;
}

/* ==========================================================================
   PANEL DE PARTIDO EN DIRECTO / MATCH CENTER DINÁMICO
   ========================================================================== */
.match-center-card {
  max-width: 1440px;
  margin: 0 auto 2.5rem auto;
  background: linear-gradient(135deg, #121319 0%, #1a1b24 100%);
  border: 3px solid #282A35;
  border-radius: var(--radius-sm);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.match-center-card.is-live {
  border-color: #EF4444;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.3), 0 12px 35px rgba(0, 0, 0, 0.5);
}

.match-center-card.is-finalizado {
  border-color: #10B981;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2), 0 12px 35px rgba(0, 0, 0, 0.5);
}

.match-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.match-center-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.match-live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 210, 0, 0.12);
  color: var(--c-yellow);
  border: 1px solid rgba(255, 210, 0, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.match-center-card.is-live .match-live-pulse-badge {
  background: rgba(239, 68, 68, 0.18);
  color: #EF4444;
  border-color: #EF4444;
}

.match-center-card.is-finalizado .match-live-pulse-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #10B981;
  border-color: #10B981;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: currentColor;
  animation: liveDotPulse 1.4s infinite;
}

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

.match-comp-tag {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 600;
}

.match-center-time-wrap {
  font-size: 0.88rem;
  color: #F8FAFC;
  font-weight: 700;
}

/* Scoreboard Grid */
.match-center-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 680px) {
  .match-center-scoreboard {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }
}

.match-team {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.match-team.team-home {
  justify-content: flex-start;
}

.match-team.team-away {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

@media (max-width: 680px) {
  .match-team.team-home,
  .match-team.team-away {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.match-team-crest {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.rival-crest-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid var(--c-yellow);
  color: var(--c-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.match-team-info {
  display: flex;
  flex-direction: column;
}

.match-team-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.match-team-sub {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
}

/* Big Score Display */
.match-score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  padding: 0.85rem 2rem;
  min-width: 150px;
}

.score-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-yellow);
}

.score-colon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85em;
  transform: translateY(-2px);
}

.score-subtext {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 0.35rem;
  text-align: center;
}

/* Incidents & Timeline */
.match-timeline-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}

.timeline-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-event-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.event-time {
  background: #FFD200;
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.event-desc strong {
  color: #FFF;
}

/* Actions in Match Center */
.match-center-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-match-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFD200;
  color: #0C0D0E;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 210, 0, 0.25);
  transition: transform 150ms ease, background-color 150ms ease;
}

.btn-match-radio:hover {
  background: #E6BD00;
  transform: translateY(-2px);
}

.btn-match-standings {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all 150ms ease;
}

.btn-match-standings:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD200;
  color: #FFD200;
}

.line-score.win {
  color: #10B981;
}
.line-score.draw {
  color: #F59E0B;
}
.line-score.loss {
  color: #EF4444;
}

/* ==========================================================================
   GALERÍA DE FOTOS DEL PARTIDO (MATCH CENTER)
   ========================================================================== */
.match-center-gallery-wrap {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.gallery-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 210, 0, 0.15);
  color: #FFD200;
  border: 1px solid rgba(255, 210, 0, 0.35);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.gallery-title-sub {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
}

.match-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .match-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

.match-photo-item {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #0C0D0E;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.match-photo-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #FFD200;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.match-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s ease;
}

.match-photo-item:hover img {
  filter: brightness(1.08);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.65rem 0.5rem 0.4rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox Modal for Photos */
.photo-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.photo-lightbox-overlay.is-open {
  display: flex;
}

.photo-lightbox-card {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #111318;
  border: 2px solid #FFD200;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: zoomInLight 0.2s ease;
}

@keyframes zoomInLight {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.photo-lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background: #000;
}

.photo-lightbox-footer {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #151821;
}

.photo-lightbox-caption {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.photo-lightbox-close {
  background: #FFD200;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}
