/* =========================================================
   THUNDER VOLLEY CLUB
   STYLE.CSS
========================================================= */

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

:root {
  --blue-dark: #171a3a;
  --blue-dark-2: #202957;
  --blue: #3f62b5;
  --blue-light: #7190d2;
  --orange: #f7941d;
  --orange-dark: #f36c21;
  --cream: #f5f7fb;
  --text: #202733;
  --muted: #687385;
  --white: #fff;
  --line: #e5e8ed;
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(23, 26, 58, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #aeb7c5;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d9dee7;
  font-size: 13px;
  font-weight: 600;
}

.nav-menu a {
  transition: 0.25s;
}

.nav-menu a:hover {
  color: var(--orange);
}

.cart-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  border-radius: 30px;
  padding: 9px 14px;
  cursor: pointer;
  transition: 0.25s;
}

.cart-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

#cartCount {
  background: var(--orange);
  border-radius: 50%;
  font-size: 11px;
  padding: 2px 6px;
  margin-left: 3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 800px;
  background:
    linear-gradient(
      115deg,
      rgba(23, 26, 58, 0.98) 15%,
      rgba(35, 52, 105, 0.82) 60%,
      rgba(23, 26, 58, 0.94)
    ),
    center/cover;
  position: relative;
  color: #fff;
  padding-top: 78px;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 70px 0 45px;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

.hero-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.eyebrow {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero .eyebrow {
  margin-top: 20px;
  color: #ffb347;
}

h1,
h2 {
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
  line-height: 1.03;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  max-width: 850px;
}

h1 span,
h2 span {
  color: var(--orange);
}

.hero-text {
  max-width: 620px;
  color: #cbd1db;
  margin: 22px 0 30px;
  font-size: 16px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 25px rgba(247, 148, 29, 0.22);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(243, 108, 33, 0.3);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--blue-dark);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 55px;
}

.hero-stats strong {
  display: block;
  font-family: Oswald;
  font-size: 32px;
  color: #fff;
}

.hero-stats span {
  display: block;
  color: #9fa8b6;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 100px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

/* =========================================================
   ABOUT
========================================================= */

.section-image {
  min-height: 510px;
}

.image-card {
  height: 510px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    var(--blue-dark),
    var(--blue),
    var(--blue-light)
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 20px 25px 60px rgba(23, 26, 58, 0.18);
}

.image-card:before,
.image-card:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.image-card:before {
  width: 460px;
  height: 460px;
}

.image-card:after {
  width: 300px;
  height: 300px;
}

.volleyball-art {
  font-size: 150px;
  filter: grayscale(1) brightness(5);
  z-index: 1;
}

.image-card > span {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
}

h2 {
  font-size: clamp(40px, 5vw, 62px);
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
}

.values {
  margin-top: 32px;
}

.values article {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.values article > span {
  font-family: Oswald;
  color: var(--orange);
  font-size: 22px;
}

.values h3 {
  font-size: 14px;
  margin-bottom: 2px;
}

.values p {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   IMAGEN NOSOTROS - RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .section-image {
    width: 100%;
    min-height: 0;
  }

  .image-card {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .image-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .image-card:before {
    width: 80%;
    height: 80%;
  }

  .image-card:after {
    width: 55%;
    height: 55%;
  }
}

@media (max-width: 700px) {
  .section-image {
    width: 100%;
    min-height: 0;
  }

  .image-card {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .image-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .image-card:before {
    width: 78%;
    height: 78%;
  }

  .image-card:after {
    width: 52%;
    height: 52%;
  }
}

@media (max-width: 420px) {
  .image-card {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .image-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .image-card:before {
    width: 75%;
    height: 75%;
  }

  .image-card:after {
    width: 50%;
    height: 50%;
  }

  .image-card > span {
    left: 18px;
    bottom: 18px;
    font-size: 9px;
  }
}

/* =========================================================
   PARTIDOS
========================================================= */

.dark-section {
  background: linear-gradient(135deg, var(--blue-dark), #202957);
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
}

.text-link {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  border: 0;
  background: none;
  cursor: pointer;
}

.text-link:hover {
  color: #ffb347;
}

.centered {
  text-align: center;
  display: block;
}

.centered > p:last-child {
  color: var(--muted);
  margin-top: 10px;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.match-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: 0.25s;
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 148, 29, 0.45);
}

.match-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #8995a8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-date {
  font-family: Oswald;
  font-size: 34px;
  color: #fff;
  margin: 12px 0;
}

/* =========================================================
   EQUIPOS Y MARCADOR
========================================================= */

.teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  gap: 10px;
  text-align: center;
}

.team {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 8px;
}

.team-badge {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.team > span {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  overflow-wrap: break-word;
}

.vs {
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Oswald, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

/* =========================================================
   MARCADOR
========================================================= */

.match-score {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--blue-dark);
  font-family: Oswald, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   PELOTA DEL RIVAL
========================================================= */

.rival-ball {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.match-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
  padding-top: 14px;
  color: #aab3c0;
  font-size: 11px;
}

/* =========================================================
   UBICACIÓN DEL PARTIDO
========================================================= */

.match-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

/* =========================================================
   FASE DEL CAMPEONATO
========================================================= */

.match-phase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(247, 148, 29, 0.12);
  border: 1px solid rgba(247, 148, 29, 0.3);
  color: #ffb347;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   CAMPEONATOS
========================================================= */

.championships-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.championship-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.championship-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
}

.championship-card h3 {
  font-size: 14px;
  margin-bottom: 3px;
}

.championship-card p {
  color: #8995a8;
  font-size: 10px;
}

.championship-card strong {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-size: 11px;
}

.championship-period {
  margin: 8px 0 5px;
  color: #aab4c5;
  font-size: 11px;
}

.championship-period i {
  margin-right: 5px;
  color: #a78bfa;
}

.championship-status {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.championship-status-finished {
  color: #d6c5ff;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(167, 139, 250, .3);
}

/* =========================================================
   FILTROS DEL CALENDARIO
========================================================= */

.calendar-filters {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 35px 0 45px;
}

/* =========================================================
   FILA PRINCIPAL
   TODAS - MASCULINO - FEMENINO
========================================================= */

.calendar-main-filters {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

/* =========================================================
   GRUPO MASCULINO / FEMENINO
========================================================= */

.calendar-filter-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

/* =========================================================
   BOTONES PRINCIPALES
========================================================= */

.calendar-filter {
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.calendar-filter:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.calendar-filter.active {
  background: #f36c21;
  color: #ffffff;
  border-color: #f36c21;
  box-shadow: 0 8px 20px rgba(247, 148, 29, 0.35);
  transform: translateY(-2px);
}

.calendar-filter.active:hover {
  background: #f36c21;
  border-color: #f36c21;
  box-shadow: 0 10px 25px rgba(247, 148, 29, 0.45);
}

/* =========================================================
   SUBCATEGORÍAS
   SUB 18 - SUB 17 - SUB 16 - ETC.
========================================================= */

.calendar-subfilters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

/* =========================================================
   BOTONES DE SUBCATEGORÍAS
========================================================= */

.calendar-subfilter {
  border: 1px solid rgba(247, 148, 29, 0.45);
  background: rgba(247, 148, 29, 0.08);
  color: #ffb347;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.calendar-subfilter:hover {
  background: rgba(247, 148, 29, 0.18);
  border-color: #f7941d;
  color: #ffffff;
  transform: translateY(-2px);
}

.calendar-subfilter.active {
  background: #f7941d;
  color: #ffffff;
  border-color: #f7941d;
  box-shadow: 0 6px 15px rgba(247, 148, 29, 0.28);
  transform: translateY(-2px);
}

/* =========================================================
   SUBCATEGORÍAS OCULTAS
========================================================= */

.calendar-subfilters.hidden {
  display: none;
}

/* =========================================================
   ESPACIADO DE LOS GRUPOS
========================================================= */

.calendar-filter-group .calendar-subfilters {
  margin-top: 2px;
}

/* =========================================================
   CURSOS
========================================================= */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.course-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: #fff;
  position: relative;
  transition: 0.25s;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(23, 26, 58, 0.1);
}

.course-card.featured {
  border: 2px solid var(--orange);
}

.tag {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #fff0dd;
  color: var(--orange-dark);
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
}

.course-icon {
  font-size: 30px;
  margin-bottom: 15px;
}

.course-card h3 {
  font-size: 19px;
}

.course-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 20px;
}

.course-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.course-meta b {
  display: block;
  font-size: 13px;
}

.course-meta span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
}

/* =========================================================
   TIENDA
========================================================= */

.shop-section {
  background: var(--cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(23, 26, 58, 0.1);
}

.product-image {
  height: 260px;
  background: linear-gradient(145deg, #eef2fb, #d7def2);
  display: grid;
  place-items: center;
  position: relative;
}

.shirt {
  font-size: 120px;
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, 0.18));
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 16px;
}

.product-info p {
  color: var(--muted);
  font-size: 11px;
  margin: 3px 0 14px;
}

.size-selector {
  margin-bottom: 15px;
}

.size-selector label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.size-selector select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 11px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-family: Oswald;
  font-size: 24px;
  color: var(--blue-dark);
}

.add-btn {
  background: var(--blue-dark);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: 0.25s;
}

.add-btn:hover {
  background: var(--orange);
}

/* =========================================================
   UBICACIÓN
========================================================= */

.location-section {
  background: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.contact-list {
  margin: 28px 0;
}

.contact-list > div {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

.contact-list > div > span {
  font-size: 21px;
}

.contact-list strong {
  font-size: 12px;
}

.contact-list p {
  font-size: 12px;
  color: var(--muted);
}

.map-box {
  height: 430px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(23, 26, 58, 0.14);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2);
}

.map-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  padding: 11px 15px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 5px 20px #0002;
}

/* =========================================================
   CTA
========================================================= */

.cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  padding: 75px 0;
}

.cta .eyebrow {
  color: #ffe0b2;
}

.cta h2 {
  margin: 0;
}

.cta h2 span {
  color: var(--blue-dark);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.btn-light {
  background: #fff;
  color: var(--blue-dark);
}

.btn-light:hover {
  transform: translateY(-2px);
  background: #f4f6fb;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: var(--blue-dark);
  color: #fff;
}

.footer-grid {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 52px;
}

.footer-brand h3 {
  font-family: Oswald;
  margin: 8px 0;
}

.footer-brand h3 span {
  color: var(--blue-light);
}


/* Copyright: diseño elegante y centrado */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
  padding: 22px 0;
  text-align: center;
}

.footer-bottom .container {
  width: min(1160px, 92%);
  margin: 0 auto;
  color: #c5cbe0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.2px;
}

.footer p,
.footer a {
  color: #919baa;
  font-size: 11px;
  display: block;
  margin: 6px 0;
}

.footer h4 {
  font-size: 12px;
  margin-bottom: 15px;
}

/* =========================================================
   REDES SOCIALES
========================================================= */

.socials {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

.socials a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  background: #f7941d;
  font-size: 22px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.socials a:hover {
  transform: translateY(-5px) scale(1.08);
  background: #f36c21;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

/* =========================================================
   CARRITO
========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.modal.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #0008;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(430px, 94%);
  background: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 50px #0002;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.cart-header h2 {
  font-size: 30px;
}

.cart-header button {
  border: 0;
  background: none;
  font-size: 32px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 15px 0;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 10px;
  font-size: 13px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #e9edf8;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 30px;
  color: #252b38;
}

.cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.cart-item h4 {
  font-size: 12px;
}

.cart-item p {
  font-size: 11px;
  color: var(--muted);
}

.qty {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}

.qty button {
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.remove {
  font-size: 10px;
  color: var(--orange-dark);
  border: 0;
  background: none;
  cursor: pointer;
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 15px;
}

.cart-total strong {
  font-family: Oswald;
  font-size: 25px;
  color: var(--blue-dark);
}

.full {
  width: 100%;
}

/* =========================================================
   BOTONES DEL CARRITO
========================================================= */

.cart-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 15px;
}

.cart-actions .btn {
  flex: 1;
  min-height: 56px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s;
}

.cart-actions .btn-secondary {
  background: #eeeeee;
  color: #555555;
  border: none;
}

.cart-actions .btn-primary {
  background: #1c2340;
  color: #ffffff;
  border: none;
}

.cart-actions .btn-secondary:hover,
.cart-actions .btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(243, 108, 33, 0.3);
}

/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--blue-dark);
  color: #fff;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 11px;
  z-index: 3000;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.3s;
  pointer-events: none;
  border-left: 4px solid var(--orange);
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* =========================================================
   TRANSMISIÓN
========================================================= */

.match-transmission {
  margin-top: 14px;
}

.transmission-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #e92d55, #b9153b);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(220, 30, 70, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  overflow: hidden;
}

.transmission-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(220, 30, 70, 0.42);
  filter: brightness(1.08);
}

.transmission-live {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  color: #ffebee;
  font-size: 16px;
  animation: transmissionPulse 1.5s infinite;
}

.transmission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #d71945;
  font-size: 15px;
  padding-left: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.transmission-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.transmission-text small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.75);
}

.transmission-text strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.transmission-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}

.transmission-btn:hover .transmission-arrow {
  transform: translate(2px, -2px);
}

@keyframes transmissionPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.7);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .nav-menu {
    gap: 14px;
  }

  .two-col,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section-image {
    min-height: auto;
  }

  .image-card {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .image-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .matches-grid,
  .courses-grid,
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero {
    min-height: 720px;
  }

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .navbar {
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #29345a;
  }

  .nav-menu.open {
    display: flex;
  }

  .hero {
    padding-top: 68px;
    min-height: 720px;
  }

  .hero-content {
    padding: 50px 0;
  }

  .hero-stats {
    gap: 25px;
  }

  .hero-stats strong {
    font-size: 25px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .matches-grid,
  .courses-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    gap: 35px;
  }

  .map-box {
    height: 340px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  /* =======================================================
     MARCADOR EN MÓVIL
  ======================================================= */

  .teams {
    grid-template-columns: minmax(0, 1fr) 55px minmax(0, 1fr);
    gap: 6px;
  }

  .vs {
    width: 55px;
    font-size: 16px;
  }

  .team-badge,
  .rival-ball {
    width: 52px;
    height: 52px;
  }

  .team > span {
    font-size: 11px;
    min-height: 36px;
  }

  .match-score {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .match-card {
    padding: 20px;
  }

  .match-date {
    font-size: 30px;
  }

  .transmission-text strong {
    font-size: 12px;
  }

  .transmission-text small {
    font-size: 8px;
  }
}

/* =========================================================
   FILTROS EN MÓVIL
========================================================= */

@media (max-width: 600px) {
  .calendar-filters {
    gap: 15px;
    margin: 28px 0 35px;
  }

  .calendar-main-filters {
    gap: 8px;
  }

  .calendar-filter {
    padding: 10px 18px;
    font-size: 11px;
  }

  .calendar-filter-group {
    gap: 8px;
  }

  .calendar-subfilters {
    gap: 6px;
    max-width: 100%;
  }

  .calendar-subfilter {
    padding: 7px 13px;
    font-size: 9px;
  }

  .cart-actions {
    gap: 8px;
  }

  .cart-actions .btn {
    min-height: 52px;
    font-size: 13px;
  }
}

/* =========================================================
   CENTRAR ENCABEZADO DEL CALENDARIO
========================================================= */

.calendar-section .section-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.calendar-section .section-heading.centered h1 {
  width: 100%;
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.calendar-section .section-heading.centered .eyebrow {
  text-align: center;
  width: 100%;
}

.calendar-section .section-heading.centered > p:last-child {
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   MANTENER CENTRADO EN COMPUTADORA
========================================================= */

@media (min-width: 701px) {
  .calendar-section .section-heading.centered {
    align-items: center;
    text-align: center;
  }

  .calendar-section .section-heading.centered h1 {
    text-align: center;
  }
}

/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }

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

  .hero-stats {
    gap: 15px;
  }

  .hero-stats span {
    font-size: 9px;
  }

  .teams {
    grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr);
    gap: 4px;
  }

  .vs {
    width: 45px;
    font-size: 14px;
  }

  .team-badge,
  .rival-ball {
    width: 48px;
    height: 48px;
  }

  .team > span {
    font-size: 10px;
    min-height: 34px;
  }

  .match-score {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }

  /* =======================================================
     FILTROS PEQUEÑOS
  ======================================================= */

  .calendar-filters {
    gap: 12px;
  }

  .calendar-main-filters {
    gap: 6px;
  }

  .calendar-filter {
    padding: 9px 13px;
    font-size: 9px;
  }

  .calendar-filter-group {
    gap: 7px;
  }

  .calendar-subfilters {
    gap: 5px;
  }

  .calendar-subfilter {
    padding: 6px 10px;
    font-size: 8px;
  }
}

/* ==========================================
   ANIMACIÓN DE ESTADÍSTICAS
========================================== */

.hero-stats > div {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero-stats > div.mostrar {
  opacity: 1;
  transform: translateY(0);
}

/* El número también tiene un pequeño efecto */

.hero-stats .contador {
  display: inline-block;
  transform: scale(0.85);
  transition: transform 0.5s ease;
}

.hero-stats > div.mostrar .contador {
  transform: scale(1);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}
/* =========================================================
   THUNDER VOLLEY CLUB
   ANIMACIÓN DEL LOGO PRINCIPAL DEL HERO
========================================================= */

.hero {
  overflow-x: hidden;
  overflow-y: hidden;
}

.hero-logo {
  position: absolute;
  top: 50%;
  right: 3%;
  width: min(43%, 480px);
  margin: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.hero-logo img {
  position: relative;
  z-index: 3;
  width: min(100%, 430px);
  height: auto;
  display: block;
  transform-origin: center center;
  animation:
    logo-float 5s ease-in-out infinite,
    logo-pulse 4s ease-in-out infinite,
    logo-glow 4s ease-in-out infinite;
  will-change: transform, filter;
}

.hero-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  height: 85%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(50, 105, 220, 0.45) 0%,
      rgba(50, 105, 220, 0.22) 35%,
      rgba(247, 148, 29, 0.10) 52%,
      transparent 72%
    );
  filter: blur(35px);
  opacity: 0.75;
  z-index: 1;
  animation: logo-aura 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 94%;
  height: 30%;
  transform: translate(-50%, -50%) rotate(-18deg);
  border-radius: 50%;
  border: 2px solid rgba(110, 150, 230, 0.45);
  border-right-color: rgba(247, 148, 29, 0.75);
  box-shadow:
    0 0 10px rgba(50, 105, 220, 0.30),
    0 0 22px rgba(247, 148, 29, 0.18);
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
  animation: logo-energy 6s linear infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes logo-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 5px rgba(50, 105, 220, 0.15))
      drop-shadow(0 0 5px rgba(247, 148, 29, 0.08));
  }
  50% {
    filter:
      drop-shadow(0 0 14px rgba(50, 105, 220, 0.45))
      drop-shadow(0 0 18px rgba(247, 148, 29, 0.28));
  }
}

@keyframes logo-aura {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.85;
  }
}

@keyframes logo-energy {
  0% {
    transform: translate(-50%, -50%) rotate(-18deg) scale(0.94);
    opacity: 0.25;
  }
  50% {
    transform: translate(-50%, -50%) rotate(4deg) scale(1.03);
    opacity: 0.85;
  }
  100% {
    transform: translate(-50%, -50%) rotate(25deg) scale(0.94);
    opacity: 0.25;
  }
}

@media (max-width: 900px) {
  .hero-logo {
    right: 0;
    width: min(42%, 350px);
  }
}

/* =========================================================
   MÓVIL
   El contenedor queda fijo.
   SOLO se anima la imagen.
========================================================= */

@media (max-width: 700px) {
  .hero {
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .hero-logo {
    position: relative;
    top: auto;
    right: auto;
    width: min(82vw, 330px);
    max-width: 100%;
    transform: none;
    margin: 0 auto 30px;
    order: -1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo img {
    width: 100%;
    max-width: 330px;
    animation:
      thunder-mobile-float 5s ease-in-out infinite,
      thunder-mobile-glow 4s ease-in-out infinite;
    will-change: transform, filter;
  }

  .hero-logo::before {
    width: 80%;
    height: 80%;
    animation: thunder-mobile-aura 4s ease-in-out infinite;
  }

  .hero-logo::after {
    width: 90%;
    height: 28%;
    animation: thunder-mobile-energy 6s linear infinite;
  }
}

@keyframes thunder-mobile-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -7px, 0) scale(1.025);
  }
}

@keyframes thunder-mobile-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 5px rgba(50, 105, 220, 0.15))
      drop-shadow(0 0 5px rgba(247, 148, 29, 0.08));
  }
  50% {
    filter:
      drop-shadow(0 0 13px rgba(50, 105, 220, 0.42))
      drop-shadow(0 0 17px rgba(247, 148, 29, 0.25));
  }
}

@keyframes thunder-mobile-aura {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.75;
  }
}

@keyframes thunder-mobile-energy {
  0% {
    transform: translate(-50%, -50%) rotate(-18deg) scale(0.95);
    opacity: 0.25;
  }
  50% {
    transform: translate(-50%, -50%) rotate(3deg) scale(1.02);
    opacity: 0.75;
  }
  100% {
    transform: translate(-50%, -50%) rotate(18deg) scale(0.95);
    opacity: 0.25;
  }
}

@media (max-width: 420px) {
  .hero-logo {
    width: min(78vw, 290px);
    margin-bottom: 25px;
  }

  .hero-logo img {
    max-width: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo img,
  .hero-logo::before,
  .hero-logo::after {
    animation: none !important;
  }
}

/* =========================================================
   THUNDER VOLLEY CLUB
   FILTROS DEL CALENDARIO EN MÓVIL
========================================================= */

@media (max-width: 600px) {

  /* Fila de botones: TODAS, MASCULINO y FEMENINO */
  .calendar-gender-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  .calendar-gender-filters .calendar-filter {
    flex: 0 1 auto;
    min-width: 0;
    padding: 10px 9px;
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* Categorías debajo de los botones principales */
  .calendar-category-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  .calendar-category-filters .calendar-subfilter {
    padding: 7px 10px;
    font-size: 9px;
    white-space: nowrap;
  }

}

/* Ajuste para teléfonos pequeños */
@media (max-width: 360px) {

  .calendar-gender-filters {
    gap: 4px;
  }

  .calendar-gender-filters .calendar-filter {
    padding: 9px 6px;
    font-size: 9px;
  }

}


/* =========================================================
   HISTÓRICO DE CAMPEONATOS: DETALLE DE PARTIDOS
========================================================= */
.championship-card {
  align-items: flex-start;
}

.championship-content {
  min-width: 0;
  flex: 1;
}

.championship-gender {
  display: inline-flex;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: 999px;
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.championship-position {
  margin-top: 12px;
}

.championship-position span {
  display: block;
  color: #8995a8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.championship-position strong {
  color: var(--orange);
  font-size: 13px;
}

.championship-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 9px 12px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 9px;
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.championship-details-btn:hover {
  background: rgba(124, 58, 237, 0.24);
  border-color: rgba(167, 139, 250, 0.7);
}

.championship-details {
  width: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.championship-details[hidden] {
  display: none !important;
}

.championship-details h4 {
  margin: 0 0 12px;
  font-size: 12px;
  color: #f4f6fb;
}

.championship-matches-list {
  display: grid;
  gap: 9px;
}

.championship-match-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.championship-match-date,
.championship-match-info,
.championship-match-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.championship-match-date strong {
  color: #c4b5fd;
  font-size: 10px;
}

.championship-match-date span,
.championship-match-info > span,
.championship-match-status {
  color: #8995a8;
  font-size: 9px;
}

.championship-match-info > strong {
  color: #f4f6fb;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.championship-match-info > strong span {
  color: #8995a8;
  font-weight: 500;
}

.championship-match-result {
  align-items: flex-end;
  text-align: right;
}

.championship-match-score {
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

.championship-match-score span,
.championship-match-vs {
  color: var(--orange);
}

.championship-match-vs {
  font-size: 12px;
  font-weight: 800;
}

.championship-empty-matches {
  padding: 18px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  text-align: center;
}

.championship-empty-matches i {
  color: #a78bfa;
  font-size: 20px;
}

.championship-empty-matches p {
  margin: 8px 0 5px;
  color: #e5e7eb;
  font-size: 11px;
}

.championship-empty-matches span {
  display: block;
  color: #8995a8;
  font-size: 10px;
  line-height: 1.6;
}

.championship-empty-matches code {
  color: #c4b5fd;
}

@media (max-width: 520px) {
  .championship-card {
    gap: 11px;
    padding: 15px;
  }

  .championship-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .championship-match-row {
    grid-template-columns: 1fr auto;
  }

  .championship-match-date {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}


/* =========================================================
   CAMPEONATOS EN CURSO
========================================================= */
.championship-status-active {
  color: #b9f6d0;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(74, 222, 128, .3);
}
.current-championship-card .championship-icon {
  color: #a7f3d0;
  background: rgba(34, 197, 94, .12);
}
.current-championship-count {
  margin-top: 8px !important;
  color: #d1d5db !important;
  font-size: 11px !important;
}


/* =========================================================
   CALENDARIO: PARTIDOS AGRUPADOS POR TORNEO (VISTA CATEGORÍA)
   Tarjetas siempre horizontales; desplazamiento lateral si no caben.
========================================================= */
.calendar-tournament-group {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 1.4rem;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 10px 28px rgba(5, 8, 28, .12);
}
.calendar-tournament-summary {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(110deg, rgba(247, 148, 29, .10), rgba(255, 255, 255, .015));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.calendar-tournament-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(247, 148, 29, .13);
  font-size: 1.35rem;
}
.calendar-tournament-heading {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: .2rem;
}
.calendar-tournament-heading strong { color: #fff; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.calendar-tournament-heading small { color: #9ba8c5; font-size: .78rem; }
.calendar-tournament-count {
  flex: 0 0 auto;
  padding: .35rem .65rem;
  border: 1px solid rgba(247, 148, 29, .28);
  border-radius: 999px;
  background: rgba(247, 148, 29, .09);
  color: #ffad42;
  font-size: .75rem;
  font-weight: 700;
}
.calendar-tournament-matches {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.calendar-tournament-matches > .match-card {
  flex: 0 0 270px !important;
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 1.1rem;
  scroll-snap-align: start;
}
.calendar-tournament-footer {
  padding: .7rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #9ba8c5;
  font-size: .78rem;
}
@media (min-width: 901px) {
  .calendar-tournament-matches > .match-card {
    flex-basis: 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
  }
}
@media (max-width: 600px) {
  .calendar-tournament-summary { gap: .65rem; padding: .85rem; flex-wrap: wrap; }
  .calendar-tournament-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 1.15rem; }
  .calendar-tournament-heading strong { font-size: .9rem; }
  .calendar-tournament-heading small { font-size: .68rem; }
  .calendar-tournament-count { font-size: .68rem; padding: .3rem .45rem; }
  .calendar-tournament-matches { gap: .75rem; padding: .75rem; }
  .calendar-tournament-matches > .match-card {
    flex: 0 0 min(270px, 82vw) !important;
    width: min(270px, 82vw) !important;
    min-width: min(270px, 82vw) !important;
    max-width: min(270px, 82vw) !important;
    padding: .9rem;
  }
}


/* AJUSTE: próximos encuentros y resultados agrupados con el mismo diseño horizontal */
#upcomingMatchesGrid:has(> .calendar-tournament-group),
#resultsGrid:has(> .calendar-tournament-group) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#upcomingMatchesGrid > .calendar-tournament-group,
#resultsGrid > .calendar-tournament-group {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

#upcomingMatchesGrid .calendar-tournament-matches,
#resultsGrid .calendar-tournament-matches {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 300px)) !important;
  justify-content: start !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 16px !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

#upcomingMatchesGrid .calendar-tournament-matches > .match-card,
#resultsGrid .calendar-tournament-matches > .match-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 300px !important;
  flex: initial !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 650px) {
  #upcomingMatchesGrid .calendar-tournament-matches,
  #resultsGrid .calendar-tournament-matches {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)) !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  #upcomingMatchesGrid .calendar-tournament-matches > .match-card,
  #resultsGrid .calendar-tournament-matches > .match-card {
    max-width: none !important;
  }
}


/* =========================================================
   TIENDA: BOTÓN VER UNIFORME Y MODAL DE IMAGEN
   Cambio aislado: no modifica estilos ni lógica del carrito.
========================================================= */

.view-uniform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 15px;
  padding: 10px 14px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  background: #fff;
  color: var(--orange-dark, var(--orange));
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.view-uniform-btn:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

.uniform-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.uniform-modal.active {
  display: flex;
}

.uniform-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 24, .82);
  backdrop-filter: blur(4px);
}

.uniform-modal-panel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .35);
  animation: uniformModalIn .22s ease-out;
}

.uniform-modal-panel h2 {
  margin: 0 45px 22px 0;
  color: var(--blue-dark, #171a3a);
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 800;
}

.uniform-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.uniform-modal-close:hover {
  background: var(--blue-dark, #171a3a);
  transform: rotate(90deg);
}

.uniform-modal-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: 68vh;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #eef2fb, #d7def2);
}

.uniform-modal-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.uniform-modal-image-wrap img[hidden],
.uniform-modal-placeholder[hidden] {
  display: none !important;
}

.uniform-modal-placeholder {
  padding: 50px 20px;
  text-align: center;
  color: var(--blue-dark, #171a3a);
}

.uniform-modal-placeholder span {
  display: block;
  font-size: clamp(70px, 12vw, 120px);
  filter: drop-shadow(0 12px 12px rgba(23, 26, 58, .15));
}

.uniform-modal-placeholder p {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
}

body.uniform-modal-open {
  overflow: hidden;
}

@keyframes uniformModalIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .uniform-modal {
    padding: 12px;
  }

  .uniform-modal-panel {
    padding: 20px 14px 14px;
    border-radius: 14px;
  }

  .uniform-modal-close {
    top: 9px;
    right: 9px;
    width: 38px;
    height: 38px;
  }

  .uniform-modal-panel h2 {
    padding-right: 35px;
    margin-bottom: 16px;
  }

  .uniform-modal-image-wrap {
    min-height: 180px;
    max-height: 72vh;
  }

  .uniform-modal-image-wrap img {
    max-height: 72vh;
  }
}


/* =========================================================
   TIENDA: IMÁGENES MÁS GRANDES Y SELECTORES DE VARIANTES
   Ajustes visuales sin modificar el diseño general.
========================================================= */
.product-image {
  height: 330px;
  padding: 12px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
  transition: transform .3s ease;
}

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

.product-option-selector {
  margin: 0 0 15px;
}

.product-option-selector label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-option-selector select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 11px;
}

@media (max-width: 600px) {
  .product-image {
    height: 290px;
  }

  .product-img {
    transform: scale(1.08);
  }

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


/* Catálogo: selector de color solo aparece cuando hay varias opciones */
.product-image { position: relative; }
.product-image-placeholder { display: none; }
.product-image.product-image-fallback .product-image-placeholder {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  font-size: 3rem;
  background: #f4f5f8;
}
.product-image .product-img { object-fit: contain; }
.product-option-selector select,
.size-selector select {
  width: 100%;
  max-width: 100%;
}

/* ==========================================
   FOOTER RESPONSIVE - THUNDER VOLLEY CLUB
========================================== */

.footer {
  width: 100%;
  overflow: hidden;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand {
  grid-column: auto;
}

.footer-brand img {
  max-width: 52px;
  height: auto;
}

.footer-brand h3 {
  overflow-wrap: anywhere;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom .container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 8px;
  color: #c5cbe0;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  overflow-wrap: break-word;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 0;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-grid > div:last-child {
    width: 100%;
  }

  .footer h4 {
    line-height: 1.6;
    overflow-wrap: break-word;
  }

  .socials {
    gap: 12px;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom .container {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .socials {
    gap: 8px;
  }

  .socials a {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

/* Redes sociales: una sola fila en móviles */
@media (max-width: 700px) {
  .socials {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(8px, 3vw, 12px);
    width: 100%;
  }

  .socials a {
    flex: 0 1 48px;
    width: 48px;
    height: 48px;
    min-width: 0;
    margin: 0;
  }

  .socials a i {
    font-size: 21px;
  }
}

/* ==========================================
   FOOTER: CENTRADO SOLO EN COMPUTADORA
   No modifica la vista móvil
========================================== */

@media (min-width: 901px) {
  .footer-grid {
    position: relative;
  }

  .footer-grid > div:last-child {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-grid > div:last-child h4 {
    text-align: center;
    margin-bottom: 15px;
  }

  .footer-grid > div:last-child .socials {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 0;
  }
}



/* ==========================================
   STAFF THUNDER VOLLEY CLUB
   Sección nueva de Nosotros
========================================== */
.staff-section {
  background: #f7f8fc;
}

.staff-group-photo {
  position: relative;
  margin: 34px auto 38px;
  max-width: 500px;
  width: min(100%, 500px);
  overflow: hidden;
  border-radius: 20px;
  background: #171d3a;
  box-shadow: 0 18px 45px rgba(20, 27, 58, 0.16);
}

.staff-group-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.staff-group-photo figcaption {
  padding: 13px 18px;
  color: #fff;
  background: #19203f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.staff-card {
  position: relative;
  min-width: 0;
  padding: 26px 22px 24px;
  border: 1px solid rgba(25, 32, 63, .09);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 32, 63, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(25, 32, 63, .11);
}

.staff-number {
  display: inline-block;
  margin-bottom: 15px;
  color: #ff9018;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.staff-card h3 {
  margin: 0 0 7px;
  color: #202637;
  font-size: 19px;
  line-height: 1.35;
}

.staff-card p {
  margin: 0;
  color: #66708a;
  font-size: 14px;
  line-height: 1.6;
}

.staff-president {
  border-color: rgba(255, 144, 24, .45);
  background: linear-gradient(145deg, #fff 0%, #fff7ed 100%);
}

.staff-president h3,
.staff-president .staff-number {
  color: #f18412;
}

.staff-physical {
  background: #19203f;
  border-color: #19203f;
}

.staff-physical h3 { color: #fff; }
.staff-physical p { color: #d5daeb; }

@media (max-width: 800px) {
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-group-photo { border-radius: 15px; }
}

@media (max-width: 520px) {
  .staff-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .staff-card { padding: 15px 16px; border-radius: 13px; }
  .staff-number { font-size: 12px; margin-bottom: 9px; }
  .staff-card h3 { font-size: 16px; line-height: 1.3; margin-bottom: 5px; }
  .staff-card p { font-size: 12px; line-height: 1.45; }
  .staff-group-photo { width: min(100%, 225px); margin: 24px auto 28px; }
  .staff-group-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center center; }
}


/* En pantallas pequeñas, aprovechar el ancho disponible */
@media (max-width: 767px) {
  .staff-group-photo { max-width: min(100%, 225px); }
}
