/* Jackpot Directory — dark theme */
:root {
  --ink: #0B0B1A;
  --ink-2: #11112A;
  --gold-1: #FDE39A;
  --gold-2: #F4C04A;
  --gold-3: #E9A92F;
  --gold-4: #C98A1E;
  --line: rgba(255,255,255,.07);
}
html { background: var(--ink); }
body { background:
  radial-gradient(1200px 600px at 50% -200px, rgba(233,169,47,.10), transparent 70%),
  var(--ink); }
.font-display, h1, h2, h3 { font-family: Montserrat, system-ui, sans-serif; }

/* Header */
.site-header { background: rgba(11,11,26,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-link { color: #cbd5e1; position: relative; transition: color .2s; }
.nav-link:hover { color: var(--gold-1); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: linear-gradient(90deg,var(--gold-2),var(--gold-3)); transform: scaleX(0); transition: transform .2s; border-radius: 2px; }
.nav-link:hover::after { transform: scaleX(1); }
.mobile-link { padding: .75rem .5rem; border-radius: .5rem; color: #e2e8f0; }
.mobile-link:hover { background: rgba(255,255,255,.04); color: var(--gold-1); }

/* Buttons */
.btn-gold { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; font-family: Montserrat, sans-serif; font-weight: 800; letter-spacing: .01em;
  color: #1a1206; background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%);
  box-shadow: 0 8px 24px -8px rgba(233,169,47,.55), inset 0 1px 0 rgba(255,255,255,.55); transition: transform .15s, box-shadow .2s, filter .2s; white-space: nowrap; }
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 30px -8px rgba(233,169,47,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; font-family: Montserrat, sans-serif; font-weight: 700; color: #f1f5f9;
  border: 1px solid rgba(244,192,74,.35); background: rgba(244,192,74,.04); transition: background .2s, border-color .2s; white-space: nowrap; }
.btn-ghost:hover { background: rgba(244,192,74,.1); border-color: rgba(244,192,74,.6); }

.text-gold-grad { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(600px 300px at 50% 30%, rgba(244,192,74,.16), transparent 70%),
  radial-gradient(500px 400px at 10% 80%, rgba(59,70,200,.18), transparent 70%),
  radial-gradient(500px 400px at 90% 70%, rgba(120,60,200,.14), transparent 70%); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-logo { filter: drop-shadow(0 10px 40px rgba(233,169,47,.25)); }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 9999px; font-size: .8rem; font-weight: 600; color: var(--gold-1);
  background: rgba(244,192,74,.08); border: 1px solid rgba(244,192,74,.25); }
.dot { width: .5rem; height: .5rem; border-radius: 9999px; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52,211,153,.05); } }
.stat { padding: 1rem .5rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.stat dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #94a3b8; }
.stat dd { margin-top: .25rem; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--gold-2); white-space: nowrap; }

/* floating balls */
.hero-balls { position: absolute; inset: 0; pointer-events: none; }
.ball { position: absolute; display: grid; place-items: center; border-radius: 9999px; font-family: Montserrat, sans-serif; font-weight: 800; color: #0B0B1A;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--gold-1) 30%, var(--gold-3) 65%, #7a4f0c 100%);
  box-shadow: inset -6px -8px 16px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.4); opacity: .55; animation: float 9s ease-in-out infinite; }
.b1 { width: 64px; height: 64px; left: 7%; top: 22%; font-size: 1.3rem; }
.b2 { width: 44px; height: 44px; left: 16%; top: 68%; font-size: .95rem; animation-delay: -3s; opacity: .35; }
.b3 { width: 80px; height: 80px; right: 8%; top: 18%; font-size: 1.8rem; animation-delay: -5s; }
.b4 { width: 50px; height: 50px; right: 15%; top: 70%; font-size: 1rem; animation-delay: -2s; opacity: .4; }
.b5 { width: 34px; height: 34px; right: 30%; top: 8%; font-size: .75rem; animation-delay: -6s; opacity: .3; }
@keyframes float { 50% { transform: translateY(-14px) rotate(8deg); } }
@media (max-width: 767px) { .hero-balls { display: none; } }
@media (max-width: 480px) { .stat dt { font-size: .6rem; letter-spacing: .06em; } .stat dd { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) { .ball, .dot { animation: none; } }

/* Sections */
.section { padding: 5rem 0; }
@media (max-width: 640px) { .section { padding: 3.5rem 0; } }
.section.pt-0 { padding-top: 0; }
.section-alt { background: linear-gradient(180deg, rgba(17,17,42,.0), rgba(17,17,42,.8) 20%, rgba(17,17,42,.8) 80%, rgba(17,17,42,0)); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto; }
.eyebrow { font-family: Montserrat, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.section-title { margin-top: .6rem; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.section-sub { margin-top: 1rem; color: #94a3b8; font-size: 1.05rem; line-height: 1.65; }

/* Cards */
.card { position: relative; border-radius: 1.25rem; padding: 1.75rem; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border: 1px solid var(--line); }
.card-title { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; }
.card-text { margin-top: .5rem; color: #94a3b8; line-height: 1.6; font-size: .95rem; }
.step { padding-top: 2.25rem; transition: border-color .2s, transform .2s; }
.step:hover { border-color: rgba(244,192,74,.3); transform: translateY(-3px); }
.step-num { position: absolute; top: 1.25rem; right: 1.5rem; font-family: Montserrat, sans-serif; font-weight: 900; font-size: 3.5rem; line-height: 1; color: rgba(244,192,74,.12); }
.step-icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; font-size: 1.6rem; border-radius: 1rem; margin-bottom: 1.25rem; background: rgba(244,192,74,.1); border: 1px solid rgba(244,192,74,.25); }

/* Lottery cards */
.lotto { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s, border-color .2s, box-shadow .2s; }
.lotto:hover { transform: translateY(-4px); border-color: rgba(244,192,74,.35); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.lotto-top { height: 4px; background: var(--accent); }
.lotto-body { padding: 1.5rem 1.5rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.lotto-head { display: flex; align-items: center; gap: .85rem; }
.flag-badge { position: relative; width: 3rem; height: 3rem; flex: none; display: grid; place-items: center; border-radius: .85rem; font-size: 1.6rem; line-height: 1;
  background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.flag-code { position: absolute; bottom: -6px; right: -6px; font-family: Montserrat, sans-serif; font-size: .6rem; font-weight: 800; padding: 1px 5px; border-radius: 6px; background: #0B0B1A; color: #e2e8f0; border: 1px solid rgba(255,255,255,.15); }
.lotto-country { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #94a3b8; font-weight: 600; }
.lotto-name { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; line-height: 1.2; }
.lotto-jlabel { margin-top: 1.4rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #94a3b8; font-weight: 600; }
.lotto-jackpot { margin-top: .2rem; font-family: Montserrat, sans-serif; font-weight: 900; font-size: clamp(1.55rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.01em; word-break: break-word; }
.lotto-jnote { margin-top: .35rem; font-size: .75rem; color: #fbbf24; opacity: .85; }
.lotto-draw { margin-top: 1.1rem; font-size: .85rem; color: #cbd5e1; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.lotto-draw b { color: #fff; font-weight: 600; }
.countdown { margin-top: 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.cd-box { text-align: center; padding: .55rem 0 .45rem; border-radius: .7rem; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.cd-num { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-lbl { font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; color: #64748b; margin-top: .15rem; }
.cd-status { margin-top: 1rem; padding: .95rem; text-align: center; border-radius: .7rem; background: rgba(0,0,0,.3); border: 1px dashed rgba(255,255,255,.12); color: #94a3b8; font-size: .85rem; font-weight: 600; }
.lotto-foot { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.lotto-days { font-size: .75rem; color: #64748b; }
.lotto-cta { font-size: .8rem; padding: .55rem 1rem; }

/* Winners placeholder */
.winner-ph { text-align: center; border-style: dashed; border-color: rgba(255,255,255,.12); }
.ph-tag { position: absolute; top: .9rem; left: .9rem; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fbbf24; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); padding: .15rem .5rem; border-radius: 9999px; }
.ph-avatar { width: 4rem; height: 4rem; margin: .75rem auto 1rem; border-radius: 9999px; display: grid; place-items: center; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.5rem; color: rgba(244,192,74,.6); background: rgba(244,192,74,.06); border: 1px dashed rgba(244,192,74,.35); }

/* Sponsors */
.sponsor { position: relative; min-height: 7rem; border-radius: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; transition: border-color .2s, background .2s; padding: 1rem; }
.sponsor-current { background: linear-gradient(180deg, rgba(244,192,74,.1), rgba(244,192,74,.03)); border: 1px solid rgba(244,192,74,.4); }
.sponsor-badge { position: absolute; top: .6rem; font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.sponsor-name { font-family: Montserrat, sans-serif; font-weight: 900; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: #fff; letter-spacing: -.01em; margin-top: .6rem; }
.sponsor-empty { border: 1px dashed rgba(255,255,255,.15); color: #64748b; font-size: .85rem; font-weight: 600; }
.sponsor-empty:hover { border-color: rgba(244,192,74,.5); color: var(--gold-1); background: rgba(244,192,74,.03); }
.plus { font-size: 1.4rem; line-height: 1; font-weight: 300; }

.sponsor-cta { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2.5rem; background:
  radial-gradient(500px 300px at 100% 0%, rgba(244,192,74,.18), transparent 70%),
  linear-gradient(135deg, #16163a, #0f0f26); border: 1px solid rgba(244,192,74,.25); }
@media (max-width: 640px) { .sponsor-cta { padding: 1.75rem; } }
.sponsor-cta-mark { position: absolute; right: 3rem; top: 50%; width: 150px; transform: translateY(-50%) rotate(-10deg); pointer-events: none; filter: drop-shadow(0 20px 40px rgba(233,169,47,.35)); }
@media (max-width: 1023px) { .sponsor-cta-mark { display: none; } }
.check { display: flex; align-items: center; gap: .6rem; }
.check::before { content: "✓"; flex: none; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 9999px; font-size: .75rem; font-weight: 800; color: #1a1206; background: var(--gold-2); }

/* Ads */
.ad-slot { position: relative; width: 100%; }
.ad-label { display: block; text-align: center; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #64748b; margin-bottom: .35rem; font-weight: 600; }
.ad-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; width: 100%; height: 100%; border-radius: .5rem;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 10px, rgba(255,255,255,.01) 10px 20px); border: 1px dashed rgba(255,255,255,.14); color: #64748b; }
.ad-size { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1rem; color: #7c8aa0; }
.ad-sub { font-size: .7rem; }
.ad-leaderboard { max-width: 728px; }
.ad-leaderboard .ad-inner { height: 90px; }
@media (max-width: 767px) { .ad-leaderboard { max-width: 320px; } .ad-leaderboard .ad-inner { height: 100px; } }
.ad-size-m { display: none; }
@media (max-width: 767px) { .ad-leaderboard .ad-size-d { display: none; } .ad-leaderboard .ad-size-m { display: inline; } }
.ad-mrec { width: 300px; align-self: center; }
.ad-mrec .ad-inner { height: 250px; }

/* Invite */
.invite { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; padding: 2.25rem; border-radius: 1.5rem; background: linear-gradient(135deg, rgba(52,211,153,.07), rgba(244,192,74,.07)); border: 1px solid var(--line); }
@media (min-width: 768px) { .invite { flex-direction: row; text-align: left; padding: 2.5rem 3rem; } }

/* FAQ */
.faq { border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .2s; }
.faq[open] { border-color: rgba(244,192,74,.3); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: Montserrat, sans-serif; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold-2); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.4rem 1.2rem; color: #94a3b8; line-height: 1.65; }

/* Join */
.join-cta { border-radius: 1.75rem; padding: 3.5rem 1.5rem; background:
  radial-gradient(600px 300px at 50% 0%, rgba(244,192,74,.2), transparent 70%),
  linear-gradient(180deg, #15153a, #0e0e24); border: 1px solid rgba(244,192,74,.28); }

/* Footer */
.footer-link { color: #94a3b8; transition: color .2s; }
.footer-link:hover { color: var(--gold-1); }
.age-badge { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 9999px; border: 1.5px solid #64748b; font-size: .6rem; font-weight: 800; color: #94a3b8; margin-right: .35rem; vertical-align: middle; }

/* ===== v2: three main boxes ===== */
.boxes-section { padding: 3rem 0 1rem; position: relative; }
.box { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 1.5rem; padding: 1.5rem; background: linear-gradient(180deg, #14142f, #0e0e22); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.box-gold { border-color: rgba(244,192,74,.35); background: radial-gradient(400px 200px at 50% 0%, rgba(244,192,74,.12), transparent 70%), linear-gradient(180deg, #16163a, #0e0e22); }
.box-promo { background: radial-gradient(400px 260px at 100% 0%, rgba(244,192,74,.16), transparent 70%), linear-gradient(160deg, #1a1a44, #0e0e22); border-color: rgba(244,192,74,.25); }
.box-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.box-title { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 1.6rem; color: #fff; line-height: 1.15; margin-top: .25rem; }
.box-count { font-size: .7rem; font-weight: 700; color: #94a3b8; background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 9999px; white-space: nowrap; }
.box-gold .box-count { font-size: 1.3rem; background: none; border: 0; padding: 0; }
.box-sub { margin-top: .5rem; font-size: .85rem; color: #94a3b8; line-height: 1.5; }
.box-foot { margin-top: auto; padding-top: 1rem; display: flex; flex-direction: column; gap: .6rem; align-items: stretch; text-align: center; }
.see-all { font-size: .8rem; font-weight: 600; color: var(--gold-2); }
.see-all:hover { color: var(--gold-1); text-decoration: underline; }

.jp-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .6rem; max-height: 600px; overflow-y: auto; padding-right: .25rem; scrollbar-width: thin; scrollbar-color: rgba(244,192,74,.4) transparent; }
@media (max-width: 1023px) { .jp-list { max-height: 560px; } }
.jp-list::-webkit-scrollbar { width: 6px; } .jp-list::-webkit-scrollbar-thumb { background: rgba(244,192,74,.35); border-radius: 6px; }
.jp-empty { padding: 1.5rem; text-align: center; color: #64748b; font-size: .85rem; border: 1px dashed rgba(255,255,255,.12); border-radius: 1rem; }
.jp-row { position: relative; display: flex; gap: .6rem; padding: .75rem .8rem; border-radius: 1rem; background: rgba(0,0,0,.28); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.jp-row:hover { border-color: rgba(244,192,74,.3); background: rgba(244,192,74,.035); }
.jp-rank { flex: none; width: 1.6rem; font-family: Montserrat, sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--gold-2); text-align: center; padding-top: .55rem; }
.jp-list-top .jp-row:nth-child(-n+3) .jp-rank { font-size: 1.35rem; color: var(--gold-1); text-shadow: 0 0 12px rgba(244,192,74,.5); }
.jp-main { flex: 1; min-width: 0; }
.jp-top { display: flex; align-items: center; gap: .6rem; }
.jp-logo { flex: none; width: 44px; height: 44px; border-radius: .7rem; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 3px; }
.jp-logo img { width: 100%; height: 100%; object-fit: contain; }
.jp-logo-flag { background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.jp-flag { font-size: 1.4rem; line-height: 1; }
.jp-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.jp-name b { font-family: Montserrat, sans-serif; font-weight: 800; color: #fff; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jp-country { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-amt { display: block; margin-top: .15rem; font-family: Montserrat, sans-serif; font-weight: 900; font-size: 1.1rem; line-height: 1.15; white-space: normal; }
.jp-top .jp-cd { align-self: flex-start; }
.jp-nores { font-size: .7rem; color: #64748b; font-style: italic; }
.jp-amt small { font-size: .7rem; }
.jp-na { color: #64748b; font-size: .75rem; font-weight: 700; }
.jp-mid { margin-top: .45rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .72rem; color: #94a3b8; }
.jp-when b { color: #e2e8f0; font-weight: 600; }
.jp-cd { flex: none; font-family: Montserrat, sans-serif; font-weight: 800; font-size: .78rem; color: #fff; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: .15rem .5rem; border-radius: .5rem; }
.jp-cd-soon { color: #1a1206; background: var(--gold-2); border-color: var(--gold-2); }
.jp-cd-closed { color: #64748b; }
.jp-bot { margin-top: .55rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.jp-balls { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; min-width: 0; }
.nb { width: 21px; height: 21px; border-radius: 9999px; display: inline-grid; place-items: center; font-family: Montserrat, sans-serif; font-weight: 800; font-size: .6rem; color: #1a1206; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--gold-1) 35%, var(--gold-3) 100%); }
.nb-x1 { color: #fff; background: radial-gradient(circle at 35% 30%, #ffb4b4 0 12%, #e0474c 45%, #8e1f24 100%); }
.nb-x2 { color: #fff; background: radial-gradient(circle at 35% 30%, #b9c8ff 0 12%, #3b6fe0 45%, #1c327a 100%); }
.nb-sep { color: #64748b; font-size: .7rem; font-weight: 700; margin: 0 1px; }
.jp-play { flex: none; margin-left: auto; font-family: Montserrat, sans-serif; font-weight: 800; font-size: .62rem; letter-spacing: .04em; color: #1a1206; padding: .45rem .7rem; border-radius: 9999px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 50%, var(--gold-3)); box-shadow: 0 6px 16px -8px rgba(233,169,47,.6); white-space: nowrap; transition: filter .2s, transform .15s; }
.jp-play:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-play-ghost { letter-spacing: .03em; }

.promo-steps { margin: 1.25rem 0 1rem; display: flex; flex-direction: column; gap: 1rem; }
.promo-steps li { display: flex; gap: .85rem; align-items: flex-start; }
.promo-steps b { display: block; font-family: Montserrat, sans-serif; color: #fff; font-size: .95rem; }
.promo-steps span:not(.ps-num) { display: block; font-size: .83rem; color: #94a3b8; line-height: 1.5; margin-top: .15rem; }
.ps-num { flex: none; width: 2rem; height: 2rem; border-radius: 9999px; display: grid; place-items: center; font-family: Montserrat, sans-serif; font-weight: 900; color: #1a1206; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); }

.rg-note { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid var(--line); font-size: .78rem; color: #94a3b8; line-height: 1.55; }
.rg-note b { color: #e2e8f0; }
.rg-note a, .footer-box a { color: var(--gold-2); text-decoration: underline; }
.age-badge { flex: none; }
.age-sm { width: 1.35rem; height: 1.35rem; font-size: .5rem; }
.footer-box { padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.promo-hunt { padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(0,0,0,.28); border: 1px solid rgba(244,192,74,.25); }

/* ===== v3: login, tickets, prize categories, legal pages, member area ===== */
[hidden] { display: none !important; }
.promo-note { font-size: .7rem; color: #94a3b8; }
.box-foot .promo-note { margin: -.2rem 0 0; }
.jp-local { display: block; font-size: .65rem; color: #64748b; }

/* Our tickets */
.tk-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.2rem; border-radius: 1.25rem; background: linear-gradient(180deg, #15153a, #0e0e22); border: 1px solid rgba(244,192,74,.22); }
.tk-head { display: flex; align-items: center; gap: .7rem; }
.tk-head .jp-logo { width: 46px; height: 46px; }
.tk-name { min-width: 0; flex: 1; }
.tk-name b { display: block; font-family: Montserrat, sans-serif; font-weight: 800; color: #fff; font-size: 1rem; line-height: 1.2; }
.tk-name span { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: #94a3b8; font-weight: 600; }
.tk-lines { flex: none; font-family: Montserrat, sans-serif; font-weight: 800; font-size: .75rem; color: #1a1206; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); padding: .25rem .6rem; border-radius: 9999px; }
.tk-jp { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 1.45rem; line-height: 1.1; }
.tk-jp.jp-na { font-size: .8rem; }
.tk-when { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; font-size: .8rem; color: #cbd5e1; }
.tk-when b { color: #fff; }
.tk-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .72rem; color: #94a3b8; border-top: 1px solid var(--line); padding-top: .6rem; }
.tk-badge { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 9999px; border: 1px solid rgba(52,211,153,.4); color: #6ee7b7; background: rgba(52,211,153,.08); }
.tk-badge.closed { border-color: rgba(255,255,255,.15); color: #94a3b8; background: rgba(255,255,255,.04); }
.tk-badge.mine { border-color: rgba(244,192,74,.5); color: var(--gold-1); background: rgba(244,192,74,.1); }
.tk-numbers { display: flex; flex-direction: column; gap: .3rem; }
.tk-numbers .jp-balls .nb { width: 24px; height: 24px; font-size: .66rem; }
.tk-soon { font-size: .72rem; color: #64748b; font-style: italic; }

/* Prize table + calculator */
.table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.prize-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 640px; }
.prize-table th { text-align: left; font-family: Montserrat, sans-serif; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); padding: .8rem 1rem; border-bottom: 1px solid rgba(244,192,74,.25); background: rgba(244,192,74,.05); }
.prize-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); color: #cbd5e1; vertical-align: top; }
.prize-table tr:last-child td { border-bottom: 0; }
.prize-table td:first-child { font-family: Montserrat, sans-serif; font-weight: 900; color: var(--gold-1); }
.calc { border-radius: 1.5rem; padding: 1.5rem; background: radial-gradient(500px 240px at 100% 0%, rgba(244,192,74,.12), transparent 70%), linear-gradient(160deg, #16163a, #0e0e22); border: 1px solid rgba(244,192,74,.25); }
.calc-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-end; }
.calc-controls { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.calc-input { display: flex; align-items: center; gap: .35rem; border-radius: 9999px; padding: .35rem .9rem; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.calc-input span { color: var(--gold-2); font-weight: 700; font-size: .85rem; }
.calc-input input { width: 9rem; background: transparent; color: #fff; font-weight: 700; outline: none; }
.calc-presets { display: flex; flex-wrap: wrap; gap: .35rem; }
.calc-presets button { font-size: .72rem; font-weight: 700; padding: .35rem .7rem; border-radius: 9999px; color: #e2e8f0; border: 1px solid rgba(244,192,74,.3); background: rgba(244,192,74,.05); }
.calc-presets button:hover, .calc-presets button.on { background: rgba(244,192,74,.18); border-color: var(--gold-2); }
.calc-cur { font-size: .75rem; color: #94a3b8; }
.calc-cur select, .dbv-select { margin-left: .35rem; background: #0b0b1a; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: .5rem; padding: .25rem .4rem; }

/* Legal pages */
.legal { max-width: 52rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
.legal h1 { font-family: Montserrat, sans-serif; font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; line-height: 1.15; }
.legal h2 { margin-top: 2.2rem; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--gold-1); scroll-margin-top: 6rem; }
.legal h3 { margin-top: 1.2rem; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1rem; color: #fff; }
.legal p, .legal li { margin-top: .75rem; color: #cbd5e1; line-height: 1.7; font-size: .95rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal a { color: var(--gold-2); text-decoration: underline; }
.legal .lead { color: #94a3b8; }
.legal .caps { font-size: .85rem; letter-spacing: .01em; }
.legal-toc { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .25rem 1rem; font-size: .85rem; }
.legal-toc a { color: #cbd5e1; text-decoration: none; }
.legal-toc a:hover { color: var(--gold-1); }

/* Login (SafeZone, same steps as the game portal / CaPoBi) */
.auth-wrap { display: grid; place-items: start center; padding: 3rem 1rem 4rem; min-height: calc(100vh - 14rem); }
.auth-card { width: 100%; max-width: 420px; border-radius: 1.5rem; padding: 1.6rem 1.5rem 1.4rem; background: radial-gradient(400px 220px at 50% 0%, rgba(244,192,74,.14), transparent 70%), linear-gradient(180deg, #16163a, #0e0e22); border: 1px solid rgba(244,192,74,.3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.sz-head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.1rem; }
.sz-head h1 { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.sz-head p { color: #94a3b8; font-size: .85rem; }
.auth-card label { display: block; margin-top: .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.auth-card input:not(.sz-pin) { display: block; width: 100%; margin-top: .35rem; border-radius: .8rem; padding: .8rem 1rem; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 1rem; letter-spacing: .02em; text-transform: none; }
.auth-card input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(244,192,74,.18); }
.sz-pin-title { text-align: center; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #94a3b8; font-weight: 800; }
.sz-prompt { text-align: center; margin: .5rem 0 .8rem; font-family: Montserrat, sans-serif; font-weight: 800; color: var(--gold-1); font-size: 1rem; line-height: 1.4; }
.auth-card input.sz-pin { display: block; width: 100%; text-align: center; font-size: 1.8rem; letter-spacing: .6em; padding: .4rem 0 .4rem .6em; margin-bottom: .9rem; border-radius: .8rem; background: rgba(0,0,0,.4); border: 1px solid rgba(244,192,74,.35); color: #fff; }
.sz-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.sz-keypad button { height: 3.3rem; border-radius: .9rem; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 3px 0 rgba(0,0,0,.35); transition: border-color .15s, transform .05s; }
.sz-keypad button:hover { border-color: var(--gold-2); }
.sz-keypad button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.sz-keypad button[disabled] { visibility: hidden; }
.sz-keypad .sz-back { color: #fca5a5; }
.sz-hint { margin-top: .7rem; text-align: center; font-size: .72rem; color: #64748b; }
.form-error { margin-top: 1rem; padding: .7rem .9rem; border-radius: .8rem; font-size: .85rem; color: #fecaca; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); }
.form-error a { color: #fde68a; text-decoration: underline; margin-left: .25rem; }
.form-ok { margin-top: 1rem; padding: .7rem .9rem; border-radius: .8rem; font-size: .85rem; color: #bbf7d0; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); }
.btn-block { width: 100%; margin-top: 1.2rem; padding: .95rem 1rem; font-size: .95rem; }
.btn-gold[disabled] { opacity: .6; cursor: wait; transform: none; }
.small-print { margin-top: 1rem; font-size: .78rem; color: #94a3b8; text-align: center; line-height: 1.55; }
.small-print a { color: var(--gold-2); text-decoration: underline; }

/* Member area */
.m-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .m-grid { grid-template-columns: 1.15fr .85fr; } }
.m-card { border-radius: 1.25rem; padding: 1.3rem 1.3rem; background: linear-gradient(180deg, #14142f, #0e0e22); border: 1px solid rgba(255,255,255,.08); }
.m-card.gold { border-color: rgba(244,192,74,.35); background: radial-gradient(420px 220px at 100% 0%, rgba(244,192,74,.14), transparent 70%), linear-gradient(160deg, #1a1a44, #0e0e22); }
.m-title { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 1.25rem; color: #fff; }
.m-sub { margin-top: .3rem; font-size: .82rem; color: #94a3b8; line-height: 1.5; }
.m-list { margin-top: .9rem; display: flex; flex-direction: column; gap: .55rem; }
.m-row { display: flex; gap: .7rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .7rem .85rem; border-radius: .9rem; background: rgba(0,0,0,.28); border: 1px solid var(--line); font-size: .85rem; }
.m-row b { color: #fff; font-family: Montserrat, sans-serif; }
.m-row small { display: block; color: #94a3b8; font-size: .72rem; }
.m-empty { padding: 1.1rem; text-align: center; color: #64748b; font-size: .85rem; border: 1px dashed rgba(255,255,255,.12); border-radius: .9rem; }
.m-pernum { font-family: Montserrat, sans-serif; font-weight: 900; color: var(--gold-1); letter-spacing: .04em; }
.btn-sm { padding: .5rem .95rem; font-size: .75rem; }

/* ---- Hero claim (max member prize US$1,000,000, Category 7) ---- */
.hero-claim { margin: 1.25rem auto 0; max-width: 56rem; font-family: Montserrat, sans-serif; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; color: #fff; font-size: clamp(1.7rem, 6.4vw, 3.75rem); text-wrap: balance; }
.hero-claim .hc-line { display: block; }
.hero-claim .hc-free { display: inline-block; margin-top: .4rem; padding: .18em .55em; border-radius: 3px; font-size: .62em; letter-spacing: .06em; color: #0b0f1a; background: #f4c04a; box-shadow: none; cursor: default; user-select: none; pointer-events: none; }
.hero-sub { margin-top: 1rem; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(1.35rem, 4vw, 2.1rem); color: #fff; letter-spacing: -.01em; }
.hero-fine { margin: .75rem auto 0; max-width: 40rem; font-size: 11px; line-height: 1.5; color: #64748b; }
.hero-fine a, .fine-print a { text-decoration: underline; }
.hero-fine a:hover, .fine-print a:hover { color: var(--gold-1); }

/* ---- Fine print under every prize section (same wording everywhere) ---- */
.fine-print { margin-top: .75rem; font-size: 11px; line-height: 1.5; color: #64748b; }

/* ---- Calculator: top-jackpot pre-fill ---- */
.calc-source { margin-top: .35rem; font-size: .75rem; color: #94a3b8; }
.calc-presets .preset-top { border-color: rgba(244,192,74,.55); color: var(--gold-1); }

/* ---- Sponsor logos ---- */
.sponsor-has-logo { padding-top: 1.9rem; }
.sponsor-has-logo:hover { border-color: rgba(244,192,74,.7); }
.sponsor-card { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 4.25rem; padding: .7rem .9rem; border-radius: .75rem; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.sponsor-dark { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 4.25rem; padding: .7rem .9rem; }
.sponsor-card img, .sponsor-dark img { display: block; width: 100%; max-width: 200px; height: auto; max-height: 3.4rem; object-fit: contain; }

/* ---- Hero: next draw of OUR tickets (countdown + jackpot) ---- */
.hero-next { margin: 1.25rem auto 0; max-width: 30rem; padding: 1rem 1.25rem; border-radius: 1.25rem; text-align: left; gap: .1rem; }
.hero-next .hn-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.hero-next .hn-row + .hn-row { border-top: 1px solid rgba(255,255,255,.07); }
.hero-next .hn-label { flex: none; font-family: Montserrat, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.hero-next .hn-val { display: flex; flex-direction: column; align-items: flex-end; text-align: right; min-width: 0; }
.hero-next .hn-cd { font-family: Montserrat, sans-serif; font-weight: 900; font-size: clamp(1.15rem, 4.6vw, 1.5rem); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hero-next .hn-jp { font-family: Montserrat, sans-serif; font-weight: 900; font-size: clamp(1.15rem, 4.6vw, 1.5rem); }
.hero-next .hn-sub { font-size: .75rem; color: #94a3b8; line-height: 1.35; margin-top: .1rem; }
.hero-next .hn-empty { padding: .6rem 0; font-size: .9rem; color: #cbd5e1; text-align: center; }
.hero-next .fine-print { margin-top: .4rem; font-size: 10.5px; }
@media (max-width: 400px) { .hero-next { padding: .85rem 1rem; } .hero-next .hn-label { font-size: .62rem; letter-spacing: .14em; } }

/* ---- Member area: scanned tickets (images member-only via api/scan.php) ---- */
.tk-scan { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .45rem; border-radius: .8rem; background: rgba(255,255,255,.03); border: 1px solid rgba(244,192,74,.25); color: var(--gold-1); font-size: .8rem; font-weight: 700; text-align: left; cursor: zoom-in; }
.tk-scan:hover { border-color: rgba(244,192,74,.6); background: rgba(244,192,74,.06); }
.tk-scan img { width: 64px; height: 64px; object-fit: cover; border-radius: .5rem; background: #fff; flex: none; }
.tk-scan-note { font-size: .72rem; color: #94a3b8; }
.scan-lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; background: rgba(5,5,15,.88); backdrop-filter: blur(4px); }
.scan-lb[hidden] { display: none; }
.scan-lb-inner { width: min(100%, 900px); max-height: 100%; display: flex; flex-direction: column; gap: .6rem; }
.scan-lb-head { display: flex; justify-content: space-between; align-items: center; color: #fff; font-family: Montserrat, sans-serif; font-size: .95rem; }
.scan-lb-x { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 1rem; }
.scan-lb-x:hover { background: rgba(255,255,255,.16); }
.scan-lb img { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain; border-radius: .75rem; background: #fff; margin: 0 auto; }

/* ---- Public: "We buy real tickets" box with SAMPLE ticket graphic (no real numbers shown) ---- */
.real-tix { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .real-tix { grid-template-columns: 1.15fr .85fr; } }
.real-tix .rt-list { margin-top: 1rem; display: grid; gap: .55rem; }
.real-tix .rt-list li { display: flex; gap: .6rem; align-items: flex-start; color: #cbd5e1; font-size: .92rem; line-height: 1.45; }
.real-tix .rt-list li::before { content: "✓"; flex: none; width: 1.3rem; height: 1.3rem; border-radius: 999px; display: grid; place-items: center; font-size: .7rem; font-weight: 900; color: #1a1206; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); margin-top: .1rem; }
.rt-sample { position: relative; max-width: 360px; width: 100%; margin: 0 auto; }
.rt-sample svg { display: block; width: 100%; height: auto; border-radius: .9rem; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.rt-sample figcaption { margin-top: .5rem; text-align: center; font-size: .72rem; color: #64748b; }
/* real public-safe sample scans (blurred + SAMPLE watermark) */
.rt-sample-real { max-width: 460px; }
.rt-scans { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.rt-scan { display: flex; flex-direction: column; gap: .4rem; text-align: center; font-size: .7rem; font-weight: 600; color: #94a3b8; }
.rt-scan img { display: block; width: 100%; height: auto; border-radius: .6rem; background: #fff; box-shadow: 0 18px 40px -20px rgba(0,0,0,.85); transition: transform .2s; }
.rt-scan:hover img { transform: translateY(-2px); }
.rt-scan:hover span { color: var(--gold-1); }

/* ---- Draw results (member: our lines with matches; public: winning numbers only) ---- */
.tk-result { display: flex; flex-direction: column; gap: .4rem; padding: .65rem .75rem; border-radius: .8rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.tk-result.pending { color: #cbd5e1; font-size: .8rem; }
.tk-result small { font-size: .68rem; color: #94a3b8; line-height: 1.4; }
.tk-result small a { text-decoration: underline; }
.tk-result-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.res-badge { font-size: .66rem; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px; text-transform: none; font-weight: 800; }
.res-badge.win { color: #1a1206; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); }
.res-badge.none { color: #94a3b8; border: 1px solid rgba(255,255,255,.15); }
.ln-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.jp-balls.has-result .nb { opacity: .35; }
.jp-balls.has-result .nb.hit { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(244,192,74,.8); }
.ln-match { font-size: .66rem; color: #94a3b8; white-space: nowrap; }
.ln-match.won { color: var(--gold-1); font-weight: 700; white-space: normal; }
.tk-card.tk-won { border-color: rgba(244,192,74,.7); box-shadow: 0 0 0 1px rgba(244,192,74,.25), 0 20px 40px -24px rgba(244,192,74,.45); }

/* ---- CLAIM YOUR PRIZE (registered members of a won draw) ---- */
.claim-box { display: flex; flex-direction: column; gap: .4rem; padding: .75rem; border-radius: .9rem; background: rgba(244,192,74,.08); border: 1px solid rgba(244,192,74,.45); }
.claim-box small { font-size: .72rem; color: #cbd5e1; line-height: 1.45; }
.claim-box.ok { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.4); }
.claim-box.ok b { color: #6ee7b7; }
.claim-box.ended { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.15); }
.claim-box.ended b { color: #fca5a5; }
.claim-btn { width: 100%; padding: .9rem 1rem; font-size: .95rem; letter-spacing: .08em; font-weight: 900; }
.claim-box.big .claim-btn { font-size: 1.05rem; padding: 1rem 1.25rem; }
.claim-cd { color: #fff; font-variant-numeric: tabular-nums; }
.claim-banner { padding: 1.1rem 1.25rem; border-radius: 1.25rem; border: 1px solid rgba(244,192,74,.6); background: radial-gradient(500px 200px at 0% 0%, rgba(244,192,74,.18), transparent 70%), linear-gradient(180deg, #1b1840, #0f0e24); }
.claim-banner[hidden] { display: none; }
.claim-banner-head { display: flex; align-items: center; gap: .8rem; }
.claim-banner-head b { display: block; font-family: Montserrat, sans-serif; font-size: 1.25rem; font-weight: 900; color: #fff; }
.claim-banner-head small { color: #cbd5e1; font-size: .8rem; }
.claim-trophy { font-size: 2rem; }
.claim-banner-row { display: grid; gap: .75rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
@media (min-width: 768px) { .claim-banner-row { grid-template-columns: 220px 1fr; align-items: center; } }
.cb-name b { display: block; color: #fff; font-family: Montserrat, sans-serif; }
.cb-name small { color: #94a3b8; font-size: .75rem; }
.claim-box.info { background: rgba(255,255,255,.03); border-color: rgba(244,192,74,.25); }
.claim-box.info b { color: var(--gold-1); }

/* ---- List of Winners table (public + member) ---- */
.wl-box { padding: 1.25rem; }
.wl-wrap { overflow-x: auto; }
.wl { width: 100%; border-collapse: collapse; font-size: .85rem; color: #cbd5e1; }
.wl th { text-align: left; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); padding: .55rem .6rem; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.wl td { padding: .65rem .6rem; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.wl td small { display: block; font-size: .7rem; color: #94a3b8; margin-top: .15rem; }
.wl tr.wl-mine td { background: rgba(244,192,74,.07); }
.wl-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wl-you { color: var(--gold-1); }
.wl-prize { color: #fff; font-weight: 600; }
.ws { display: inline-block; font-size: .68rem; font-weight: 900; letter-spacing: .06em; padding: .18rem .5rem; border-radius: 4px; white-space: nowrap; }
.ws-open { color: #fdba74; background: rgba(249,115,22,.14); border: 1px solid rgba(249,115,22,.45); }
.ws-ok { color: #6ee7b7; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.45); }
.ws-off { color: #94a3b8; background: rgba(148,163,184,.08); border: 1px solid rgba(148,163,184,.3); }
.ws-cd { color: #fdba74 !important; font-variant-numeric: tabular-nums; font-weight: 700; }
.wl-claim { display: block; margin-top: .45rem; font-size: .7rem; padding: .45rem .7rem; }
@media (max-width: 720px) {
  .wl thead { display: none; }
  .wl, .wl tbody, .wl tr, .wl td { display: block; width: 100%; }
  .wl tr { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .wl td { border: 0; padding: .2rem .25rem; display: flex; gap: .75rem; justify-content: space-between; text-align: right; }
  .wl td::before { content: attr(data-l); flex: none; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); text-align: left; padding-top: .15rem; }
  .wl td > *:not(:first-child) { margin-left: 0; }
  .wl td small { margin-top: 0; }
  .wl-status { flex-wrap: wrap; }
}

/* ---- Our Winning Tickets (public celebration) ---- */
.wt-box { padding: 1.25rem; }
.wt-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 380px)); justify-content: center; }
.wt-grid > .m-empty { grid-column: 1 / -1; }
.wt-card { display: flex; flex-direction: column; gap: .9rem; padding: 1rem; border-radius: 1.1rem; background: rgba(255,255,255,.03); border: 1px solid rgba(244,192,74,.45); box-shadow: 0 20px 40px -26px rgba(244,192,74,.5); }
.wt-head span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.wt-head b { display: block; font-family: Montserrat, sans-serif; font-size: 1.2rem; font-weight: 900; color: #fff; }
.wt-head small { color: #94a3b8; font-size: .75rem; }
.wt-scan { display: block; border-radius: .8rem; overflow: hidden; background: #fff; }
.wt-scan img { display: block; width: 100%; max-height: 340px; object-fit: contain; background: #fff; transition: transform .2s; }
.wt-scan:hover img { transform: scale(1.02); }
.wt-noscan { padding: 3rem 1rem; text-align: center; color: #64748b; background: rgba(255,255,255,.04); font-size: .85rem; }
.wt-lbl { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .35rem; }
.wt-lbl span { color: #64748b; letter-spacing: .06em; text-transform: none; font-weight: 600; margin-left: .3rem; }
.wt-legend { display: block; font-size: .68rem; color: #94a3b8; margin-top: .25rem; }
.wt-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .6rem; padding: .3rem 0; }
.wt-line small { font-size: .68rem; color: #94a3b8; }
.wt-line.won small { color: var(--gold-1); font-weight: 700; }
.wt-line .nb.hit { background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); color: #1a1206; }
.wt-line .nb.nb-x1.hit { background: linear-gradient(180deg, #4ade80, #16a34a); color: #052e16; }
.wt-prize { margin-top: auto; padding: .8rem; border-radius: .8rem; background: rgba(244,192,74,.08); border: 1px solid rgba(244,192,74,.35); text-align: center; }
.wt-prize b { display: block; font-family: Montserrat, sans-serif; font-size: 1.6rem; font-weight: 900; }
.wt-prize small { color: #cbd5e1; font-size: .78rem; }
.wt-note { margin-top: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; color: #e2e8f0; font-size: .95rem; }

/* ---- MONTHLY JACKPOT DRAW (pool of unclaimed prizes: tools/forfeit-pool.php, tools/special-draw.php) ---- */
.sp-box { margin-top: 1.1rem; padding: 1.1rem 1.1rem 1rem; border-radius: 1rem; text-align: center; border: 1px solid rgba(250,204,21,.45); background: radial-gradient(120% 140% at 50% 0%, rgba(250,204,21,.16), rgba(255,255,255,.02) 70%); box-shadow: 0 20px 45px -28px rgba(250,204,21,.45); }
.sp-top { display: flex; justify-content: center; align-items: center; gap: .5rem; }
.sp-ico { font-size: 1.2rem; }
.sp-title { font-size: .8rem; font-weight: 900; letter-spacing: .18em; color: var(--gold-1); }
.sp-amt { margin-top: .35rem; font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 900; line-height: 1.15; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-next { margin-top: .35rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .6rem; font-size: .9rem; color: #cbd5e1; }
.sp-next b { color: #fff; }
.sp-cd { font-variant-numeric: tabular-nums; font-weight: 800; color: #1a1206; background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); border-radius: 999px; padding: .15rem .65rem; font-size: .82rem; }
.sp-note { margin: .55rem auto 0; max-width: 46rem; font-size: .84rem; color: #cbd5e1; line-height: 1.45; }
.sp-fine { margin: .4rem auto 0; max-width: 46rem; font-size: .68rem; color: #64748b; line-height: 1.4; }
.sp-fine a { text-decoration: underline; }

/* WEEKLY DRAW CALENDAR */
.wk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; }
.wk-day { display: flex; flex-direction: column; gap: .5rem; padding: .8rem .6rem; border-radius: 1.1rem; background: linear-gradient(180deg, #14142f, #0e0e22); border: 1px solid rgba(255,255,255,.08); min-width: 0; }
.wk-today { border-color: rgba(244,192,74,.7); box-shadow: 0 0 0 1px rgba(244,192,74,.35), 0 20px 40px -25px rgba(244,192,74,.5); }
.wk-dh b { display: block; font-family: Montserrat, sans-serif; font-weight: 800; color: #fff; font-size: .85rem; }
.wk-dh span { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; font-weight: 600; }
.wk-today .wk-dh span { color: var(--gold-1); }
.wk-item { display: flex; align-items: center; gap: .45rem; padding: .45rem; border-radius: .8rem; background: rgba(255,255,255,.03); }
.wk-item .jp-logo { width: 34px; height: 34px; flex: none; }
.wk-item .jp-logo img { width: 34px; height: 34px; }
.wk-past { opacity: .5; }
.wk-name { min-width: 0; }
.wk-name b { display: block; font-size: .72rem; line-height: 1.2; color: #e2e8f0; font-weight: 700; overflow-wrap: anywhere; }
.wk-name span { font-family: Montserrat, sans-serif; font-weight: 800; font-size: .8rem; color: var(--gold-1); }
.wk-none { font-size: .72rem; color: #64748b; }
@media (max-width: 1023px) { .wk-cal { grid-template-columns: 1fr; } .wk-day { padding: .9rem 1rem; } .wk-name b { font-size: .85rem; } }
