:root {
  --bg: #1B2430;
  --surface: #252D3A;
  --text: #D6E6F2;
  --muted: #769FCD;
  --primary: #F7FBFC;
  --secondary: #516BEB;
  --accent: #F94892;
  --border: rgba(214, 230, 242, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1200px;
}

* {
  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.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--primary);
}

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

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

.disclosure {
  background: var(--surface);
  border-top: 3px solid var(--accent);
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 54px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li + li::before {
  content: "\203A";
  color: var(--muted);
  padding: 0 4px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.15s ease;
}

.nav-links a:hover {
  background: var(--surface);
}

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

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

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

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

.drawer a {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

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

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

.hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 60px 24px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 64px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero p {
  color: #fff;
  margin-top: 18px;
  font-size: clamp(15px, 2.2vw, 20px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

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

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

.offers {
  background: var(--surface);
}

.offers h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 8px;
}

.offers .lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
}

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

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

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

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

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

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

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

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

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

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

.offer-cta button:hover {
  background: var(--accent);
}

.info h2 {
  font-size: clamp(24px, 3.4vw, 38px);
}

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

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

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

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

.layout-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

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

.band {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-image: url("/images/decorative/decor_3.jpg");
  background-size: cover;
  background-position: center;
  padding: 70px 40px;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 36, 48, 0.78);
}

.band-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.band-content h2,
.band-content p {
  color: #fff;
}

.layout-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.bignum {
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.layout-bordered {
  border-left: 4px solid var(--accent);
  padding-left: 32px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.layout-list ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.layout-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
}

.layout-list li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  top: -1px;
}

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

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

.layout-cardborder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.layout-statement {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.layout-statement h2 {
  font-size: clamp(28px, 5vw, 52px);
}

.layout-statement p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 18px;
}

.layout-steps {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step .n {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.step .t {
  color: var(--muted);
}

.step .t strong {
  color: var(--text);
  display: block;
}

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

.footer {
  background: var(--bg);
  padding: 54px 0 36px;
  border-top: 1px solid var(--border);
}

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

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

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

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

.footer-links h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 6px;
}

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

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

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

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

.footer-badges img {
  height: 40px;
  width: auto;
  opacity: 0.85;
}

.footer-legal {
  margin-top: 26px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.85;
}

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

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  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);
  border-radius: 10px;
  max-width: 440px;
  width: 100%;
  padding: 34px 30px;
  text-align: center;
}

.popup h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

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

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

.btn {
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
}

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

.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: 18px 24px;
  display: none;
}

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

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

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

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

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

.page-main h1 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 10px;
}

.page-main .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.page-main h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}

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

.page-main ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.prose {
  max-width: 800px;
}

.contact-form {
  max-width: 540px;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

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

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

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

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

.field-error {
  color: var(--accent);
  font-size: 13px;
  display: none;
}

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

.form-success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  padding: 26px;
}

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

.form-success h3 {
  margin-bottom: 8px;
}

.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: 54px;
  height: 54px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 26px;
  animation: spin 0.9s linear infinite;
}

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

.redirect-box h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.redirect-box p {
  color: var(--muted);
  margin-bottom: 16px;
}

.redirect-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 18px;
}

.redirect-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

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

.notfound .code {
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 0.9;
}

.notfound h1 {
  font-size: 26px;
  margin: 10px 0 16px;
}

.notfound p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }
  .layout-split,
  .layout-split.reverse,
  .layout-bordered,
  .layout-cardborder,
  .layout-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    border-left: 0;
    padding-left: 0;
  }
  .layout-split.reverse .col-text {
    order: 0;
  }
  .layout-columns .cols {
    column-count: 1;
  }
  .hero {
    min-height: 200px;
  }
  .section {
    padding: 48px 0;
  }
  .band {
    padding: 48px 24px;
  }
  .offer-logo {
    width: 150px;
    height: 80px;
  }
  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .deco-img {
    max-height: 240px;
  }
  .deco-wrap {
    max-width: 100%;
    overflow: hidden;
  }
}
