/* Concursul „Învârte roata” — se încarcă doar pe /concurs/ */
.cst { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--hdr) + 40px) 0 clamp(56px, 9vw, 110px);
  background:
    radial-gradient(120% 70% at 70% 0%, rgba(140,197,138,.16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 70px, transparent 70px 140px),
    var(--turf); }
/* cercul de la mijlocul terenului, „cu cretă” */
.cst__pitch { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; }
.cst__pitch::before { content: ''; position: absolute; left: 50%; top: 55%; width: min(80vw, 640px); aspect-ratio: 1; translate: -50% -50%; border: 2px solid #fff; border-radius: 50%; }
.cst__pitch::after { content: ''; position: absolute; left: 0; right: 0; top: 55%; border-top: 2px solid #fff; }
.cst__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .cst__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.cst .eyebrow { color: var(--club-lt); }
.cst__title { margin: 0; font-size: clamp(3.1rem, 11vw, 6.6rem); line-height: .86; text-transform: uppercase; }
.cst__title .o { color: transparent; -webkit-text-stroke: 2px var(--amber); }
.cst .lead { color: rgba(255,255,255,.8); max-width: 46ch; margin: 18px 0 24px; }

.cst__card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); max-width: 520px; }
.cst__card h2 { margin: 0 0 8px; font: 800 2rem/1 var(--f-display); text-transform: uppercase; }
.cst__card p { margin: 0 0 10px; color: var(--ink-2); }
.cst__card .form { margin-top: 14px; }
.cst__card [hidden] { display: none !important; }
.cst__card .field input { background: var(--mist); }
.cst__steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.cst__steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--mist); color: var(--ink-2); font-size: .88rem; font-weight: 600; transition: background-color .35s, color .35s; }
.cst__steps b { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fff; font: 800 .95rem/1 var(--f-display); }
.cst__steps li.is-on { background: var(--turf-2); color: #fff; }
.cst__steps li.is-on b { background: var(--amber); color: var(--amber-ink); }
.cst__steps li.is-done { background: #e2f3e3; color: #1d5b20; }
.cst__code { text-align: center; letter-spacing: .5em; font-size: 1.6rem !important; font-weight: 700; }
.cst__sent { font-size: .95rem; }
.cst__links { margin: 0; text-align: center; font-size: .9rem; color: var(--ink-2); }
.linkbtn { background: none; border: 0; padding: 6px 2px; font: inherit; color: var(--club); text-decoration: underline; cursor: pointer; }
.cst__ready { padding-top: 14px; }
.cst__ready p:first-child { font-weight: 700; color: #1d5b20; }
.cst__small { margin: 14px 0 0; font-size: .88rem; color: rgba(255,255,255,.6); }
.cst__small a { color: var(--amber); }

/* roata */
.cst__stage { position: relative; display: grid; justify-items: center; }
.wheel { position: relative; width: min(100%, 560px); aspect-ratio: 1; }
.wheel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spinbtn { margin-top: 22px; min-height: 60px; padding: 0 40px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #ffd35e, var(--amber) 55%, #d9971a); color: var(--amber-ink);
  font: 800 1.5rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(255,255,255,.55) inset, 0 -3px 0 rgba(0,0,0,.18) inset, 0 18px 34px -14px rgba(245,185,53,.75);
  transition: transform .25s var(--ease), filter .25s, opacity .25s; }
.spinbtn:not(:disabled) { animation: spinPulse 1.8s var(--ease) infinite; }
.spinbtn:disabled { filter: grayscale(.7) brightness(.75); opacity: .7; cursor: not-allowed; animation: none; }
@keyframes spinPulse { 50% { box-shadow: 0 2px 0 rgba(255,255,255,.55) inset, 0 -3px 0 rgba(0,0,0,.18) inset, 0 0 0 10px rgba(245,185,53,.18), 0 18px 34px -14px rgba(245,185,53,.75); } }
@media (hover: hover) { .spinbtn:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.05); } }
.spinhint { margin: 12px 0 0; font-size: .9rem; color: rgba(255,255,255,.65); text-align: center; }
.mute { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.mute .ic { width: 20px; height: 20px; }
.mute .ic-off { display: none; }
.mute[aria-pressed="true"] .ic-off { display: inline; }
.mute[aria-pressed="true"] .ic-wave { display: none; }

/* premiile */
.cst-prizes { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cst-prize { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--r); background: var(--turf-2); color: #fff; }
.cst-prize b { font: 800 1.7rem/1 var(--f-display); text-transform: uppercase; }
.cst-prize span { font-size: .88rem; opacity: .75; }
.cst-prize--amber { background: var(--amber); color: var(--amber-ink); }
.cst-prize--chalk { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cst-prize--club { background: var(--club); }
.cst-how { max-width: 70ch; }
.cst-how h3 { margin: 0 0 6px; font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; }
.cst-how p { margin: 0; color: var(--ink-2); }

/* biletul de la final */
.cst-result { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(5,12,8,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.cst-result.on { opacity: 1; }
.cst-result[hidden] { display: none; }
.ticket { position: relative; width: min(100%, 420px); padding: 30px 26px 26px; border-radius: 22px; text-align: center; color: var(--ink); background: linear-gradient(180deg, #fff, var(--chalk)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: translateY(24px) scale(.94); transition: transform .6s var(--spring); }
.cst-result.on .ticket { transform: none; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 60%; width: 26px; height: 26px; border-radius: 50%; background: #16241b; }
.ticket::before { left: -13px; } .ticket::after { right: -13px; }
.ticket small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--club); }
.ticket h2 { margin: 6px 0 6px; font: 800 2.5rem/.95 var(--f-display); text-transform: uppercase; }
.ticket p { margin: 0; color: var(--ink-2); }
.ticket__code { margin: 20px 0 4px; padding-top: 18px; border-top: 2px dashed rgba(11,21,16,.15); font: 800 2.2rem/1 var(--f-display); letter-spacing: .12em; color: var(--turf-2); }
.ticket__code:empty, .ticket__until:empty { display: none; }
.ticket__until { font-size: .88rem; }
.ticket .btn { margin-top: 20px; }
.cst-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }
@media (prefers-reduced-motion: reduce) { .ticket { transition: none; } .spinbtn { animation: none !important; } }

/* butonul spre biletul cu cod QR (16 oct. 2026) */
.ticket__open { display: flex; justify-content: center; margin: 16px 0 10px; }
.ticket__open[hidden] { display: none; }
