/* ============================================================
   TUTTUR — Türkiye'nin İlk Sosyal Bahis Sitesi
   Design system / global stylesheet
   Brand: blue chrome + orange energy, dark navy UI (betting style)
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Theme tokens ---------- */
:root {
  --brand-primary: #FF5A1F;
  --brand-primary-dark: #E23E00;
  --brand-primary-light: #FF7A45;
  --brand-blue: #2563EB;
  --brand-blue-dark: #1D4ED8;
  --brand-blue-light: #3B82F6;
  --brand-accent: #FFC400;
  --brand-accent-dark: #E0A800;

  --bg-dark: #0C1730;
  --bg-dark-2: #132444;
  --bg-dark-3: #1B305A;
  --footer-dark: #0A1428;

  --surface: #FFFFFF;
  --surface-2: #F6F5F3;
  --surface-3: #EDEBE7;
  --line: #E3DFD9;
  --line-dark: rgba(255,255,255,.08);

  --text: #1A1712;
  --text-muted: #6C6459;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #A7B8D6;

  --odd-bg: #F2EFEA;
  --odd-bg-hover: #FFE9DE;
  --odd-selected: var(--brand-primary);

  --live: #E11D48;
  --win: #16A34A;
  --lose: #DC2626;
  --pending: #CA8A04;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8,16,33,.05), 0 1px 3px rgba(8,16,33,.07);
  --shadow: 0 2px 6px rgba(8,16,33,.06), 0 12px 28px -10px rgba(8,16,33,.18);
  --shadow-lg: 0 8px 20px rgba(8,16,33,.12), 0 30px 60px -14px rgba(8,16,33,.34);
  --shadow-orange: 0 8px 24px rgba(255,90,31,.35);

  --header-h: 64px;
  --subnav-h: 46px;
  --maxw: 1360px;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Sora', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* atmospheric layers for dark surfaces */
  --grid-lines: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  --glow-orange: radial-gradient(600px circle at 85% -10%, rgba(255,90,31,.16), transparent 60%);
  --glow-blue: radial-gradient(700px circle at 10% 0%, rgba(37,99,235,.22), transparent 55%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: inherit; }
body { font-feature-settings: 'ss01', 'cv01'; letter-spacing: -.005em; }
.val, .odd-val, .amt, .result-score, .balance-chip b, .win-box .val, .stat-tile b, .tipster-stats .stat b { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.page { background: var(--surface-2); min-height: 100vh; }
.main { max-width: var(--maxw); margin: 0 auto; padding: 20px 16px 56px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.svg-ico { width: 20px; height: 20px; stroke-width: 2; flex: none; }
.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; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 200; box-shadow: 0 10px 30px -12px rgba(3,10,26,.6); }
.topbar {
  position: relative;
  background: linear-gradient(105deg, #0A1428 0%, #112a5e 48%, var(--brand-blue) 100%);
  color: #fff;
  height: var(--header-h);
}
.topbar::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(420px circle at 78% 120%, rgba(255,90,31,.28), transparent 60%),
  radial-gradient(360px circle at 12% -30%, rgba(59,130,246,.35), transparent 60%);
  pointer-events: none; }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary) 40%, var(--brand-accent)); }
.topbar-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 16px; padding: 0 16px;
}
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand-mark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.04em;
  color: #fff; line-height: 1; text-transform: lowercase;
}
.brand-mark .dot { color: var(--brand-accent); }
.brand-tag { font-size: .62rem; color: rgba(255,255,255,.85); font-weight: 600; letter-spacing: .02em; }

.header-search { flex: 1; max-width: 460px; position: relative; }
.header-search input {
  width: 100%; height: 40px; border: none; border-radius: var(--radius-pill);
  padding: 0 16px 0 42px; background: rgba(255,255,255,.16); color: #fff;
  font-size: .9rem; transition: background .15s;
}
.header-search input::placeholder { color: rgba(255,255,255,.75); }
.header-search input:focus { background: rgba(255,255,255,.26); }
.header-search .search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #fff; opacity: .9; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--radius-pill);
  background: #fff; color: var(--brand-primary-dark); font-weight: 800; font-size: .82rem;
  border: 2px solid var(--brand-accent);
}
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); color: #fff; transition: background .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.26); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--radius-pill); font-weight: 700;
  font-size: .9rem; letter-spacing: -.01em; position: relative;
  transition: transform .14s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .15s, color .15s, filter .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(180deg, #ffd43a, var(--brand-accent)); color: #1a1200; box-shadow: 0 4px 14px rgba(255,196,0,.28); }
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 8px 22px rgba(255,196,0,.45); }
.btn-outline-white { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9); }
.btn-primary { background: linear-gradient(180deg, var(--brand-primary-light), var(--brand-primary)); color: #fff; box-shadow: 0 4px 14px rgba(255,90,31,.3); }
.btn-primary:hover { background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-dark)); box-shadow: 0 9px 24px rgba(255,90,31,.42); }
.btn-dark { background: var(--bg-dark-2); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: var(--surface-3); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 14px; font-size: .82rem; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 1rem; }

/* balance chip (logged in) */
.balance-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: var(--radius-pill); background: rgba(0,0,0,.22); color: #fff; font-weight: 700; }
.balance-chip b { color: var(--brand-accent); }

/* Sub nav */
.subnav { background: var(--bg-dark-2); border-bottom: 1px solid var(--line-dark); }
.subnav-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 2px;
  height: var(--subnav-h); padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 100%;
  color: var(--text-inverse-muted); font-weight: 600; font-size: .88rem; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.subnav a:hover { color: #fff; }
.subnav a.active { color: #fff; border-bottom-color: var(--brand-primary); }
.subnav a .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(225,29,72,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(225,29,72,.5);} 70%{box-shadow:0 0 0 7px rgba(225,29,72,0);} 100%{box-shadow:0 0 0 0 rgba(225,29,72,0);} }

/* mobile menu toggle */
.menu-toggle { display: none; }

/* ============================================================
   HERO / CAROUSEL
   ============================================================ */
.hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide { min-width: 100%; position: relative; aspect-ratio: 20 / 9; background: var(--bg-dark-3); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  gap: 12px; padding: 6% 8%;
  background: linear-gradient(90deg, rgba(8,16,33,.86) 0%, rgba(8,16,33,.5) 45%, rgba(8,16,33,0) 75%);
  color: #fff;
}
.hero-slide h2 { font-size: clamp(1.4rem, 3.4vw, 2.4rem); max-width: 60%; }
.hero-slide p { max-width: 50%; color: var(--text-inverse-muted); font-weight: 500; }
.hero-note { font-size: .72rem; color: rgba(255,255,255,.7); }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-dots button.active { background: var(--brand-accent); width: 26px; border-radius: var(--radius-pill); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff;
  display: flex; align-items: center; justify-content: center; }
.hero-arrow:hover { background: var(--brand-primary); }
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }

/* ============================================================
   SECTIONS / CARDS
   ============================================================ */
.section { margin-top: 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.section-head h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; letter-spacing: -.02em; }
.section-head h2 .accent-bar { width: 5px; height: 24px; border-radius: 3px;
  background: linear-gradient(var(--brand-primary), var(--brand-primary-dark)); box-shadow: 0 0 12px rgba(255,90,31,.5); }
.section-head a.more { color: var(--brand-primary-dark); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 4px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); overflow: hidden; }
.card-pad { padding: 18px; }

/* Product tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2.4;
  background: var(--bg-dark-3); box-shadow: var(--shadow-sm); display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .3s, opacity .3s; }
.tile:hover img { transform: scale(1.06); opacity: 1; }
.tile .tile-label { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; background: linear-gradient(180deg, rgba(8,16,33,0) 30%, rgba(8,16,33,.85)); color: #fff; }
.tile .tile-label b { font-size: 1rem; }
.tile .tile-label span { font-size: .72rem; color: var(--text-inverse-muted); }
.tile .tile-ico { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,90,31,.92); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   MATCH BULLETIN
   ============================================================ */
.bulletin-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 16px; align-items: start; }
.bulletin-layout:has(.filter-panel) { grid-template-columns: 232px minmax(0,1fr) 320px; }
.filter-panel { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 12px); }
.filter-group { margin-bottom: 8px; }
.filter-group > .filter-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted); font-weight: 700; padding: 10px 14px 4px; }
.filter-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; text-align: left;
  border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; color: var(--text); }
.filter-item:hover { background: var(--surface-2); }
.filter-item.active { background: var(--odd-bg-hover); color: var(--brand-primary-dark); }
.filter-item .count { margin-left: auto; font-size: .72rem; color: var(--text-muted); font-weight: 600;
  background: var(--surface-3); border-radius: var(--radius-pill); padding: 1px 8px; }
.filter-item svg { color: var(--brand-primary); }

/* tabs */
.tabs { display: flex; gap: 4px; background: var(--surface-3); padding: 4px; border-radius: var(--radius-pill);
  margin-bottom: 14px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 8px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: .86rem;
  color: var(--text-muted); white-space: nowrap; }
.tab.active { background: var(--surface); color: var(--brand-primary-dark); box-shadow: var(--shadow-sm); }

/* match table */
.league-block { margin-bottom: 12px; }
.league-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: linear-gradient(100deg, #0e1d3d, #16305c); color: #fff; border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--font-display); font-weight: 700; font-size: .86rem; letter-spacing: -.01em; }
.league-head .flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; background: var(--bg-dark-3); }
.league-head .market-labels { margin-left: auto; display: grid; grid-template-columns: repeat(3, 62px); gap: 6px;
  text-align: center; font-size: .68rem; color: var(--text-inverse-muted); font-weight: 700; }

.match-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center;
  padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.match-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.match-row:hover { background: var(--surface-2); }
.match-time { text-align: center; }
.match-time .t { font-weight: 700; font-size: .86rem; }
.match-time .d { font-size: .68rem; color: var(--text-muted); }
.match-time .live-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .64rem; font-weight: 800;
  color: #fff; background: var(--live); padding: 2px 6px; border-radius: var(--radius-pill); }
.match-teams { min-width: 0; }
.match-teams .team { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.match-teams .team .score { margin-left: auto; font-weight: 800; color: var(--brand-primary-dark); font-variant-numeric: tabular-nums; }
.match-teams .league-mini { font-size: .68rem; color: var(--text-muted); margin-top: 3px; }
.match-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.match-meta a { font-size: .7rem; color: var(--brand-primary-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.match-min { color: var(--live); font-weight: 700; font-size: .72rem; font-variant-numeric: tabular-nums; }

.odds-group { display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; }
.odd {
  height: 48px; border-radius: 9px; background: linear-gradient(180deg,#fbfaf8,var(--odd-bg)); display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700;
  transition: background .14s, transform .14s cubic-bezier(.2,.7,.3,1), color .14s, box-shadow .16s, border-color .14s;
  border: 1px solid var(--line); position: relative;
}
.odd .lbl { font-size: .6rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.odd .val { font-size: .95rem; font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.odd:hover { background: var(--odd-bg-hover); border-color: var(--brand-primary-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,90,31,.16); }
.odd.selected { background: linear-gradient(180deg, var(--brand-primary-light), var(--brand-primary)); color: #fff; border-color: var(--brand-primary-dark); box-shadow: 0 6px 18px rgba(255,90,31,.4); }
.odd.selected .lbl { color: rgba(255,255,255,.9); }
.odd.up { animation: flashUp .8s; } .odd.down { animation: flashDown .8s; }
.odd .arrow { position: absolute; top: 3px; right: 4px; font-size: .6rem; }
@keyframes flashUp { 0%{background:#d1fae5;} 100%{background:var(--odd-bg);} }
@keyframes flashDown { 0%{background:#fee2e2;} 100%{background:var(--odd-bg);} }
.odd.locked { opacity: .4; pointer-events: none; }
.more-markets { display: inline-flex; align-items: center; justify-content: center; height: 46px; width: 46px;
  border-radius: var(--radius-sm); background: var(--surface-3); color: var(--text-muted); font-weight: 800; }
.more-markets:hover { background: var(--line); }

/* ============================================================
   SOCIAL BETTING
   ============================================================ */
.social-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0a1a3a, #0c1730 55%, #2a1206); box-shadow: var(--shadow); }
.social-hero .bg { position: absolute; inset: 0; opacity: .35; }
.social-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.social-hero .content { position: relative; padding: 26px; }
.social-hero h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.social-hero p { color: var(--text-inverse-muted); max-width: 620px; margin-top: 6px; }

.tipster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tipster-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 16px; text-align: center; position: relative;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s, border-color .18s; }
.tipster-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-primary-light); }
.coupon-card { transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s; }
.coupon-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tipster-card .rank { position: absolute; top: 12px; left: 12px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-accent); color: #1a1200; font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px;
  border: 3px solid var(--brand-primary); background: var(--surface-3); }
.avatar.sm { width: 40px; height: 40px; border-width: 2px; margin: 0; }
.avatar.xs { width: 30px; height: 30px; border-width: 2px; margin: 0; }
.tipster-card .name { font-weight: 700; }
.tipster-card .handle { font-size: .76rem; color: var(--text-muted); }
.tipster-stats { display: flex; justify-content: center; gap: 18px; margin: 12px 0; }
.tipster-stats .stat b { display: block; font-size: 1.05rem; color: var(--brand-primary-dark); font-variant-numeric: tabular-nums; }
.tipster-stats .stat span { font-size: .68rem; color: var(--text-muted); }
.win-rate { color: var(--win) !important; }

/* coupon feed card */
.coupon-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; }
.coupon-card .cc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.coupon-card .cc-head .name { font-weight: 700; font-size: .9rem; }
.coupon-card .cc-head .time { margin-left: auto; font-size: .72rem; color: var(--text-muted); }
.coupon-card .cc-body { padding: 6px 14px; }
.cc-selection { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .84rem; }
.cc-selection:last-child { border-bottom: none; }
.cc-selection .pick { margin-left: auto; font-weight: 700; }
.cc-selection .odd-val { color: var(--brand-primary-dark); font-weight: 800; min-width: 42px; text-align: right; }
.coupon-card .cc-foot { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface-2); }
.cc-foot .total-odd { font-weight: 800; color: var(--brand-primary-dark); }
.cc-stat { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--text-muted); font-weight: 600; }
.status-pill { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: var(--radius-pill); text-transform: uppercase; }
.status-won { background: #dcfce7; color: var(--win); } .status-lost { background: #fee2e2; color: var(--lose); }
.status-pending { background: #fef3c7; color: var(--pending); }

.follow-btn.following { background: var(--surface-3); color: var(--text); }
.follow-btn.following:hover { background: #ffe0d5; color: var(--lose); }

/* ============================================================
   COUPON BUILDER
   ============================================================ */
.coupon-fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: none;
  align-items: center; gap: 10px; height: 54px; padding: 0 20px; border-radius: var(--radius-pill);
  background: var(--brand-primary); color: #fff; font-weight: 800; box-shadow: var(--shadow-orange); }
.coupon-fab .count { background: var(--brand-accent); color: #1a1200; border-radius: var(--radius-pill);
  min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; }

.coupon-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 12px); }
.coupon-head { background: linear-gradient(120deg, #0e1d3d, #17325f); color: #fff; padding: 15px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--brand-primary); }
.coupon-head h3 { font-size: 1rem; }
.coupon-head .badge { background: var(--brand-primary); border-radius: var(--radius-pill); padding: 2px 9px; font-size: .78rem; font-weight: 800; margin-left: auto; }
.coupon-tabs { display: flex; border-bottom: 1px solid var(--line); }
.coupon-tabs button { flex: 1; padding: 10px; font-weight: 700; font-size: .82rem; color: var(--text-muted); border-bottom: 3px solid transparent; }
.coupon-tabs button.active { color: var(--brand-primary-dark); border-bottom-color: var(--brand-primary); }
.coupon-items { max-height: 42vh; overflow-y: auto; }
.coupon-empty { padding: 40px 20px; text-align: center; color: var(--text-muted); }
.coupon-empty svg { margin: 0 auto 12px; color: var(--line); width: 46px; height: 46px; }
.ci { padding: 12px 16px; border-bottom: 1px solid var(--line); position: relative; }
.ci .ci-match { font-size: .8rem; color: var(--text-muted); }
.ci .ci-pick { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.ci .ci-pick b { font-size: .88rem; }
.ci .ci-pick .odd-val { margin-left: auto; font-weight: 800; color: var(--brand-primary-dark); }
.ci .ci-remove { position: absolute; top: 10px; right: 10px; color: var(--text-muted); width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.ci .ci-remove:hover { background: #fee2e2; color: var(--lose); }
.ci .ci-mkt { font-size: .74rem; color: var(--brand-primary-dark); font-weight: 600; }

.coupon-foot { padding: 16px; background: var(--surface-2); border-top: 1px solid var(--line); }
.coupon-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .88rem; }
.coupon-line .lbl { color: var(--text-muted); }
.coupon-line .val { font-weight: 700; }
.coupon-line.total .val { color: var(--brand-primary-dark); font-size: 1.05rem; font-weight: 800; }
.stake-input { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: 6px 12px; margin: 10px 0; }
.stake-input:focus-within { border-color: var(--brand-primary); }
.stake-input input { border: none; outline: none; width: 100%; font-size: 1.1rem; font-weight: 700; background: transparent; }
.stake-input .cur { font-weight: 800; color: var(--text-muted); }
.stake-chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.stake-chips button { flex: 1; padding: 7px 0; border-radius: var(--radius-sm); background: var(--surface-3); font-weight: 700; font-size: .8rem; min-width: 54px; }
.stake-chips button:hover { background: var(--odd-bg-hover); }
.win-box { background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary)); color: #fff;
  border-radius: var(--radius-sm); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.win-box .lbl { font-size: .78rem; opacity: .9; } .win-box .val { font-size: 1.3rem; font-weight: 800; }
.coupon-actions { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 28px; max-width: 480px; margin: 0 auto; }
.form-card.wide { max-width: 640px; }
.form-title { font-size: 1.4rem; margin-bottom: 4px; }
.form-sub { color: var(--text-muted); margin-bottom: 20px; font-size: .9rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .84rem; margin-bottom: 6px; }
.field .req { color: var(--brand-primary-dark); }
.input, .select, .textarea {
  width: 100%; height: 46px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 14px; background: var(--surface); color: var(--text); transition: border-color .15s;
}
.textarea { height: auto; padding: 12px 14px; min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-primary); }
.input.invalid, .select.invalid, .textarea.invalid { border-color: var(--lose); background: #fff5f5; }
.field-hint { font-size: .74rem; color: var(--text-muted); margin-top: 5px; }
.field-error { font-size: .76rem; color: var(--lose); margin-top: 5px; display: none; font-weight: 600; }
.field.has-error .field-error { display: block; }
.field-ok { color: var(--win); font-size: .76rem; margin-top: 5px; display: none; font-weight: 600; }
.field.is-ok .field-ok { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; margin-bottom: 12px; cursor: pointer; }
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand-primary); flex: none; }
.checkbox a { color: var(--brand-primary-dark); font-weight: 600; text-decoration: underline; }
.pw-meter { height: 6px; border-radius: 3px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }

/* input group +90 */
.input-group { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.input-group:focus-within { border-color: var(--brand-primary); }
.input-group .prefix { padding: 0 12px; background: var(--surface-3); height: 46px; display: flex; align-items: center; font-weight: 700; color: var(--text-muted); }
.input-group input { border: none; height: 46px; flex: 1; padding: 0 14px; outline: none; }

/* ============================================================
   HESABIM / ACCOUNT
   ============================================================ */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.account-nav { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-weight: 600; font-size: .9rem; border-left: 3px solid transparent; }
.account-nav a:hover { background: var(--surface-2); }
.account-nav a.active { background: var(--odd-bg-hover); color: var(--brand-primary-dark); border-left-color: var(--brand-primary); }
.account-nav a svg { color: var(--brand-primary); }
.balance-card { background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary)); color: #fff;
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-orange); }
.balance-card .lbl { opacity: .9; font-size: .86rem; }
.balance-card .amt { font-size: 2.2rem; font-weight: 800; margin: 4px 0 14px; }
.limit-bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.limit-bar i { display: block; height: 100%; background: var(--brand-primary); }

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.content-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 12px); }
.legal-toc a { display: block; padding: 7px 12px; font-size: .84rem; color: var(--text-muted); border-radius: 6px; font-weight: 600; }
.legal-toc a:hover, .legal-toc a.active { background: var(--odd-bg-hover); color: var(--brand-primary-dark); }
.prose { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow-sm); }
.prose h1 { font-size: 1.7rem; margin-bottom: 6px; }
.prose .updated { color: var(--text-muted); font-size: .82rem; margin-bottom: 24px; }
.prose h2 { font-size: 1.2rem; margin: 28px 0 10px; padding-top: 8px; display: flex; align-items: center; gap: 8px; }
.prose h2 .num { color: var(--brand-primary); }
.prose h3 { font-size: 1rem; margin: 18px 0 8px; }
.prose p { margin-bottom: 12px; color: #34302a; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 7px; }
.prose a { color: var(--brand-primary-dark); font-weight: 600; text-decoration: underline; }
.prose strong { color: var(--text); }
.callout { background: var(--odd-bg-hover); border-left: 4px solid var(--brand-primary); border-radius: 8px;
  padding: 14px 16px; margin: 16px 0; font-size: .9rem; }
.callout.warn { background: #fff7e6; border-left-color: var(--brand-accent-dark); }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .88rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.data-table th { background: var(--surface-2); font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.trust-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 22px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); margin-top: 36px; }
.trust-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-muted); font-size: .68rem; font-weight: 700; }
.lic-badge { height: 48px; padding: 0 16px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 3px 12px rgba(3,10,26,.28); transition: transform .15s, box-shadow .15s; }
.lic-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(3,10,26,.4); }
.lic-badge img { height: 22px; width: auto; max-width: 132px; object-fit: contain; display: block; }
.lic-iddaa { background: linear-gradient(160deg,#12234a,#0a1428); border-color: rgba(255,196,0,.3); }
.lic-iddaa img { height: 18px; }
.lic-sportoto, .lic-piyango { background: #fff; }
.trust-row .lic-badge { box-shadow: var(--shadow-sm); }
.trust-row .lic-sportoto, .trust-row .lic-piyango { border-color: var(--line); }

.site-footer { position: relative; background:
    radial-gradient(900px circle at 15% 0%, rgba(37,99,235,.16), transparent 55%),
    radial-gradient(700px circle at 92% 8%, rgba(255,90,31,.08), transparent 55%),
    var(--footer-dark);
  color: var(--text-inverse-muted); margin-top: 44px; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: var(--grid-lines);
  background-size: 40px 40px; opacity: .5; pointer-events: none;
  mask-image: linear-gradient(#000, transparent 40%); }
.site-footer > * { position: relative; }
.footer-top { max-width: var(--maxw); margin: 0 auto; padding: 40px 16px 24px; display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-brand .brand-mark { font-size: 1.8rem; }
.footer-brand p { font-size: .82rem; margin-top: 10px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.footer-col a { display: block; padding: 5px 0; font-size: .84rem; color: var(--text-inverse-muted); transition: color .15s; }
.footer-col a:hover { color: var(--brand-accent); }
.footer-licenses { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer-mid { max-width: var(--maxw); margin: 0 auto; padding: 22px 16px; border-top: 1px solid var(--line-dark);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-lic-wrap { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; flex: none; }
.footer-lic-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-inverse-muted); font-weight: 800; }
.footer-lic-wrap .footer-licenses { justify-content: flex-end; }
.footer-18 { display: flex; align-items: center; gap: 12px; flex: 1 1 460px; }
.footer-18 .b18 { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--brand-accent);
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; flex: none; }
.footer-18 p { font-size: .78rem; max-width: 620px; }
.footer-bottom { background: #081120; color: var(--text-inverse-muted); font-size: .78rem; }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-company { font-size: .78rem; line-height: 1.7; }
.footer-company b { color: #fff; }

/* social icons */
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s, transform .12s; }
.social-row a:hover { background: var(--brand-primary); transform: translateY(-2px); }
.social-row a svg { width: 18px; height: 18px; }

/* security / trust badges */
.sec-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.sec-badge { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: var(--text-inverse-muted); font-size: .72rem; font-weight: 700; }
.sec-badge svg { width: 18px; height: 18px; color: var(--brand-blue-light); flex: none; }
.sec-badge b { color: #fff; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--bg-dark-2);
  color: #fff; border-top: 3px solid var(--brand-primary); box-shadow: 0 -8px 30px rgba(0,0,0,.4);
  transform: translateY(110%); transition: transform .4s; }
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 16px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cookie-inner .txt { flex: 1; min-width: 260px; font-size: .86rem; color: var(--text-inverse-muted); }
.cookie-inner .txt b { color: #fff; }
.cookie-inner .txt a { color: var(--brand-accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* modal */
.modal-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(8,16,33,.6); backdrop-filter: blur(2px);
  display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.show { display: flex; }
.modal { background: var(--surface); border-radius: var(--radius-lg); max-width: 520px; width: 100%; max-height: 90vh;
  overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.15rem; }
.modal-head .close { margin-left: auto; color: var(--text-muted); width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.modal-head .close:hover { background: var(--surface-3); }
.modal-body { padding: 22px; }
.modal-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-cat { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cookie-cat .info { flex: 1; }
.cookie-cat .info b { display: block; }
.cookie-cat .info p { font-size: .8rem; color: var(--text-muted); margin-top: 3px; }

/* toggle switch */
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--surface-3); border-radius: var(--radius-pill); transition: .2s; }
.switch .slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + .slider { background: var(--brand-primary); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { background: var(--win); opacity: .7; }

/* toast */
.toast-wrap { position: fixed; top: 76px; right: 20px; z-index: 500; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--bg-dark-2); color: #fff; padding: 13px 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; min-width: 260px; max-width: 360px;
  border-left: 4px solid var(--brand-primary); animation: toastIn .3s ease; }
.toast.success { border-left-color: var(--win); } .toast.success svg { color: var(--win); }
.toast.error { border-left-color: var(--lose); } .toast.error svg { color: var(--lose); }
.toast.info svg { color: var(--brand-primary); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ============================================================
   MISC
   ============================================================ */
.ticker { background: var(--bg-dark-2); border-bottom: 1px solid var(--line-dark); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 34px; padding: 8px 0; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-inverse-muted); font-size: .8rem; font-weight: 600; }
.ticker-item .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.ticker-item .sc { color: #fff; font-weight: 800; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--surface-3); font-size: .76rem; font-weight: 700; color: var(--text-muted); }
.pill.hot { background: #fee2e2; color: var(--lose); }
.pill.new { background: #dbeafe; color: #1d4ed8; }
.pill.orange { background: var(--odd-bg-hover); color: var(--brand-primary-dark); }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--brand-primary-dark); font-weight: 600; }
.breadcrumb .sep { color: var(--line); }

.page-hero { background:
    var(--glow-orange), var(--glow-blue),
    linear-gradient(120deg, #112a5e 0%, var(--bg-dark-2) 45%, var(--bg-dark) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 32px 30px; margin-bottom: 20px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--grid-lines);
  background-size: 34px 34px; mask-image: linear-gradient(120deg, #000, transparent 70%); opacity: .7; pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.page-hero p { color: var(--text-inverse-muted); max-width: 620px; margin-top: 8px; }
.page-hero .accent-blob { position: absolute; right: -40px; top: -50px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.45), transparent 68%); filter: blur(6px); }

/* tasteful, fast page-load orchestration */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.site-header { animation: fadeDown .45s ease both; }
.hero, .page-hero { animation: riseIn .55s cubic-bezier(.2,.7,.3,1) both; }
.main > .section { animation: riseIn .5s cubic-bezier(.2,.7,.3,1) both; }
.main > .section:nth-of-type(2) { animation-delay: .05s; }
.main > .section:nth-of-type(3) { animation-delay: .1s; }
.main > .section:nth-of-type(4) { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stat-tile b { font-size: 1.8rem; color: var(--brand-primary-dark); display: block; font-variant-numeric: tabular-nums; }
.stat-tile span { color: var(--text-muted); font-size: .84rem; }

/* lottery balls */
.ball-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.ball { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; background: var(--surface); border: 2px solid var(--line); cursor: pointer; transition: .12s; }
.ball:hover { border-color: var(--brand-primary); }
.ball.selected { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary-dark); transform: scale(1.05); }
.ball.drawn { background: var(--brand-accent); color: #1a1200; border-color: var(--brand-accent-dark); }

/* result rows */
.result-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.result-row:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.result-row:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.result-score { font-weight: 800; font-variant-numeric: tabular-nums; background: var(--bg-dark-2); color: #fff; padding: 4px 12px; border-radius: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Below this width the docked coupon rail is dropped in favour of the
   floating FAB + bottom sheet, so match columns never get cramped. */
@media (max-width: 1199px) {
  .coupon-rail { display: none; }
  .bulletin-layout { grid-template-columns: minmax(0, 1fr); }
  .bulletin-layout:has(.filter-panel) { grid-template-columns: 232px minmax(0, 1fr); }
  .coupon-fab.has-items { display: flex; }
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tipster-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .bulletin-layout, .bulletin-layout:has(.filter-panel) { grid-template-columns: minmax(0, 1fr); }
  .filter-panel { position: static; display: none; }
  .filter-panel.open { display: block; }
  .content-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .tipster-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .header-search { display: none; }
  .subnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .hide-mobile { display: none; }
  .brand-tag { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-slide h2 { max-width: 100%; font-size: 1.3rem; }
  .hero-slide p { max-width: 100%; display: none; }
  .odds-group { grid-template-columns: repeat(3, 52px); }
  .league-head .market-labels { grid-template-columns: repeat(3, 52px); }
  .main { padding: 14px 12px 80px; }
}
@media (max-width: 520px) {
  .tipster-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .odds-group { grid-template-columns: repeat(3, 46px); }
  .match-row { grid-template-columns: 48px 1fr; }
  .match-row .odds-group { grid-column: 1 / -1; margin-top: 8px; }
}

/* mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 350; display: none; }
.mobile-drawer.open { display: block; }
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.mobile-drawer .panel { position: absolute; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px;
  background: var(--bg-dark-2); color: #fff; padding: 20px; overflow-y: auto; animation: drawerIn .25s ease; }
@keyframes drawerIn { from { transform: translateX(-100%); } to { transform: none; } }
.mobile-drawer .panel a { display: flex; align-items: center; gap: 12px; padding: 13px 8px; font-weight: 600;
  border-bottom: 1px solid var(--line-dark); color: var(--text-inverse-muted); }
.mobile-drawer .panel a:hover, .mobile-drawer .panel a.active { color: #fff; }
.mobile-drawer .panel a svg { color: var(--brand-primary); }

/* coupon bottom sheet (mobile) */
.coupon-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 360; background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.3);
  transform: translateY(110%); transition: transform .35s; max-height: 86vh; overflow-y: auto; }
.coupon-sheet.open { transform: translateY(0); }
