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

:root {
  --bg: #02040A;
  --surface: #0B0E1A;
  --text: #E2E8F0;
  --muted: #64748B;
  --primary: #C5A059;
  --secondary: #1E293B;
  --accent: #94A3B8;
  --border: rgba(197, 160, 89, 0.15);
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", monospace;
  --nav-h: 52px;
  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-stretch: condensed;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(197, 160, 89, 0.015) 2px,
    rgba(197, 160, 89, 0.015) 3px
  );
  animation: radar-scan 8s linear infinite;
}

@keyframes radar-scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

.disclosure-banner {
  width: 100%;
  padding: 6px 16px;
  background: #E8ECF1;
  text-align: center;
}

.disclosure-banner__text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #64748B;
  line-height: 1.5;
  max-width: 960px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  height: var(--nav-h);
  border-bottom: 0.5px solid var(--border);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.06);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 36px;
  width: auto;
  filter: saturate(0.7) contrast(1.15);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-header__cta:hover {
  color: var(--bg);
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.35);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 6px;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger-btn.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.burger-btn.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: calc(var(--nav-h) + 24px) 28px 28px;
  overflow-y: auto;
  border-left: 0.5px solid var(--border);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.75);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-drawer__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer__list {
  list-style: none;
}

.nav-drawer__list li {
  border-bottom: 0.5px solid var(--border);
}

.nav-drawer__list a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.nav-drawer__list a:hover {
  color: var(--primary);
}

.hero {
  background: var(--bg);
  padding: 72px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(197, 160, 89, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__stack {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 200px;
}

.hero__card {
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 0.5px var(--border);
}

.hero__card--back {
  position: absolute;
  top: 10px;
  left: 20px;
  right: -20px;
  background: var(--secondary);
  padding: 28px 32px;
  z-index: 1;
}

.hero__card--front {
  position: relative;
  background: var(--surface);
  padding: 32px;
  z-index: 2;
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0;
}

.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero__decor {
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 220px;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  opacity: 0.35;
  filter: saturate(0.4) contrast(1.2);
  z-index: 0;
}

@media (max-width: 767px) {
  .hero {
    padding: 48px 16px 56px;
  }

  .hero__stack {
    min-height: auto;
  }

  .hero__card--back {
    display: none;
  }

  .hero__card--front {
    padding: 28px 24px;
  }

  .hero__subtitle {
    margin-top: 12px;
    display: block;
  }

  .hero__decor {
    display: none;
  }
}

@media (min-width: 768px) {
  .hero__card--front .hero__subtitle {
    display: none;
  }
}

.offers-section {
  padding: 64px 20px;
  background-image: linear-gradient(rgba(2, 4, 10, 0.88), rgba(2, 4, 10, 0.92)), url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.offers-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.offers-section__title {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--primary);
  margin-bottom: 36px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
}

.offer-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.offer-card__logo-wrap {
  width: 308px;
  height: 68px;
  margin: 16px auto 0;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

.offer-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-card__bonus {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.offer-card__terms {
  display: block;
  font-size: 0.68rem;
  color: #888;
  margin-top: 4px;
}

.offer-card__desc {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.45;
  margin-top: 4px;
}

.offer-card__btn {
  display: block;
  margin-top: 12px;
  padding: 12px 20px;
  background: #2563eb;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.offer-card__btn:hover {
  background: #1d4ed8;
  color: #fff;
}

.info-sections {
  background: var(--bg);
}

.info-block {
  padding: 56px 20px;
  border-top: 0.5px solid var(--border);
  position: relative;
}

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

.info-block__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.info-block__title {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.info-block__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

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

.layout-split--reverse {
  direction: rtl;
}

.layout-split--reverse > * {
  direction: ltr;
}

.layout-img-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  border: 0.5px solid var(--border);
}

.layout-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  filter: saturate(0.45) contrast(1.15);
}

.layout-accent-card {
  background: var(--surface);
  padding: 40px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.layout-orbit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.layout-orbit__viz {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.layout-orbit__ring {
  position: absolute;
  inset: 0;
  border: 0.5px solid var(--primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: orbit-pulse 3s ease-in-out infinite;
}

.layout-orbit__ring:nth-child(2) {
  inset: 15px;
  animation-delay: 0.5s;
}

.layout-orbit__ring:nth-child(3) {
  inset: 30px;
  animation-delay: 1s;
}

.layout-orbit__core {
  position: absolute;
  inset: 45px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 0.5px solid var(--primary);
}

.layout-timeline__dot {
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.5);
}

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

.layout-zigzag__aside {
  order: -1;
}

.layout-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.layout-bento__main {
  grid-row: span 2;
  background: var(--surface);
  padding: 32px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
}

.layout-bento__side {
  background: var(--secondary);
  padding: 24px;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
}

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

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

.layout-columns-3__col {
  background: var(--surface);
  padding: 24px;
  border-radius: 8px;
  border: 0.5px solid var(--border);
}

.layout-columns-3__col h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.layout-glow-prose {
  position: relative;
  padding: 40px;
  background: var(--surface);
  border-radius: 12px;
  border: 0.5px solid var(--border);
}

.layout-glow-prose::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), transparent 50%);
  pointer-events: none;
}

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

.stat-box {
  background: var(--secondary);
  padding: 20px;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--muted);
}

.layout-band {
  background: var(--surface);
}

.layout-quote {
  border-left: 3px solid var(--primary);
  padding-left: 28px;
}

@media (max-width: 767px) {
  .layout-split,
  .layout-zigzag,
  .layout-orbit,
  .layout-bento,
  .layout-columns-3,
  .layout-stats {
    grid-template-columns: 1fr;
  }

  .layout-split--reverse {
    direction: ltr;
  }

  .layout-zigzag__aside {
    order: 0;
  }

  .layout-bento__main {
    grid-row: span 1;
  }

  .layout-img-wrap {
    max-width: 100%;
  }

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

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

@media (max-width: 375px) {
  .layout-img-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .layout-img-wrap img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }

  .hero {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
}

.site-footer {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  padding: 48px 20px 32px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.site-footer__brand p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 320px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
  align-content: flex-start;
}

.site-footer__links a {
  font-size: 0.8rem;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.site-footer__badge img {
  height: 40px;
  width: auto;
  filter: saturate(0.6) contrast(1.1);
}

.site-footer__disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 900px;
}

.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.modal__text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

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

.btn {
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn--primary:hover {
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.35);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--text);
  border: 0.5px solid var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  padding: 16px 20px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

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

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

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

.legal-page {
  padding: 48px 20px 64px;
}

.legal-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page__inner h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 24px;
  color: var(--text);
}

.legal-page__inner h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.legal-page__inner h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
  color: var(--accent);
}

.legal-page__inner p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.65;
}

.legal-page__inner ul {
  margin: 0 0 16px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-page__inner li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.legal-page__inner code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--secondary);
  padding: 2px 6px;
  border-radius: 3px;
}

.contact-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border-radius: 12px;
  border: 0.5px solid var(--border);
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

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

.contact-form__error {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
  display: none;
}

.contact-form__error.is-visible {
  display: block;
}

.contact-success {
  margin-top: 32px;
  padding: 24px;
  background: var(--secondary);
  border: 0.5px solid var(--primary);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-success[hidden] {
  display: none;
}

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

.redirect-page__box {
  text-align: center;
  max-width: 440px;
  padding: 40px;
  background: var(--surface);
  border-radius: 12px;
  border: 0.5px solid var(--border);
}

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

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

.redirect-page__box h1 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.redirect-page__ad {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.5;
}

.redirect-page__ad a {
  color: var(--primary);
  text-decoration: underline;
}

.page-404 {
  text-align: center;
  padding: 80px 20px;
}

.page-404 h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-family: var(--font-mono);
  color: var(--primary);
  margin-bottom: 16px;
}

.page-404 p {
  color: var(--muted);
  margin-bottom: 28px;
}
