/* ============ Campañas de ofertas (Black Friday…) ============ */
.of-seccion { padding-left: 0; padding-right: 0; }
.of-banners { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.of-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  min-height: 200px;
  padding: clamp(18px, 3vw, 32px);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 196, 0, 0.45), transparent 45%),
    radial-gradient(circle at 10% 110%, rgba(255, 51, 102, 0.35), transparent 50%),
    linear-gradient(120deg, #0b0b0f 0%, #1c1c24 100%);
  border-radius: 22px;
  isolation: isolate;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.of-banner.con-imagen::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--of-img) center / cover no-repeat; transition: transform 0.4s; }
.of-banner.con-imagen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.1) 100%); }
.of-banner:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25); }
.of-banner.con-imagen:hover::before { transform: scale(1.03); }
.of-banner:focus-visible { outline: 3px solid #ffc400; outline-offset: 3px; }
.of-banner-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 620px; }
.of-banner-texto strong { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.of-banner-sub { font-size: 1rem; color: rgba(255, 255, 255, 0.85); }
.of-chip { display: inline-block; padding: 5px 12px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #111; background: #ffc400; border-radius: 999px; }
.of-banner-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.of-banner-meta span { padding: 4px 10px; font-size: 0.82rem; font-weight: 600; background: rgba(255, 255, 255, 0.14); border-radius: 999px; }
.of-banner-meta .of-tiempo { color: #111; background: #fff; }
.of-banner-cta { padding: 12px 20px; font-weight: 800; color: #111; background: #ffc400; border-radius: 12px; white-space: nowrap; }
.of-banner.pronto .of-banner-cta { color: #fff; background: rgba(255, 255, 255, 0.16); }

/* Página de la campaña */
.of-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  min-height: clamp(220px, 30vw, 340px);
  margin: 8px 0 16px;
  padding: clamp(20px, 3.5vw, 36px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 196, 0, 0.45), transparent 45%),
    radial-gradient(circle at 10% 110%, rgba(255, 51, 102, 0.35), transparent 50%),
    linear-gradient(120deg, #0b0b0f 0%, #1c1c24 100%);
  border-radius: 22px;
  isolation: isolate;
}
.of-hero.con-imagen::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--of-img) center / cover no-repeat; }
.of-hero.con-imagen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 70%); }
.of-hero-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 640px; }
.of-hero h1 { margin: 0; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.02; letter-spacing: -0.02em; }
.of-hero p { margin: 0; font-size: 1.05rem; color: rgba(255, 255, 255, 0.88); }

.of-reloj { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 16px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; backdrop-filter: blur(6px); }
.of-reloj-titulo { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffc400; }
.of-reloj-cifras { display: flex; gap: 8px; }
.of-reloj-cifras span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 8px 6px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
.of-reloj-cifras b { font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.of-reloj-cifras small { margin-top: 4px; font-size: 0.68rem; color: rgba(255, 255, 255, 0.7); }
.of-reloj-fecha { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }
.of-descripcion { max-width: 760px; margin: 0 0 16px; line-height: 1.6; }
.of-juegos { margin-bottom: 14px; }
.of-cuenta { margin: 0 0 12px; font-size: 0.88rem; color: var(--color-suave); }

@media (max-width: 640px) {
  .of-banner { min-height: 180px; padding: 18px; border-radius: 18px; }
  .of-banner-cta { width: 100%; text-align: center; }
  .of-hero { padding: 18px; border-radius: 18px; }
  .of-reloj { width: 100%; }
  .of-reloj-cifras span { min-width: 0; flex: 1; }
}
