:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1b2f;
  --panel-2: #132845;
  --ink: #f6f9ff;
  --soft: #dbe5f4;
  --muted: #9eb0c9;
  --line: #29415f;
  --red: #f04452;
  --blue: #42a5ff;
  --lime: #b8f45d;
  --yellow: #ffd166;
  --shadow: 0 20px 50px rgba(0,0,0,.34);
  --radius: 2px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(66,165,255,.08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(180deg, #07111f, #0a1526 45%, #050b14);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; color: var(--soft); line-height: 1.72; }
strong { color: var(--ink); }
.container { width: min(1160px, calc(100% - 28px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,17,31,.92);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 58px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 950; white-space: nowrap; }
.brand img { width: 42px; height: 42px; }
.brand span { font-size: .9rem; }
.lang-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 9px;
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--soft);
  font-size: .8rem;
  font-weight: 900;
}
.flag-pl { width: 18px; height: 12px; border: 1px solid rgba(255,255,255,.45); background: linear-gradient(to bottom,#fff 0 50%,#dc143c 50% 100%); }
.menu-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  background: var(--panel);
  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: 58px 0 auto 0;
  display: none;
  padding: 12px 14px;
  background: rgba(7,17,31,.98);
  border-bottom: 2px solid var(--red);
}
.main-nav.is-open { display: grid; }
.main-nav a { padding: 11px 10px; color: var(--muted); font-weight: 850; }
.main-nav a:hover { color: var(--ink); background: rgba(240,68,82,.12); }
.hero { padding: 28px 0 0; }
.hero-box {
  padding: 24px 16px;
  border: 2px solid var(--line);
  border-left: 8px solid var(--red);
  background: linear-gradient(135deg, rgba(240,68,82,.12), transparent 42%), var(--panel);
  box-shadow: var(--shadow);
}
.eyebrow { display: inline-flex; padding: 7px 10px; background: var(--red); color: #fff; font-weight: 950; font-size: .78rem; }
h1,h2,h3 { margin: 0; line-height: 1.12; letter-spacing: 0; }
h1 { margin-top: 14px; max-width: 920px; font-size: clamp(2rem, 8vw, 4rem); }
.lead { margin-top: 14px; max-width: 820px; font-size: clamp(1.02rem, 2.8vw, 1.2rem); }
.hero-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 10px; border: 1px solid var(--line); background: #09182b; color: var(--muted); font-weight: 850; font-size: .86rem; }
.section { padding: 34px 0; }
.section-head { display: grid; gap: 9px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.45rem, 5.5vw, 2.55rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 820px; }
.offer-list { display: grid; gap: 10px; }
.offer-card {
  display: grid;
  grid-template-columns: 42px 94px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 2px solid var(--line);
  border-left: 8px solid var(--blue);
  background: #09182b;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.offer-card:nth-child(odd) { border-left-color: var(--red); }
.rank { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 1000; }
.logo-box { width: 94px; height: 66px; display: grid; place-items: center; justify-self: center; align-self: center; overflow: hidden; border: 2px solid #203957; background: #02060d; }
.logo-box img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 7px; }
.logo-fallback { display: none; color: var(--yellow); font-weight: 1000; font-size: 1.35rem; letter-spacing: .04em; }
.offer-main { min-width: 0; }
.offer-main h3 { font-size: 1.04rem; margin-bottom: 4px; }
.bonus { color: #fff; 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: var(--panel-2); color: var(--muted); font-size: .76rem; font-weight: 850; }
.rating { color: var(--lime); }
.legal-note { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.cta { min-height: 42px; display: inline-flex; justify-content: center; align-items: center; background: var(--red); color: #fff; font-weight: 1000; }
.notice { margin-top: 18px; padding: 14px; border: 2px solid rgba(184,244,93,.4); background: rgba(184,244,93,.08); }
.notice p { margin: 0; color: #eaffcf; }
.content-grid { display: grid; gap: 18px; }
.toc,.article-card,.table-card,.mini-offer,.faq details,.info-panel { border: 2px solid var(--line); background: rgba(9,24,43,.9); }
.toc { overflow: hidden; }
.toc summary { padding: 13px 14px; cursor: pointer; font-weight: 950; }
.toc nav { display: grid; gap: 2px; padding: 0 12px 12px; }
.toc a { padding: 8px; color: var(--muted); font-size: .92rem; }
.toc a:hover { color: #fff; background: rgba(66,165,255,.12); }
.article-card { padding: 16px; margin-bottom: 14px; }
.article-card h2 { font-size: clamp(1.35rem, 5vw, 2.05rem); margin-bottom: 12px; }
.article-card h3 { margin: 20px 0 9px; font-size: 1.18rem; color: var(--yellow); }
.article-card ul,.article-card ol { margin: 0; padding-left: 1.15rem; color: var(--soft); 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 rgba(255,255,255,.09); }
.responsive-table th { color: var(--yellow); font-size: .82rem; text-transform: uppercase; }
.responsive-table tr:last-child td { border-bottom: 0; }
.mini-offer { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; margin: 12px 0 16px; padding: 12px; background: rgba(66,165,255,.08); }
.mini-logo { width: 92px; height: 58px; display: block; object-fit: contain; object-position: center; padding: 7px; background: #02060d; border: 1px solid var(--line); }
.mini-offer a { display: block; font-weight: 950; color: #fff; }
.mini-offer div span { color: var(--muted); font-size: .9rem; }
.brand-shot { margin: 12px 0 16px; border: 2px solid var(--line); background: #02060d; overflow: hidden; }
.brand-shot img { display: block; width: 100%; height: auto; object-fit: contain; object-position: top center; }
.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: #02060d; border-top: 2px solid var(--red); }
.footer-grid { display: grid; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-links a { color: var(--muted); font-weight: 850; }
.footer-contact { margin-top: 8px; color: var(--muted); 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: 2px solid var(--line); background: var(--red); 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) {
  .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 rgba(255,255,255,.08); }
  .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(--yellow); font-weight: 950; font-size: .78rem; }
}
@media (min-width: 720px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 2px; padding: 0; border: 0; background: transparent; }
  .main-nav a { padding: 9px 10px; font-size: .88rem; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: .96rem; }
  .hero { padding: 34px 0 18px; }
  .hero-box { padding: 34px 30px; }
  .offer-card { grid-template-columns: 46px 128px minmax(190px,1.25fr) minmax(210px,1fr) auto; gap: 16px; padding: 16px; }
  .logo-box { width: 128px; height: 78px; }
  .offer-meta,.legal-note,.cta { grid-column: auto; }
  .legal-note { font-size: .8rem; }
  .cta { min-width: 132px; padding: 0 16px; }
  .content-grid { grid-template-columns: 230px 1fr; align-items: start; }
  .toc { position: sticky; top: 78px; }
  .toc[open] nav { max-height: calc(100vh - 165px); overflow: auto; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1020px) {
  .article-card { padding: 22px; }
}
