@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ════════════════════════════════════════════════
   TOKENS 
   ════════════════════════════════════════════════ */
.match-center-page {
  --dch-bg:           #0a0d12;
  --dch-bg-2:         #11151c;
  --dch-paper:        #f5f2ec;
  --dch-paper-2:      #ebe6dc;
  --dch-ink:          #0a0d12;
  --dch-ink-2:        #1c2027;
  --dch-fg:           #f6f4ef;
  --dch-muted:        rgba(246,244,239,.78);
  --dch-muted-ink:    rgba(10,13,18,.72);
  --dch-line:         rgba(246,244,239,.12);
  --dch-line-ink:     rgba(10,13,18,.10);
  --dch-accent:       #2CB037;
  --dch-accent-soft:  #5bcf67;
  --dch-accent-2:     #1a7a24;
  --dch-display:      'Bricolage Grotesque', 'Questrial', sans-serif;
  --dch-text:         'Inter', 'Noto Sans', system-ui, sans-serif;
  --dch-radius:       22px;
  --dch-radius-sm:    12px;
  --ease:             cubic-bezier(.22,.8,.26,1);
  --ease-out:         cubic-bezier(.16,1,.3,1);

  background: var(--dch-paper);
  color: var(--dch-ink);
  font-family: var(--dch-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.match-center-page #header .sitename {
  font-family: var(--dch-display);
  letter-spacing: -.02em;
  font-weight: 600;
}
.match-center-page #navmenu a {
  font-family: var(--dch-text);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0;
}
.match-center-page .header {
  background-color: transparent;
  box-shadow: none;
}
.match-center-page.scrolled .header {
  background-color: transparent;
  box-shadow: none;
}

/* ════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════ */
.dc-exp-header {
  background: var(--dch-bg);
  color: var(--dch-fg);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dc-exp-header__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 420px at 90% -15%, rgba(44,176,55,.20) 0%, transparent 58%),
    radial-gradient(ellipse 480px 320px at -8% 110%,  rgba(26,122,36,.14) 0%, transparent 52%);
  z-index: 0;
}
.dc-exp-header__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(44,176,55,.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 100% at 75% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 75% 50%, black 0%, transparent 70%);
  opacity: .35;
}
.dc-exp-header__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
@media (max-width: 768px) {
  .dc-exp-header__inner { grid-template-columns: 1fr; gap: 24px; }
}
.dc-exp-header__eyebrow {
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dch-accent-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.dc-exp-header__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--dch-accent);
}
.dc-exp-header__title {
  font-family: var(--dch-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.04;
  color: var(--dch-fg);
  margin: 0 0 14px;
}
.dc-exp-header__title em {
  font-style: normal;
  background: linear-gradient(110deg, var(--dch-accent) 0%, var(--dch-accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dc-exp-header__lead {
  color: var(--dch-muted);
  font-size: .99rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
}
.dc-exp-header__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(246,244,239,.35);
  font-weight: 500;
}
.dc-exp-header__count strong {
  color: var(--dch-accent-soft);
  font-variant-numeric: tabular-nums;
}
.dc-exp-header__stats {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.dc-exp-header__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  background: rgba(246,244,239,.04);
  border: 1px solid rgba(246,244,239,.08);
  border-radius: 0;
}
.dc-exp-header__stat:first-child { border-radius: var(--dch-radius-sm) 0 0 var(--dch-radius-sm); }
.dc-exp-header__stat:last-child  { border-radius: 0 var(--dch-radius-sm) var(--dch-radius-sm) 0; }
.dc-exp-header__stat b {
  font-family: var(--dch-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--dch-fg);
}
.dc-exp-header__stat span {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246,244,239,.38);
  margin-top: 4px;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .dc-exp-header__stats { display: none; }
}

/* ════════════════════════════════════════════════
   TARJETA FLOTANTE
   ════════════════════════════════════════════════ */
.dc-mc-sheet-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
  padding: 30px 24px !important;
  margin-top: -30px !important; 
  position: relative !important;
  z-index: 10 !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  margin-bottom: 30px !important;
}

.dc-mc-grid-info {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.dc-mc-info-node {
  text-align: center !important;
  padding: 10px 8px !important;
  border-right: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 65px !important;
}

.dc-mc-info-node:last-child {
  border-right: none !important;
}

.dc-mc-node-label {
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.dc-mc-node-label i {
  font-size: 0.7rem !important;
}

.dc-mc-node-value {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

@media (max-width: 768px) {
  .dc-mc-grid-info {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .dc-mc-info-node {
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    min-height: auto !important;
  }
  .dc-mc-info-node:last-child {
    border-bottom: none !important;
  }
  .dc-mc-info-node:nth-child(2) {
    border-bottom: 1px solid #f1f5f9 !important;
  }
}

/* ════════════════════════════════════════════════
   TABS
   ════════════════════════════════════════════════ */
.dc-nav-pills {
  background: #fff;
  padding: 8px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.dc-nav-pills .nav-link {
  color: #64748b;
  font-weight: 600;
  border-radius: 40px;
  padding: 10px 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}
.dc-nav-pills .nav-link:hover { color: #0f172a; }
.dc-nav-pills .nav-link.active {
  background: var(--dch-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(44,176,55,0.3);
}
@media (max-width: 768px) {
  .dc-nav-pills { flex-wrap: nowrap; overflow-x: auto; border-radius: 15px; justify-content: flex-start; }
  .dc-nav-pills .nav-link { white-space: nowrap; }
}

/* ════════════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════════════ */
.dc-timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 20px;
}
.dc-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}
.dc-event-item {
  position: relative;
  margin-bottom: 20px;
}
.dc-event-icon {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #4f46e5;
  z-index: 2;
}
.dc-event-icon.goal { border-color: #10b981; }
.dc-event-icon.yellow { border-color: #eab308; }
.dc-event-icon.red { border-color: #ef4444; }
.dc-event-icon.substitution { border-color: #94a3b8; background: #94a3b8; }
.dc-event-time {
  font-weight: 800;
  color: #4f46e5;
  margin-right: 10px;
}
.dc-event-desc {
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ════════════════════════════════════════════════
   CANCHA
   ════════════════════════════════════════════════ */
.dc-pitch-wrapper {
  background: #15803d;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.05) 40px, rgba(255,255,255,0.05) 80px);
  width: 100%;
  height: 500px;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}
.dc-pitch-line-center {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.5);
  transform: translateY(-50%);
}
.dc-pitch-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.dc-player-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s;
}
.dc-player-dot:hover { transform: translate(-50%, -50%) scale(1.2); z-index: 10; }
.dc-dot-local { background: #cbd5e1; color: #0f172a; border: 2px solid #fff; }
.dc-dot-visit { background: #0f172a; border: 2px solid #fff; }
.dc-player-name {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.65rem;
  background: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════
   MULTIMEDIA Y CHAT
   ════════════════════════════════════════════════ */
.dc-media-player {
  background: #000;
  border-radius: 16px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}
.dc-media-player i {
  font-size: 4rem;
  color: #ef4444;
  opacity: 0.8;
  margin-bottom: 15px;
}
.dc-chat-container {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}
.dc-chat-header {
  background: #f8fafc;
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
}
.dc-chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  font-size: 0.85rem;
}
.dc-chat-msg { margin-bottom: 10px; }
.dc-chat-msg .user { font-weight: 700; color: #4f46e5; margin-right: 5px; }
.dc-chat-input {
  padding: 15px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 10px;
  background: #f8fafc;
}

/* ════════════════════════════════════════════════
   PRONÓSTICOS
   ════════════════════════════════════════════════ */
.dc-mc-predict-btn {
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #475569;
  border-radius: 16px;
  padding: 18px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}
.dc-mc-predict-btn:hover:not(:disabled) {
  border-color: var(--dch-accent);
  color: var(--dch-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(44,176,55,0.1);
}
.dc-mc-predict-btn.dc-selected {
  background: var(--dch-accent);
  border-color: var(--dch-accent);
  color: #fff;
}
.dc-mc-predict-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.dc-stat-bar-container {
  width: 100%;
  background: #e2e8f0;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.dc-stat-bar { height: 100%; border-radius: 10px; }

@keyframes dcPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}