/* ─────────────────────────────────────────────────────────────
   promosurvey.net — casino re-skin
   Load AFTER /css/survey.css. Overrides only; no logic changes.
   ───────────────────────────────────────────────────────────── */
:root {
  --black: #12021F;
  --panel: #241048;
  --field: #170630;
  --field-hover: #200A40;
  --line: #5B3A92;
  --line-strong: #6A4BA8;
  --text: #FFFFFF;
  --muted: #EADCFF;
  --dim: #A894CC;
  --gold: #FFC83D;
  --gold-light: #FFE08A;
  --gold-deep: #F2A516;
  --gold-shadow: #A0600A;
  --gold-ink: #3A1C00;
  --pink: #FF2E9A;
  --green: var(--gold);          /* survey.css uses --green for active states */
  --green-hover: var(--gold-light);
  --blue: var(--gold);           /* survey.css uses --blue for focus/selected */
  --blue-soft: rgba(255, 200, 61, 0.22);
  --radius: 24px;
  --radius-s: 12px;
  --display: 'Lilita One', 'Anton', Impact, sans-serif;
}

/* ── Background ─────────────────────────────────────────────── */
html, body { background: #12021F; }
body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, #B0228C 0%, rgba(176,34,140,0) 70%),
    radial-gradient(ellipse 70% 50% at 0% 60%, rgba(91,30,200,0.55) 0%, rgba(91,30,200,0) 70%),
    radial-gradient(ellipse 70% 50% at 100% 85%, rgba(255,120,30,0.30) 0%, rgba(255,120,30,0) 70%),
    linear-gradient(180deg, #3A0A66 0%, #1E0538 45%, #12021F 100%);
  background-attachment: fixed;
}
/* light rays */
body::before {
  content: '';
  position: fixed;
  left: 50%; top: -200px;
  width: 1400px; height: 1000px;
  transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255,215,120,0.07) 0deg 6deg, rgba(255,215,120,0) 6deg 18deg);
  pointer-events: none;
  z-index: 0;
}
.page { position: relative; z-index: 1; }

/* floating coins + sparkles (markup: .decor in index.html) */
.decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.decor span { position: absolute; background-repeat: no-repeat; background-size: contain; }
.decor .coin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='%23FFC83D' stroke='%23B9770E' stroke-width='3'/%3E%3Ccircle cx='20' cy='20' r='11' fill='none' stroke='%23B9770E' stroke-width='2'/%3E%3Cpath d='M20 13v14' stroke='%238A4B00' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  animation: floaty 4s ease-in-out infinite;
}
.decor .spark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.5 9.5L24 12l-9.5 2.5L12 24l-2.5-9.5L0 12l9.5-2.5z' fill='%23FFF2C2'/%3E%3C/svg%3E");
  animation: twinkle 2.4s ease-in-out infinite;
}
.decor .c1 { left: 4%;  top: 18%; width: 64px; height: 64px; }
.decor .c2 { right: 6%; top: 40%; width: 48px; height: 48px; animation-delay: 1.2s; }
.decor .c3 { left: 9%;  top: 78%; width: 40px; height: 40px; animation-delay: 2s; }
.decor .c4 { right: 10%; top: 86%; width: 56px; height: 56px; animation-delay: .6s; }
.decor .s1 { left: 18%; top: 7%;  width: 22px; height: 22px; }
.decor .s2 { right: 20%; top: 12%; width: 16px; height: 16px; animation-delay: 1s; }
.decor .s3 { right: 4%; top: 66%; width: 20px; height: 20px; animation-delay: .4s; }
.decor .s4 { left: 3%;  top: 52%; width: 14px; height: 14px; animation-delay: 1.6s; }
@media (max-width: 980px) {
  .decor .c2, .decor .c3, .decor .c4 { display: none; }
  .decor .c1 { width: 40px; height: 40px; left: 2%; top: 14%; }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .decor span, .float { animation: none !important; } }

/* ── Layout: survey centered, characters flank it ───────────── */
.page {
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px) minmax(0, 1fr);
  gap: 22px 36px;
  align-content: start;
  padding-top: 28px;
}
.offer {
  grid-column: 1 / -1;
  position: static;
  justify-self: center;
  max-width: 680px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.side { padding-top: 40px; display: flex; justify-content: center; }
.side-left  { grid-column: 1; grid-row: 2; }
.panel      { grid-column: 2; grid-row: 2; width: 100%; }
.side-right { grid-column: 3; grid-row: 2; }

@media (max-width: 980px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .panel { grid-column: 1; max-width: 580px; justify-self: center; }
}

/* ── Hero / offer column ───────────────────────────────────── */
.hero-badge { position: relative; width: 170px; height: 170px; }
.hero-badge::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 300px; height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,61,0.55) 0%, rgba(255,46,154,0.25) 40%, rgba(255,46,154,0) 70%);
}
.hero-badge img {
  position: relative;
  width: 170px; height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold-light);
  box-shadow: 0 8px 0 #7A3E00, 0 0 50px rgba(255,200,61,0.7);
}
.float { animation: floaty 4s ease-in-out infinite; }

.offer-tag {
  margin-top: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255,46,154,0.6);
}

.headline {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.98;
  margin: 14px 0 14px;
  color: #fff;
  text-shadow: 0 5px 0 #5A1290, 0 0 30px rgba(255,46,154,0.5);
}
.headline .gold { color: var(--gold); text-shadow: 0 5px 0 #8A4B00, 0 0 30px rgba(255,200,61,0.6); }

.lede { color: var(--muted); max-width: 48ch; margin: 0 auto 22px; font-size: 17px; }

.proof {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.proof li {
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,200,61,0.35);
  text-align: left;
}
.proof li::before {
  width: 22px; height: 22px;
  box-shadow: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='%23FFC83D' stroke='%23B9770E' stroke-width='3'/%3E%3Cpath d='M13 20l5 5 9-10' stroke='%235A2E00' stroke-width='4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fine { color: #C3B2E3; margin: 0 auto; text-align: center; }

/* ── Side characters ───────────────────────────────────────── */
.char { display: block; width: 100%; max-width: 280px; }
.char-framed {
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 0 #7A3E00, 0 0 34px rgba(255,200,61,0.5);
}
.char-left  { transform: rotate(0deg); }
.char-right { aspect-ratio: 1 / 1; transform: rotate(6deg); box-shadow: 0 10px 0 #7A3E00, 0 0 34px rgba(80,200,255,0.55); }
.char-cutout {
  width: 115%; max-width: 320px;
  filter: drop-shadow(0 0 28px rgba(255,200,61,0.55)) drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}
/* rotation + float together */
.char-right.float { animation-name: floaty-r; animation-delay: 1.4s; }
@keyframes floaty-r { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-10px); } }

/* ── Survey panel ──────────────────────────────────────────── */
.panel {
  background: linear-gradient(180deg, #2C0E55 0%, #1C0838 100%);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255,200,61,0.15), 0 0 50px rgba(255,46,154,0.35), 0 18px 0 #0B0115;
  text-align: center;
}
.progress-bar .seg { height: 8px; background: rgba(255,255,255,0.14); }
.progress-bar .seg.is-active,
.progress-bar .seg.is-done { background: linear-gradient(90deg, var(--gold-light), var(--gold)); box-shadow: 0 0 10px rgba(255,200,61,0.7); opacity: 1; }
.progress-label { flex-direction: column; align-items: center; gap: 8px; }
.progress-label h2 { order: 0; font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--gold); }
.progress-label span { order: -1; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); font-weight: 700; color: var(--muted); }

label, .label { font-weight: 700; }
.hint { color: #D6C6F2; }
input[type="text"], input[type="number"], input[type="email"], input[type="tel"], textarea, select, .cc-face {
  border-width: 1.5px;
  text-align: left;
}
input::placeholder, textarea::placeholder { color: var(--dim); }

.chips { justify-content: center; }
.chip span { padding: 11px 16px; font-size: 15px; font-weight: 600; color: #F1E8FF; border: 1.5px solid var(--line-strong); }
.chip input:checked + span,
.segmented input:checked + span {
  background: var(--gold);
  border-color: var(--gold-light);
  color: var(--gold-ink);
  box-shadow: 0 0 14px rgba(255,200,61,0.55);
}
.segmented span { font-weight: 700; color: #F1E8FF; }

.drop { border: 2px dashed var(--gold); background: rgba(255,200,61,0.06); }
.drop-empty { color: var(--gold); }
.drop-empty small { color: #C3B2E3; }
.drop-meta small { color: var(--gold); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: var(--gold-ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-height: 56px;
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--gold-shadow), 0 0 28px rgba(255,200,61,0.55);
}
.btn-primary:hover { background: linear-gradient(180deg, #FFEBB0 0%, var(--gold-light) 45%, var(--gold) 100%); }
.btn-ghost { border: 2px solid var(--line-strong); min-height: 56px; border-radius: 14px; }
.btn-busy { border-color: rgba(58,28,0,0.25); border-top-color: var(--gold-ink); }

/* ── Success ───────────────────────────────────────────────── */
.done-mark {
  width: 160px; height: 160px;
  background: none;
  box-shadow: none;
}
.done-mark img {
  width: 160px; height: 160px; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--gold); box-shadow: 0 0 40px rgba(255,200,61,0.6);
}
.done h2 { font-family: var(--display); font-size: 48px; color: var(--gold); text-shadow: 0 5px 0 #8A4B00; }
.done p { color: var(--muted); }
.done-timer { color: var(--gold-light); font-weight: 700; font-size: 15px; }
