/* BetRepublic mini · 07-en - welcome pop-up modal over a dimmed, blurred fake lobby; 3 FAQ lines */
:root {
  --base: #08101e;
  --lobby: #111d33;
  --lobby-2: #172745;
  --rim: #2b4069;
  --modal: #15233e;
  --modal-hi: #1d3156;
  --fg: #eef3fc;
  --sub: #9aaccb;
  --amber: #ffd12e;
  --amber-2: #e5ae0b;
  --blue: #96b9ef;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--base); color: var(--fg); font: 400 15px/1.5 "Red Hat Text", system-ui, sans-serif; }
a { color: inherit; }

.scene { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 34px 16px; }

/* ---- fake lobby behind ---- */
.faux { position: absolute; inset: 0; display: flex; flex-direction: column; filter: blur(2.5px); font-family: "Red Hat Display", sans-serif; }
.faux-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #0e1930; border-bottom: 1px solid var(--rim); }
.faux-logo { font-weight: 900; font-size: 22px; letter-spacing: -.03em; }
.faux-logo b { color: var(--amber); }
.faux-btns { display: flex; gap: 6px; }
.faux-btns i { font-style: normal; font-weight: 800; font-size: 12px; text-transform: uppercase; padding: 8px 12px; border-radius: 5px; background: var(--blue); color: #0f1f3c; }
.faux-body { flex: 1; display: flex; }
.faux-side { display: none; list-style: none; margin: 0; padding: 14px 10px; width: 190px; background: var(--lobby); border-right: 1px solid var(--rim); }
.faux-side li { padding: 9px 10px; font-weight: 700; font-size: 13px; color: #c3d0e6; border-radius: 6px; }
.faux-side li:first-child { background: var(--amber); color: #1a1402; }
.faux-main { flex: 1; padding: 16px; min-width: 0; }
.faux-hero { height: 150px; border-radius: 10px; background: linear-gradient(100deg, #1a2b4a 0%, #2c3d60 60%, #4a4f63 100%); }
.faux-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.faux-tabs span { font-weight: 700; font-size: 11px; text-transform: uppercase; padding: 6px 9px; border: 1px solid var(--rim); border-radius: 5px; color: #c9d5ea; }
.faux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.faux-grid span { aspect-ratio: 3 / 4; border-radius: 8px; background: linear-gradient(160deg, var(--lobby-2), #24395f); border: 1px solid var(--rim); }
.faux-grid span:nth-child(3n+2) { background: linear-gradient(160deg, #2a2342, #3b3360); }
.faux-grid span:nth-child(4n) { background: linear-gradient(160deg, #1e3a3d, #2a5054); }

.veil { position: absolute; inset: 0; background: rgba(5,10,20,.72); }

/* ---- modal ---- */
.dialog {
  position: relative; z-index: 2; width: 100%; max-width: 440px;
  background: linear-gradient(180deg, var(--modal-hi), var(--modal) 45%);
  border: 1px solid #3a548a; border-radius: 16px; padding: 18px 18px 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 6px rgba(150,185,239,.06);
}
.dialog-x { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-size: 22px; line-height: 1; color: var(--sub); background: rgba(255,255,255,.05); }
.dialog-x:hover { color: #fff; background: rgba(255,255,255,.12); }
.dialog-hd { display: flex; align-items: center; gap: 10px; padding-right: 36px; flex-wrap: wrap; }
.dialog-brand { font: 900 22px/1 "Red Hat Display", sans-serif; letter-spacing: -.035em; text-decoration: none; color: #fff; }
.dialog-brand b { color: var(--amber); }
.dialog-brand span { color: #fff; }
.dialog-chip { font: 800 10.5px/1 "Red Hat Display", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); border: 1px solid var(--rim); border-radius: 999px; padding: 5px 9px; }

.dialog-offer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.chipstack { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 6px 14px rgba(255,209,46,.25)); }
.dialog-offer h1 { margin: 0; font: 900 27px/1.1 "Red Hat Display", sans-serif; letter-spacing: -.015em; }
.dialog-offer h1 span { color: var(--amber); }
.dialog-lead { margin: 12px 0 0; font-size: 14px; color: #c9d4e8; }
.dialog-lead a { color: var(--amber); font-weight: 700; }

.dialog-faq { margin: 14px 0 0; padding: 4px 12px; background: rgba(8,16,30,.45); border: 1px solid var(--rim); border-radius: 10px; }
.dialog-faq dt { padding-top: 9px; font: 800 13.5px/1.3 "Red Hat Display", sans-serif; color: #fff; }
.dialog-faq dt::before { content: "?"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; background: var(--blue); color: #0f1f3c; font-size: 11px; vertical-align: 1px; }
.dialog-faq dd { margin: 3px 0 0 24px; padding-bottom: 9px; font-size: 12.8px; color: var(--sub); border-bottom: 1px solid rgba(43,64,105,.7); }
.dialog-faq dd:last-child { border-bottom: 0; }

.dialog-ft { display: flex; gap: 8px; margin-top: 14px; }
.cta-sun, .cta-later { text-decoration: none; text-transform: uppercase; text-align: center; font-family: "Red Hat Display", sans-serif; border-radius: 9px; }
.cta-sun { flex: 1.4; padding: 14px 10px; font-weight: 900; font-size: 16px; letter-spacing: .03em; color: #191300; background: linear-gradient(180deg, #ffe061, var(--amber) 55%, var(--amber-2)); box-shadow: 0 0 0 3px #0f1f3c, 0 0 0 4px #435d91, 0 10px 24px rgba(255,209,46,.25); }
.cta-later { flex: 1; padding: 14px 8px; font-weight: 800; font-size: 13px; color: #0f1f3c; background: var(--blue); }
.cta-sun:hover, .cta-later:hover { filter: brightness(1.06); }

.dialog-legal { margin: 12px 0 0; font-size: 10.8px; line-height: 1.55; color: #7386a8; text-align: center; }
.dialog-legal a { color: #b3c3e0; }

@media (min-width: 760px) {
  .faux-side { display: block; }
  .faux-hero { height: 220px; }
  .faux-grid { grid-template-columns: repeat(6, 1fr); }
}
