/* ============================================
   Лучшие микрозаймы — Premium Hero Landing
   ============================================ */

:root {
  --bg-deep: #0a0e17;
  --bg-surface: #111827;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dark: #9a7b3c;
  --cream: #f5f0e8;
  --text: #e8e4dc;
  --text-muted: #8b919e;
  --glass: rgba(17, 24, 39, 0.55);
  --glass-border: rgba(201, 169, 98, 0.18);
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* ── Atmospheric layers ── */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  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");
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient--1 {
  width: 60vw;
  height: 60vw;
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.12) 0%, transparent 70%);
}

.ambient--2 {
  width: 50vw;
  height: 50vw;
  bottom: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(59, 89, 152, 0.15) 0%, transparent 70%);
}

/* ── Hero shell ── */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 4rem) clamp(1rem, 2vw, 1.5rem);
  background:
    linear-gradient(165deg, rgba(10, 14, 23, 0.97) 0%, rgba(10, 14, 23, 0.88) 50%, rgba(17, 24, 39, 0.95) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 169, 98, 0.06) 0%, transparent 60%);
}

/* ── Header ── */

.hero__header {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  color: inherit;
}

.logo__img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.15), rgba(201, 169, 98, 0.03));
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.logo__legal {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero__phone {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 600;
  color: var(--cream);
  padding: 0.625rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: min(100%, 280px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__phone:hover {
  border-color: rgba(201, 169, 98, 0.4);
  color: var(--gold-light);
}

/* ── Grid layout ── */

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

/* ── Content column ── */

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: rgba(201, 169, 98, 0.06);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.5);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(201, 169, 98, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.15em;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__details {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__details li {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.detail__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.detail__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
}

/* ── Rates (legal compliance block) ── */

.hero__rates {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold-dark);
  background: rgba(201, 169, 98, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
}

.rates__psk {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.rates__daily {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.rates__note {
  font-size: 0.875rem;
}

.rates__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Buttons ── */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  text-decoration: none;
}

.btn--primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  box-shadow:
    0 4px 24px rgba(201, 169, 98, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(201, 169, 98, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--bg-deep);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--ghost {
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.2);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 169, 98, 0.06);
}

.hero__disclaimer {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(201, 169, 98, 0.35);
}

.hero__warning {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}

/* ── Visual column: partner logo cards ── */

.hero__visual {
  position: relative;
  height: clamp(420px, 52vh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual--partners {
  min-width: 0;
}

.partners-showcase {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: clamp(380px, 48vh, 520px);
  margin: 0 auto;
}

.partner-card {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  padding: 1.125rem 1.375rem;
  min-height: 88px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.15);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
  z-index: 2;
}

.partner-card:hover {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(201, 169, 98, 0.25);
  z-index: 10;
}

.partner-card img {
  max-height: 52px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card--1 {
  width: 46%;
  top: 2%;
  right: 4%;
  transform: rotate(3deg);
  z-index: 3;
  animation: float 7s ease-in-out infinite;
}

.partner-card--2 {
  width: 42%;
  top: 18%;
  left: 0;
  transform: rotate(-4deg);
  z-index: 2;
  animation: float 6s ease-in-out 0.5s infinite;
}

.partner-card--3 {
  width: 44%;
  top: 38%;
  right: 8%;
  transform: rotate(-2deg);
  z-index: 4;
  animation: float 8s ease-in-out 1s infinite;
}

.partner-card--4 {
  width: 40%;
  top: 52%;
  left: 6%;
  transform: rotate(5deg);
  z-index: 3;
  animation: float 6.5s ease-in-out 0.3s infinite;
}

.partner-card--5 {
  width: 38%;
  top: 8%;
  left: 28%;
  transform: rotate(-3deg);
  z-index: 1;
  opacity: 0.92;
  animation: float 7.5s ease-in-out 1.2s infinite;
}

.partner-card--6 {
  width: 36%;
  bottom: 18%;
  right: 0;
  transform: rotate(4deg);
  z-index: 5;
  animation: float 6s ease-in-out 0.8s infinite;
}

.partner-card--7 {
  width: 34%;
  bottom: 4%;
  left: 18%;
  transform: rotate(-5deg);
  z-index: 2;
  animation: float 7s ease-in-out 0.6s infinite;
}

.partner-card--8 {
  width: 32%;
  top: 68%;
  right: 32%;
  transform: rotate(2deg);
  z-index: 1;
  opacity: 0.88;
  animation: float 8s ease-in-out 1.5s infinite;
}

.partners-float-badge {
  position: absolute;
  bottom: 6%;
  right: 2%;
  z-index: 6;
  padding: 1rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.partners-float-badge__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}

.partners-float-badge__text {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--card-rot, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--card-rot, 0deg)); }
}

.partner-card--1 { --card-rot: 3deg; }
.partner-card--2 { --card-rot: -4deg; }
.partner-card--3 { --card-rot: -2deg; }
.partner-card--4 { --card-rot: 5deg; }
.partner-card--5 { --card-rot: -3deg; }
.partner-card--6 { --card-rot: 4deg; }
.partner-card--7 { --card-rot: -5deg; }
.partner-card--8 { --card-rot: 2deg; }

.visual__ring {
  position: absolute;
  width: 120%;
  height: 120%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201, 169, 98, 0.08);
  border-radius: 50%;
  z-index: 0;
  animation: ring-spin 40s linear infinite;
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Legal footer (within hero) ── */

.hero__legal {
  margin-top: clamp(2rem, 4vh, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.legal__warnings {
  margin-bottom: 0.875rem;
}

.legal__warning {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.legal__warning--primary {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
}

.legal__company p {
  font-size: 0.6875rem;
  line-height: 1.65;
  color: rgba(139, 145, 158, 0.85);
  margin-bottom: 0.25rem;
}

.legal__company a {
  color: rgba(201, 169, 98, 0.8);
}

.legal__note {
  margin-top: 0.375rem;
  opacity: 0.85;
}

/* ── Reveal animations ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.reveal-visual {
  opacity: 0;
  transform: translateX(40px) scale(0.96);
  animation: reveal-visual 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-visual {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ── Terms / Privacy pages ── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto;
}

.page--wide {
  max-width: 960px;
}

.page__back--secondary {
  margin-left: 1rem;
}

@media (max-width: 600px) {
  .page__back--secondary {
    margin-left: 0;
    margin-top: 0.5rem;
    display: inline-block;
  }
}

.page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.page__back:hover {
  color: var(--gold);
}

.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.page__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.page h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 2rem 0 0.75rem;
}

.page p,
.page li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page ul,
.page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page strong {
  color: var(--text);
}

.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
}

.page th,
.page td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.page th {
  background: rgba(201, 169, 98, 0.08);
  color: var(--cream);
  font-weight: 600;
}

.page td {
  color: var(--text-muted);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__visual {
    order: -1;
    height: clamp(340px, 42vh, 440px);
    max-width: 420px;
    margin: 0 auto;
  }

  .partners-showcase {
    max-width: 100%;
    height: clamp(320px, 40vh, 400px);
  }

  .partner-card {
    padding: 0.875rem 1rem;
    min-height: 72px;
  }

  .partner-card img {
    max-height: 40px;
    max-width: 100px;
  }
}

@media (max-width: 600px) {
  .hero__phone {
    width: 100%;
    text-align: center;
  }

  .hero__details li {
    min-width: calc(50% - 0.375rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo__legal {
    font-size: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-visual {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .pulse,
  .partner-card,
  .visual__ring {
    animation: none;
  }

  .partner-card {
    transform: rotate(var(--card-rot, 0deg)) !important;
  }
}

/* ============================================
   Offers page
   ============================================ */

.offers-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 4rem) clamp(2rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.offers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 5vh, 3rem);
  gap: 1rem;
}

.offers-header__back {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.offers-header__back:hover {
  color: var(--gold-light);
  border-color: rgba(201, 169, 98, 0.4);
}

.offers-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
}

.offers-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.offers-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.offers-hero__warning {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.5;
}

.offers-hero__warning a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.offer-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.75) 0%, rgba(10, 14, 23, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 169, 98, 0.08);
}

.offer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.offer-card__logo img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.offer-card__body {
  flex: 1;
  padding: 1.25rem 1.5rem 0.5rem;
}

.offer-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.offer-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 0.625rem;
}

.offer-card__link {
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text-muted);
}

.offer-card__link:hover {
  color: var(--gold-light);
}

.offer-card__cta {
  margin: 0.75rem 1.5rem 1rem;
  width: calc(100% - 3rem);
}

.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.offer-card__footer {
  margin-top: auto;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.offer-card__advertiser {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: rgba(139, 145, 158, 0.9);
  margin-bottom: 0.25rem;
}

.offer-card__label {
  display: block;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.offer-card__inn {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(201, 169, 98, 0.75);
  font-variant-numeric: tabular-nums;
}

.offers-page__legal {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.offers-page__legal .legal__warning {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.offers-page__legal .legal__warning--primary {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
}

.offers-page__legal .legal__note {
  font-size: 0.6875rem;
  line-height: 1.65;
  color: rgba(139, 145, 158, 0.85);
  margin-top: 0.75rem;
}

/* Footer advertisers preview */
.legal__advertisers-preview {
  margin: 1rem 0 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.legal__advertisers-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

.legal__advertiser-line {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: rgba(139, 145, 158, 0.9);
  margin-bottom: 0.25rem;
}

.legal__advertiser-line strong {
  color: var(--text);
  font-weight: 500;
}

.legal__advertisers-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-light) !important;
}

.legal__advertisers-more:hover {
  color: var(--gold) !important;
}

.legal__operator {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: rgba(139, 145, 158, 0.85);
  margin-top: 0.75rem;
}

.legal__operator a {
  color: rgba(201, 169, 98, 0.8);
}

.offer-card__requisites {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.offer-card__requisites:hover {
  color: var(--gold);
}

/* Advertisers full page */
.advertisers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.advertiser-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.75) 0%, rgba(10, 14, 23, 0.9) 100%);
  scroll-margin-top: 2rem;
}

.advertiser-item__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 12px;
}

.advertiser-item__logo img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
}

.advertiser-item__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.advertiser-item__name {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 0.375rem;
}

.advertiser-item__inn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .offers-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .offers-header__back {
    width: 100%;
    text-align: center;
  }

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

  .advertiser-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .advertiser-item__logo {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Terms page */
.terms-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.terms-picker__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s ease;
  color: inherit;
  text-decoration: none;
}

.terms-picker__item:hover {
  border-color: rgba(201, 169, 98, 0.4);
  transform: translateY(-2px);
  color: inherit;
}

.terms-picker__item img {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.terms-picker__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}

.terms-picker__inn {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terms-detail__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.terms-detail__logo {
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.terms-detail__warning {
  font-size: 0.9375rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.terms-detail__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.6;
}

.terms-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
