/* ====================================================================
   WonBingo – Próximamente
   Brand: #1a1ce0 (blue) | #aafb00 (lime) | #000 | #fff
   Fonts: Delight (titles) · Roboto (body)
   ==================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────── */
@font-face{font-family:"Delight";src:url("../src/fonts/Delight-Black.woff2") format("woff2"),url("../src/fonts/Delight-Black.woff") format("woff");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Delight";src:url("../src/fonts/Delight-ExtraBold.woff2") format("woff2"),url("../src/fonts/Delight-ExtraBold.woff") format("woff");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Delight";src:url("../src/fonts/Delight-Bold.woff2") format("woff2"),url("../src/fonts/Delight-Bold.woff") format("woff");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Delight";src:url("../src/fonts/Delight-SemiBold.woff2") format("woff2"),url("../src/fonts/Delight-SemiBold.woff") format("woff");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Delight";src:url("../src/fonts/Delight-Regular.woff2") format("woff2"),url("../src/fonts/Delight-Regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto";src:url("../src/fonts/Roboto-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto";src:url("../src/fonts/Roboto-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto";src:url("../src/fonts/Roboto-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

/* ── Reset ──────────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{width:100%;min-height:100vh;overflow-x:hidden}

/* ── Body ────────────────────────────────────────────────────────────── */
body {
  font-family: "Roboto", system-ui, sans-serif;
  background: linear-gradient(150deg,#030330 0%,#060660 18%,#0c0ea8 42%,#1a1ce0 65%,#0e10b8 82%,#040450 100%);
  color: #fff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 44px; /* space for fixed ticker */
}

/* ── Canvas ──────────────────────────────────────────────────────────── */
#cs-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.20;
}

/* ── Ambient orbs ────────────────────────────────────────────────────── */
.cs-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.cs-orb--1 {
  width: 700px;height: 700px;
  background: radial-gradient(circle,rgba(170,251,0,.14) 0%,transparent 65%);
  top: -220px;left: -160px;
  animation: cs-float 18s ease-in-out infinite;
}
.cs-orb--2 {
  width: 520px;height: 520px;
  background: radial-gradient(circle,rgba(255,255,255,.05) 0%,transparent 65%);
  bottom: -120px;right: -100px;
  animation: cs-float 22s ease-in-out infinite;
  animation-delay: -8s;
}
.cs-orb--3 {
  width: 320px;height: 320px;
  background: radial-gradient(circle,rgba(170,251,0,.08) 0%,transparent 65%);
  top: 38%;right: 8%;
  animation: cs-float 28s ease-in-out infinite;
  animation-delay: -14s;
}
.cs-orb--4 {
  width: 260px;height: 260px;
  background: radial-gradient(circle,rgba(100,104,255,.22) 0%,transparent 65%);
  top: 18%;left: 6%;
  animation: cs-float 20s ease-in-out infinite;
  animation-delay: -5s;
}
@keyframes cs-float {
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(22px,-30px) scale(1.06)}
  66%{transform:translate(-16px,20px) scale(.95)}
}

/* ── Grid overlay ────────────────────────────────────────────────────── */
.cs-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* ── Scanlines ───────────────────────────────────────────────────────── */
.cs-scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg,transparent 0px,transparent 3px,rgba(0,0,0,.025) 3px,rgba(0,0,0,.025) 4px);
  pointer-events: none;
  z-index: 0;
}

/* ── Page wrapper ────────────────────────────────────────────────────── */
.cs-page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Header / Brand ──────────────────────────────────────────────────── */
.cs-header {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 32px 24px 0;
  animation: cs-fade-up .6s ease both;
}
.cs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(170,251,0,.55));
  animation: cs-logo-pulse 4s ease-in-out infinite;
}
@keyframes cs-logo-pulse {
  0%,100%{filter:drop-shadow(0 0 14px rgba(170,251,0,.55))}
  50%{filter:drop-shadow(0 0 28px rgba(170,251,0,.85)) drop-shadow(0 0 8px rgba(255,255,255,.3))}
}
.cs-brand__name {
  font-family: "Delight", sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: #fff;
  letter-spacing: .4px;
}
.cs-brand__name span { color: #aafb00; }

/* ── Main ────────────────────────────────────────────────────────────── */
.cs-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 24px 56px;
  max-width: 820px;
  width: 100%;
}

/* ── Chip ────────────────────────────────────────────────────────────── */
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(170,251,0,.1);
  border: 1px solid rgba(170,251,0,.35);
  color: #aafb00;
  font-family: "Roboto", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 30px;
  animation: cs-fade-up .7s .1s ease both;
}
.cs-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aafb00;
  box-shadow: 0 0 8px #aafb00;
  flex-shrink: 0;
  animation: cs-blink 1.4s ease-in-out infinite;
}
@keyframes cs-blink {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(1.5)}
}

/* ── Eyebrow ─────────────────────────────────────────────────────────── */
.cs-eyebrow {
  font-family: "Delight", sans-serif;
  font-size: clamp(.88rem,2vw,1rem);
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: cs-fade-up .7s .2s ease both;
}

/* ── Headline ────────────────────────────────────────────────────────── */
.cs-headline {
  font-family: "Delight", sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem,7.5vw,5rem);
  line-height: 1.06;
  color: #fff;
  margin-bottom: 36px;
  animation: cs-fade-up .75s .25s ease both, cs-glitch 10s 4s infinite;
  text-shadow: 0 4px 50px rgba(26,28,224,.9);
}
.cs-headline__accent {
  color: #aafb00;
  text-shadow: 0 0 50px rgba(170,251,0,.7), 0 0 18px rgba(170,251,0,.4);
  display: inline-block;
  animation: cs-accent-glow 3s ease-in-out infinite;
}
@keyframes cs-accent-glow {
  0%,100%{text-shadow:0 0 50px rgba(170,251,0,.7),0 0 18px rgba(170,251,0,.4)}
  50%{text-shadow:0 0 80px rgba(170,251,0,1),0 0 35px rgba(170,251,0,.7),0 0 8px #fff}
}
@keyframes cs-glitch {
  0%,82%,100%{text-shadow:0 4px 50px rgba(26,28,224,.9);transform:none}
  83%{text-shadow:-4px 0 #aafb00,4px 0 rgba(120,124,255,.6),0 4px 50px rgba(26,28,224,.9);transform:skewX(-.5deg)}
  85%{text-shadow:4px 0 #aafb00,-4px 0 rgba(120,124,255,.6),0 4px 50px rgba(26,28,224,.9);transform:skewX(.5deg)}
  87%{text-shadow:-2px 0 rgba(170,251,0,.8),2px 0 rgba(120,124,255,.5),0 4px 50px rgba(26,28,224,.9);transform:skewX(-.2deg)}
  89%,91%{text-shadow:0 4px 50px rgba(26,28,224,.9);transform:none}
  92%{text-shadow:3px 0 #aafb00,-3px 0 rgba(120,124,255,.5),0 4px 50px rgba(26,28,224,.9);transform:skewX(.3deg)}
  94%,100%{text-shadow:0 4px 50px rgba(26,28,224,.9);transform:none}
}

/* ── BINGO balls row ──────────────────────────────────────────────────── */
.cs-bingo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
}
.cs-ball {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Delight", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
    opacity: 0;
    transform: translateY(24px) scale(0.8);
  box-shadow:
    inset 0 -5px 12px rgba(0,0,0,.28),
    inset 0 5px 12px rgba(255,255,255,.25),
    0 10px 30px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(30px) scale(.5);
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: default;
  user-select: none;
}
.cs-ball:hover {
  transform: scale(1.14) translateY(-4px) !important;
  box-shadow:
    inset 0 -5px 12px rgba(0,0,0,.28),
    inset 0 5px 12px rgba(255,255,255,.25),
    0 18px 40px rgba(0,0,0,.5),
    0 0 30px var(--ball-glow);
}
.cs-ball__shine {
  position: absolute;
  top: 10px;
  left: 13px;
  width: 20px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  transform: rotate(-30deg);
  pointer-events: none;
}

/* Ball colours */
.cs-ball--b{background:linear-gradient(135deg,#2426f5,#0c0ea8);color:#fff;--ball-glow:rgba(26,28,224,.7)}
.cs-ball--i{background:linear-gradient(135deg,#c4ff1a,#88cc00);color:#000;--ball-glow:rgba(170,251,0,.7)}
.cs-ball--n{background:linear-gradient(135deg,#ffffff,#d8d8e8);color:#1a1ce0;--ball-glow:rgba(255,255,255,.5)}
.cs-ball--g{background:linear-gradient(135deg,#aafb00,#6ec200);color:#000;--ball-glow:rgba(170,251,0,.7)}
.cs-ball--o{background:linear-gradient(135deg,#1a1ce0,#060660);color:#aafb00;--ball-glow:rgba(170,251,0,.5)}

/* Floating animation (added after entrance via JS) */
.cs-ball--floating {
  animation: cs-ball-float ease-in-out infinite;
}
.cs-ball--b.cs-ball--floating{animation-duration:3.8s}
.cs-ball--i.cs-ball--floating{animation-duration:4.3s;animation-delay:.6s}
.cs-ball--n.cs-ball--floating{animation-duration:3.5s;animation-delay:1.1s}
.cs-ball--g.cs-ball--floating{animation-duration:4.7s;animation-delay:.3s}
.cs-ball--o.cs-ball--floating{animation-duration:4.1s;animation-delay:.9s}
@keyframes cs-ball-float {
  0%,100%{transform:translateY(0) rotate(0deg)}
  35%{transform:translateY(-11px) rotate(6deg)}
  70%{transform:translateY(7px) rotate(-4deg)}
}

/* ── Subtitle ────────────────────────────────────────────────────────── */
.cs-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: clamp(.94rem,2.2vw,1.08rem);
  font-weight: 400;
  color: rgba(255,255,255,.68);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 48px;
  animation: cs-fade-up .8s .8s ease both;
}
.cs-subtitle strong{color:#fff;font-weight:700}

/* ── Countdown label ─────────────────────────────────────────────────── */
.cs-cd-label-top {
  font-family: "Roboto", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 16px;
  animation: cs-fade-up .8s .9s ease both;
}

/* ── Countdown ───────────────────────────────────────────────────────── */
.cs-countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-bottom: 46px;
  animation: cs-fade-up .8s 1s ease both;
}
.cs-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.cs-cd-card {
  position: relative;
  background: linear-gradient(180deg,#131adc,#0c0ea8 52%,#09107a);
  border: 1px solid rgba(170,251,0,.18);
  border-radius: 16px;
  width: 90px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 36px rgba(0,0,0,.55),
    0 0 0 1px rgba(170,251,0,.07),
    inset 0 1px 0 rgba(255,255,255,.12);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
/* Mid-divider */
.cs-cd-card::before {
  content:"";
  position:absolute;
  left:0;right:0;top:50%;
  height:1px;
  background:rgba(0,0,0,.4);
  z-index:2;
}
/* Top gloss */
.cs-cd-card::after {
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:44%;
  background:linear-gradient(180deg,rgba(255,255,255,.07),transparent);
  pointer-events:none;
}
.cs-cd-card__display {
  font-family: "Delight", sans-serif;
  font-weight: 900;
  font-size: 2.9rem;
  color: #fff;
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 22px rgba(170,251,0,.3);
  transition: color .1s;
}
/* Tick flash */
.cs-cd-card--tick {
  animation: cd-tick .38s ease;
}
.cs-cd-card--tick .cs-cd-card__display {
  color: #aafb00;
  text-shadow: 0 0 28px rgba(170,251,0,.95);
}
@keyframes cd-tick {
  0%{box-shadow:0 10px 36px rgba(0,0,0,.55),0 0 0 1px rgba(170,251,0,.07),inset 0 1px 0 rgba(255,255,255,.12)}
  40%{box-shadow:0 10px 36px rgba(0,0,0,.55),0 0 0 3px rgba(170,251,0,.4),0 0 28px rgba(170,251,0,.28),inset 0 1px 0 rgba(255,255,255,.12)}
  100%{box-shadow:0 10px 36px rgba(0,0,0,.55),0 0 0 1px rgba(170,251,0,.07),inset 0 1px 0 rgba(255,255,255,.12)}
}
.cs-cd-colon {
  font-family: "Delight", sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(255,255,255,.28);
  margin-top: 20px;
  animation: cs-colon-blink 1s ease-in-out infinite;
}
@keyframes cs-colon-blink {
  0%,100%{opacity:.28}
  50%{opacity:.85}
}
.cs-cd-unit {
  font-family: "Roboto", sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}

/* ── Feature hints ───────────────────────────────────────────────────── */
.cs-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: cs-fade-up .8s 1.1s ease both;
}
.cs-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  font-family: "Roboto", sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
  transition: background .2s,border-color .2s,transform .2s,color .2s;
  cursor: default;
}
.cs-hint:hover {
  background: rgba(170,251,0,.1);
  border-color: rgba(170,251,0,.3);
  color: #fff;
  transform: translateY(-3px);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.cs-footer {
  padding: 20px 24px;
  font-family: "Roboto", sans-serif;
  font-size: .74rem;
  color: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}
.cs-footer__sep{opacity:.4}

/* ── Bottom ticker ───────────────────────────────────────────────────── */
.cs-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #aafb00;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(170,251,0,.4);
}
.cs-ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: cs-ticker-scroll 24s linear infinite;
  font-family: "Delight", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  color: #000;
}
.cs-ticker__sep{color:#1a1ce0;opacity:.7;font-size:.65rem}
@keyframes cs-ticker-scroll {
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* ── Shared fade-up ──────────────────────────────────────────────────── */
@keyframes cs-fade-up {
  from{opacity:0;transform:translateY(26px)}
  to{opacity:1;transform:translateY(0)}
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media(max-width:640px){
  .cs-ball{width:52px;height:52px;font-size:1.25rem}
  .cs-bingo-row{gap:9px}
  .cs-ball__shine{width:15px;height:8px;top:8px;left:10px}
  .cs-countdown{gap:5px}
  .cs-cd-card{width:72px;height:78px}
  .cs-cd-card__display{font-size:2.2rem}
  .cs-cd-colon{font-size:1.9rem;margin-top:14px}
  .cs-hints{gap:8px}
  .cs-hint{font-size:.78rem;padding:6px 12px}
}
@media(max-width:380px){
  .cs-cd-card{width:60px;height:64px}
  .cs-cd-card__display{font-size:1.75rem}
  .cs-ball{width:44px;height:44px;font-size:1.05rem}
  .cs-ball__shine{width:12px;height:7px;top:6px;left:8px}
  .cs-cd-colon{font-size:1.5rem;margin-top:10px}
}
