/* ══════════════════════════════════════════════
   Dochi — página de torneos (usa main.css como base)
   ══════════════════════════════════════════════ */

.section--short { padding: clamp(56px, 8vw, 96px) 0; }
.tag--line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }

/* Hero */
.t-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.t-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 35%;
  opacity: .38; transform: scale(1.03);
}
.t-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,24,28,.35) 0%, rgba(21,24,28,.75) 60%, var(--night) 100%);
}
.t-hero__inner { position: relative; z-index: 1; padding-top: clamp(72px, 12vw, 160px); padding-bottom: clamp(56px, 8vw, 104px); }
.t-hero__title { font-size: clamp(40px, 7.5vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.t-hero__lead { font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,.78); max-width: 52ch; margin-top: 24px; }
.t-next {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.t-next::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,238,80,.2); }
.t-next[hidden] { display: none; }

/* Tarjetas de torneo */
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.t-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; scroll-margin-top: 90px; }
.t-card--dark { background: var(--night); color: #fff; border-color: var(--night); }
.t-card__body { padding: clamp(22px, 3vw, 32px); }
.t-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.t-card__title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-top: 18px; }
.t-card__desc { margin-top: 10px; color: var(--ink-2); }
.t-card--dark .t-card__desc { color: rgba(255,255,255,.72); }

.t-flyer { margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--soft); }
.t-flyer img { width: 100%; height: 100%; object-fit: cover; }
.t-card--dark .t-flyer { background: var(--night-2); }
.t-flyer figcaption { display: none; }
/* Si falta el flyer se muestra un póster tipográfico */
.t-flyer.is-empty { aspect-ratio: 16 / 9; background: radial-gradient(120% 100% at 30% 20%, #2a8670 0%, var(--felt) 45%, #0f3d33 100%); }
.t-flyer.is-empty img { display: none; }
.t-flyer.is-empty figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #fff; font-weight: 800; font-size: clamp(18px, 2.2vw, 24px); letter-spacing: -.01em;
}
.t-flyer.is-empty figcaption span {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #4a4f57 0%, #111 55%, #000 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}
.t-flyer.is-empty figcaption b {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 17px;
}

.t-facts { margin: 24px 0 0; }
.t-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.t-facts dt { color: var(--muted); font-weight: 600; }
.t-facts dd { margin: 0; font-weight: 600; }
.t-card--dark .t-facts > div { border-color: var(--night-line); }
.t-card--dark .t-facts dt { color: rgba(255,255,255,.55); }

.t-dates { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.t-dates li {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 8px; text-align: center;
  display: grid; gap: 2px; transition: opacity .3s;
}
.t-dates span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.t-dates time { font-weight: 800; font-size: 14px; }
.t-dates .is-final { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.t-dates .is-final span { color: var(--ink); opacity: .7; }
.t-dates .is-past { opacity: .4; text-decoration: line-through; }
.t-dates .is-next { box-shadow: 0 0 0 2px var(--ink); }
.t-dates .is-next span::after { content: ' · próxima'; }
.t-card--dark .t-dates li { border-color: var(--night-line); }
.t-card--dark .t-dates span { color: rgba(255,255,255,.55); }
.t-card--dark .t-dates .is-final { border-color: var(--yellow); }
.t-card--dark .t-dates .is-final span { color: var(--ink); }
.t-card--dark .t-dates .is-next { box-shadow: 0 0 0 2px var(--yellow); }

.t-cta { margin-top: 24px; width: 100%; }

/* Nivel */
.t-level { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.t-level__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-level__col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.t-level__col h3 { font-size: 18px; font-weight: 800; }
.t-level__col p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* Salón de la fama */
.t-fame { background: var(--night); color: #fff; }
.t-fame .section__aside { color: rgba(255,255,255,.55); }
.t-recap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,.78); }
.t-recap strong { color: #fff; }
.t-stats { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.t-stats li { padding: 24px 20px 24px 0; display: grid; gap: 4px; }
.t-stats li + li { padding-left: 20px; border-left: 1px solid var(--night-line); }
.t-stats strong { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--yellow); line-height: 1; letter-spacing: -.03em; }
.t-stats span { font-size: 14px; color: rgba(255,255,255,.6); }

.winners { margin-top: clamp(48px, 7vw, 80px); }
.winners__photo {
  margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--night-2);
  box-shadow: 0 0 0 3px var(--yellow), 0 30px 60px -24px rgba(255,238,80,.25);
}
.winners__photo img { width: 100%; height: 100%; object-fit: cover; }
.winners__photo.is-empty { aspect-ratio: 21 / 6; display: grid; place-items: center; }
.winners__photo.is-empty img { display: none; }
.winners__photo.is-empty::after { content: '🏆'; font-size: 48px; opacity: .5; }
.winners__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.winners__list li { display: grid; gap: 4px; padding: 20px 0 0; border-top: 1px solid var(--night-line); }
.winners__list .is-first { border-top: 2px solid var(--yellow); }
.winners__place { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.winners__list .is-first .winners__place { color: var(--yellow); }
.winners__list strong { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.winners__list .is-first strong { font-size: clamp(30px, 4vw, 44px); }
.winners__note { font-size: 14px; color: rgba(255,255,255,.6); }

.t-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.t-extras:empty { display: none; }
.t-extra { margin: 0; }
.t-extra img { width: 100%; border-radius: var(--r); }
.t-extra figcaption { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.6); }

/* Responsive */
@media (max-width: 900px) {
  .t-grid, .t-level, .t-recap, .t-extras { grid-template-columns: 1fr; }
  .t-stats { grid-template-columns: 1fr 1fr; }
  .t-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .t-stats li:nth-child(n+3) { border-top: 1px solid var(--night-line); }
}
@media (max-width: 560px) {
  .t-level__cols { grid-template-columns: 1fr; }
  .t-dates { grid-template-columns: repeat(3, 1fr); }
  .t-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .winners__list { grid-template-columns: 1fr; gap: 0; }
  .winners__photo { aspect-ratio: 4 / 3; }
}
.t-extras:not(:has(figure)) { display: none; }
