/* ============================================================
   MISLI — Şampiyon Oranların Adresi
   Design system + components. Dark sportsbook: navy + lime.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Archivo+Expanded:wght@500;600;700;800&display=swap');

:root {
  /* Surfaces */
  --navy-900: #05090F;
  --navy-850: #080D18;
  --navy-800: #0C1322;
  --navy-750: #101A2C;
  --navy-700: #152238;
  --line:      #1D2C46;
  --line-soft: #16233A;

  /* Brand */
  --lime:      #C6F400;
  --lime-600:  #A9D400;
  --lime-dim:  rgba(198,244,0,.14);
  --blue:      #2E6BFF;
  --blue-600:  #1E52D8;

  /* Semantic */
  --live:  #FF2E4D;
  --win:   #21D07A;
  --warn:  #FFB020;

  /* Text */
  --text:  #EEF3FB;
  --dim:   #93A1BA;
  --mute:  #5D6C87;

  /* Radius / shadow */
  --r-sm: 7px;
  --r:    11px;
  --r-lg: 16px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,.7);
  --shadow-lime: 0 10px 30px -10px rgba(198,244,0,.35);

  --maxw: 1360px;
  --head-h: 62px;

  --f-display: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  --f-body:    'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--navy-850);
  color: var(--text);
  line-height: 1.55;
  font-feature-settings: "tnum" 1, "cv01" 1;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Atmospheric background */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 82% -10%, rgba(46,107,255,.18), transparent 60%),
    radial-gradient(700px 500px at 5% 0%, rgba(198,244,0,.07), transparent 55%),
    var(--navy-850);
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; flex: none; }
.icon-sm { width: 15px; height: 15px; }

/* ---------- HEADER ---------- */
.top {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,13,24,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-row {
  max-width: var(--maxw); margin: 0 auto;
  height: var(--head-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 800; font-size: 24px; letter-spacing: -.6px;
  color: var(--text); flex: none;
}
.brand .mark {
  position: relative; width: 30px; height: 30px; border-radius: 9px;
  background: var(--lime); display: grid; place-items: center;
  transform: rotate(-5deg); overflow: hidden;
  animation: markGlow 2.6s ease-in-out infinite;
  transition: transform .2s;
}
.brand:hover .mark { transform: rotate(0) scale(1.07); }
.brand .mark svg { width: 19px; height: 19px; fill: none; stroke: var(--navy-900); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.brand .mark::before {
  content: ""; position: absolute; top: 0; left: -70%; width: 48%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg); animation: markShine 3.6s ease-in-out infinite;
}
.brand .wm { display: inline-flex; align-items: baseline; }
.brand .wm i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  margin-left: 3px; align-self: center;
  box-shadow: 0 0 9px var(--lime); animation: dotPulse 1.4s ease-in-out infinite;
}
@keyframes markGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(198,244,0,0); } 50% { box-shadow: 0 0 16px 1px rgba(198,244,0,.6); } }
@keyframes markShine { 0%,58% { left: -70%; } 82%,100% { left: 135%; } }
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.5); opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .brand .mark, .brand .mark::before, .brand .wm i { animation: none; }
}

.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  position: relative;
  padding: 8px 13px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--dim);
  white-space: nowrap; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--navy-750); }
.nav a.on { color: var(--lime); }
.nav a.on::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--lime); border-radius: 2px;
}
.nav a .live-dot { color: var(--live); }

.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: 9px; padding: 8px 11px; width: 190px;
  color: var(--mute);
}
.search input {
  background: none; border: none; outline: none; color: var(--text);
  font-size: 13px; width: 100%; font-family: inherit;
}
.search input::placeholder { color: var(--mute); }

.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 26px; padding: 0 7px;
  border-radius: 6px; font-weight: 700; font-size: 12px;
  background: rgba(255,46,77,.14); color: var(--live);
  border: 1px solid rgba(255,46,77,.4);
  font-family: var(--f-display);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 18px; border-radius: 9px;
  font-weight: 700; font-size: 13.5px; border: 1px solid transparent;
  transition: transform .12s, background .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--navy-900); }
.btn-lime:hover { background: #d4ff20; box-shadow: var(--shadow-lime); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--navy-800); }
.btn-ghost:hover { border-color: var(--dim); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 12.5px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.bal {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: 9px; height: 40px; padding: 0 14px; font-size: 13.5px;
}
.bal b { color: var(--lime); font-weight: 700; }

.menu-toggle { display: none; background: var(--navy-800); border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; color: var(--text); }

/* ---------- LAYOUT ---------- */
main { min-height: 60vh; }
.page { max-width: var(--maxw); margin: 0 auto; padding: 26px 20px 70px; }

.crumb { color: var(--mute); font-size: 12.5px; margin-bottom: 14px; display: flex; gap: 7px; align-items: center; }
.crumb a:hover { color: var(--lime); }

.h-title {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.6px;
  font-size: clamp(24px, 4vw, 34px); line-height: 1.05;
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 34px 0 16px;
}
.section-head h2 {
  font-family: var(--f-display); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; gap: 10px; letter-spacing: -.2px;
}
.section-head h2::before {
  content: ""; width: 4px; height: 19px; border-radius: 2px;
  background: var(--lime); box-shadow: 0 0 12px rgba(198,244,0,.5);
}
.section-head a { font-size: 13px; color: var(--dim); font-weight: 600; }
.section-head a:hover { color: var(--lime); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background:
    linear-gradient(90deg, rgba(5,9,15,.96) 0%, rgba(5,9,15,.74) 46%, rgba(5,9,15,.32) 100%),
    url('../img/hero-stadium.jpg') center/cover no-repeat,
    var(--navy-900);
  padding: 54px 48px; min-height: 380px;
  display: flex; align-items: center;
}
.hero > div { max-width: 620px; position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,244,0,.18), transparent 65%);
  filter: blur(12px); pointer-events: none;
}
.hero .tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--lime-dim); color: var(--lime);
  border: 1px solid rgba(198,244,0,.35);
  padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -1px;
  font-size: clamp(28px, 5vw, 46px); line-height: 1.02; margin-bottom: 14px;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero p { color: var(--dim); font-size: 15px; max-width: 460px; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-orb {
  width: 230px; height: 230px; border-radius: 30px;
  background: linear-gradient(150deg, var(--blue), rgba(46,107,255,.15));
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
  transform: rotate(8deg);
  box-shadow: var(--shadow);
}
.hero-orb svg { width: 120px; height: 120px; stroke: var(--lime); stroke-width: 1.4; fill: none; transform: rotate(-8deg); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.trust .t {
  display: flex; gap: 12px; align-items: center;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px;
}
.trust .t svg { width: 26px; height: 26px; stroke: var(--lime); stroke-width: 1.7; fill: none; flex: none; }
.trust .t b { font-family: var(--f-display); font-size: 14px; display: block; }
.trust .t span { color: var(--mute); font-size: 12px; }

/* ---------- CARDS / GRID ---------- */
.grid { display: grid; gap: 14px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); }

.card {
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
  transition: border-color .18s, transform .18s, background .18s;
}
.card:hover { border-color: var(--line); }

.prod {
  display: flex; flex-direction: column; gap: 10px; position: relative;
  overflow: hidden;
}
.prod:hover { border-color: rgba(198,244,0,.4); transform: translateY(-3px); background: var(--navy-750); }
.prod .pi {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-750); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.prod:hover .pi { border-color: rgba(198,244,0,.4); }
.prod .pi svg { width: 24px; height: 24px; stroke: var(--lime); stroke-width: 1.8; fill: none; }
.prod h3 { font-family: var(--f-display); font-size: 15px; font-weight: 700; }
.prod p { color: var(--mute); font-size: 12.5px; }
.prod .arrow { position: absolute; top: 18px; right: 18px; color: var(--mute); transition: color .15s, transform .15s; }
.prod:hover .arrow { color: var(--lime); transform: translateX(3px); }

/* ---------- MATCH LIST ---------- */
.board { display: grid; grid-template-columns: 232px 1fr; gap: 18px; align-items: start; }

.rail {
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--r); padding: 8px; position: sticky; top: calc(var(--head-h) + 16px);
}
.rail h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--mute); padding: 12px 10px 8px; font-weight: 700;
}
.rail a, .rail .fitem {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--dim);
  cursor: pointer; transition: background .12s, color .12s;
}
.rail a:hover, .rail .fitem:hover { background: var(--navy-750); color: var(--text); }
.rail .fitem.on { background: var(--lime-dim); color: var(--lime); }
.rail .fitem .n { font-size: 11px; color: var(--mute); background: var(--navy-750); padding: 1px 7px; border-radius: 20px; }
.rail .fitem.on .n { color: var(--lime); background: rgba(198,244,0,.12); }
.rail .fl { display: flex; align-items: center; gap: 9px; }
.rail .fl svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }

.list-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.list-head .count { color: var(--dim); font-size: 13px; }
.list-head .count b { color: var(--text); }
.tabs { display: flex; gap: 4px; background: var(--navy-800); border: 1px solid var(--line); padding: 4px; border-radius: 10px; }
.tabs button {
  padding: 7px 14px; border-radius: 7px; border: none; background: none;
  color: var(--dim); font-weight: 600; font-size: 13px; transition: .15s;
}
.tabs button.on { background: var(--lime); color: var(--navy-900); }

.league-block { margin-bottom: 18px; }
.league-block > .lb-head {
  display: flex; align-items: center; gap: 9px; padding: 6px 4px 10px;
  color: var(--dim); font-size: 12.5px; font-weight: 600;
}
.league-block > .lb-head svg { width: 15px; height: 15px; stroke: var(--mute); fill: none; stroke-width: 1.8; }
.league-block > .lb-head .flag { font-size: 13px; }
.mkt-legend {
  display: grid; grid-template-columns: 1fr 168px 100px;
  gap: 10px; padding: 0 14px 6px; color: var(--mute); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
}
.mkt-legend .m3 { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; }
.mkt-legend .m2 { display: grid; grid-template-columns: repeat(2,1fr); text-align: center; }

.match {
  display: grid; grid-template-columns: 1fr 168px 100px; gap: 10px; align-items: center;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; margin-bottom: 8px;
  transition: border-color .15s, background .15s;
}
.match:hover { border-color: var(--line-soft); background: var(--navy-750); }
.match .m-info { min-width: 0; cursor: pointer; }
.match .m-time { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.match .m-time .pill { background: var(--navy-750); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-weight: 600; }
.match .m-time .live-pill { color: var(--live); border-color: rgba(255,46,77,.4); background: rgba(255,46,77,.1); display: inline-flex; align-items: center; gap: 5px; }
.match .m-teams { display: flex; flex-direction: column; gap: 3px; }
.match .m-teams .tm { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.match .m-teams .tm span { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match .m-teams .sc { color: var(--lime); font-family: var(--f-display); font-weight: 700; font-size: 15px; flex: none; }

.odds { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.odds.two { grid-template-columns: repeat(2,1fr); }
.odd {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--navy-750); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 4px; transition: .13s; position: relative;
}
.odd .lab { font-size: 10px; color: var(--mute); font-weight: 600; }
.odd .val { font-family: var(--f-display); font-weight: 700; font-size: 14.5px; color: var(--text); }
.odd:hover { border-color: var(--lime); background: var(--navy-700); }
.odd.sel { background: var(--lime); border-color: var(--lime); box-shadow: var(--shadow-lime); }
.odd.sel .lab, .odd.sel .val { color: var(--navy-900); }
.odd .updn { position: absolute; top: 3px; right: 4px; font-size: 9px; opacity: 0; transition: opacity .2s; }
.odd.up .updn { color: var(--win); opacity: 1; }
.odd.down .updn { color: var(--live); opacity: 1; }

.more-mkt { display: flex; align-items: center; justify-content: center; color: var(--mute); font-size: 12px; font-weight: 600; }
.more-mkt:hover { color: var(--lime); }

/* ---------- BET SLIP ---------- */
.slip-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 190;
  display: flex; align-items: center; gap: 9px;
  background: var(--lime); color: var(--navy-900);
  border: none; border-radius: 100px; padding: 13px 20px;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lime);
  transition: transform .15s;
}
.slip-fab:hover { transform: translateY(-2px); }
.slip-fab svg { width: 19px; height: 19px; stroke: var(--navy-900); fill: none; stroke-width: 2; }
.slip-fab .cnt {
  background: var(--navy-900); color: var(--lime);
  min-width: 22px; height: 22px; border-radius: 20px; padding: 0 6px;
  display: grid; place-items: center; font-size: 12px;
}
.slip-fab.hidden { display: none; }

.slip-backdrop { position: fixed; inset: 0; background: rgba(3,6,12,.6); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .2s; }
.slip-backdrop.on { opacity: 1; pointer-events: auto; }

.slip {
  position: fixed; z-index: 310; right: 0; top: 0; bottom: 0;
  width: 372px; max-width: 100vw;
  background: var(--navy-800); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow);
}
.slip.on { transform: translateX(0); }
.slip-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.slip-top h3 { font-family: var(--f-display); font-size: 16px; display: flex; align-items: center; gap: 9px; }
.slip-top .x { background: var(--navy-750); border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; color: var(--dim); display: grid; place-items: center; }
.slip-top .x:hover { color: var(--text); }

.slip-tabs { display: flex; gap: 4px; padding: 12px 18px; }
.slip-tabs button { flex: 1; padding: 8px; border: 1px solid var(--line); background: var(--navy-750); border-radius: 8px; color: var(--dim); font-weight: 600; font-size: 12.5px; }
.slip-tabs button.on { background: var(--lime-dim); border-color: rgba(198,244,0,.4); color: var(--lime); }

.slip-body { flex: 1; overflow-y: auto; padding: 0 18px; }
.slip-empty { text-align: center; color: var(--mute); padding: 60px 20px; }
.slip-empty svg { width: 46px; height: 46px; stroke: var(--line); stroke-width: 1.5; fill: none; margin: 0 auto 14px; }
.slip-empty b { display: block; color: var(--dim); font-family: var(--f-display); margin-bottom: 4px; }

.sel {
  background: var(--navy-750); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; margin-bottom: 9px; position: relative;
}
.sel .sel-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.sel .sel-mkt { font-size: 11px; color: var(--lime); font-weight: 700; }
.sel .sel-x { color: var(--mute); background: none; border: none; padding: 0; }
.sel .sel-x:hover { color: var(--live); }
.sel .sel-match { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.sel .sel-pick { display: flex; justify-content: space-between; align-items: center; }
.sel .sel-pick .p { font-size: 12.5px; color: var(--dim); }
.sel .sel-pick .o { font-family: var(--f-display); font-weight: 700; color: var(--lime); }

.slip-foot { border-top: 1px solid var(--line); padding: 16px 18px; background: var(--navy-800); }
.stake-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.stake-row label { font-size: 12px; color: var(--dim); flex: none; }
.stake-in { display: flex; align-items: center; background: var(--navy-750); border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; flex: 1; }
.stake-in span { color: var(--dim); font-weight: 700; }
.stake-in input { background: none; border: none; outline: none; color: var(--text); font-family: var(--f-display); font-weight: 700; font-size: 16px; width: 100%; text-align: right; padding: 10px 0; }
.quick-stakes { display: flex; gap: 6px; margin-bottom: 14px; }
.quick-stakes button { flex: 1; padding: 7px; background: var(--navy-750); border: 1px solid var(--line); border-radius: 7px; color: var(--dim); font-size: 12px; font-weight: 600; }
.quick-stakes button:hover { border-color: var(--lime); color: var(--lime); }
.slip-stat { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.slip-stat .l { color: var(--dim); }
.slip-stat .v { font-family: var(--f-display); font-weight: 700; }
.slip-stat.win .v { color: var(--lime); font-size: 17px; }
.slip-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ---------- FORMS ---------- */
.form-wrap { max-width: 480px; margin: 8px auto; }
.form-wrap.wide { max-width: 620px; }
.panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.panel-head { text-align: center; margin-bottom: 24px; }
.panel-head .pico { width: 54px; height: 54px; border-radius: 14px; background: var(--lime-dim); border: 1px solid rgba(198,244,0,.3); display: grid; place-items: center; margin: 0 auto 14px; }
.panel-head .pico svg { width: 26px; height: 26px; stroke: var(--lime); fill: none; stroke-width: 1.8; }
.panel-head h1 { font-family: var(--f-display); font-size: 23px; font-weight: 800; }
.panel-head p { color: var(--dim); font-size: 13.5px; margin-top: 6px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field .req { color: var(--live); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy-750); border: 1px solid var(--line);
  border-radius: 9px; padding: 12px 13px; color: var(--text);
  font-family: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { color: var(--mute); font-size: 11.5px; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-row { display: flex; gap: 8px; }
.phone-row .cc { width: 62px; text-align: center; color: var(--dim); }

.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--lime); flex: none; }
.check label { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.check a { color: var(--lime); }

.msg { padding: 12px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 14px; display: none; }
.msg.on { display: block; }
.msg.err { background: rgba(255,46,77,.1); border: 1px solid rgba(255,46,77,.4); color: #ff8497; }
.msg.ok { background: rgba(33,208,122,.1); border: 1px solid rgba(33,208,122,.4); color: #6ee7a8; }

.notice { background: var(--lime-dim); border: 1px solid rgba(198,244,0,.3); border-radius: 10px; padding: 13px 15px; margin-bottom: 18px; }
.notice b { color: var(--lime); display: block; margin-bottom: 4px; font-size: 13px; }
.notice p { color: var(--dim); font-size: 12.5px; }

.aside-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 18px; }
.aside-card h4 { font-family: var(--f-display); color: var(--lime); font-size: 14px; margin-bottom: 12px; }
.aside-card li { color: var(--dim); font-size: 13px; list-style: none; display: flex; gap: 9px; padding: 5px 0; }
.aside-card li svg { width: 16px; height: 16px; stroke: var(--lime); fill: none; stroke-width: 2; flex: none; margin-top: 2px; }

/* ---------- DASHBOARD ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 22px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  background: var(--navy-800);
}
.stat.hero-stat { background: linear-gradient(140deg, var(--blue), rgba(46,107,255,.25)); border: none; }
.stat .s-lab { font-size: 12.5px; color: var(--dim); }
.stat.hero-stat .s-lab { color: rgba(255,255,255,.8); }
.stat .s-val { font-family: var(--f-display); font-weight: 800; font-size: 30px; margin: 6px 0 12px; }
.stat.hero-stat .s-val { color: #fff; }
.dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 14px; }
.dash .card h3 { font-family: var(--f-display); font-size: 15px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.dash .card h3 svg { width: 18px; height: 18px; stroke: var(--lime); fill: none; stroke-width: 1.8; }
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.kv:last-child { border: none; }
.kv .k { color: var(--dim); }
.kv .v { font-weight: 600; }
.tag-status { padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.tag-status.won { background: rgba(33,208,122,.15); color: var(--win); }
.tag-status.lost { background: rgba(255,46,77,.15); color: var(--live); }
.tag-status.open { background: rgba(255,176,32,.15); color: var(--warn); }

/* ---------- LEGAL / CONTENT ---------- */
.doc { max-width: 860px; margin: 0 auto; }
.doc .panel { padding: 34px; }
.doc h1 { font-family: var(--f-display); font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--mute); font-size: 12.5px; margin-bottom: 26px; }
.doc h2 { font-family: var(--f-display); font-size: 19px; margin: 28px 0 12px; color: var(--text); }
.doc h3 { font-size: 15px; margin: 20px 0 10px; color: var(--lime); }
.doc p { color: var(--dim); margin-bottom: 13px; font-size: 14.5px; }
.doc ul, .doc ol { color: var(--dim); margin: 0 0 14px 20px; font-size: 14.5px; }
.doc li { margin-bottom: 7px; }
.doc a { color: var(--lime); }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 13.5px; }
.doc table th, .doc table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc table th { background: var(--navy-750); color: var(--lime); font-weight: 600; font-size: 12.5px; }
.doc table td { color: var(--dim); }
.doc .table-scroll { overflow-x: auto; }
.callout { border-radius: 11px; padding: 16px 18px; margin: 18px 0; }
.callout.red { background: rgba(255,46,77,.1); border-left: 3px solid var(--live); }
.callout.red b { color: var(--live); }
.callout.lime { background: var(--lime-dim); border-left: 3px solid var(--lime); }
.callout.lime b { color: var(--lime); }

/* Simple content hero for product pages */
.prod-hero {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 60px 40px;
  text-align: center; background:
    radial-gradient(500px 260px at 50% 0%, rgba(46,107,255,.25), transparent 60%),
    var(--navy-800);
}
.prod-hero h1, .prod-hero p { text-shadow: 0 2px 20px rgba(3,6,12,.8); position: relative; }
.prod-hero .ph-ic { position: relative; backdrop-filter: blur(4px); }
.prod-hero .ph-ic { width: 72px; height: 72px; border-radius: 18px; background: var(--navy-750); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 20px; }
.prod-hero .ph-ic svg { width: 36px; height: 36px; stroke: var(--lime); fill: none; stroke-width: 1.6; }
.prod-hero h1 { font-family: var(--f-display); font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.prod-hero p { color: var(--dim); max-width: 460px; margin: 0 auto 24px; }

.draw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 14px; margin-top: 20px; }
.draw { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.draw .d-name { font-family: var(--f-display); font-weight: 700; }
.draw .d-jackpot { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: var(--lime); margin: 8px 0; }
.draw .d-time { color: var(--mute); font-size: 12.5px; }
.draw .balls { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.draw .ball { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-750); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 13px; }

/* results */
.res-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 8px; }
.res-row .rt { font-weight: 600; }
.res-row .rt.away { text-align: right; }
.res-row .rs { font-family: var(--f-display); font-weight: 800; font-size: 18px; background: var(--navy-750); border: 1px solid var(--line); border-radius: 8px; padding: 4px 14px; }

/* ---------- CAMPAIGN ---------- */
.promo { overflow: hidden; padding: 0; }
.promo .p-banner { height: 130px; display: grid; place-items: center; }
.promo .p-banner svg { width: 52px; height: 52px; stroke: #fff; fill: none; stroke-width: 1.6; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.promo .p-body { padding: 18px; }
.promo h3 { font-family: var(--f-display); font-size: 17px; margin-bottom: 6px; }
.promo p { color: var(--dim); font-size: 13px; margin-bottom: 12px; }
.promo .p-amt { background: var(--navy-750); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.promo .p-amt .l { font-size: 11px; color: var(--mute); }
.promo .p-amt .v { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--lime); }

/* ---------- FOOTER ---------- */
.foot { border-top: 1px solid var(--line); background: var(--navy-900); margin-top: 50px; }
.foot-top { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot .f-brand .brand { margin-bottom: 12px; }
.foot .f-brand p { color: var(--mute); font-size: 12.5px; max-width: 280px; }
.foot h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--dim); margin-bottom: 14px; font-weight: 700; }
.foot .f-col a { display: block; color: var(--mute); font-size: 13px; padding: 5px 0; }
.foot .f-col a:hover { color: var(--lime); }
.foot-licenses { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lic { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-800); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--dim); }
.lic svg { width: 14px; height: 14px; stroke: var(--lime); fill: none; stroke-width: 2; }
.lic-img { background: #fff; padding: 5px 9px; }
.lic-img img { height: 18px; width: auto; display: block; }
.foot-legal { border-top: 1px solid var(--line); }
.foot-legal .fl-in { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-legal p { color: var(--mute); font-size: 12px; }
.foot-18 { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12px; }
.foot-18 .age-badge { flex: none; }

/* ---------- COOKIE ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 320;
  max-width: 560px; margin: 0 auto;
  background: var(--navy-750); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--shadow);
  display: none;
}
.cookie.on { display: block; }
.cookie h4 { font-family: var(--f-display); font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.cookie p { color: var(--dim); font-size: 13px; margin-bottom: 14px; }
.cookie p a { color: var(--lime); }
.cookie-cats { display: grid; gap: 8px; margin-bottom: 14px; }
.cookie-cat { display: flex; justify-content: space-between; align-items: center; background: var(--navy-800); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.cookie-cat .cc-t { font-size: 13px; font-weight: 600; }
.cookie-cat .cc-d { font-size: 11.5px; color: var(--mute); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .sl { position: absolute; inset: 0; background: var(--navy-700); border-radius: 20px; transition: .2s; }
.switch .sl::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: var(--mute); border-radius: 50%; transition: .2s; }
.switch input:checked + .sl { background: var(--lime); }
.switch input:checked + .sl::before { transform: translateX(18px); background: var(--navy-900); }
.switch input:disabled + .sl { opacity: .6; }

/* ---------- TOAST ---------- */
.toast-wrap { position: fixed; top: 76px; right: 20px; z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--navy-750); border: 1px solid var(--line); border-left: 3px solid var(--lime);
  border-radius: 10px; padding: 13px 16px; min-width: 260px; max-width: 340px;
  box-shadow: var(--shadow); animation: toastIn .25s ease;
}
.toast.win { border-left-color: var(--win); }
.toast.err { border-left-color: var(--live); }
.toast b { font-family: var(--f-display); font-size: 13.5px; display: block; }
.toast span { color: var(--dim); font-size: 12.5px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }

/* ---------- MODAL ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(3,6,12,.7); z-index: 340; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.on { display: flex; }
.modal { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r-lg); max-width: 480px; width: 100%; max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-family: var(--f-display); font-size: 17px; }
.modal-head .x { background: var(--navy-750); border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; color: var(--dim); display: grid; place-items: center; }
.modal-body { padding: 22px; }
.mkt-group { margin-bottom: 20px; }
.mkt-group .mg-t { font-size: 12px; color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.mkt-group .mg-odds { display: grid; gap: 8px; }
.mkt-group .mg-odds.c2 { grid-template-columns: repeat(2,1fr); }
.mkt-group .mg-odds.c3 { grid-template-columns: repeat(3,1fr); }
.mg-odds .odd { flex-direction: row; justify-content: space-between; padding: 12px 14px; }

/* fade-up load animation */
[data-fade] { opacity: 0; transform: translateY(14px); animation: fadeUp .5s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; }
  .rail { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 4px; }
  .rail h4 { grid-column: 1/-1; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .g-3 { grid-template-columns: repeat(2,1fr); }
  .stat-cards { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  :root { --head-h: 56px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--head-h); left: 0; right: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line); padding: 10px; gap: 2px; overflow: visible;
  }
  .menu-toggle { display: grid; place-items: center; }
  .search { display: none; }
  .top-row { gap: 12px; }
  .brand { font-size: 21px; }
  .hero { padding: 30px 22px; }
  .g-4, .g-3, .g-2, .field-2 { grid-template-columns: 1fr; }
  .match { grid-template-columns: 1fr; gap: 12px; }
  .match .odds { grid-template-columns: repeat(3,1fr); }
  .mkt-legend { display: none; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .slip { width: 100%; }
  .stat-cards { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
  .res-row { grid-template-columns: 1fr auto 1fr; }
}
