:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #020617;
  --muted: #64748B;
  --primary: #0EA5E9;
  --secondary: #38BDF8;
  --accent: #22D3EE;
  --border: rgba(2, 6, 23, 0.12);
  --dark: #020617;
  --dark-mid: #1e293b;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --shadow: 4px 4px 0 #020617;
  --shadow-sm: 3px 3px 0 #020617;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--primary);
}

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

h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.disclosure-bar {
  width: 100%;
  background: var(--bg);
  border-top: 1px dotted var(--muted);
  border-bottom: 1px dotted var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  color: var(--muted);
  line-height: 1.5;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(90deg, var(--dark) 0%, var(--dark-mid) 100%);
}

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

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar__links a {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease, left 0.25s ease;
}

.navbar__links a:hover::after {
  width: 100%;
  left: 0;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--accent);
  border-radius: 1px;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-mid) 100%);
  z-index: 950;
  padding: 80px 32px 32px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.nav-drawer.active {
  right: 0;
}

.nav-drawer a {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 14px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-drawer a::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease, left 0.25s ease;
}

.nav-drawer a:hover::after {
  width: 100%;
  left: 0;
}

.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  min-height: 280px;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__stripe {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 60px;
  background: var(--accent);
  opacity: 0.2;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 600;
}

.offers {
  position: relative;
  padding: 56px 0;
}

.offers__bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/offers_bg/offers_bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.offers .wrap {
  position: relative;
  z-index: 1;
}

.offers h2 {
  font-size: 2.2rem;
  margin: 0 0 8px;
  text-align: center;
}

.offers__sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 32px;
  font-weight: 600;
}

.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.offer-card__logo {
  background: #0e1b2c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 280px;
  height: 120px;
  margin: 0 auto;
  flex-shrink: 0;
}

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

.offer-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.offer-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #0b1f33;
  margin: 0;
}

.offer-card__bonus-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.offer-card__bonus {
  font-size: 15px;
  font-weight: 600;
  color: #003566;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.offer-card__terms {
  font-size: 11px;
  color: #6b7a8d;
  margin: 0;
}

.offer-card__desc {
  font-size: 12px;
  color: #6b7a8d;
  margin: 0;
}

.offer-card__cta {
  margin-top: auto;
  display: inline-block;
  background: #38BDF8;
  color: #020617;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  padding: 12px 16px;
  border: 3px solid #020617;
  border-radius: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offer-card__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #020617;
}

.info {
  padding: 48px 0;
  border-bottom: 3px solid var(--dark);
}

.info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 16px;
}

.info p {
  margin: 0 0 12px;
}

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

.layout-split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.layout-split__aside {
  border: 3px solid var(--dark);
  box-shadow: var(--shadow);
  padding: 16px;
  background: var(--surface);
}

.layout-split__img {
  max-width: 260px;
  max-height: 200px;
  object-fit: cover;
  border: 3px solid var(--dark);
  margin-bottom: 12px;
}

.layout-banner {
  background: var(--surface);
  border: 3px solid var(--dark);
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.layout-banner__decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.layout-banner__inner {
  position: relative;
  max-width: 70%;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.layout-cards__item {
  background: var(--primary);
  color: #fff;
  padding: 20px;
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 14px;
}

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

.layout-zigzag__visual {
  border: 4px solid var(--dark);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 500px;
}

.layout-zigzag__visual img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.layout-accent {
  background: var(--secondary);
  border: 4px solid var(--dark);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
}

.layout-accent h2 {
  font-size: 2.4rem;
}

.layout-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.layout-columns__col {
  padding: 24px;
  border-left: 6px solid var(--primary);
  background: var(--surface);
  border-top: 3px solid var(--dark);
  border-right: 3px solid var(--dark);
  border-bottom: 3px solid var(--dark);
}

.layout-numbered {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.layout-numbered__num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

.layout-float {
  overflow: hidden;
}

.layout-float__img-wrap {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 320px;
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-sm);
}

.layout-float__img-wrap img {
  max-width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
}

.layout-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.layout-timeline li {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 16px;
  position: relative;
  font-weight: 600;
}

.layout-timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--dark);
}

.layout-cta {
  background: var(--dark);
  color: #fff;
  padding: 48px;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.layout-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.layout-cta__inner {
  position: relative;
}

.layout-cta h2 {
  color: var(--accent);
}

.footer {
  background: var(--dark);
  color: #fff;
  padding: 48px 0 32px;
  flex-shrink: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer__brand p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.footer__links h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 12px;
}

.footer__links a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0;
}

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

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.footer__badges a,
.footer__badges img {
  height: 48px;
  width: auto;
}

.footer__copy {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 6, 23, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal__box {
  background: var(--surface);
  border: 4px solid var(--dark);
  box-shadow: 8px 8px 0 var(--dark);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.modal__box h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.modal__box p {
  color: var(--muted);
  margin: 0 0 24px;
}

.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border: 3px solid var(--dark);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.cookie {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1800;
  background: var(--surface);
  border-top: 4px solid var(--dark);
  box-shadow: 0 -4px 0 var(--primary);
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie.active {
  display: flex;
}

.cookie p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  font-weight: 600;
}

.cookie__actions {
  display: flex;
  gap: 10px;
}

.page-main {
  padding: 48px 0 64px;
  flex: 1 0 auto;
}

.prose h1 {
  font-size: 2.4rem;
  margin: 0 0 20px;
}

.prose h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
}

.prose p,
.prose li {
  color: var(--text);
  font-weight: 500;
}

.prose ul {
  padding-left: 20px;
}

.contact-form {
  margin-top: 32px;
  max-width: 520px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 3px solid var(--dark);
  font-family: var(--font);
  font-size: 15px;
  background: var(--surface);
}

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

.field-error {
  display: none;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}

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

.form-success {
  display: none;
  margin-top: 32px;
  padding: 24px;
  background: var(--secondary);
  border: 4px solid var(--dark);
  box-shadow: var(--shadow);
}

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

.form-success h2 {
  margin: 0 0 8px;
}

.form-success p {
  margin: 0;
}

.redirect {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.redirect__box {
  background: var(--surface);
  border: 4px solid var(--dark);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 480px;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

.ad-flag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  padding: 4px 10px;
  border: 2px solid var(--dark);
  margin-bottom: 12px;
  font-size: 12px;
}

.redirect__meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.redirect__meta p {
  margin: 6px 0;
}

.error-page {
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: 5rem;
  margin: 0;
  color: var(--primary);
}

.error-page p {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 16px 0 32px;
}

@media (max-width: 960px) {
  .offers__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .offer-card__logo {
    width: 280px;
    height: 120px;
  }

  .offer-card__logo img {
    object-fit: contain;
    object-position: center;
  }

  .layout-split,
  .layout-zigzag,
  .layout-columns {
    grid-template-columns: 1fr;
  }

  .layout-cards {
    grid-template-columns: 1fr;
  }

  .layout-banner__inner {
    max-width: 100%;
  }

  .layout-float__img-wrap {
    float: none;
    margin: 0 auto 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  .hero {
    padding: 32px 20px;
    min-height: 220px;
  }

  .hero__stripe {
    height: 36px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .layout-numbered {
    flex-direction: column;
  }

  .layout-numbered__num {
    font-size: 3rem;
  }
}

@media (max-width: 375px) {
  body {
    overflow-x: hidden;
  }

  .wrap {
    overflow-x: hidden;
  }

  .layout-split__img {
    max-width: 100%;
    width: 100%;
  }

  .layout-banner {
    overflow: hidden;
  }

  .layout-banner__decor {
    width: 100px;
  }

  .layout-zigzag__visual {
    max-width: 100%;
    width: 100%;
  }

  .layout-zigzag__visual img {
    max-width: 100%;
    width: 100%;
    max-height: 200px;
  }

  .layout-float {
    overflow: hidden;
  }

  .layout-float__img-wrap {
    max-width: 100%;
    width: 100%;
    float: none;
    margin: 0 auto 20px;
  }

  .layout-float__img-wrap img {
    max-width: 100%;
    width: 100%;
    max-height: 200px;
  }

  .layout-cta {
    overflow: hidden;
  }

  .offer-card__logo {
    width: 240px;
    height: 100px;
  }

  .offer-card__logo img {
    object-fit: contain;
    object-position: center;
  }

  .offer-card__bonus {
    font-size: 13px;
  }
}
