.hero {
  height: 120px;
  overflow: hidden;
  background: #01040f;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.06) 50%, transparent 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  white-space: nowrap;
  margin: 0;
  padding: 0 16px;
  letter-spacing: -0.04em;
  color: var(--text);
  position: relative;
  z-index: 1;
  transform: translateY(28%);
  animation: hero-rise 0.9s ease both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(42%);
  }
  to {
    opacity: 1;
    transform: translateY(28%);
  }
}

@keyframes line-sweep {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-sub {
  min-height: 40px;
  height: auto;
  background: #061228;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}

.hero-sub p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.offers-section {
  position: relative;
  padding: 56px 20px;
  overflow: hidden;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.offers-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(2, 6, 23, 0.75) 30%, rgba(2, 6, 23, 0.75) 70%, var(--bg) 100%);
  z-index: 0;
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.offers-inner > h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.offers-lead {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 720px;
  margin: 0 auto 36px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.offer-card {
  background: var(--offer-card-bg);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
}

.offer-card-logo {
  width: 212px;
  height: 108px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.offer-card-body {
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.offer-bonus-group {
  margin-bottom: 4px;
  min-width: 0;
}

.offer-bonus {
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  font-weight: 700;
  color: var(--offer-bonus-color);
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.offer-terms {
  font-size: 0.7rem;
  color: var(--offer-terms-color);
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.offer-desc {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.offer-cta {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.offer-cta:hover {
  opacity: 0.9;
  color: var(--offer-cta-text);
}

.info-section {
  padding: 52px 20px;
  position: relative;
  border-top: 1px solid var(--border);
}

.info-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.info-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.info-section p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 15px;
  max-width: 820px;
}

.info-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.info-cta:hover {
  background: var(--primary);
  color: var(--bg);
}

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

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

.layout-rail .rail-mark {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  border-right: 1px solid var(--border);
  padding-right: 12px;
  height: 160px;
}

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

.mini-card {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid var(--border);
  padding: 16px;
}

.mini-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text);
}

.mini-card p {
  font-size: 13px;
  margin: 0;
  max-width: none;
}

.layout-band {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  margin-top: 8px;
}

.layout-band ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  display: grid;
  gap: 8px;
}

.layout-quote {
  border-left: 2px solid var(--secondary);
  padding: 8px 0 8px 20px;
  margin: 16px 0;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 640px;
}

.layout-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 20px 0;
}

.stat-cell {
  background: var(--surface);
  padding: 18px 16px;
  text-align: center;
}

.stat-cell strong {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stat-cell span {
  font-size: 12px;
  color: var(--muted);
}

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

.layout-steps {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.step-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.step-num {
  width: 36px;
  height: 36px;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

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

.col-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

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

.layout-centered p {
  max-width: none;
}

.layout-timeline {
  position: relative;
  padding-left: 24px;
  margin: 16px 0;
  border-left: 1px solid var(--primary);
}

.layout-timeline .tl-item {
  margin-bottom: 16px;
  position: relative;
}

.layout-timeline .tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--primary);
}

.bg-decor-panel {
  width: 100%;
  max-width: 500px;
  height: 220px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.section-alt {
  background: rgba(2, 15, 47, 0.55);
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
  transform-origin: left center;
  animation: line-sweep 1.1s ease both;
}

.info-cta {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.info-section .info-cta:hover {
  transform: translateX(3px);
}

@media (max-width: 800px) {
  .hero {
    height: 80px;
  }

  .hero h1 {
    transform: translateY(32%);
  }

  .layout-split,
  .layout-mosaic,
  .layout-columns,
  .layout-cards,
  .layout-stats,
  .layout-rail {
    grid-template-columns: 1fr;
  }

  .layout-rail .rail-mark {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 8px;
  }

  .offer-card-logo {
    width: 180px;
    height: 92px;
  }

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

  .bg-decor-panel {
    max-width: 100%;
    height: 160px;
  }

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

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

@media (max-width: 375px) {
  .offer-card-logo {
    width: 160px;
    height: 82px;
  }

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

  .offers-section {
    padding: 40px 12px;
  }

  .bg-decor-panel {
    max-width: 100%;
    height: 140px;
  }

  .decor-img {
    max-width: 100%;
    max-height: 180px;
  }
}
