:root {
  --brand-primary: #C5538B;
  --brand-dark: #000105;
  --brand-secondary: #5AAFAA;
  --brand-accent: #D9834A;
  --brand-light: #FFFFFE;
  --brand-gradient: linear-gradient(135deg, var(--brand-primary), #a84374);
  --font-heading: Inter, system-ui, sans-serif;
  --font-body: Montserrat, system-ui, sans-serif;
  --section-padding: 6rem 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--brand-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--brand-primary);
  color: white;
}

/* ─── Navbar ─── */
.navbar {
  background-color: rgba(0, 1, 5, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 83, 139, 0.15);
  transition: background-color 0.3s;
}

.navbar.scrolled {
  background-color: rgba(0, 1, 5, 0.98) !important;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0 !important;
  margin: 0 0.75rem;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--brand-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(197, 83, 139, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(90, 175, 170, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(217, 131, 74, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: float 20s infinite;
  opacity: 0.3;
}

.hero-particles span:nth-child(1)  { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 18s; }
.hero-particles span:nth-child(2)  { top: 60%; left: 80%; animation-delay: 2s; animation-duration: 22s; width: 6px; height: 6px; background: var(--brand-secondary); }
.hero-particles span:nth-child(3)  { top: 40%; left: 50%; animation-delay: 4s; animation-duration: 16s; width: 3px; height: 3px; }
.hero-particles span:nth-child(4)  { top: 80%; left: 20%; animation-delay: 6s; animation-duration: 20s; background: var(--brand-accent); }
.hero-particles span:nth-child(5)  { top: 10%; left: 70%; animation-delay: 8s; animation-duration: 24s; width: 5px; height: 5px; }
.hero-particles span:nth-child(6)  { top: 70%; left: 40%; animation-delay: 3s; animation-duration: 19s; background: var(--brand-secondary); }
.hero-particles span:nth-child(7)  { top: 30%; left: 30%; animation-delay: 1s; animation-duration: 21s; width: 8px; height: 8px; opacity: 0.15; background: var(--brand-primary); }
.hero-particles span:nth-child(8)  { top: 85%; left: 60%; animation-delay: 5s; animation-duration: 17s; width: 4px; height: 4px; background: var(--brand-accent); }
.hero-particles span:nth-child(9)  { top: 15%; left: 85%; animation-delay: 7s; animation-duration: 23s; width: 7px; height: 7px; opacity: 0.12; }
.hero-particles span:nth-child(10) { top: 90%; left: 45%; animation-delay: 9s; animation-duration: 15s; width: 3px; height: 3px; background: var(--brand-secondary); }
.hero-particles span:nth-child(11) { top: 50%; left: 15%; animation-delay: 2.5s; animation-duration: 20s; width: 6px; height: 6px; opacity: 0.1; background: var(--brand-accent); }
.hero-particles span:nth-child(12) { top: 25%; left: 90%; animation-delay: 6.5s; animation-duration: 25s; width: 5px; height: 5px; }
.hero-particles span:nth-child(13) { top: 75%; left: 5%; animation-delay: 4.5s; animation-duration: 19s; width: 9px; height: 9px; opacity: 0.08; background: var(--brand-primary); }
.hero-particles span:nth-child(14) { top: 45%; left: 65%; animation-delay: 10s; animation-duration: 22s; width: 4px; height: 4px; background: var(--brand-secondary); }
.hero-particles span:nth-child(15) { top: 5%; left: 40%; animation-delay: 0.5s; animation-duration: 26s; width: 6px; height: 6px; opacity: 0.12; background: var(--brand-accent); }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  25% { transform: translateY(-30px) scale(1.2); opacity: 0.6; }
  50% { transform: translateY(-60px) scale(0.8); opacity: 0.2; }
  75% { transform: translateY(-30px) scale(1.1); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 254, 0.2);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-light) 30%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255, 255, 254, 0.7);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 254, 0.5);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-brand {
  background: var(--brand-gradient);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(197, 83, 139, 0.3);
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 83, 139, 0.4);
  color: white;
}

.btn-outline-brand {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.btn-hero {
  border: 1px solid rgba(255, 255, 254, 0.3);
  color: var(--brand-light);
  background: rgba(255, 255, 254, 0.05);
  backdrop-filter: blur(4px);
}

.btn-hero:hover {
  background: rgba(255, 255, 254, 0.1);
  border-color: rgba(255, 255, 254, 0.5);
  color: var(--brand-light);
  transform: translateY(-2px);
}

.btn-hero-primary {
  background: var(--brand-gradient);
  border: none;
  color: white;
  box-shadow: 0 4px 20px rgba(197, 83, 139, 0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 83, 139, 0.5);
  color: white;
}

/* ─── Sections ─── */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
  margin-top: 0.75rem;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ─── Cards ─── */
.card-tournament {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.card-tournament:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-tournament .card-body {
  padding: 2.5rem 2rem;
}

.card-tournament .icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}

.card-tournament .icon-wrap.football {
  background: linear-gradient(135deg, rgba(197, 83, 139, 0.1), rgba(197, 83, 139, 0.05));
}

.card-tournament .icon-wrap.volley {
  background: linear-gradient(135deg, rgba(90, 175, 170, 0.1), rgba(90, 175, 170, 0.05));
}

.card-tournament h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-tournament .price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.card-tournament .edition {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ─── Schedule Timeline ─── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary), var(--brand-accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  /* left: -1.35rem; */
  left: calc(-1rem - 14px);
  top: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--brand-primary);
}

.timeline-item:nth-child(even)::before {
  background: var(--brand-secondary);
  box-shadow: 0 0 0 2px var(--brand-secondary);
}

.timeline-item:last-child::before {
  background: var(--brand-accent);
  box-shadow: 0 0 0 2px var(--brand-accent);
}

.timeline-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-time {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* ─── Teams Grid ─── */
.team-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-card .card-header {
  background: var(--brand-gradient);
  color: white;
  padding: 1rem 1.25rem;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.team-card .player-row {
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.team-card .player-row:last-child {
  border-bottom: none;
}

.team-card .player-row:hover {
  background: rgba(197, 83, 139, 0.04);
}

.team-card .player-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(197, 83, 139, 0.1);
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  margin-right: 0.75rem;
}

/* ─── Match Table ─── */
.match-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.match-card:hover {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

a.match-card-wrap {
  color: inherit;
  display: block;
}

a.match-card-wrap:hover {
  color: inherit;
}

.match-card .match-header {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: #fafafa;
}

.match-card .match-teams {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.match-card .team-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
}

.match-card .team-name.home {
  text-align: right;
}

.match-card .score {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  min-width: 80px;
  text-align: center;
  color: var(--brand-primary);
}

.match-card .score-empty {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  min-width: 80px;
  text-align: center;
  color: #adb5bd;
}

.match-events {
  padding: 0.75rem 1.5rem;
  background: rgba(197, 83, 139, 0.04);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.match-event-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  background: rgba(90, 175, 170, 0.15);
  color: #3d8a86;
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
}

/* ─── Badges ─── */
.badge {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

.badge-brand-success {
  background-color: var(--brand-secondary);
  color: white;
}

.badge-brand-warning {
  background-color: var(--brand-accent);
  color: white;
}

.badge-brand-primary {
  background: var(--brand-gradient);
  color: white;
}

/* ─── Party page ─── */
.party-card {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-dark), #1a0a15);
  color: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.party-card::before {
  content: '🐮🏜️';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.1;
  transform: rotate(15deg);
}

.party-card .card-body {
  padding: 4rem 3rem;
  position: relative;
  z-index: 1;
}

/* ─── Info grid ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-card .info-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.info-card .info-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.info-card .info-text {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* ─── Footer ─── */
footer {
  background: var(--brand-dark) !important;
  border-top: 3px solid var(--brand-primary);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-accent), var(--brand-primary));
  background-size: 300% 100%;
  animation: gradient-move 4s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ─── Contact Cards ─── */
.contact-card {
  border: none;
  border-radius: 16px;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-card .card-body {
  padding: 2rem;
}

.contact-card h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card .contact-phone {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-primary);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.contact-card .contact-name {
  font-size: 0.85rem;
  color: #6c757d;
}

/* ─── Alert Brand ─── */
.alert-brand {
  background: linear-gradient(135deg, rgba(197, 83, 139, 0.08), rgba(197, 83, 139, 0.04));
  border: 1px solid rgba(197, 83, 139, 0.2);
  border-radius: 16px;
  color: var(--brand-dark);
}

.alert-brand strong {
  color: var(--brand-primary);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .nav-link {
    margin: 0;
    padding: 0.75rem 0 !important;
    text-align: center;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .match-card .team-name {
    font-size: 0.85rem;
  }

  .match-card .score {
    font-size: 1.35rem;
    min-width: 60px;
  }

  .match-card .match-teams {
    gap: 0.5rem;
    padding: 1rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: calc(-0.5rem - 14px);
  }

  .party-card .card-body {
    padding: 2rem 1.5rem;
  }

  .card-tournament .card-body {
    padding: 1.5rem;
  }

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

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

  .hero-stat-value {
    font-size: 1.25rem;
  }
}

/* ─── Animations ─── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(197, 83, 139, 0.3); }
  50% { box-shadow: 0 0 40px rgba(197, 83, 139, 0.5); }
}

.glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.live-pulse {
  animation: live-pulse 1.5s ease-in-out infinite;
  color: var(--brand-accent) !important;
}

/* ─── Standings Table ─── */
.standings-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.standings-table thead th {
  background: var(--brand-dark);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.5rem;
  border: none;
}

.standings-table thead th:first-child { border-radius: 10px 0 0 0; }
.standings-table thead th:last-child { border-radius: 0 10px 0 0; }

.standings-table tbody td {
  padding: 0.55rem 0.5rem;
  vertical-align: middle;
}

.standings-table tbody tr:hover {
  background: rgba(197, 83, 139, 0.04);
}

.standings-table tbody tr.table-success {
  --bs-table-bg: rgba(90, 175, 170, 0.1);
}

/* ─── Timeline (match detail) ─── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary), var(--brand-accent));
}

.timeline-item {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.timeline-icon {
  position: absolute;
  left: -1.7rem;
  width: 26px;
  height: 26px;
  background: white;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.timeline-minute {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-primary);
  white-space: nowrap;
  min-width: 2.5rem;
  text-align: right;
}

/* ─── Match card hover ─── */
.match-card-wrap:hover .match-card {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.match-card-hover {
  transition: transform 0.2s, box-shadow 0.2s;
}

.match-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ─── Section backgrounds ─── */
.bg-soft-primary {
  background: linear-gradient(180deg, rgba(197, 83, 139, 0.05), transparent);
}

.bg-soft-secondary {
  background: linear-gradient(180deg, rgba(90, 175, 170, 0.05), transparent);
}

/* ─── Risultati: mobile-first match cards ─── */
.day-group {
  margin-bottom: 1.5rem;
}

.day-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  padding: 0.5rem 0 0.5rem;
  border-bottom: 2px solid var(--brand-primary);
  margin-bottom: 0.75rem;
}

.phase-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  padding: 0.4rem 0 0.25rem;
}

.match-card-wrap {
  display: block;
  color: inherit;
  margin-bottom: 0.5rem;
}

.match-card-wrap:hover {
  color: inherit;
}

.match-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}

.match-card:active {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* Yellow current indicator */
.match-current {
  box-shadow: 0 0 0 2px #f5c542, 0 2px 10px rgba(245, 197, 66, 0.25);
}

.current-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #f5c542, #e8a820);
  border-radius: 0 2px 2px 0;
}

.match-card-body {
  padding: 0.75rem 1rem;
}

.match-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  color: #adb5bd;
}

.match-time {
  font-weight: 600;
  color: var(--brand-dark);
}

.match-group,
.match-field {
  opacity: 0.7;
}

.match-score-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.match-team {
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--brand-dark);
}

.match-team-right {
  text-align: right;
}

.match-winner {
  color: var(--brand-primary);
}

.match-score {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  min-width: 48px;
  text-align: center;
  color: var(--brand-primary);
}

.match-score-empty {
  color: #ced4da;
  font-weight: 500;
  font-size: 0.9rem;
}

.match-status-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-scheduled {
  background: #ced4da;
}

.status-ongoing {
  background: var(--brand-accent);
  animation: live-pulse 1.5s ease-in-out infinite;
}

.status-finished {
  background: var(--brand-secondary);
}

.status-label {
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.match-detail-arrow {
  margin-left: auto;
  font-size: 0.6rem;
  color: #ced4da;
  opacity: 0.5;
}

.results-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Floating Oggi button */
.btn-oggi {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  background: #f5c542;
  color: #1a1a1a;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 4px 20px rgba(245, 197, 66, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  -webkit-tap-highlight-color: transparent;
}

.btn-oggi:active {
  transform: scale(0.95);
}

.btn-oggi-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* Mobile padding fix */
@media (max-width: 576px) {
  .match-card-body {
    padding: 0.65rem 0.85rem;
  }
}
