/* fases.css — Experiencia Tech 2026
   CSS combinado de "Durante el Evento" (Phase B) y "Post Evento" (Phase C).
   Comparten un solo skin (Fases.ascx), así que este archivo trae ambos
   conjuntos de clases — cada página solo usa las suyas, sin conflicto
   porque los nombres de clase no se repiten entre las dos.
   Reutiliza los tokens de color de skin.css (:root). */

.et-live-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 16px 0;
}
@media (min-width: 640px) { .et-live-hero { padding: 48px 32px 0; } }

.et-live-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.et-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
  padding: 4px 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #f87171;
}
.et-live-badge__dot {
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: #ef4444;
  animation: et-live-pulse 1.6s ease-in-out infinite;
}
@keyframes et-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.et-live-meta {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--et-muted);
}

.et-live-h1 h1 {
  margin: 24px 0 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--et-fg);
}
@media (min-width: 640px) { .et-live-h1 h1 { font-size: 68px; } }
.et-live-h1 em {
  font-style: normal;
  background: var(--et-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Simulated player */
.et-live-player {
  position: relative;
  margin-top: 32px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid oklch(0.66 0.22 295 / 0.4);
  box-shadow: 0 0 60px -10px oklch(0.66 0.22 295 / 0.55);
  background: linear-gradient(135deg, var(--et-secondary) 0%, #0b113d 55%, var(--et-primary) 130%);
}

.et-live-player__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.et-live-player__play {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  border-radius: 9999px;
  border: 1px solid oklch(1 0 0 / 20%);
  background: oklch(1 0 0 / 10%);
  backdrop-filter: blur(20px);
}
.et-live-player__play span {
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}
.et-live-player__label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: oklch(1 0 0 / 0.8);
}

.et-live-player__badge-tl,
.et-live-player__badge-tr {
  position: absolute;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.et-live-player__badge-tl { left: 16px; border: 1px solid rgba(239, 68, 68, 0.5); color: #f87171; }
.et-live-player__badge-tr { right: 16px; color: oklch(1 0 0 / 0.8); }

.et-live-player__bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
}
.et-live-player__timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, monospace;
  font-size: 14px;
  color: #f87171;
}
.et-live-player__actions {
  display: none;
  gap: 8px;
}
@media (min-width: 640px) { .et-live-player__actions { display: flex; } }
.et-live-player__actions button {
  border-radius: 9999px;
  border: 1px solid oklch(1 0 0 / 20%);
  background: transparent;
  color: oklch(1 0 0 / 0.85);
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
}
.et-live-player__actions button:hover { background: oklch(1 0 0 / 0.1); }
.et-live-player__actions button.et-live-player__cta {
  background: var(--et-primary);
  border-color: var(--et-primary);
  color: #fff;
  font-weight: 700;
}

/* Live agenda */
.et-live-agenda {
  max-width: 1280px;
  margin: 80px auto 0;
  padding: 0 16px 96px;
}
@media (min-width: 640px) { .et-live-agenda { padding: 0 32px 96px; } }

.et-live-agenda__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--et-muted);
}
.et-live-agenda__title h2 {
  margin: 4px 0 0;
  font-size: 30px;
  font-weight: 900;
  color: var(--et-fg);
}
@media (min-width: 640px) { .et-live-agenda__title h2 { font-size: 48px; } }

.et-live-tabs {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--et-border-soft);
  padding-bottom: 8px;
}
.et-live-tab {
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid var(--et-border);
  background: oklch(1 0 0 / 3%);
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.et-live-tab--active {
  border-color: var(--et-primary);
  background: oklch(0.66 0.22 295 / 0.15);
}
.et-live-tab__time { font-family: ui-monospace, monospace; font-size: 14px; color: var(--et-primary-glow); }
.et-live-tab__title { margin-top: 4px; font-size: 16px; font-weight: 700; white-space: nowrap; }

.et-live-detail {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  border-radius: 24px;
  border: 1px solid var(--et-border);
  background: oklch(1 0 0 / 3%);
  padding: 24px;
}
@media (min-width: 768px) {
  .et-live-detail { grid-template-columns: 1fr; padding: 40px; }
}
.et-live-detail__eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--et-primary-glow); }
.et-live-detail__title h3 { margin: 8px 0 0; font-size: 28px; font-weight: 900; color: var(--et-fg); }
@media (min-width: 640px) { .et-live-detail__title h3 { font-size: 36px; } }
.et-live-detail__speaker { margin-top: 8px; font-size: 16px; color: var(--et-muted); }
.et-live-detail__body p { margin-top: 16px; max-width: 42rem; font-size: 18px; color: oklch(0.98 0.01 275 / 0.85); }

.et-live-detail__actions { display: grid; align-content: start; gap: 8px; }
.et-live-detail__actions button {
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 1px solid var(--et-border);
  background: transparent;
  color: oklch(0.98 0.01 275 / 0.85);
}
.et-live-detail__actions button:hover { background: oklch(1 0 0 / 0.05); }
.et-live-detail__actions button.et-live-detail__cta {
  background: var(--et-gradient-primary);
  border: none;
  color: #fff;
}


.et-post-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 16px 0;
}
@media (min-width: 640px) { .et-post-hero { padding: 64px 32px 0; } }

.et-post-hero__card {
  border-radius: 24px;
  border: 1px solid var(--et-border);
  background: linear-gradient(135deg, oklch(0.38 0.19 285 / 0.2), transparent 60%, oklch(0.66 0.22 295 / 0.1));
  padding: 32px;
}
@media (min-width: 640px) { .et-post-hero__card { padding: 56px; } }

.et-post-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--et-muted);
}
.et-post-hero__badges span:first-child {
  border-radius: 9999px;
  border: 1px solid var(--et-border);
  background: oklch(1 0 0 / 5%);
  padding: 4px 12px;
}

.et-post-hero__title h1 {
  margin: 24px 0 0;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--et-fg);
}
@media (min-width: 640px) { .et-post-hero__title h1 { font-size: 60px; } }
.et-post-hero__title em {
  font-style: normal;
  background: var(--et-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.et-post-hero__desc p {
  margin-top: 24px;
  max-width: 42rem;
  font-size: 20px;
  color: oklch(0.98 0.01 275 / 0.85);
}

/* Download center */
.et-post-downloads {
  max-width: 1280px;
  margin: 80px auto 0;
  padding: 0 16px;
}
@media (min-width: 640px) { .et-post-downloads { padding: 0 32px; } }

.et-post-downloads__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--et-muted); }
.et-post-downloads__title h2 { margin: 4px 0 0; font-size: 30px; font-weight: 900; color: var(--et-fg); }
@media (min-width: 640px) { .et-post-downloads__title h2 { font-size: 48px; } }

.et-post-downloads__grid {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}
.et-post-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--et-border);
  background: oklch(1 0 0 / 3%);
  padding: 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.et-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--et-primary);
  box-shadow: 0 0 60px -10px oklch(0.66 0.22 295 / 0.55);
}

.et-post-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.et-post-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 16px;
  background: oklch(0.66 0.22 295 / 0.15);
  color: var(--et-primary-glow);
  font-size: 22px;
  flex-shrink: 0;
}
.et-post-card__title { margin-top: 16px; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--et-fg); }
.et-post-card__meta { margin-top: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--et-muted); }

.et-post-card__dl {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 9999px;
  border: none;
  background: var(--et-gradient-primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.et-post-card__dl:disabled { opacity: 0.7; cursor: default; }

.et-post-card__progress { margin-top: 24px; display: none; }
.et-post-card__progress--visible { display: block; }
.et-post-card__bar-track { height: 6px; border-radius: 9999px; background: oklch(1 0 0 / 10%); overflow: hidden; }
.et-post-card__bar-fill { height: 100%; border-radius: 9999px; background: var(--et-gradient-primary); width: 0%; transition: width 0.2s ease; }
.et-post-card__progress-labels { margin-top: 8px; display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--et-muted); }
.et-post-card__progress-pct { font-family: ui-monospace, monospace; }

/* Teaser 2027 */
.et-post-teaser {
  max-width: 1280px;
  margin: 96px auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .et-post-teaser { padding: 0 32px; } }

.et-post-teaser__card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid oklch(0.66 0.22 295 / 0.3);
  background: radial-gradient(ellipse at top right, oklch(0.66 0.22 295 / 0.25), transparent 60%);
  padding: 32px;
  display: grid;
  gap: 40px;
}
@media (min-width: 640px) { .et-post-teaser__card { padding: 56px; } }
.et-post-teaser__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.28em; color: var(--et-primary-glow); }
.et-post-teaser__title h3 { margin: 8px 0 0; font-size: 28px; font-weight: 900; color: var(--et-fg); }
@media (min-width: 640px) { .et-post-teaser__title h3 { font-size: 42px; } }
.et-post-teaser__desc p { margin-top: 12px; max-width: 30rem; color: oklch(0.98 0.01 275 / 0.85); }

.et-post-teaser__form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 28rem;
}
@media (min-width: 640px) { .et-post-teaser__form { flex-direction: row; } }
.et-post-teaser__form input {
  flex: 1;
  box-sizing: border-box;
  border-radius: 9999px;
  border: 1px solid var(--et-border);
  background: oklch(1 0 0 / 4%);
  padding: 12px 20px;
  color: var(--et-fg);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.et-post-teaser__form input:focus { border-color: var(--et-primary); }
.et-post-teaser__form button {
  border-radius: 9999px;
  border: none;
  background: var(--et-gradient-primary);
  color: #fff;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.et-post-teaser__form button:disabled { opacity: 0.85; cursor: default; }

.et-post-countdown {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) { .et-post-countdown { gap: 16px; } }
.et-post-countdown__unit {
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--et-border);
  background: rgba(11, 17, 61, 0.7);
  backdrop-filter: blur(8px);
  padding: 16px 12px;
  text-align: center;
}
.et-post-countdown__num {
  font-family: ui-monospace, monospace;
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: var(--et-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 640px) { .et-post-countdown__num { font-size: 34px; } }
.et-post-countdown__label { margin-top: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--et-muted); }
