:root {
  --ui-style: finance banking trust secure stable;
  --bg: #030712;
  --surface: #020617;
  --text: #ECFEFF;
  --muted: #67E8F9;
  --primary: #22D3EE;
  --secondary: #A3E635;
  --accent: #F97316;
  --border: rgba(236, 254, 255, 0.14);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --offer-bg: #1a1a1a;
  --offer-border: #2a2a2a;
  --offer-bonus: #ffd700;
  --offer-cta-bg: #22c55e;
  --offer-cta-text: #ffffff;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(165deg, rgba(34, 211, 238, 0.07) 0%, transparent 42%),
    linear-gradient(340deg, rgba(163, 230, 53, 0.05) 0%, transparent 48%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 55%, var(--bg) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 12% 18%, rgba(34, 211, 238, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 72%, rgba(163, 230, 53, 0.08), transparent 50%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(236, 254, 255, 0.015) 47px,
      rgba(236, 254, 255, 0.015) 48px
    );
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  line-height: 1.45;
  color: var(--bg);
  border: none;
  background-color: var(--text);
  background-image: repeating-linear-gradient(
    45deg,
    var(--text),
    var(--text) 10px,
    rgba(3, 7, 18, 0.06) 10px,
    rgba(3, 7, 18, 0.06) 20px
  );
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand-lockup:hover {
  color: var(--text);
}

.brand-lockup img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  border-bottom-color: var(--primary);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 80px 24px 40px;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-drawer .drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  border-radius: 8px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(236, 254, 255, 0.18);
  filter: blur(40px);
  top: -80px;
  right: 8%;
  pointer-events: none;
  animation: soft-drift 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.2);
  filter: blur(28px);
  bottom: -60px;
  left: 12%;
  pointer-events: none;
  animation: soft-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes soft-drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-12px, 10px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bg);
  line-height: 1.15;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(3, 7, 18, 0.82);
  max-width: 560px;
  margin-inline: auto;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 28px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(3, 7, 18, 0.88);
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.offers-section {
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(3, 7, 18, 0.88), rgba(2, 6, 23, 0.94)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.offers-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.offers-intro p {
  margin: 0;
  color: var(--muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-card {
  background: var(--offer-bg);
  border: 1px solid var(--offer-border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.offer-logo {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 12px;
  background: #0d0d0d;
  padding: 10px;
  box-sizing: border-box;
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.offer-bonus {
  color: var(--offer-bonus);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.offer-terms {
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0;
}

.offer-desc {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.45;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: filter 0.2s ease;
}

.offer-cta:hover {
  filter: brightness(1.08);
  color: var(--offer-cta-text);
}

.site-footer {
  margin-top: auto;
  padding: 48px 24px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
  max-width: 520px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
  align-items: center;
}

.footer-badges img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-requisites {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-ar-legal {
  color: rgba(103, 232, 249, 0.72);
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
  max-width: 960px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.modal-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.modal-card p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-accent {
  background: var(--secondary);
  color: var(--bg);
}

.page-hero {
  padding: 48px 24px 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(163, 230, 53, 0.08)),
    var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  filter: blur(36px);
  top: -40px;
  left: 15%;
  pointer-events: none;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  position: relative;
}

.page-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  position: relative;
}

.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.content-wrap h2 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
  color: var(--text);
}

.content-wrap h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.content-wrap p,
.content-wrap li {
  color: rgba(236, 254, 255, 0.88);
}

.content-wrap ul {
  padding-left: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: var(--accent);
  font-size: 0.85rem;
  margin: 0;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(163, 230, 53, 0.35);
  background: rgba(163, 230, 53, 0.1);
  color: var(--text);
}

.form-success.visible {
  display: block;
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.decor-clip {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.decor-band {
  max-width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  min-height: 160px;
}

.info-cta {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--primary);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.info-cta:hover {
  background: rgba(34, 211, 238, 0.22);
  color: var(--text);
}

.go-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-align: center;
}

.go-card {
  max-width: 480px;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
}

.spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(236, 254, 255, 0.15);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ad-flag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.not-found {
  text-align: center;
  padding: 80px 24px;
}

.not-found h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
}

.not-found p {
  color: var(--muted);
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .offer-logo {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: none;
  }

  .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }

  .decor-band {
    max-width: 100%;
    min-height: 120px;
    overflow: hidden;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .footer-badges img {
    max-width: 100%;
  }
}
