:root {
  --bg: #020617;
  --surface: #0F172A;
  --text: #F8FAFC;
  --muted: #64748B;
  --primary: #BEF264;
  --secondary: #334155;
  --accent: #84CC16;
  --border: rgba(190, 242, 100, 0.2);
  --font: "Arial Narrow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Consolas", monospace;
  --maxw: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  text-transform: uppercase;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.disclosure-bar {
  display: flex;
  width: 100%;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}

.disclosure-bar-icon {
  flex: 0 0 40px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
}

.disclosure-bar-text {
  flex: 1;
  background: #F1F5F9;
  color: #0F172A;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 14px;
  text-align: left;
  font-weight: 500;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-back {
  height: 64px;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.nav-front {
  max-width: var(--maxw);
  margin: -8px auto 0;
  padding: 0 16px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 78%;
  max-width: 320px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 72px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer.active {
  transform: translateX(0);
}

.drawer a {
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: 0;
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 380px;
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(190, 242, 100, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 242, 100, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 48px 40px;
  background: var(--surface);
}

.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  max-width: 520px;
  color: var(--primary);
}

.hero-sub {
  margin-top: 16px;
  font-size: clamp(14px, 2vw, 17px);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.offers {
  background-image: url("/images/offers_bg/offers_bg.svg");
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
}

.offers h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 8px;
}

.offers .lead {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 32px;
  font-size: 15px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.offer-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #1a1a1a;
  border: 1px solid #e2e8f0;
}

.offer-logo {
  width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto 14px;
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-name {
  font-size: 18px;
  font-weight: 700;
  color: #14181f;
  margin-bottom: 8px;
  text-transform: none;
}

.offer-bonus-group {
  margin-bottom: 8px;
}

.offer-bonus {
  font-size: 14px;
  font-weight: 600;
  color: #1f6f43;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-terms {
  font-size: 11px;
  color: #8a8f98;
  margin-top: 4px;
  font-weight: 500;
}

.offer-desc {
  font-size: 11px;
  color: #9aa0a8;
  margin-top: 8px;
  line-height: 1.4;
}

.offer-cta {
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
}

.offer-cta button {
  width: 100%;
  background: #334155;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s ease;
}

.offer-cta button:hover {
  background: #1e293b;
}

.info h2 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 14px;
}

.info p {
  color: var(--text);
}

.info .muted {
  color: var(--muted);
}

.deco-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.deco-wrap {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.deco-coords {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--primary);
  background: rgba(2, 6, 23, 0.8);
  padding: 2px 6px;
  letter-spacing: 0.08em;
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.layout-split.reverse .col-text {
  order: 2;
}

.layout-split.reverse .col-visual {
  order: 1;
}

.layout-rail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
}

.rail-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  border-right: 2px solid var(--accent);
  padding-right: 16px;
  text-align: right;
}

.layout-band {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 56px 40px;
  background-size: cover;
  background-position: center;
}

.layout-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
}

.layout-band-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.layout-band-inner h2,
.layout-band-inner p {
  color: var(--text);
}

.layout-bordered {
  border-left: 3px solid var(--primary);
  padding-left: 28px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.layout-grid-text {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.grid-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
}

.grid-cell strong {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.grid-cell p {
  font-size: 14px;
  color: var(--muted);
}

.layout-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
  border: 1px dashed var(--border);
}

.layout-centered h2 {
  color: var(--primary);
}

.layout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.layout-columns .cols {
  column-count: 2;
  column-gap: 36px;
  margin-top: 16px;
}

.layout-columns .cols p {
  margin-bottom: 12px;
  break-inside: avoid;
  color: var(--muted);
}

.layout-statement {
  display: flex;
  gap: 32px;
  align-items: center;
}

.statement-marker {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 28px;
  color: var(--primary);
  transform: rotate(45deg);
}

.statement-marker span {
  transform: rotate(-45deg);
}

.layout-steps {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.step .n {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}

.step .t {
  color: var(--muted);
  font-size: 14px;
}

.step .t strong {
  color: var(--text);
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.layout-tactical-bg {
  background-image:
    linear-gradient(rgba(190, 242, 100, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 242, 100, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.layout-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.compare-col {
  padding: 28px;
}

.compare-col:first-child {
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.compare-col:last-child {
  background: rgba(15, 23, 42, 0.6);
}

.compare-col h3 {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.compare-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.compare-col li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.compare-col li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}

.info p + p {
  margin-top: 12px;
}

.footer {
  background: var(--bg);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
  align-items: center;
}

.footer-badges img {
  height: 38px;
  width: auto;
  opacity: 0.88;
}

.footer-legal {
  margin-top: 24px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-copy {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
}

.popup h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.popup p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
  text-transform: none;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  border: 0;
  border-radius: 4px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-inner p {
  color: var(--muted);
  font-size: 13px;
  flex: 1 1 300px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.page-main {
  padding: 52px 0;
}

.page-main h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  margin-bottom: 8px;
  color: var(--primary);
}

.page-main .updated {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}

.page-main h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--primary);
}

.page-main p,
.page-main li {
  color: var(--text);
  margin-bottom: 10px;
  text-transform: none;
}

.page-main ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.prose {
  max-width: 780px;
}

.contact-form {
  max-width: 520px;
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field-error {
  color: #f87171;
  font-size: 12px;
  display: none;
}

.field-error.active {
  display: block;
}

.form-success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 24px;
}

.form-success.active {
  display: block;
}

.form-success h3 {
  margin-bottom: 8px;
  color: var(--primary);
  text-transform: none;
}

.form-success p {
  color: var(--muted);
}

.redirect-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.redirect-box {
  max-width: 460px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 22px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.redirect-box h1 {
  font-size: 22px;
  margin-bottom: 10px;
  text-transform: none;
}

.redirect-box p {
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: none;
}

.redirect-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.redirect-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  text-transform: none;
}

.notfound {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.notfound .code {
  font-family: var(--mono);
  font-size: clamp(72px, 16vw, 140px);
  font-weight: 700;
  color: var(--primary);
  line-height: 0.9;
}

.notfound h1 {
  font-size: 24px;
  margin: 12px 0 14px;
  text-transform: none;
}

.notfound p {
  color: var(--muted);
  margin-bottom: 22px;
  text-transform: none;
}

@media (max-width: 900px) {
  .nav-back {
    display: none;
  }
  .nav-front {
    margin: 0;
    border-radius: 0;
    max-width: none;
    border-left: 0;
    border-right: 0;
    height: 54px;
  }
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual img {
    min-height: 0;
    max-height: 180px;
  }
  .hero-visual {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 32px 20px;
  }
  .layout-split,
  .layout-split.reverse,
  .layout-bordered,
  .layout-card,
  .layout-steps,
  .layout-statement,
  .layout-compare {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .layout-split.reverse .col-text,
  .layout-split.reverse .col-visual {
    order: unset;
  }
  .layout-bordered {
    border-left: 0;
    padding-left: 0;
  }
  .layout-columns .cols {
    column-count: 1;
  }
  .layout-rail {
    grid-template-columns: 1fr;
  }
  .rail-num {
    border-right: 0;
    border-bottom: 2px solid var(--accent);
    padding: 0 0 8px;
    text-align: left;
  }
  .layout-grid-text {
    grid-template-columns: 1fr;
  }
  .compare-col:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .statement-marker {
    display: none;
  }
  .section {
    padding: 40px 0;
  }
  .deco-img {
    max-height: 240px;
    max-width: 100%;
  }
  .offer-logo {
    width: 180px;
    height: 90px;
  }
  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .layout-band {
    padding: 40px 20px;
  }
}

@media (max-width: 375px) {
  .hero-visual {
    max-width: 100%;
    overflow: hidden;
  }
  .deco-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .deco-img {
    max-width: 100%;
    max-height: 200px;
  }
  .layout-band {
    padding: 32px 16px;
  }
  .offer-bonus {
    font-size: 13px;
  }
}
