/* Betsin draw experience. Existing component hooks and API states are preserved. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --navy-900: #12171d;
  --navy-800: #171c23;
  --navy-700: #242b31;
  --navy-600: #303941;
  --gold: #f26b04;
  --gold-light: #ff963f;
  --gold-dark: #c95400;
  --gold-line: rgba(242,107,4, 0.22);
  --gold-line-strong: rgba(242,107,4, 0.4);
  --ink: #f6f7f8;
  --ink-muted: #adb5be;
  --ink-dim: #909ba6;
  --ok: #34d399;
  --danger: #f87171;
  --surface: linear-gradient(180deg, rgba(48,57,65, 0.72), rgba(36,43,49, 0.88));
  --surface-line: 1px solid rgba(242,107,4, 0.18);
  --surface-top: inset 0 1px 0 rgba(242,107,4, 0.3);
  --shadow: 0 20px 25px -5px rgba(18,23,29, 0.55), 0 10px 10px -5px rgba(18,23,29, 0.35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px;
  --r-lg: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-900); }
body { margin: 0; min-width: 320px; overflow-x: hidden; font: 16px/1.6 var(--font); color: var(--ink); background: linear-gradient(180deg, #171c23 0%, #242b31 22%, #242b31 58%, #12171d 100%) fixed; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.86rem; }
.center { text-align: center; }
.container { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(820px, calc(100% - 40px)); }

/* Cards (brand site's glass-effect) */
.card { background: var(--surface); border: var(--surface-line); border-radius: var(--r-lg); box-shadow: var(--surface-top), var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { color: var(--navy-900); background: linear-gradient(180deg, var(--gold-light), var(--gold)); box-shadow: 0 8px 20px rgba(242,107,4, 0.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(242,107,4, 0.4); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { color: var(--ink); border-color: var(--gold-line-strong); background: rgba(23,28,35, 0.4); }
.btn-ghost:hover { border-color: var(--gold); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(23,28,35, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--gold-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { display: block; width: 128px; height: auto; aspect-ratio: 496 / 238; filter: drop-shadow(0 0 14px rgba(242,107,4, 0.35)); }
.nav { display: flex; gap: 26px; font-size: 0.92rem; font-weight: 500; color: var(--ink-muted); }
.nav a:hover { color: #fff; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--gold-line-strong); border-radius: 999px; background: rgba(23,28,35, 0.6); font-size: 0.82rem; font-weight: 500; color: var(--gold-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-dim); }
.dot[data-state="active"] { background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { margin-top: 22px; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #fff; max-width: 820px; text-wrap: balance; }
.hero h1 span { color: var(--gold-light); }
.hero-text { max-width: 680px; margin-top: 18px; font-size: 1.06rem; color: var(--ink-muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.summary { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; margin-top: 44px; text-align: left; }
.summary-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-right: 1px solid var(--gold-line); }
.summary-item:last-child { border-right: 0; }
.summary-item > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; color: var(--gold); background: rgba(242,107,4, 0.12); }
.summary-item small { display: block; font-size: 0.74rem; color: var(--ink-muted); }
.summary-item b { display: block; font-size: 1.15rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.3; }
.summary-item em { display: block; font-style: normal; font-size: 0.76rem; color: var(--gold-light); }
.summary[data-state="loading"] b { color: var(--ink-dim); }
.summary-title { margin-top: 14px; font-size: 0.86rem; color: var(--ink-muted); }
.summary-title b { color: var(--ink); font-weight: 600; }

/* Sections */
.section { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: rgba(18,23,29, 0.35); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.015em; color: #fff; }
.section-text { margin-top: 10px; max-width: 640px; color: var(--ink-muted); }
.center .section-text { margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.step { position: relative; padding: 26px 24px 24px; }
.step-num { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-size: 0.86rem; font-weight: 700; }
.step .icon-lg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; color: var(--gold); background: rgba(242,107,4, 0.12); }
.step h3 { margin-top: 16px; font-size: 1.1rem; font-weight: 600; color: #fff; }
.step p { margin-top: 6px; font-size: 0.94rem; color: var(--ink-muted); }
.step p b { color: var(--ink); }

/* Tiers table + calculator */
.two-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 24px; align-items: start; }
.table-card { margin-top: 22px; overflow: hidden; }
.tiers-table { width: 100%; border-collapse: collapse; }
.tiers-table th { padding: 14px 20px; text-align: left; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); background: rgba(18,23,29, 0.4); border-bottom: 1px solid var(--gold-line); }
.tiers-table td { padding: 13px 20px; border-bottom: 1px solid rgba(242,107,4, 0.1); font-variant-numeric: tabular-nums; }
.tiers-table tr:last-child td { border-bottom: 0; }
.tiers-table td:last-child, .tiers-table th:last-child { text-align: right; }
.tiers-table td:last-child b { font-size: 1.1rem; color: var(--gold-light); }
.tiers-table tr.is-zero td:last-child b { color: var(--ink-dim); }
.tiers-table tr.is-match td { background: rgba(242,107,4, 0.14); }
.tiers-table tr.is-match td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.calc { padding: 24px; position: sticky; top: 90px; }
.calc h3 { font-size: 1.15rem; font-weight: 600; color: #fff; }
.calc > p { margin-top: 4px; font-size: 0.9rem; color: var(--ink-muted); }
.calc-field { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0 14px; border: 1px solid rgba(242,107,4, 0.3); border-radius: var(--r); background: rgba(23,28,35, 0.6); transition: border-color 150ms ease, box-shadow 150ms ease; }
.calc-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,107,4, 0.15); }
.calc-field span { color: var(--gold); font-weight: 600; }
.calc-field input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 1.1rem; font-weight: 600; }
.calc-field input::placeholder { color: var(--ink-dim); font-weight: 400; }
.calc-result { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.calc-result b { font-size: 3rem; line-height: 1; font-weight: 700; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.calc-result span { color: var(--ink-muted); font-weight: 500; }
.calc-result b.is-empty { color: var(--ink-dim); }
.calc-note { margin-top: 8px; font-size: 0.86rem; color: var(--ink-muted); }

/* Claim app */
.app-card { margin-top: 26px; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--gold-line); background: rgba(18,23,29, 0.4); }
.tabs button { flex: 1; padding: 16px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink-muted); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: color 150ms ease, border-color 150ms ease; }
.tabs button:hover { color: #fff; }
.tabs button.is-active { color: var(--gold-light); border-bottom-color: var(--gold); }
.ticket-app { display: flex; flex-direction: column; }
.claim { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); }
.claim-info { padding: 30px 28px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.claim-info h3, .query h3 { margin-top: 8px; font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; }
.claim-info .muted { margin-top: 8px; }
.active-draw-list { display: grid; gap: 10px; margin-top: 20px; }
.active-draw-card { position: relative; overflow: hidden; padding: 15px 16px 14px; border: 1px solid var(--gold-line); border-radius: var(--r); background: rgba(18,23,29, 0.38); box-shadow: inset 3px 0 0 var(--gold-dark); }
.active-draw-card[data-draw-type="monthly"] { background: linear-gradient(120deg, rgba(242,107,4, 0.1), rgba(18,23,29, 0.4) 48%); box-shadow: inset 3px 0 0 var(--gold-light); }
.active-draw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.active-draw-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; color: var(--gold-light); }
.active-draw-live { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 0.69rem; font-weight: 600; color: var(--ok); }
.active-draw-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1); }
.active-draw-card h4 { margin: 7px 0 0; color: #fff; font-size: 1rem; line-height: 1.35; font-weight: 600; }
.active-draw-card dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(242,107,4, 0.13); }
.active-draw-card dt { font-size: 0.67rem; color: var(--ink-dim); }
.active-draw-card dd { overflow-wrap: anywhere; margin-top: 2px; color: var(--ink); font-size: 0.79rem; font-weight: 600; line-height: 1.35; font-variant-numeric: tabular-nums; }
.claim-box { display: grid; align-content: center; gap: 12px; padding: 30px 28px; border-left: 1px solid var(--gold-line); background: rgba(18,23,29, 0.35); }
.claim-label { font-size: 0.8rem; color: var(--ink-muted); }
.claim-count { display: flex; align-items: baseline; gap: 8px; }
.claim-count b { font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.claim-count span { font-weight: 500; color: var(--ink-muted); }
.is-loading .claim-box { opacity: 0.6; }

.query { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 30px 28px; }
.query .muted { margin-top: 8px; }
.query-count { display: flex; flex-direction: column; align-items: flex-end; }
.query-count b { font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--gold-light); }
.query-count span { font-size: 0.82rem; color: var(--ink-muted); }

.result { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 28px; border-top: 1px solid var(--gold-line); background: rgba(52, 211, 153, 0.08); }
.result-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 700; }
.result h3 { font-size: 1.02rem; font-weight: 600; color: #fff; }
.result p { font-size: 0.84rem; color: var(--ink-muted); }
.result > strong { font-size: 1.4rem; color: var(--gold-light); }
.result.is-lost { background: rgba(18,23,29, 0.4); }
.result.is-lost .result-mark { background: var(--navy-600); color: var(--ink-muted); }

.wallet { border-top: 1px solid var(--gold-line); }
.wallet-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 28px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.wallet-toggle span:first-child { display: grid; gap: 2px; }
.wallet-toggle small { font-size: 0.76rem; color: var(--ink-muted); }
.wallet-toggle strong { font-weight: 600; }
.chevron { color: var(--gold); transition: transform 180ms ease; }
.wallet-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.ticket-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; max-height: 240px; overflow: auto; border-top: 1px solid var(--gold-line); background: var(--gold-line); }
.ticket-code { display: grid; gap: 2px; padding: 12px 18px; background: var(--navy-800); }
.ticket-code code { font-size: 0.86rem; font-weight: 600; color: var(--gold-light); }
.ticket-code span { font-size: 0.72rem; color: var(--ink-dim); }
.notice { padding: 14px 28px; border-top: 1px solid rgba(248, 113, 113, 0.35); background: rgba(90, 20, 26, 0.5); color: #ffd6d6; font-size: 0.9rem; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 18px; font-size: 0.88rem; color: var(--ink-muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 16px; height: 16px; color: var(--ok); }

/* Direct-iframe fallback: parent mesaj protokolünü kullanmıyorsa bilet ekranı child içinde açılır. */
.has-ticket-modal { overflow: hidden; }
.ticket-fallback-modal { position: absolute; bottom: auto; width: min(900px, calc(100% - 24px)); height: min(700px, calc(100vh - 24px)); max-width: none; max-height: none; margin: 0 auto; padding: 0; overflow: hidden; border: 1px solid var(--gold-line-strong); border-radius: var(--r-lg); color: var(--ink); background: var(--navy-800); box-shadow: 0 28px 80px rgba(18,23,29, 0.78); overscroll-behavior: contain; }
.ticket-fallback-modal::backdrop { background: rgba(12,16,20, 0.82); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.ticket-fallback-modal[open] { animation: ticket-modal-in 220ms cubic-bezier(0, 0, 0.2, 1); }
.ticket-fallback-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--gold-line); background: var(--navy-900); }
.ticket-fallback-head > div { display: grid; gap: 1px; }
.ticket-fallback-head strong { color: #fff; font-size: 1rem; }
.ticket-fallback-head small { color: var(--ink-muted); font-size: 0.74rem; }
.ticket-fallback-head button { min-width: 76px; min-height: 42px; padding: 0 15px; border: 1px solid var(--gold-line-strong); border-radius: 10px; color: var(--gold-light); background: rgba(48,57,65, 0.72); font-weight: 600; cursor: pointer; transition: border-color 120ms ease-out, background-color 120ms ease-out; }
.ticket-fallback-head button:hover { border-color: var(--gold); background: var(--navy-600); }
.ticket-fallback-head button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
#ticket-fallback-frame { display: block; width: 100%; height: calc(100% - 66px); border: 0; background: var(--navy-800); }
@keyframes ticket-modal-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { padding: 0 22px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; color: #fff; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .chevron { transform: rotate(180deg); }
.faq p { padding: 0 0 18px; color: var(--ink-muted); font-size: 0.95rem; }
.faq p b { color: var(--ink); }

/* CTA + footer */
.cta { padding-bottom: clamp(64px, 8vw, 100px); }
.cta .btn { margin-top: 22px; }
.footer { border-top: 1px solid var(--gold-line); background: var(--navy-900); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 28px 0; font-size: 0.86rem; color: var(--ink-muted); }
.footer p { flex: 1; min-width: 240px; }
.footer small { color: var(--ink-dim); }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .summary { grid-template-columns: 1fr 1fr; }
  .summary-item { border-bottom: 1px solid var(--gold-line); }
  .summary-item:nth-child(2n) { border-right: 0; }
  .summary-item:nth-last-child(-n + 2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .calc { position: static; }
  .claim { grid-template-columns: 1fr; }
  .claim-box { border-left: 0; border-top: 1px solid var(--gold-line); }
}
@media (max-width: 560px) {
  .container, .container.narrow { width: calc(100% - 28px); }
  .brand img { width: 108px; }
  .hero-actions .btn { width: 100%; }
  .summary { grid-template-columns: 1fr; }
  .summary-item { border-right: 0; border-bottom: 1px solid var(--gold-line); }
  .summary-item:last-child { border-bottom: 0; }
  .query { grid-template-columns: 1fr; }
  .query-count { flex-direction: row; align-items: baseline; gap: 8px; }
  .result { grid-template-columns: auto minmax(0, 1fr); }
  .result > strong { grid-column: 2; }
  .claim-info, .claim-box, .query, .result, .wallet-toggle, .notice { padding-left: 18px; padding-right: 18px; }
  .active-draw-card { padding: 14px; }
  .active-draw-card dl { grid-template-columns: 1fr; gap: 8px; }
  .ticket-fallback-modal { top: 0; width: calc(100% - 12px); height: min(720px, 100vh); border-radius: 0 0 12px 12px; }
  .ticket-fallback-head { padding-left: 14px; }
  .ticket-fallback-head small { display: none; }
  .tiers-table th, .tiers-table td { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Betsin — charcoal canvas, orange actions, a live draw ticket. */
:root {
  --surface: #20272e;
  --surface-line: 1px solid #343c44;
  --surface-top: 0 0 transparent;
  --shadow: none;
  --gold-line: #343c44;
  --gold-line-strong: #59616a;
  --r: 8px;
  --r-lg: 14px;
}
html { background: #171c23; scroll-padding-top: 100px; }
body { background: #171c23; font-size: 15px; line-height: 1.7; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #ff963f; outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: #f26b04; color: #171c23; font-weight: 800; }
.skip-link:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 80px)); }
.container.narrow { width: min(1180px, calc(100% - 80px)); }
.card { backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn { font-size: 13px; font-weight: 800; border-radius: 8px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 14px; }
.btn-primary { background: #f26b04; color: #12171d; box-shadow: none; }
.btn-primary:hover { background: #ff8628; box-shadow: none; }
.btn-ghost { border-color: #48515a; background: transparent; }
.btn-ghost:hover { background: #242b31; border-color: #adb5be; }
.header { background: #171c23f5; border-bottom: 1px solid #343c44; }
.header-inner { min-height: 88px; gap: 30px; }
.brand img { width: 165px; height: 50px; aspect-ratio: 165 / 50; object-fit: contain; filter: none; }
.nav { gap: 30px; font-size: 12px; font-weight: 700; }
.nav a { position: relative; padding: 32px 0; }
.nav-home { color: #fff; }
.nav-home::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #f26b04; }
.header .btn { min-height: 42px; padding: 0 20px; }
.hero { position: relative; padding: 70px 0 72px; text-align: left; border-bottom: 1px solid #343c44; }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 68px; align-items: center; }
.hero-copy { min-width: 0; }
.badge { max-width: 100%; padding: 0; border: 0; background: none; color: #b9c1c9; font-size: 11px; font-weight: 600; border-radius: 0; }
.dot { flex: 0 0 6px; width: 6px; height: 6px; }
.hero h1 { font-size: clamp(38px,4.1vw,59px); margin-top: 22px; font-weight: 800; letter-spacing: -.045em; line-height: 1.12; text-wrap: initial; }
.hero h1 span { color: #ff8628; }
.hero-text { font-size: 14px; max-width: 420px; margin-top: 24px; line-height: 1.85; }
.hero-actions { justify-content: flex-start; margin-top: 30px; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 11px; color: #adb5be; }
.hero-note .icon { width: 16px; height: 16px; }
.draw-ticket { position: relative; min-width: 0; background: #242b31; border: 1px solid #51504b; border-top: 4px solid #f26b04; border-radius: 14px; box-shadow: 0 24px 50px #0b0e1338; }
.ticket-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 28px; padding: 20px 0 18px; border-bottom: 1px solid #3b434a; }
.ticket-heading img { width: 119px; height: 36px; object-fit: contain; }
.ticket-heading > span { font-size: 9px; font-weight: 800; letter-spacing: .14em; color: #b6bec6; }
.summary { grid-template-columns: 1fr 1fr; margin: 0; padding: 0 28px; }
.summary-item { min-width: 0; padding: 20px 0; border: 0; }
.summary-item:nth-child(3) { padding-left: 26px; border-left: 1px solid #3b434a; }
.summary-item small { font-size: 11px; color: #b6bec6; }
.summary-item b { margin-top: 5px; font-size: 25px; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.summary-item .unit { font-size: 14px; font-weight: 500; color: #adb5be; }
.summary-pool { grid-column: 1/-1; justify-content: space-between; gap: 12px; padding: 26px 0 22px; border-bottom: 1px solid #3b434a; }
.summary-pool > div { min-width: 0; }
.summary-pool b { font-size: clamp(38px,4vw,55px); font-weight: 800; color: #ff963f; line-height: 1.15; }
.currency { margin-right: 6px; font-size: .62em; font-weight: 500; }
.summary-pool > .icon { width: 52px; height: 52px; padding: 11px; background: #f26b0412; color: #ff963f; border: 1px solid #f26b0430; border-radius: 12px; }
.summary[data-state="loading"] b, .summary[data-state="error"] b { color: #909ba6; }
.summary-deadline { grid-column: 1/-1; padding: 18px 0 20px; border-top: 1px solid #3b434a; }
.summary-deadline > .icon { width: 20px; height: 20px; padding: 0; background: none; border-radius: 0; color: #adb5be; }
.summary-deadline > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 12px; flex: 1; min-width: 0; }
.summary-deadline b { margin: 0; font-size: 12px; letter-spacing: 0; text-align: right; }
.summary-deadline em { grid-column: 1/-1; font-size: 11px; color: #ff963f; }
.ticket-perforation { position: relative; border-top: 1px dashed #62686d; margin: 0 14px; }
.ticket-perforation::before, .ticket-perforation::after { content: ''; position: absolute; top: -10px; width: 20px; height: 20px; background: #171c23; border: 1px solid #51504b; border-radius: 50%; }
.ticket-perforation::before { left: -25px; clip-path: inset(0 0 0 50%); }
.ticket-perforation::after { right: -25px; clip-path: inset(0 50% 0 0); }
.ticket-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 28px 22px; }
.summary-title { margin: 0; font-size: 10px; min-width: 0; }
.summary-title b { display: block; margin-top: 5px; color: #e5e8eb; font-size: 11px; overflow-wrap: anywhere; }
.ticket-bars { flex: 0 0 65px; height: 30px; opacity: .55; background: repeating-linear-gradient(90deg,#adb5be 0 1px,transparent 1px 3px,#adb5be 3px 6px,transparent 6px 8px,#adb5be 8px 10px,transparent 10px 14px); }
.section { padding: 66px 0; scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: baseline; gap: 16px; }
.section-index { flex: 0 0 auto; color: #ff963f; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.section-title { font-size: clamp(25px,2.7vw,34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; text-wrap: balance; }
.section-text { max-width: 580px; font-size: 13px; line-height: 1.8; margin-top: 12px; }
.section-alt { background: #14191f; border-color: #343c44; }
.steps { gap: 0; margin-top: 34px; counter-reset: steps; }
.step { padding: 4px 34px 4px 0; background: none; box-shadow: none; border: 0; border-radius: 0; }
.step + .step { padding-left: 34px; border-left: 1px solid #343c44; }
.step-num { top: 10px; right: 28px; height: auto; width: auto; color: #68727c; font-size: 27px; font-weight: 500; border-radius: 0; background: none; }
.step .icon-lg { width: 38px; height: 38px; padding: 7px; color: #ff963f; border: 1px solid #f26b0438; border-radius: 8px; background: #f26b040a; }
.step h3 { margin-top: 17px; font-size: 16px; font-weight: 800; }
.step p { margin-top: 8px; font-size: 12px; line-height: 1.9; }
.two-col { grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: 64px; align-items: center; }
.table-card { margin-top: 24px; border-radius: 0; border: 0; background: transparent; }
.tiers-table th { background: none; padding: 12px 0; font-size: 9px; letter-spacing: .1em; border-color: #3b434a; }
.tiers-table td { padding: 11px 0; border-color: #2b3239; font-size: 12px; }
.tiers-table td:last-child { color: #adb5be; }
.tiers-table td:last-child b { display: inline-block; min-width: 30px; font-size: 14px; color: #f6f7f8; }
.tiers-table tr.is-match td { background: #f26b0414; }
.tiers-table tr.is-match td:first-child { padding-left: 12px; }
.tiers-table tr.is-match td:last-child { padding-right: 12px; }
.tiers-table tr.is-match td:last-child b { color: #ff963f; }
.calc { position: static; padding: 30px; border-color: #495058; border-radius: 12px; background: #242b31; }
.calc-heading { display: flex; align-items: center; gap: 12px; }
.calc-heading .icon { color: #ff963f; }
.calc h3 { font-size: 20px; font-weight: 800; }
.calc > p { font-size: 12px; margin-top: 12px; }
.calc-label { display: block; font-size: 11px; font-weight: 700; color: #cbd0d5; margin-top: 28px; }
.calc-field { margin-top: 9px; border-color: #515a64; background: #171c23; }
.calc-field input { height: 58px; font-size: 17px; }
.calc-field span { color: #b6bec6; }
.calc-result { padding-top: 28px; margin-top: 28px; border-top: 1px dashed #515a64; gap: 12px; }
.calc-result b { font-size: 70px; font-weight: 800; letter-spacing: -.05em; }
.calc-result span { font-size: 13px; }
.calc > .calc-note { min-height: 44px; font-size: 11px; line-height: 1.8; margin-top: 14px; }
.app-card { border-color: #434b53; border-radius: 12px; margin-top: 30px; }
.tabs { gap: 28px; padding: 0 28px; background: #242b31; }
.tabs button { flex: 0 1 auto; padding: 18px 0; font-size: 12px; }
.tabs button.is-active { color: #fff; border-bottom-color: #f26b04; }
.claim { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); }
.claim-info { padding: 32px; }
.claim-info h3, .query h3 { font-size: 25px; letter-spacing: -.025em; }
.claim-info .muted, .query .muted { font-size: 13px; }
.eyebrow { font-size: 10px; color: #ff963f; }
.claim-box { padding: 32px; background: #191f26; }
.claim-label { font-size: 11px; }
.claim-count { gap: 12px; flex-wrap: wrap; }
.claim-count b { font-size: 58px; font-weight: 800; }
.claim-count span { font-size: 11px; }
.claim-box .small { font-size: 11px; }
.active-draw-card { box-shadow: none; background: #191f26; border-color: #414951; border-left: 3px solid #f26b04; border-radius: 6px; }
.active-draw-card[data-draw-type="monthly"] { background: #191f26; box-shadow: none; border-left-color: #ff963f; }
.active-draw-card dl { border-color: #343c44; }
.active-draw-card dt { color: #adb5be; }
.trust { justify-content: flex-start; gap: 14px 30px; margin-top: 20px; font-size: 11px; }
.trust .icon { color: #adb5be; }
.faq { gap: 0; margin-top: 28px; }
.faq details { padding: 0; border: 0; border-bottom: 1px solid #343c44; border-radius: 0; background: none; box-shadow: none; }
.faq summary { padding: 21px 0; font-size: 14px; }
.faq p { max-width: 840px; font-size: 13px; line-height: 1.9; padding-bottom: 22px; }
.faq .chevron { color: #adb5be; width: 17px; height: 17px; }
.faq details[open] .chevron { color: #ff963f; }
.cta { padding: 58px 0; }
.cta .container { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; text-align: left; align-items: center; }
.cta .section-title { font-size: 30px; }
.cta .section-text { grid-column: 1; margin: 0; }
.cta .btn { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.footer { background: #12171d; }
.footer-inner { padding: 28px 0; gap: 32px; font-size: 11px; }
.footer img { width: 124px; height: auto; aspect-ratio: 165 / 50; object-fit: contain; }
.footer p { max-width: 590px; }
.footer small { margin-left: auto; }
.ticket-fallback-modal { border-color: #515a64; border-radius: 12px; }
.ticket-fallback-head { background: #171c23; }
.ticket-fallback-head button { background: #242b31; }
@media (max-width: 1050px) {
  .container, .container.narrow { width: calc(100% - 48px); }
  .hero-inner { gap: 32px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hero h1 { font-size: 44px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 0 17px; font-size: 12px; }
  .two-col { gap: 32px; }
  .nav { gap: 20px; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .summary { grid-template-columns: 1fr 1fr; }
  .summary-item { border-bottom: 0; }
  .summary-pool { border-bottom: 1px solid #3b434a; }
  .summary-item:nth-child(3) { border-left: 1px solid #3b434a; }
  .summary-deadline { border-top: 1px solid #3b434a; }
  .claim-box { border-top: 0; border-left: 1px solid #343c44; }
  .two-col { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 145px; height: 44px; }
  .hero { padding: 40px 0 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(38px,7.5vw,55px); }
  .hero-text { max-width: 500px; }
  .hero-actions .btn { padding: 0 22px; font-size: 13px; }
  .draw-ticket { width: 100%; max-width: 540px; }
  .summary-pool b { font-size: 50px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 27px; }
  .steps { grid-template-columns: 1fr; margin-top: 24px; }
  .step, .step + .step { display: grid; grid-template-columns: 42px 1fr; gap: 0 18px; padding: 22px 30px 22px 0; border: 0; border-bottom: 1px solid #343c44; }
  .step:last-child { border-bottom: 0; padding-bottom: 0; }
  .step .icon-lg { grid-column: 1; grid-row: 1/3; }
  .step h3 { grid-column: 2; margin: 0; }
  .step p { grid-column: 2; margin-top: 4px; }
  .step-num { right: 0; top: 22px; font-size: 20px; }
  .two-col { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .two-col > * { min-width: 0; }
  .calc { padding: 26px; }
  .claim { grid-template-columns: 1fr; }
  .claim-info, .claim-box { padding: 26px; }
  .claim-box { border-left: 0; border-top: 1px solid #343c44; }
  .active-draw-card dl { grid-template-columns: 1fr 1fr; }
  .trust { gap: 10px 18px; font-size: 10px; }
  .cta .container { display: block; }
  .cta .section-text { margin-top: 12px; }
  .cta .btn { margin-top: 24px; }
  .footer-inner { gap: 20px; }
  .footer p { flex-basis: calc(100% - 170px); min-width: 0; }
  .footer small { margin-left: 0; }
}
@media (max-width: 420px) {
  .container, .container.narrow { width: calc(100% - 36px); }
  .header-inner { gap: 16px; }
  .brand img { width: 125px; height: 38px; }
  .header .btn { padding: 0 14px; font-size: 11px; }
  .hero h1 { font-size: 37px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { min-height: 50px; padding: 0 12px; font-size: 11px; gap: 6px; }
  .hero-text { font-size: 13px; }
  .ticket-heading { margin: 0 20px; }
  .ticket-heading > span { font-size: 8px; }
  .summary { padding: 0 20px; }
  .summary-item b { font-size: 22px; }
  .summary-pool b { font-size: 44px; }
  .summary-deadline b { font-size: 11px; }
  .ticket-bottom { padding: 18px 20px; }
  .section-heading { gap: 10px; }
  .section-title { font-size: 25px; }
  .tabs { padding: 0 20px; gap: 24px; }
  .tabs button { font-size: 11px; }
  .claim-info, .claim-box { padding: 22px; }
  .claim-info h3, .query h3 { font-size: 23px; }
  .cta .section-title { font-size: 27px; }
  .calc { padding: 22px; }
  .calc h3 { font-size: 18px; }
  .tiers-table th { font-size: 8px; letter-spacing: .04em; }
  .tiers-table td { font-size: 11px; }
}
@media (max-width: 360px) {
  .summary-pool > .icon { display: none; }
  .summary-pool b { font-size: 40px; }
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.prize-jump{display:inline-flex;align-items:center;gap:8px;margin-top:8px;color:#ff963f;font-size:14px;font-weight:700}
.prize-jump .icon{width:16px;height:16px}
.prize-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px;margin-top:28px}
.prize-card{padding:26px;min-width:0}.prize-card h3{margin:8px 0 20px;font-size:20px;line-height:1.4}
.prize-table-wrap{max-height:380px;overflow:auto}.prize-card table{width:100%;border-collapse:collapse;text-align:left}
.prize-card th{font-size:11px;color:var(--ink-muted);font-weight:600;padding:0 0 12px}.prize-card td{padding:14px 0;border-top:1px solid #3b434a;font-size:13px}
.prize-card th:last-child,.prize-card td:last-child{text-align:right}.prize-card td:last-child{font-weight:800;color:#ff963f;font-variant-numeric:tabular-nums}
.ticket-history{border-top:1px solid #3b434a}.ticket-history-item{border-bottom:1px solid #3b434a}
.ticket-history-item summary{display:flex;justify-content:space-between;gap:16px;padding:20px 28px;cursor:pointer;font-size:13px}
.ticket-history-item summary span:last-child{color:#ff963f;font-weight:700}.ticket-history-item>div{padding:0 28px 20px;font-size:12px;color:var(--ink-muted)}
.ticket-history-item code{display:inline-block;margin:5px 8px 0 0}
@media(max-width:560px){.prize-card{padding:20px}.prize-card h3{font-size:18px}.prize-card td{font-size:12px}.ticket-history-item summary{flex-direction:column;gap:6px;padding:18px}.ticket-history-item>div{padding:0 18px 18px}}
