:root {
  --blue-950: #071a3d;
  --blue-900: #0b244f;
  --blue-800: #102f68;
  --gold-500: #f5b832;
  --gold-700: #b97808;
  --green-500: #19c763;
  --green-700: #0a8f43;
  --ink: #162033;
  --muted: #61708a;
  --line: #dde5ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 26, 61, .12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(25, 199, 99, .55); outline-offset: 3px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.responsible-bar {
  background: var(--blue-950);
  color: #dbe7f5;
  font-size: .86rem;
}
.responsible-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}
.responsible-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--blue-950);
  font-weight: 900;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
  backdrop-filter: blur(14px);
}
.site-header.is-stuck { box-shadow: 0 10px 28px rgba(7, 26, 61, .12); }
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 214px; height: 52px; display: block; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--blue-900);
  font-weight: 750;
  font-size: .95rem;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #eef5ff;
  color: var(--blue-950);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--blue-950);
  margin: 5px 0;
}
.hero,
.page-hero {
  background:
    linear-gradient(90deg, rgba(7,26,61,.96), rgba(16,47,104,.96)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px);
  color: #fff;
}
.hero { padding: 72px 0 54px; }
.page-hero { padding: 58px 0; }
.hero__grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 34px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green-500);
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1, h2, h3 {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
  color: inherit;
}
h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.25rem, 6vw, 4.45rem);
}
.page-hero h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { margin: 0; font-size: 1.14rem; }
.hero-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-500); color: var(--blue-950); }
.btn--green { background: var(--green-500); color: var(--blue-950); }
.btn--outline { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.btn--outline-dark { border-color: var(--blue-900); color: var(--blue-900); background: #fff; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.trust-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: .92rem;
}
.hero-board,
.hero-panel,
.contact-card,
.offer-side {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  box-shadow: var(--shadow);
}
.hero-board {
  padding: 18px;
  color: #fff;
}
.hero-board__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.hero-pick {
  display: grid;
  grid-template-columns: 42px 1fr 46px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  text-decoration: none;
}
.hero-pick span,
.hero-pick b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 6px;
  background: var(--gold-500);
  color: var(--blue-950);
  font-weight: 900;
}
.hero-pick small { display: block; color: rgba(255,255,255,.78); }
.hero-board p { color: rgba(255,255,255,.78); margin-bottom: 0; }
.hero-panel {
  padding: 18px;
  display: grid;
  gap: 10px;
}
.hero-panel div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
}
.hero-panel span { color: rgba(255,255,255,.78); }
.hero-panel strong { text-align: right; }
.section { padding: 62px 0; }
.section--soft { background: var(--soft); }
.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}
.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.section-heading .eyebrow { color: var(--green-700); }
.section-heading h2 { color: var(--blue-950); }
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-900);
  font-weight: 800;
  cursor: pointer;
}
.filter-btn.is-active {
  background: var(--blue-950);
  color: #fff;
  border-color: var(--blue-950);
}
.offer-list { display: grid; gap: 14px; }
.offer-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 84px minmax(0, 1fr) 154px;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(7, 26, 61, .07);
}
.offer-card.is-hidden { display: none; }
.offer-card__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #eef5ff;
  color: var(--blue-950);
  font-weight: 950;
}
.operator-logo {
  width: 78px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue-950);
  color: #fff;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 950;
  box-shadow: inset 0 -5px 0 rgba(245,184,50,.9);
}
.operator-logo--goldbonus,
.operator-logo--bonuselite { background: #7a520c; }
.operator-logo--smartbonus,
.operator-logo--playreward { background: #0b6b42; }
.operator-logo--megabet,
.operator-logo--topprime { background: #193a7a; }
.operator-logo--vipclub,
.operator-logo--supergain { background: #2b245f; }
.offer-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}
.offer-card__top span {
  border-radius: 999px;
  background: #fff8df;
  color: #775000;
  padding: 3px 8px;
  font-weight: 800;
  font-size: .78rem;
}
.offer-card__operator {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}
.offer-value {
  margin: 6px 0;
  color: var(--green-700);
  font-weight: 950;
  font-size: 1.1rem;
}
.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.score-row span {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: .88rem;
}
.score-row strong { color: var(--blue-950); }
.offer-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.offer-card li { margin: 2px 0; }
.offer-card__actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}
.text-link {
  color: var(--blue-900);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 34px;
}
.prose p:first-child { margin-top: 0; }
.prose p { margin: 0 0 17px; color: #29374d; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  padding-left: 30px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f8ee;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  border: 0;
  background: transparent;
  color: var(--blue-950);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.faq-answer { padding: 0 18px 18px; color: #334155; }
.faq-answer p { margin: 0; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.comparison-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}
.comparison-table caption {
  padding: 14px 18px;
  text-align: left;
  font-weight: 850;
  color: var(--blue-950);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table thead th {
  background: var(--blue-950);
  color: #fff;
  border-top: 0;
}
.comparison-table tbody tr:nth-child(even) { background: #f8fafc; }
.comparison-table th span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: .9rem;
}
.ranking-grid,
.mini-offer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.ranking-card,
.mini-offer,
.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(7, 26, 61, .07);
}
.ranking-card__rank {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--gold-500);
  color: var(--blue-950);
  font-weight: 950;
}
.ranking-card .operator-logo { margin-bottom: 12px; }
.mini-offer {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
}
.mini-offer .text-link { grid-column: 1 / -1; }
.mini-offer h3 { color: var(--blue-950); }
.mini-offer p { margin: 4px 0 0; color: var(--muted); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 10px;
}
label {
  color: var(--blue-950);
  font-weight: 850;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; }
.offer-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}
.offer-summary {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 25px rgba(7, 26, 61, .07);
}
.offer-side {
  position: sticky;
  top: 104px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  padding: 18px;
}
.offer-side h2 { color: var(--blue-950); font-size: 1.35rem; }
.offer-side dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.offer-side dt { color: var(--muted); font-weight: 750; }
.offer-side dd { margin: 0 0 8px; font-weight: 900; color: var(--blue-950); }
.site-footer {
  background: var(--blue-950);
  color: #dbe7f5;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}
.site-footer h2 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 12px;
}
.site-footer a {
  display: block;
  color: #dbe7f5;
  text-decoration: none;
  margin: 7px 0;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-warning {
  border-left: 4px solid var(--gold-500);
  padding-left: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .9rem;
  color: rgba(255,255,255,.72);
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--blue-950);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 40;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 32px));
  display: none;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 60;
}
.cookie-banner.is-visible { display: grid; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--blue-950);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 80;
}
.toast.is-visible { opacity: 1; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 115px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .hero__grid,
  .page-hero__grid,
  .content-grid,
  .contact-grid,
  .offer-detail {
    grid-template-columns: 1fr;
  }
  .offer-side { position: static; }
  .offer-card {
    grid-template-columns: 58px 84px minmax(0, 1fr);
  }
  .offer-card__actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ranking-grid,
  .mini-offer-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { width: 184px; height: auto; }
  .header-inner { min-height: 68px; }
  .hero { padding: 46px 0 38px; }
  .page-hero { padding: 42px 0; }
  .hero-actions,
  .trust-strip,
  .section-heading--split,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .section { padding: 44px 0; }
  .offer-card {
    grid-template-columns: 52px 1fr;
    align-items: start;
  }
  .offer-card .operator-logo { grid-column: 2; }
  .offer-card__body,
  .offer-card__actions { grid-column: 1 / -1; }
  .offer-card__actions { grid-template-columns: 1fr; }
  .ranking-grid,
  .mini-offer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel div,
  .hero-board__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 12px;
  }
  .offer-summary { grid-template-columns: 1fr; }
}

.offer-card .operator-logo{
    width:120px;
    height:60px;
    margin:0 auto 16px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.offer-card .operator-logo img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
}

.footer-logos {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.footer-logos-grid a,
.footer-logos-grid img {
  display: block;
}

.footer-logos-grid img {
  height: 40px;
  width: auto;
  opacity: .75;
  transition: opacity .2s ease;
}

.footer-logos-grid a:hover img {
  opacity: 1;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 26, 61, 0.88), rgba(16, 47, 104, 0.76)),
    url("../images/hero-bg.jpg") center center / cover no-repeat;
  color: #fff;
}