:root {
  color-scheme: light;
  --page: #f4f7fb;
  --paper: #ffffff;
  --ink: #172033;
  --text: #344054;
  --muted: #667085;
  --line: #d7dee9;
  --navy: #172033;
  --green: #0f8a5f;
  --mint: #dff6ea;
  --red: #e0394f;
  --blue: #2f6fdd;
  --yellow: #f7c948;
  --shadow: 0 18px 45px rgba(23,32,51,.10);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(15,138,95,.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0, var(--page) 48%, #eef3f8 100%);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; color: var(--text); line-height: 1.72; }
strong { color: var(--ink); }
.container { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; white-space: nowrap; color: var(--navy); }
.brand img { width: 46px; height: 46px; }
.brand span { font-size: 1rem; }
.lang-switch {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: var(--mint);
  color: var(--green);
  font-size: .82rem;
  font-weight: 950;
}
.flag-pl { width: 19px; height: 13px; border: 1px solid rgba(23,32,51,.24); background: linear-gradient(to bottom,#fff 0 50%,#dc143c 50% 100%); }
.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle span,.menu-toggle::before,.menu-toggle::after { content: ""; width: 18px; height: 2px; background: currentColor; display: block; }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.main-nav {
  position: fixed;
  inset: 70px 0 auto 0;
  display: none;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.main-nav.is-open { display: grid; }
.main-nav a {
  padding: 11px 10px;
  color: var(--muted);
  font-weight: 900;
  font-size: .9rem;
}
.main-nav a:hover { color: var(--green); background: var(--mint); }

.hero {
  padding: 30px 0 12px;
  background:
    linear-gradient(90deg, var(--navy) 0, var(--navy) calc(50% - 270px), transparent calc(50% - 270px)),
    linear-gradient(180deg, rgba(47,111,221,.08), transparent);
}
.hero-box {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0;
  max-width: 1040px;
  padding: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-box::before {
  content: "";
  display: block;
  background: linear-gradient(180deg, var(--green), var(--blue), var(--red));
}
.hero-copy { padding: 28px 20px 30px; }
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 950;
  font-size: .78rem;
  text-transform: uppercase;
}
h1,h2,h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 {
  margin-top: 16px;
  max-width: 880px;
  font-size: clamp(2.15rem, 8vw, 4.85rem);
  color: var(--navy);
}
.lead { margin-top: 18px; max-width: 780px; color: #26364d; font-size: clamp(1.03rem, 2.4vw, 1.2rem); }
.hero-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 10px; border: 1px solid var(--line); background: #f8fafc; color: var(--muted); font-weight: 900; font-size: .86rem; }

.offers { padding: 30px 0 20px; }
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head::before {
  content: "";
  width: 54px;
  height: 8px;
  background: var(--red);
}
.section-head h2 { font-size: clamp(1.45rem, 5vw, 2.55rem); color: var(--navy); }
.offer-list { display: grid; gap: 14px; }
.offer-card {
  display: grid;
  grid-template-columns: 56px 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(23,32,51,.07);
  position: relative;
}
.offer-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--blue));
}
.offer-card:nth-child(3n)::after { background: var(--red); }
.rank {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 1000;
}
.logo-box { width: 112px; height: 68px; display: flex; align-items: center; justify-content: center; justify-self: center; overflow: hidden; border: 1px solid var(--line); background: #101828; line-height: 0; }
.logo-box img { width: calc(100% - 14px); height: calc(100% - 14px); max-width: calc(100% - 14px); max-height: calc(100% - 14px); object-fit: contain; object-position: 50% 50%; margin: auto; padding: 0; }
.logo-box img[alt*="Slottica"],
.logo-box img[alt*="Fiery"],
.logo-box img[alt*="NV"],
.logo-box img[alt*="Gambloria"],
.logo-box img[alt*="Spinbetter"],
.logo-box img[alt*="Slotoro"] { transform: translateY(-2px); }
.logo-fallback { display: none; color: var(--yellow); font-weight: 1000; font-size: 1.2rem; }
.offer-main { min-width: 0; }
.offer-main h3 { font-size: 1.08rem; margin-bottom: 5px; color: var(--navy); }
.bonus { color: var(--ink); font-weight: 950; line-height: 1.32; }
.deposit { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.offer-meta,.legal-note,.cta { grid-column: 1 / -1; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 6px 8px; border: 1px solid var(--line); background: #f8fafc; color: var(--muted); font-size: .76rem; font-weight: 900; }
.rating { color: var(--green); background: var(--mint); border-color: rgba(15,138,95,.22); }
.legal-note { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.cta {
  min-height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 1000;
}

.content { padding: 24px 0 0; }
.content-grid { display: grid; gap: 18px; }
.article { width: 100%; }
.article-card,.faq details,.info-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(23,32,51,.05);
}
.table-card,.mini-offer { border: 1px solid var(--line); background: #fff; }
.article-card { padding: 18px; margin-bottom: 16px; }
.article-card h2 { font-size: clamp(1.35rem, 5vw, 2.05rem); margin-bottom: 12px; color: var(--navy); }
.article-card h3 {
  margin: 24px 0 9px;
  padding-left: 12px;
  border-left: 5px solid var(--green);
  font-size: 1.18rem;
  color: var(--navy);
}
.article-card ul,.article-card ol { margin: 0; padding-left: 1.15rem; color: var(--text); line-height: 1.72; }
.article-card li + li { margin-top: 7px; }
.responsive-table { width: 100%; border-collapse: collapse; }
.responsive-table th,.responsive-table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.responsive-table th { color: var(--green); font-size: .82rem; text-transform: uppercase; }
.responsive-table tr:last-child td { border-bottom: 0; }
.mini-offer { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; margin: 12px 0 16px; padding: 12px; }
.mini-logo { width: 100px; height: 62px; display: block; object-fit: contain; object-position: 50% 50%; padding: 7px; background: #101828; border: 1px solid var(--line); }
.mini-offer a { display: block; font-weight: 950; color: var(--navy); }
.mini-offer div span { color: var(--muted); font-size: .9rem; }
.brand-shot { margin: 12px 0 16px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.brand-shot img { display: block; width: 100%; height: auto; object-fit: contain; object-position: top center; }

.toc {
  position: fixed;
  left: 0;
  top: 50vh;
  z-index: 45;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}
.toc details { position: relative; }
.toc summary {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  border: 1px solid #076b4d;
  box-shadow: 0 10px 24px rgba(15,138,95,.24);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary span { font-size: 1.45rem; line-height: 1; transform: translateX(1px); transition: transform .18s ease; }
.toc details[open] summary span { transform: rotate(180deg); }
.toc nav {
  position: absolute;
  left: 42px;
  top: 0;
  width: min(285px, calc(100vw - 60px));
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  background: #fff;
  box-shadow: var(--shadow);
}
.toc nav strong { display: block; margin-bottom: 6px; color: var(--green); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.toc a { padding: 9px 8px; color: var(--muted); font-size: .92rem; font-weight: 850; }
.toc a:hover { color: var(--green); background: var(--mint); }

.faq { display: grid; gap: 10px; }
.faq summary { padding: 14px; cursor: pointer; font-weight: 950; }
.faq p { padding: 0 14px 14px; margin: 0; }
.info-panel { padding: 16px; }
.site-footer { padding: 30px 0; background: var(--navy); border-top: 6px solid var(--green); }
.site-footer p,.site-footer .footer-links a { color: #cbd5e1; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-links a { font-weight: 850; }
.footer-contact { margin-top: 8px; font-size: .92rem; }
.footer-contact a { color: var(--yellow); font-weight: 900; }
.back-top { position: fixed; right: 14px; bottom: 14px; z-index: 60; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--navy); color: #fff; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 719px) {
  .container { width: min(100% - 22px, 1180px); }
  .nav-wrap { grid-template-columns: auto 1fr auto; }
  .brand span { font-size: .9rem; }
  .hero { padding-top: 18px; }
  .hero-copy { padding: 24px 16px; }
  h1 { font-size: clamp(2rem, 10vw, 3.15rem); overflow-wrap: anywhere; }
  .responsive-table thead { display: none; }
  .responsive-table,.responsive-table tbody,.responsive-table tr,.responsive-table td { display: block; width: 100%; }
  .responsive-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .responsive-table td { border: 0; display: grid; grid-template-columns: minmax(112px,40%) 1fr; gap: 10px; padding: 7px 12px; }
  .responsive-table td::before { content: attr(data-label); color: var(--green); font-weight: 950; font-size: .78rem; }
}
@media (min-width: 720px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; justify-self: end; align-items: center; gap: 2px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .main-nav a { padding: 9px 10px; }
  .hero { padding: 44px 0 20px; }
  .offer-card { grid-template-columns: 58px 140px minmax(240px,1.1fr) minmax(210px,.9fr) auto; gap: 16px; padding: 16px 22px 16px 16px; }
  .rank { width: 48px; height: 48px; }
  .logo-box { width: 140px; height: 84px; }
  .offer-meta,.legal-note,.cta { grid-column: auto; }
  .legal-note { font-size: .82rem; }
  .cta { min-width: 132px; padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1020px) {
  .article-card { padding: 24px; }
}
