:root {
  color-scheme: light;
  --orange: #ff5a00;
  --green: #2fbf2f;
  --bg: #eef1f6;
  --ink: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #eef1f5;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* lighter type: tame Tailwind weight utilities used across the template */
.font-black { font-weight: 700 !important; }
.font-bold { font-weight: 600 !important; }
.font-semibold { font-weight: 500 !important; }


body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
svg { display: block; }

body { font-weight: 400; }

a, button {
  transition: transform 160ms var(--ease), background-color 160ms ease, color 160ms ease,
    opacity 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
}
button { cursor: pointer; border: 0; background: none; font-family: inherit; }
button:active, a:active { transform: translateY(1px); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes shine { 0% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #e2e7ef;
  background: rgba(242, 244, 248, 0.95);
  backdrop-filter: blur(8px);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 196px;
  height: 44px;
  padding: 4px 6px 4px 18px;
  border: 5px solid var(--orange);
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}
.brand-mark i { width: 30px; height: 30px; margin-left: auto; border-radius: 999px; background: var(--orange); }

.nav-link { color: var(--ink); }
.nav-link.muted { color: var(--muted); }
.nav-link:hover { color: var(--orange); }

.store-ico { display: grid; width: 30px; height: 30px; place-items: center; color: #1f2937; }
.store-ico svg { width: 20px; height: 20px; }

.theme-toggle, .size-toggle {
  display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: #e2e7ef;
}
.theme-btn, .size-btn {
  display: grid; height: 30px; min-width: 34px; place-items: center; border-radius: 8px; color: #64748b; font-size: 16px; font-weight: 700;
}
.size-btn { align-items: baseline; gap: 1px; padding: 0 7px; font-size: 11px; }
.size-btn span { font-size: 14px; }
.theme-btn.is-active, .size-btn.is-active { background: #fff; color: #111827; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12); }
.theme-btn svg, .size-btn svg { width: 16px; height: 16px; }

.btn-login { border-radius: 8px; background: var(--orange); padding: 10px 20px; font-size: 14px; font-weight: 700; color: #fff; }
.btn-reg { border-radius: 8px; background: var(--green); padding: 10px 20px; font-size: 14px; font-weight: 700; color: #fff; }
.btn-login:hover, .btn-reg:hover { transform: translateY(-1px); }

/* ---------- panels ---------- */
.panel { border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); }

/* ---------- left info block (replaces sports list) ---------- */
.info-aside { display: flex; flex-direction: column; gap: 12px; }

.info-hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 20px 18px;
  background: linear-gradient(150deg, #161616, #050505);
  color: #fff;
}
.info-hero-shine { display: none; }
.info-kicker {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 90, 0, 0.5); background: rgba(255, 90, 0, 0.16); color: #ff9a5c;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.info-kicker svg { width: 12px; height: 12px; }
.info-bonus {
  display: flex; align-items: flex-start; margin-top: 10px; font-style: italic; font-weight: 700; line-height: 0.9;
}
.info-bonus-up { font-size: 30px; color: var(--orange); margin-top: 0.08em; }
.info-bonus-num {
  font-size: 64px;
  background: linear-gradient(180deg, #fff 25%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.info-bonus-pct { font-size: 38px; color: var(--orange); margin-top: 0.06em; }
.info-bonus-sub { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }

.info-code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding: 9px 10px 9px 14px; border-radius: 10px;
  border: 1px dashed rgba(255, 90, 0, 0.55); background: rgba(255, 90, 0, 0.1); cursor: pointer; outline: none;
}
.info-code:hover { background: rgba(255, 90, 0, 0.16); }
.info-code:focus-visible { box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.3); }
.info-code small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 10px; font-weight: 500; }
.info-code b { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 0.05em; }
.info-code .copy { padding: 6px 11px; border-radius: 7px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 600; }
.info-code.copied .copy { background: var(--green); }

.info-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 12px; padding: 13px; border-radius: 10px;
  background: var(--orange); color: #fff; font-size: 14px; font-weight: 700;
}
.info-cta svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.info-cta:hover svg { transform: translateX(4px); }

.info-rows { padding: 6px 14px; }
.info-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; border-bottom: 1px solid var(--line); font-size: 13px;
}
.info-row:last-child { border-bottom: 0; }
.info-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 500; }
.info-row .ic { display: grid; width: 22px; place-items: center; color: var(--orange); }
.info-row .ic svg { width: 18px; height: 18px; }
.info-row b { color: var(--muted); font-weight: 600; }

.info-steps { padding: 14px; }
.info-steps h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.info-step { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.info-step:last-child { border-bottom: 0; }
.info-step .n {
  flex: 0 0 auto; display: grid; width: 24px; height: 24px; place-items: center;
  border-radius: 7px; background: rgba(255, 90, 0, 0.12); color: var(--orange); font-size: 12px; font-weight: 700;
}
.info-step p { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-weight: 600; }
.info-step b { color: var(--ink); font-weight: 600; }

.info-note { padding: 12px 14px; font-size: 11px; line-height: 1.5; color: var(--faint); font-weight: 600; }

/* ---------- banner ---------- */
.banner-wrap { position: relative; overflow: hidden; border-radius: 12px; background: #050505; }
.banner-wrap img { display: block; width: 100%; height: auto; }
.banner-skeleton {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #14161c 30%, #20242e 50%, #14161c 70%);
  background-size: 200% 100%; animation: shine 1.4s linear infinite;
}
.banner-arrow {
  position: absolute; top: 50%; display: grid; width: 34px; height: 34px; place-items: center;
  transform: translateY(-50%); border-radius: 999px; background: rgba(15, 23, 42, 0.45); color: #fff; font-size: 22px; font-weight: 700;
}
.banner-arrow.left { left: 12px; }
.banner-arrow.right { right: 12px; }
.banner-dots { position: absolute; bottom: 12px; left: 50%; display: flex; gap: 6px; transform: translateX(-50%); }
.banner-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); transition: width 320ms var(--ease), background-color 320ms ease; }
.banner-dots span.is-active { width: 18px; background: var(--orange); }

/* ---------- promo chips ---------- */
.promo-chip {
  display: grid; place-items: center; align-content: center; gap: 6px; flex: 0 0 90px; height: 94px;
  padding: 8px; border-radius: 12px; color: #fff; font-weight: 700;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}
.promo-chip:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 26px rgba(15, 23, 42, 0.22); }
.promo-chip span { font-size: 22px; line-height: 1; }
.promo-chip small { max-width: 78px; font-size: 10.5px; line-height: 1.15; text-align: center; opacity: 0.95; }

/* ---------- match hero ---------- */
.match-hero {
  position: relative; overflow: hidden; min-height: 230px; border-radius: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, #161616, #050505);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}
.match-hero:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(5, 5, 5, 0.3); }
.match-stripe {
  position: absolute; inset: 0 auto 0 0; width: 150px;
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.85), rgba(13, 148, 136, 0.55), rgba(37, 99, 235, 0.55), transparent);
  transform: skewX(-8deg) translateX(-30px);
}
.odd-btn {
  display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 8px 14px;
  border-radius: 8px; background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 700;
}
.odd-btn:hover { background: rgba(255, 90, 0, 0.9); }
.odd-btn span { opacity: 0.6; }

/* ---------- live tabs ---------- */
.live-tab { display: grid; flex: 0 0 48px; height: 48px; place-items: center; border-radius: 12px; background: #dde2ea; color: #475569; font-weight: 700; }
.live-tab.is-active { background: #fff; color: var(--orange); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12); }
.live-tab svg { width: 20px; height: 20px; }

/* ---------- event card ---------- */
.event-card {
  display: flex; align-items: center; gap: 10px; min-height: 74px; padding: 10px 12px;
  border-radius: 12px; background: #fff; font-size: 14px;
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1); }
.event-card > .grow { flex: 1 1 auto; min-width: 0; }
.event-card .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-sub { margin-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--faint); }
.live-dot { padding: 1px 5px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.score { flex: 0 0 auto; text-align: right; color: var(--orange); font-weight: 700; line-height: 1.25; }
.odds { display: flex; flex: 0 0 auto; gap: 6px; }
.odd { display: grid; place-items: center; width: 96px; min-height: 46px; border-radius: 8px; border: 1px solid transparent; background: #eef1f5; color: #111827; font-weight: 700; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.odd:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }
.event-card.has-three .odd { width: 70px; }

.event-meta { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 10px; color: #cbd5e1; }
.event-meta svg { width: 16px; height: 16px; }

/* ---------- right coupon ---------- */
.coupon-head { display: flex; align-items: center; gap: 8px; }
.coupon-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #f1f5f9; color: #64748b; }
.coupon-icon svg { width: 15px; height: 15px; }
.coupon-empty { display: grid; min-height: 220px; place-items: center; border-radius: 12px; background: #f8fafc; color: var(--faint); font-size: 14px; font-weight: 600; text-align: center; padding: 20px; }
.coupon-note { border-radius: 12px; background: #f8fafc; padding: 12px 14px; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--muted); }

/* ---------- bottom bars ---------- */
.coupon-bar {
  position: fixed; bottom: 16px; right: 96px; z-index: 20; display: flex; align-items: center; gap: 22px;
  width: min(360px, calc(100% - 128px)); padding: 16px 22px; border-radius: 14px; background: var(--orange);
  color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16); cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}
.coupon-bar:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22); }
.coupon-pill { display: grid; min-width: 26px; height: 26px; place-items: center; padding: 0 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); font-size: 13px; }
.chat-fab {
  position: fixed; bottom: 16px; right: 20px; z-index: 20; display: grid; width: 56px; height: 56px;
  place-items: center; border-radius: 999px; background: var(--orange); color: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}
.chat-fab:hover { transform: translateY(-3px) rotate(-8deg); }
.chat-fab svg { width: 24px; height: 24px; }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(4px); animation: modal-fade 240ms ease both;
}
.modal-backdrop.hidden { display: none; }
.modal-panel {
  position: relative; width: min(100%, 460px); border-radius: 16px; background: #fff; padding: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32); animation: modal-rise 360ms var(--ease) both;
}
.modal-close { position: absolute; top: 16px; right: 16px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: #f1f5f9; color: #64748b; font-size: 26px; font-weight: 700; }
.modal-close:hover { background: #e2e8f0; color: var(--ink); }
.modal-eyebrow { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); }
.modal-title { margin: 8px 0 0; font-size: 25px; font-weight: 700; color: var(--ink); }
.modal-text { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.modal-code { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; padding: 12px 18px; border-radius: 12px; border: 1px dashed rgba(255, 90, 0, 0.4); background: rgba(255, 90, 0, 0.06); }
.modal-code small { color: var(--muted); font-size: 12px; font-weight: 500; }
.modal-code b { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; }
.modal-primary { display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px; border-radius: 12px; background: var(--orange); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12); }
.modal-primary:hover { transform: translateY(-2px); background: #ff6a17; }
.modal-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- modal phone form ---------- */
.modal-form { margin-top: 4px; }
.modal-field-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink); }
.modal-input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid #e2e7ef; background: #f8fafc; color: var(--ink);
  font-size: 18px; font-weight: 600; letter-spacing: 0.02em; outline: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.modal-input::placeholder { color: #aab4c2; font-weight: 500; letter-spacing: normal; }
.modal-input:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.14); }
.modal-input.is-invalid { border-color: #e23434; background: #fff5f5; }
.modal-hint { margin: 8px 0 16px; font-size: 12px; font-weight: 500; color: var(--muted); }
.modal-hint.is-error { color: #e23434; }

/* step indicator */
.modal-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.modal-step-dot { width: 10px; height: 10px; border-radius: 999px; background: #e2e7ef; transition: background-color 240ms var(--ease); }
.modal-step-dot.is-active { background: var(--orange); }
.modal-step-line { flex: 1; height: 2px; border-radius: 999px; background: #e2e7ef; }

/* bonus payout preview on step 2 */
.modal-payout {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 16px; padding: 13px 18px; border-radius: 12px;
  background: rgba(255, 90, 0, 0.08); border: 1px solid rgba(255, 90, 0, 0.2);
}
.modal-payout span { color: var(--muted); font-size: 13px; font-weight: 600; }
.modal-payout b { color: var(--orange); font-size: 22px; font-weight: 700; }

/* once-only note */
.modal-once { margin: 14px 0 0; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--muted); text-align: center; }
.modal-secondary { width: 100%; margin-top: 12px; padding: 13px; border-radius: 12px; background: #f1f5f9; color: var(--muted); font-size: 14px; font-weight: 600; }
.modal-secondary:hover { color: var(--ink); background: #e2e8f0; }

.payment-view { margin-top: 4px; }
.payment-qr-box {
  display: grid;
  width: min(100%, 300px);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 14px;
  border: 1px solid #e2e7ef;
  background: #f8fafc;
}
.payment-qr { width: 88%; height: 88%; object-fit: contain; }
.payment-qr-loader {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 4px solid #e2e7ef;
  border-top-color: var(--orange);
  animation: spin 780ms linear infinite;
}
.payment-status { margin: 0; min-height: 38px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--muted); }
.payment-status.is-paid { color: var(--green); }
.payment-status.is-error { color: #e23434; }
.payment-nspk-link { display: flex; align-items: center; justify-content: center; text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }

.scrollbar-hide { scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ===================== mobile adaptation ===================== */
@media (max-width: 1024px) {
  .coupon-bar { right: 84px; }
}

@media (max-width: 860px) {
  /* header gets tight: drop the size toggle first */
  .size-toggle { display: none; }
}

@media (max-width: 640px) {
  /* header: keep only brand + auth buttons, hide extras that overflow 360px */
  .site-header .mx-auto { gap: 10px; }
  .theme-toggle, .size-toggle { display: none; }
  .brand-mark { min-width: 0; height: 38px; padding: 4px 5px 4px 14px; font-size: 20px; }
  .brand-mark i { width: 22px; height: 22px; }
  .btn-login, .btn-reg { padding: 9px 12px; font-size: 13px; }

  /* center column tweaks */
  .odd { width: 64px; min-height: 42px; }
  .event-card.has-three .odd { width: 52px; }
  .event-card { font-size: 12px; }
  .info-bonus-num { font-size: 56px; }
  .info-bonus-up { font-size: 28px; }
  .info-bonus-pct { font-size: 34px; }

  /* the promo chips row should swipe, not crush */
  .promo-chip { flex-basis: 84px; height: 88px; }

  /* fixed bottom bar: full width, leave room for the chat button */
  .coupon-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    gap: 12px;
    padding: 13px 16px;
    font-size: 14px;
  }
  .chat-fab { display: none; }

  /* keep the fixed bar from covering the last content */
  main { padding-bottom: 84px; }

  /* modal fits small screens */
  .modal-panel { padding: 22px; }
  .modal-title { font-size: 22px; }
}

@media (max-width: 380px) {
  .btn-login { display: none; }
  .info-bonus-num { font-size: 48px; }
}
