:root {
  --bg: #090d19;
  --surface: #11182a;
  --surface-2: #171f34;
  --paper: #f5f7fb;
  --ink: #151a29;
  --muted: #667085;
  --light-muted: #aeb8cd;
  --line: #dbe0ea;
  --brand: #8b5cf6;
  --brand-2: #27d7a1;
  --accent: #d7ff55;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(8, 13, 28, 0.12);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 10, 20, 0.7), rgba(27, 20, 34, 0.82)),
    radial-gradient(circle at 22% 30%, rgba(171, 32, 92, 0.52), transparent 13rem),
    radial-gradient(circle at 76% 65%, rgba(120, 83, 39, 0.22), transparent 11rem),
    #211927;
  box-shadow: 0 3px 8px rgba(9, 13, 25, 0.3);
}

.hero-inner {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding-block: 40px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.55);
}

.listing {
  padding-block: 78px 84px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2,
.article-content > h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 400px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-kicker {
  color: #6d49de;
}

.cards {
  display: grid;
  gap: 13px;
}

.brand-card {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: 54px minmax(145px, 1fr) minmax(260px, 1.45fr) 100px minmax(250px, 1.25fr);
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(15, 24, 43, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: #bfc5d5;
  box-shadow: var(--shadow);
}

.brand-card--featured {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 18px 55px rgba(101, 68, 189, 0.13);
}

.brand-card--featured::before {
  content: "ÖNERİLEN";
  position: absolute;
  top: 0;
  right: 22px;
  padding: 4px 10px 5px;
  color: #17182a;
  background: var(--accent);
  border-radius: 0 0 8px 8px;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rank {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #5d6780;
  background: #f0f2f7;
  border-radius: 13px;
  font-size: 0.8rem;
  font-weight: 900;
}

.brand {
  min-height: 46px;
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}

.brand--basaribet {
  color: #192241;
}

.brand--basaribet span {
  color: #f0512a;
}

.brand--fixbet {
  color: #153e76;
}

.brand--fixbet span {
  color: #ef8a21;
}

.brand--matador {
  color: #af2427;
  font-family: Georgia, serif;
  letter-spacing: -0.04em;
}

.brand--matador span {
  margin-left: 2px;
  color: #202638;
}

.brand--zbahis {
  color: #202638;
  font-style: italic;
}

.brand--zbahis span {
  margin-right: 3px;
  color: #30a65b;
  font-size: 1.72rem;
}

.brand--bigsbet {
  color: #6134bd;
}

.brand--bigsbet span {
  color: #e74289;
}

.brand--merhabet {
  color: #0f7f76;
}

.brand--merhabet span {
  color: #ef7155;
}

.offer,
.score {
  min-width: 0;
}

.field-label,
.offer small,
.score small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.field-label {
  margin-bottom: 3px;
  font-weight: 700;
}

.offer strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
  line-height: 1.32;
}

.score strong {
  font-size: 1.5rem;
  line-height: 1;
}

.score > span {
  color: #8991a5;
  font-size: 0.8rem;
  font-weight: 700;
}

.score small {
  margin-top: 5px;
}

.actions {
  display: block;
}

.btn-primary {
  width: 100%;
  min-height: 45px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: #6e45dc;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #5d37c4;
}

.btn-primary:focus-visible,
.site-logo:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.35);
  outline-offset: 3px;
}

.guide {
  padding-block: 82px;
  background: #fff;
  border-top: 1px solid #e5e8ef;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 76px;
  align-items: start;
}

.article-content {
  max-width: 760px;
}

.article-content > h2 {
  margin-top: 58px;
  margin-bottom: 20px;
}

.article-content > h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  margin: 34px 0 9px;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.article-content > p,
.faq p {
  color: #50596d;
}

.checklist {
  position: sticky;
  top: 24px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(155deg, #151c31, #0b1020);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(11, 16, 32, 0.18);
}

.checklist-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #0f241e;
  background: var(--brand-2);
  border-radius: 13px;
  font-size: 1.3rem;
  font-weight: 950;
}

.checklist h2 {
  margin: 20px 0 16px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 10px 0 10px 23px;
  color: #d6ddec;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--brand-2);
  font-size: 1.15rem;
}

.checklist p {
  margin: 22px 0 0;
  color: #9faac0;
  font-size: 0.78rem;
}

.faq {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 19px 42px 19px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 780;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 13px;
  right: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #5d37c4;
  background: #eee9ff;
  border-radius: 9px;
  font-size: 1.25rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin-bottom: 20px;
}

.site-footer {
  color: #aeb8cd;
  background: var(--bg);
}

.footer-inner {
  min-height: 96px;
  font-size: 0.84rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong {
  color: #fff;
}

@media (max-width: 1040px) {
  .brand-card {
    grid-template-columns: 48px 150px minmax(220px, 1fr) 80px;
    gap: 18px;
  }

  .actions {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-inner {
    min-height: 150px;
    padding-block: 30px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .listing {
    padding-block: 48px 58px;
  }

  .section-heading {
    display: block;
    margin-bottom: 18px;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .brand-card {
    min-height: 0;
    grid-template-columns: 42px 1fr auto;
    gap: 15px 12px;
    padding: 20px 17px 17px;
    border-radius: 16px;
  }

  .brand-card--featured::before {
    right: 14px;
  }

  .rank {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .brand {
    min-height: 39px;
    font-size: 1.25rem;
  }

  .score {
    text-align: right;
  }

  .score strong {
    font-size: 1.28rem;
  }

  .score small {
    display: none;
  }

  .offer {
    grid-column: 2 / -1;
  }

  .actions {
    grid-column: 1 / -1;
  }

  .btn-primary {
    min-height: 48px;
  }

  .guide {
    padding-block: 58px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-content > h2 {
    margin-top: 44px;
  }

  .checklist {
    position: static;
  }

  .footer-inner {
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
  }
}

@media (max-width: 390px) {
  .brand-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding-inline: 14px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .actions {
    gap: 7px;
  }

  .btn-primary {
    padding-inline: 8px;
    font-size: 0.79rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-card,
  .btn-primary {
    transition: none;
  }
}
