:root{
  /* base del tema (valores por defecto) */
  --bg:#0F0F1A;
  --card:#1F1F35;
  --text:#FFFFFF;
  --muted:#cfd3df;
  --brand:#FFD60A;
  --stroke:#2a2a43;
  --field:#0c0f16;
  --radius:12px;

  /* botones */
  --btn-bg:#252525;
  --btn-text:#ffffff;
  --btn-hover:#3a3a3a;

  /* modales/overlays */
  --modal-bg:#171923;
  --modal-text:#ffffff;

  /* sombras y utilidades que ya tenías */
  --shadow:
    0 212px 59px rgba(0,0,0,.01),
    0 136px 54px rgba(0,0,0,.04),
    0 76px 46px rgba(0,0,0,.15),
    0 34px 34px rgba(0,0,0,.26),
    0 8px 19px rgba(0,0,0,.29);

  /* mantengo las antiguas por compatibilidad, mapeadas al tema */
  --panel: var(--card);
  --yellow: var(--brand);
  --border: var(--stroke);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;background:#7d0b10;color:var(--text);
  font-family:Roboto,system-ui,Arial,sans-serif;font-size:16px;
}
.container{max-width:1140px;margin:0 auto;padding:0 16px}
.testicon{width:1140px;align-items:center;display:grid;grid-template-columns: 1fr 1fr; gap 28px; margin top:28px}
/* Top bar */
.site-top{background:#b39835; padding: 0 20px 0 20px;display:flex; align-items:center; height:100px;justify-content: space-around;backdrop-filter:blur(9.6px);border-bottom:1px solid rgba(29,43,68,.10)}
.site-top .container{display:flex;align-items:center;justify-content:space-between;padding:16px; height: 100px}
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{height:150px;width:auto;display:block; margin-top:50px}
.logo-dot{width:18px;height:18px;border-radius:4px;background:#ffd60a;display:inline-block}
.brand-text{font-size:30px;font-weight:900}

/* Hero */
.hero{display:grid;grid-template-columns:520px 1fr;gap:36px;align-items:start;margin:32px 0}
.hero-media img{
  width:100%;height:400px;border-radius:10px;background:#d9d9d9;box-shadow:var(--shadow);   object-fit: cover;
  object-position: center;
}
.hero-title{
  margin:6px 0 12px;font-weight:900;font-size:48px;line-height:50px;
}
.hero-date{display:flex;align-items:center;gap:12px;margin-top:6px}
.date-dot{width:15px;height:9px;background:#fff;border-radius:2px;display:inline-block;opacity:.9}
.hero-actions{display:flex;gap:14px;margin:18px 0; flex-direction: column}
.hero-cta-row{margin-top:12px}
.btn{
  background: #252525;cursor:pointer; height:50px; display:inline-flex;align-items:center;justify-content:center;
  padding:8px 18px;border-radius:10px;text-decoration:none;font-weight:700;border:1px solid #fff;color:#fff
}
.btn-primary{background:#b39835; height: 50px;color:#fff;border-color:#fff}
.btn-secondary{background:#252525;color:#fff;border-color:#fff}
.btn-outline{background:transparent;color:#fff;border-color:#fff}
.btn-cta{background:#252525;color:#fff;border:1px solid #fff;padding:6px 12px;border-radius:10px}
/* === Progress unified (home & detail) === */
.progress{
  position: relative;
  background: #2e0003;              /* base oscura */
  height: 12px;                      /* mismo alto en ambos */
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06),
              inset 0 -1px 0 rgba(0,0,0,.25);
}

.progress > .progress-bar{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(180deg,#f7d64d,#d9b533); /* dorado */
  border-radius: inherit;
  transition: width .35s ease;
  will-change: width;
}

/* brillo sutil */
.progress > .progress-bar::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient( to bottom,
    rgba(255,255,255,.25), rgba(255,255,255,0) 60% );
  pointer-events:none;
}

/* si por JS seteamos --progress, que también lo tome */
.progress{
  --progress: 0%;
}
.progress > .progress-bar{
  width: var(--progress);
}

.hero-meta{margin-top:10px}
.progress{height:25px;background:#4b0509;border-radius:10px;overflow:hidden; margin: 0 0 10px;}
.progress-bar{height:100%;background:linear-gradient(90deg,var(--yellow) 32%, rgba(0,0,0,0) 32%)}
/* Últimas rifas */
.last-title{margin-top:24px;margin-bottom:14px;font-size:32px;font-weight:700;line-height:50px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:40px}
.card{
  border-radius:10px;overflow:hidden;box-shadow:0 8px 18px rgba(0,0,0,.39);position:relative
}
.card-img{
  width:100%;aspect-ratio: 16/10;object-fit:cover;background:#d9d9d9;
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 49%, rgba(0,0,0,.9) 100%);
}
.card-body{
  position:absolute;left:0;right:0;bottom:0;padding:14px;color:#fff
}
.card-title{font-size:24px;font-weight:700;line-height:50px;margin:0}
.card-sub{font-size:16px;font-weight:700;line-height:50px;margin-top:-4px;opacity:.9}
/* Footer */
.site-foot{background:#4b0509;border-top:1px solid rgba(29,43,68,.10);padding:26px 0}
.foot-row{display:flex;justify-content:space-between;flex-direction: column-reverse;align-items:center}
#btn-boletos{display:none}
.link{color:#00B9FF;text-decoration:none}
.social{display:flex;align-items:center;gap:10px}
.social-dots{width:48px;height:10px;background:linear-gradient(90deg,#fff 33%,transparent 0) left/10px 100% repeat-x;border-radius:8px;opacity:.7}
.footer-logos { max-width:1200px; margin-top:20px;margin:0 auto; padding:20 16px 0 0; display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap; }
.footer-logo { height:100px; width:auto; display:block; filter: none; padding: 0 10px 30px 10px }
@media (max-width:640px){ .footer-logo{ height:100px; } .footer-logos{ gap:16px; } }
/* Responsive */
@media (max-width:1200px){
  .hero{grid-template-columns:1fr}
.hero-media img{ height:400px}

}
@media (max-width:760px){
  .grid{grid-template-columns:1fr}
  .hero-title{font-size:36px;line-height:42px}
}
