:root {
  --bg-dark: #071311;
  --bg-mid: #0c1c19;
  --emerald: #0f3d2e;
  --accent: #19c37d;
  --accent-soft: #8cf0c2;
  --text: #102231;
  --muted: #738397;
  --light: #f2f6f8;
  --line: #deebea;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 580px at 8% -200px, rgba(25,195,125,.15), transparent 55%),
    radial-gradient(900px 450px at 90% -120px, rgba(15,61,46,.18), transparent 60%),
    linear-gradient(180deg, #eef3f6 0%, #f4f7fa 48%, #f2f5f8 100%);
}
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { max-width: 100%; height: auto; }
.container { width: min(1120px, 94vw); margin: 0 auto; }

.top-header {
  background: linear-gradient(135deg, var(--bg-mid) 0%, var(--emerald) 100%);
  color: #fff;
  box-shadow: 0 10px 34px rgba(4, 14, 11, .45);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-main { display: grid; grid-template-columns: 190px 1fr 350px; gap: 18px; align-items: center; padding: 12px 0; }
.logo { font-size: 30px; font-weight: 800; letter-spacing: .2px; text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.search-wrap input {
  width: 100%;
  border: 1px solid rgba(140,240,194,.18);
  border-radius: 12px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  color: #e7f6f0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 20px rgba(0,0,0,.22);
}
.search-wrap input::placeholder { color: rgba(230,245,240,.72); }
.header-actions { display: flex; justify-content: flex-end; gap: 10px; }
.btn { border-radius: 999px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.45); font-weight: 600; font-size: 14px; transition: all .24s ease; }
.btn-signup { background: #fff; color: #2f6f42; border-color: #fff; }
.btn-login { border-color: rgba(140,240,194,.55); }
.btn-help { border-color: transparent; opacity: .95; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.18); }

.icon-nav { border-top: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(3px); }
.icon-row { display: flex; gap: 16px; overflow-x: auto; white-space: nowrap; padding: 11px 0; font-size: 13px; }
.icon-item { opacity: .95; }
.icon-item:hover { opacity: 1; text-shadow: 0 0 12px rgba(255,255,255,.35); }

.homepage { padding: 14px 0 0; }
.card { background: rgba(255,255,255,.95); border-radius: 16px; box-shadow: 0 14px 28px rgba(14,35,49,.1); border: 1px solid #e5edf2; margin-bottom: 16px; backdrop-filter: blur(4px); }

.hero-slider { position: relative; border-radius: 16px; overflow: hidden; height: 280px; background: #cfd5df; margin-bottom: 16px; box-shadow: 0 20px 40px rgba(12,26,38,.28); }
.slides { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.01); transition: opacity .55s ease, transform 4.4s ease; }
.slide.active { opacity: 1; transform: scale(1.06); }
.slide-content { position: absolute; left: 30px; bottom: 30px; color: #fff; max-width: 58%; }
.slide-content h2 { font-size: 33px; line-height: 1.1; margin: 0 0 16px; text-transform: uppercase; font-weight: 800; text-shadow: 0 4px 18px rgba(0,0,0,.45); }
.slide-cta {
  background: linear-gradient(135deg, #ff5545, #d8222c);
  color: #fff;
  border: 0;
  border-radius: 999px;
  height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(164, 14, 31, .35);
  transition: transform .22s ease, box-shadow .22s ease;
}
.slide-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(164,14,31,.45); }
.dots { position: absolute; right: 15px; bottom: 13px; display: flex; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.48); }
.dot.active { background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(140,240,194,.2); }

.sports-cats { padding: 16px 18px 14px; }
.sports-cats h3 { margin: 0 0 10px; font-size: 16px; }
.cat-row { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; overflow-x: auto; }
.cat { font-size: 13px; padding: 7px 12px; border-radius: 20px; color: #707784; transition: all .22s ease; }
.cat.active { background: linear-gradient(135deg, #e7f8ef, #d9f4e8); color: var(--emerald); font-weight: 700; }
.cat:hover { background: #f0f4f8; }
.cat::before { content: "●"; font-size: 8px; color: #95a2b5; margin-right: 6px; vertical-align: middle; }
.cat.active::before { color: var(--accent); }
.info-strip { background: #dff4e7; border: 1px solid #a8debb; padding: 8px 10px; font-size: 12px; color: #3c6f4d; border-radius: 8px; }

.match-board { padding: 16px; }
.board-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.board-header h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.3px; color: #0f2637; }
.more { font-size: 14px; color: var(--emerald); font-weight: 800; padding: 7px 12px; border-radius: 999px; border: 1px solid #cce8da; }
.more:hover { background: #ecf6f0; }
.bet-tabs { display: flex; gap: 10px; margin-bottom: 12px; }
.bet-tab { border: 1px solid #dce4ec; background: #f7fbf9; color: #4d5a6d; border-radius: 12px; min-width: 84px; height: 37px; padding: 0 16px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .22s ease; }
.bet-tab.active { background: linear-gradient(135deg, var(--emerald), #13523b); color: #fff; border-color: transparent; box-shadow: 0 10px 22px rgba(9,56,39,.32); }
.league-block { border: 1px solid #dce6ef; border-radius: 14px; overflow: hidden; margin-bottom: 14px; background: #fff; box-shadow: 0 8px 18px rgba(20,31,45,.06); transition: transform .26s ease, box-shadow .26s ease; }
.league-block:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,31,45,.12); }
.league-title { background: linear-gradient(135deg, #0a202b, #123140); color: #fff; padding: 11px 14px; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.league-title span { opacity: .95; font-size: 13px; background: rgba(255,255,255,.14); padding: 4px 8px; border-radius: 999px; }
.match-line { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 16px 14px; border-top: 1px solid #edf2f7; }
.match-meta { min-width: 240px; }
.match-name { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.match-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.odds-grid { display: grid; grid-template-columns: repeat(6, minmax(78px, auto)); gap: 8px; align-items: stretch; }
.odd-box {
  border: 1px solid #cfdae6;
  border-radius: 14px;
  min-width: 78px;
  height: 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  color: #2e394b;
  cursor: pointer;
  padding: 6px 6px 5px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.odd-box b { display: block; color: #1d2736; font-size: 24px; line-height: 1; margin-bottom: 7px; font-weight: 800; }
.odd-box small { display: block; font-size: 11px; font-weight: 700; color: #6b778b; text-transform: uppercase; letter-spacing: .3px; }
.odd-box:hover { transform: translateY(-2px) scale(1.02); border-color: #92d2b4; box-shadow: 0 12px 22px rgba(8,62,43,.2); background: linear-gradient(180deg, #ffffff 0%, #e9f7f0 100%); }
.odd-box.is-selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f3fff9 0%, #d8f8e9 100%);
  box-shadow: 0 16px 24px rgba(7,72,49,.28), 0 0 0 2px rgba(25,195,125,.18);
}
.odd-box.disabled { background: linear-gradient(#f8f9fc 0%, #eff2f6 100%); border-color: #e2e7ee; color: #a1aab8; cursor: default; opacity: .85; }
.odd-box.disabled b { color: #9aa3b3; }
.all-btn { border: 1px solid #d3dbe5; border-radius: 11px; background: #f5f8fb; width: 62px; color: #1e2a35; font-weight: 800; font-size: 22px; line-height: 1.05; cursor: pointer; transition: all .22s ease; }
.all-btn small { font-size: 11px; font-weight: 700; color: #6b7382; }
.all-btn:hover { border-color: #8ca2bb; transform: translateY(-1px) scale(1.02); }
.coupon-row { padding: 12px 14px; }
.coupon-item { display: grid; grid-template-columns: 1fr 230px; gap: 10px; align-items: center; border-bottom: 1px solid #e9eef4; padding: 12px 0; }
.coupon-item:last-child { border-bottom: 0; }
.coupon-item strong { font-size: 16px; letter-spacing: -.2px; }
.coupon-odd { display: grid; grid-template-columns: 32px 1fr 64px; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; padding: 0; background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; cursor: pointer; }
.coupon-odd { appearance: none; font-family: inherit; }
.coupon-odd span:first-child { background: #ff7a00; color: #fff; font-weight: 800; text-align: center; line-height: 40px; }
.coupon-odd span:nth-child(2) { background: #8a8e95; color: #fff; font-size: 15px; font-weight: 700; text-align: center; line-height: 40px; }
.coupon-odd b { background: #fff; color: #20262f; text-align: center; line-height: 40px; font-size: 29px; }
.coupon-odd:hover { transform: translateY(-1px); border-color: #9ec9b2; box-shadow: 0 10px 18px rgba(27,108,68,.16); }
.coupon-odd.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(25,195,125,.2), 0 12px 20px rgba(10,77,53,.22); }
.board-footer { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.total-wrap {
  background: linear-gradient(145deg, #f0fbf6, #dff6eb);
  border: 1px solid #ccecd9;
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 220px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 18px rgba(14,82,58,.12);
}
.total-wrap small { display: block; font-size: 13px; color: #5f6c7f; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.total { font-size: 42px; font-weight: 800; color: var(--emerald); line-height: 1; }
.play-btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #0f8a5a);
  color: #fff;
  height: 50px;
  min-width: 162px;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 16px 26px rgba(10,91,59,.35);
  transition: transform .24s ease, box-shadow .24s ease;
}
.play-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 34px rgba(10,91,59,.42); }

.site-footer { background: #000; color: #fff; padding: 14px 0 18px; margin-top: 18px; }
.footer-shell { max-width: 980px; }
.store-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 12px 0 8px; }
.store-btn {
  border: 1px solid rgba(255,255,255,.2);
  background: #080808;
  border-radius: 6px;
  color: #f3f5f6;
  min-width: 140px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
}
.store-btn:hover { border-color: rgba(255,255,255,.45); transform: translateY(-1px); }
.store-ico { font-size: 12px; opacity: .95; }
.store-btn b { display: block; font-size: 10px; line-height: 1.1; font-weight: 700; }
.store-btn small { display: block; font-size: 8px; opacity: .62; line-height: 1.1; }

.social-row { display: flex; justify-content: center; gap: 8px; padding: 10px 0 16px; }
.social-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  background: #050505;
}
.social-btn:hover { box-shadow: 0 0 12px rgba(255,255,255,.18); opacity: .9; }

.footer-accordion-list { border-top: 1px solid rgba(255,255,255,.09); }
.footer-item { border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-item:hover { background: rgba(255,255,255,.03); }
.footer-acc-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f8f8f8;
  height: 42px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  text-align: left;
}
.footer-acc-btn span { color: #c6ccd6; font-size: 17px; transition: transform .2s ease; }
.footer-item.open .footer-acc-btn span { transform: rotate(180deg); }
.footer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .24s ease;
  background: #080808;
}
.footer-panel a {
  display: block;
  color: #9da4b1;
  font-size: 14px;
  padding: 0 8px 10px;
}
.footer-panel a:hover { color: #d6f6e8; }
.new-badge {
  background: #d12f3a;
  color: #fff;
  border-radius: 10px;
  font-style: normal;
  font-size: 9px;
  padding: 2px 5px;
  margin-right: auto;
}

.sponsors-title { text-align: center; font-size: 21px; font-weight: 700; margin: 18px 0 10px; }
.sponsors-row { display: flex; justify-content: center; gap: 18px; margin-bottom: 12px; }
.sponsor-logo {
  width: 48px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(180deg, #143f81, #092b62);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.legal-strip {
  background: #2c2d31;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -2vw 10px;
}
.age-badge {
  background: #d62f31;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 6px;
  padding: 2px 7px;
  line-height: 1.2;
}
.legal-strip p { margin: 0; color: #d2d4dc; font-size: 12px; text-align: center; max-width: 560px; }
.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 12px 0 16px;
  min-height: 44px;
  padding-top: 0;
}
.brand-logo { display: block; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,.3)); }
.iddaa-logo {
  position: static;
  height: 28px;
  width: 110px;
}
.sportoto-logo {
  height: 28px;
  width: 110px;
  object-position: center;
}

.footer-links {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-links a {
  color: #d0d5de;
  font-size: 11px;
  position: relative;
}
.footer-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -9px;
  color: #7e8694;
}
.legal { margin: 12px 0 0; color: #c0c5cf; font-size: 12px; text-align: center; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: .22s ease; z-index: 98; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { position: fixed; z-index: 99; background: #f6f7f9; border-radius: 14px; box-shadow: 0 25px 50px rgba(10,17,28,.34); opacity: 0; pointer-events: none; transition: .25s ease; }
.modal.active { opacity: 1; pointer-events: all; }

.login-modal {
  width: min(760px, 92vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(.97);
  padding: 30px 42px 34px;
  border-radius: 16px;
  background: #f3f4f7;
}
.login-modal.active { transform: translate(-50%,-50%) scale(1); }
.close-modal { position: absolute; right: 16px; top: 14px; border: 2px solid #cfd2db; width: 48px; height: 48px; border-radius: 50%; font-size: 34px; color: #bec3cf; background: transparent; line-height: .92; cursor: pointer; }
.login-modal h2 { margin: 0 0 16px; color: #1f9655; font-size: 50px; font-weight: 600; letter-spacing: .2px; }

.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 19px; color: #5f6680; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; border: 0; border-bottom: 2px solid #c8ced9; background: transparent; height: 42px; font-size: 36px; color: #4a4f67; outline: none;
}
.login-modal .field { margin-bottom: 20px; }
.login-modal .field span { font-size: 22px; color: #5f6679; margin-bottom: 6px; }
.login-modal .field input {
  font-size: 36px;
  height: 54px;
  border-bottom-color: #b6bcc9;
  color: #3f4658;
}
.password-row { display: grid; grid-template-columns: 1fr 160px; gap: 16px; align-items: end; }
.forgot { color: #343844; font-size: 28px; line-height: .98; padding-bottom: 10px; text-align: left; }
.login-modal .disabled-action {
  width: 100%;
  height: 78px;
  border-radius: 40px;
  border: 0;
  color: #8f97ad;
  background: #e3e4ee;
  font-weight: 700;
  font-size: 56px;
  margin-top: 10px;
  letter-spacing: .4px;
}

.register-modal {
  width: min(640px, 92vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.95);
  border-radius: 18px;
  background: #fbfcfe;
  max-height: 90vh;
  overflow: auto;
  padding: 18px 20px 24px;
}
.register-modal.active { transform: translate(-50%, -50%) scale(1); }
.register-modal .back { position: absolute; left: 14px; top: 10px; border: 0; background: transparent; color: #45a05d; font-size: 30px; cursor: pointer; }
.register-modal h2 { text-align: center; margin: 2px 0 16px; font-size: 36px; font-weight: 600; }
.register-form { width: 100%; margin: 0 auto; }
.register-form .field span { font-size: 16px; color: #6f7482; }
.register-form .field input, .register-form .field select { font-size: 18px; height: 40px; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.switch-row { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: start; margin: 10px 0; position: relative; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 38px; height: 22px; background: #c7ccd8; border-radius: 24px; position: relative; margin-top: 1px; }
.switch::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #95a2b3; position: absolute; top: 2px; left: 2px; }
.switch-row small { font-size: 14px; line-height: 1.35; color: #6f7482; }
.register-modal .disabled-action { height: 52px; font-size: 24px; margin-top: 12px; border-radius: 26px; }

.policy-page { min-height: 56vh; padding: 22px 0 40px; }
.policy-card { background: #fff; border: 1px solid #e8e9ef; border-radius: 12px; box-shadow: 0 1px 6px rgba(36,39,49,.08); padding: 24px; }
.policy-card h1 { margin: 0 0 12px; font-size: 30px; }
.policy-card p { color: #575f6f; line-height: 1.7; }
.policy-card h2 { margin: 26px 0 8px; font-size: 26px; color: #1f2a38; }
.kvkk-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: "Inter", Arial, sans-serif;
  color: #111827;
  font-size: 14px;
  line-height: 1.58;
}
.kunye-card { text-align: center; }
.kunye-logo { width: min(300px, 70%); height: auto; margin: 10px auto 22px; display: block; }
.kunye-strong { font-size: 20px; font-weight: 700; color: #202736; line-height: 1.45; }

@media (max-width: 1100px) {
  .header-main { grid-template-columns: 150px 1fr 280px; }
  .slide-content h2 { font-size: 25px; }
}

@media (max-width: 900px) {
  .header-main { grid-template-columns: 1fr; gap: 10px; }
  .header-actions { justify-content: flex-start; }
  .hero-slider { height: 210px; }
  .slide-content { max-width: 78%; left: 16px; bottom: 16px; }
  .slide-content h2 { font-size: 21px; }
  .board-header h3 { font-size: 23px; }
  .more { font-size: 20px; }
  .match-line { flex-direction: column; align-items: flex-start; }
  .match-meta { min-width: 0; width: 100%; }
  .odds-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .odd-box b { font-size: 20px; }
  .coupon-item { grid-template-columns: 1fr; }
  .coupon-item strong { font-size: 16px; }
  .coupon-odd b { font-size: 20px; }
  .total-wrap small { font-size: 16px; }
  .total { font-size: 35px; }
  .login-modal { width: min(760px, 94vw); padding: 22px 20px 24px; border-radius: 14px; }
  .close-modal { width: 42px; height: 42px; font-size: 30px; right: 12px; top: 10px; }
  .login-modal h2 { font-size: 32px; margin-bottom: 12px; }
  .login-modal .field span { font-size: 16px; margin-bottom: 4px; }
  .login-modal .field input { font-size: 34px; height: 46px; }
  .password-row { grid-template-columns: 1fr 122px; gap: 12px; }
  .forgot { font-size: 22px; padding-bottom: 8px; }
  .login-modal .disabled-action { height: 62px; font-size: 42px; }
  .register-modal { width: min(560px, 94vw); padding: 14px 14px 20px; }
  .register-modal h2 { font-size: 30px; }
  .register-form .field span { font-size: 14px; }
  .register-form .field input, .register-form .field select { font-size: 16px; height: 38px; }
  .switch-row small { font-size: 13px; }
  .register-modal .disabled-action { height: 48px; font-size: 20px; }
  .footer-acc-btn { height: 36px; font-size: 16px; }
  .sponsors-title { font-size: 16px; }
  .brand { font-size: 28px; }
  .brand-row { min-height: 40px; gap: 10px; padding-top: 0; }
  .iddaa-logo, .sportoto-logo { height: 22px; width: 90px; }
  .legal-strip { margin-left: 0; margin-right: 0; }
}
