/* ============ COMING SOON PLACEHOLDER ============ */
.coming-soon {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: clamp(56px, 9vw, 120px) var(--s-5);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(230,57,71,0.15), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(230,57,71,0.05), transparent 55%);
  pointer-events: none;
}
.coming-soon::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--solo-red);
  transform: scaleX(0.3);
  transform-origin: center;
  transition: transform 0.6s var(--ease-out);
}
.coming-soon:hover::after { transform: scaleX(1); }
.coming-soon > * { position: relative; z-index: 1; }
.coming-soon .eyebrow {
  letter-spacing: 0.28em;
  font-size: 12px;
}
.coming-soon h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 6px 0 4px;
  max-width: 20ch;
}
.coming-soon h3 em {
  color: var(--solo-red);
  font-style: italic;
}
.coming-soon p {
  color: var(--text-muted);
  max-width: 44ch;
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 10px;
}
.coming-soon .btn { margin-top: 8px; }

/* Light backgrounds (calendar/circuito stops) */
.section--light .coming-soon,
.coming-soon--light {
  background: var(--bg-light-elevated);
  border-color: var(--border-ink);
  color: var(--text-ink);
}
.section--light .coming-soon p,
.coming-soon--light p { color: var(--text-ink-muted); }

@media (max-width: 600px) {
  .coming-soon { padding: 56px 22px; }
  .coming-soon h3 { font-size: 30px; }
  .coming-soon p { font-size: 14px; }
}

/* ============ VOTE WIDGET ============ */
.vote {
  margin-top: 14px;
  padding: 14px;
  background: rgba(10, 10, 10, 0.45);
  border-top: 1px solid var(--border-subtle);
}
.vote.is-loading { opacity: 0.7; pointer-events: none; }

.vote__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}
.vote__label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--solo-red);
  font-weight: 600;
}
.vote__total {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.vote__total b {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  margin-right: 3px;
}

/* Modo público: ocultar el contador total. Solo se ve con ?admin=<token> */
.vote.is-public .vote__total { display: none; }
.vote.is-admin .vote__total { color: var(--solo-red); }

.vote__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vote__opt {
  position: relative;
  display: block;
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
  font-family: var(--font-body);
  text-align: left;
  min-height: 44px;
}
.vote__opt:not(:disabled):hover {
  border-color: var(--border-red);
  background: rgba(230, 57, 71, 0.06);
}
.vote__opt:not(:disabled):active { transform: scale(0.99); }

.vote__opt-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, rgba(230, 57, 71, 0.12), rgba(230, 57, 71, 0.22));
  transition: width 0.6s var(--ease-out);
  z-index: 0;
}
.vote__opt.is-voted .vote__opt-bar {
  background: linear-gradient(90deg, rgba(230, 57, 71, 0.35), rgba(230, 57, 71, 0.5));
}

.vote__opt-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.vote__opt-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-primary);
}
.vote__opt.is-voted .vote__opt-name {
  color: var(--solo-red);
}
.vote__opt-pct {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-muted);
  transform: skewX(-6deg);
  display: inline-block;
  min-width: 42px;
  text-align: right;
}
.vote__opt.is-voted .vote__opt-pct { color: var(--solo-red); }

.vote__opt:disabled { cursor: default; }
.vote.is-locked .vote__opt:not(.is-voted) { opacity: 0.55; }

/* ---- Variante con thumb de jugador a la izquierda ---- */
.vote__opt--with-img { padding: 8px 12px 8px 8px; min-height: 64px; }
.vote__opt--with-img .vote__opt-content { gap: 14px; }
.vote__opt-thumb {
  width: 48px;
  height: 48px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s var(--ease-out);
}
.vote__opt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(.5) contrast(1.05);
  transition: filter 0.2s var(--ease-out);
}
.vote__opt.is-voted .vote__opt-thumb { border-color: var(--solo-red); }
.vote__opt.is-voted .vote__opt-thumb img { filter: none; }
.vote__opt--with-img .vote__opt-name { font-size: 16px; flex: 1; }

.vote__msg {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  min-height: 16px;
}
.vote.is-locked .vote__msg {
  color: var(--solo-red);
  font-weight: 600;
}

/* ============ FORM STATUS BOX ============ */
.form__status {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-muted);
}
.form__status[data-type="loading"] {
  color: var(--text-muted);
  border-color: var(--border-subtle);
}
.form__status[data-type="success"] {
  color: #6BE89A;
  border-color: rgba(107, 232, 154, 0.3);
  background: rgba(107, 232, 154, 0.05);
}
.form__status[data-type="error"] {
  color: var(--solo-red);
  border-color: var(--border-red);
  background: rgba(230, 57, 71, 0.05);
}

/* Newsletter: status on red bg → adapt colors */
.newsletter .form__status[data-type="success"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.newsletter .form__status[data-type="error"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .vote { padding: 12px; margin-top: 10px; }
  .vote__opt { padding: 12px 10px; min-height: 48px; }
  .vote__opt-name { font-size: 13px; }
  .vote__opt-pct { font-size: 14px; min-width: 38px; }
  .vote__head { margin-bottom: 8px; }
}
