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

:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --text: #1C1917;
  --muted: #78716C;
  --primary: #D4AF37;
  --secondary: #0F172A;
  --accent: #92400E;
  --border: rgba(28, 25, 23, 0.12);
  --font-sans: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --nav-h: 54px;
  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  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;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

main {
  flex: 1 0 auto;
}

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

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

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

.disclosure-banner {
  position: relative;
  min-height: 36px;
  background: linear-gradient(to right, var(--primary) 50%, var(--surface) 50%);
}

.disclosure-banner__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.disclosure-banner__text--light {
  color: #FFFFFF;
  clip-path: inset(0 50% 0 0);
}

.disclosure-banner__text--dark {
  color: var(--text);
  clip-path: inset(0 0 0 50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--secondary);
  height: var(--nav-h);
}

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

.site-header__logo img {
  height: 34px;
  width: auto;
  filter: brightness(1.1);
}

.site-nav {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px;
}

.site-nav a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav__sep {
  color: var(--primary);
  font-size: 11px;
  padding: 0 2px;
  user-select: none;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  padding: 7px;
}

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

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

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

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

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

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

.nav-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  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: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer__list a {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.hero {
  background: var(--bg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0,
    var(--primary) 12px,
    transparent 12px,
    transparent 20px
  );
  opacity: 0.5;
  transform: rotate(-0.4deg);
}

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

.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  text-transform: uppercase;
  transform: rotate(-0.6deg);
}

.hero__subtitle {
  display: none;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .hero {
    min-height: 240px;
    padding: 40px 20px;
  }

  .hero__subtitle {
    display: block;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
}

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

  .site-nav {
    display: flex;
  }
}

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

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -3deg,
    transparent,
    transparent 40px,
    rgba(28, 25, 23, 0.02) 40px,
    rgba(28, 25, 23, 0.02) 41px
  );
  pointer-events: none;
}

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

.offers-section__title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin-bottom: 40px;
  transform: rotate(0.5deg);
  letter-spacing: 0.02em;
}

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

.offer-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  box-shadow: 4px 6px 0 rgba(28, 25, 23, 0.12);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(-0.3deg);
}

.offer-card:nth-child(even) {
  transform: rotate(0.4deg);
}

.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;
  word-break: 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 24px;
  position: relative;
  border-top: 2px solid var(--border);
}

.info-block:nth-child(odd) {
  background: var(--surface);
}

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

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

.info-block__title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
  transform: rotate(-0.3deg);
}

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

.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: 3px solid var(--text);
  box-shadow: 6px 8px 0 var(--primary);
  transform: rotate(1.2deg);
}

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

.layout-accent-card {
  background: var(--bg);
  padding: 44px 40px;
  border: 2px dashed var(--primary);
  transform: rotate(0.5deg);
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.06);
}

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

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

.layout-orbit__ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.35;
}

.layout-orbit__ring:nth-child(2) {
  inset: 14px;
}

.layout-orbit__ring:nth-child(3) {
  inset: 28px;
}

.layout-orbit__core {
  position: absolute;
  inset: 42px;
  background: var(--primary);
  border-radius: 50%;
}

.layout-timeline {
  position: relative;
  padding-left: 36px;
  border-left: 3px solid var(--accent);
}

.layout-timeline__dot {
  position: absolute;
  left: -9px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border: 2px solid var(--text);
  border-radius: 50%;
}

.layout-zigzag {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.layout-zigzag__aside {
  justify-self: end;
}

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

.layout-bento__main {
  grid-row: span 2;
  padding: 32px;
  background: var(--secondary);
  color: #FFFFFF;
  transform: rotate(-0.4deg);
}

.layout-bento__main .info-block__label {
  color: var(--primary);
}

.layout-bento__main .info-block__title {
  color: #FFFFFF;
}

.layout-bento__main .info-block__text {
  color: rgba(255, 255, 255, 0.78);
}

.layout-bento__side {
  padding: 20px 24px;
  background: var(--bg);
  border: 2px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  transform: rotate(0.6deg);
}

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

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

.layout-columns-3__col {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  transform: rotate(-0.2deg);
}

.layout-columns-3__col:nth-child(even) {
  transform: rotate(0.3deg);
}

.layout-columns-3__col h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
}

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

.stat-box {
  padding: 18px 22px;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  transform: skewX(-2deg);
}

.stat-box strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

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

.layout-glow-prose {
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 60%);
  border: 1px solid var(--border);
  position: relative;
}

.layout-glow-prose::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
}

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

.layout-band .info-block__title {
  color: #FFFFFF;
}

.layout-band .info-block__text {
  color: rgba(255, 255, 255, 0.75);
}

.layout-band .info-block__label {
  color: var(--primary);
}

.decor-bg {
  background-size: cover;
  background-position: center;
  max-width: 500px;
  max-height: 320px;
  min-height: 200px;
  border: 2px solid var(--border);
  box-shadow: 5px 7px 0 rgba(146, 64, 14, 0.2);
}

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

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

  .layout-zigzag__aside {
    justify-self: stretch;
  }

  .info-block {
    overflow-x: hidden;
  }

  .info-block__inner {
    overflow-x: hidden;
  }

  .layout-img-wrap,
  .decor-bg {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

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

  .offer-card__logo-wrap {
    width: 220px;
    height: 48px;
  }

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

.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 24px 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: 40px;
  margin-bottom: 36px;
}

.site-footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

.site-footer__brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

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

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__badge img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(1.05);
}

.site-footer__disclosure {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-top: 24px;
}

.site-footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal {
  background: var(--surface);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  border: 3px solid var(--text);
  box-shadow: 8px 10px 0 var(--primary);
  transform: rotate(-0.5deg);
}

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

.modal__text {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.btn {
  padding: 11px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.12s ease, background 0.12s ease;
}

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

.btn--primary:hover {
  background: #c4a030;
}

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

.btn--secondary:hover {
  border-color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  padding: 18px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-top: 3px solid var(--primary);
}

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

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

.cookie-banner__text {
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

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

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

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

.legal-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
  transform: rotate(-0.3deg);
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--accent);
}

.legal-page p,
.legal-page li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

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

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

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

.contact-success {
  margin-top: 32px;
  padding: 24px;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--primary);
  font-weight: 600;
  color: var(--text);
}

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

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.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: 480px;
  padding: 40px 32px;
  background: var(--surface);
  border: 3px solid var(--text);
  box-shadow: 6px 8px 0 var(--primary);
}

.redirect-page__spinner {
  width: 44px;
  height: 44px;
  border: 3px 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 h1 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
}

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

.redirect-page__ad a {
  color: var(--accent);
}
