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

:root {
  --bg: #FAF5FF;
  --surface: #FFFFFF;
  --text: #2E1065;
  --muted: #7C3AED;
  --primary: #8B5CF6;
  --secondary: #DDD6FE;
  --accent: #C084FC;
  --border: rgba(46, 16, 101, 0.08);
  --nav-dark: #1a0a3e;
  --max-w: 1200px;
  --font-serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

img:not(.offer-logo) {
  height: auto;
}

.disclosure-badge {
  max-width: fit-content;
  margin: 8px auto;
  padding: 5px 18px;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 4px;
  text-align: center;
  line-height: 1.5;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
}

.hero {
  background: var(--primary);
  padding: 64px 24px;
  text-align: center;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 820px;
  letter-spacing: -0.02em;
}

.hero-light {
  color: #ffffff;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 580px;
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.offers {
  padding: 72px 24px;
  background-image: linear-gradient(rgba(250, 245, 255, 0.88), rgba(250, 245, 255, 0.92)), url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

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

.offers-kicker {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}

.offers h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 36px;
  color: var(--text);
}

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

.offer-card {
  background-color: #ffffff;
  color: #1f2937;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(46, 16, 101, 0.12);
}

.offer-card-media {
  width: 200px;
  height: 96px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.offer-name {
  font-size: 20px;
  margin: 0 0 10px;
  color: #111827;
  text-align: center;
}

.offer-bonus-group {
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: center;
}

.offer-bonus {
  font-weight: 700;
  font-size: 16px;
  color: #c2410c;
  margin: 0 0 4px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.offer-terms {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}

.offer-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 16px;
  line-height: 1.5;
}

.offer-cta {
  margin-top: auto;
}

.btn-offer {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background-color: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-offer:hover {
  background-color: #b91c1c;
  color: #ffffff;
}

.info-section {
  min-height: 100vh;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.info-section:nth-child(even) {
  background: var(--surface);
}

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

.info-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.25;
}

.info-section p {
  color: var(--muted);
  max-width: 680px;
  font-size: 1rem;
}

.info-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.layout-split .decor-wrap {
  justify-self: end;
}

.decor-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(46, 16, 101, 0.14);
}

.decor-wrap-spaced {
  margin-top: 28px;
}

.decor-wrap-narrow {
  max-width: 380px;
}

.decor-wrap-medium {
  max-width: 420px;
}

.decor-wrap-meter {
  grid-column: 1 / -1;
  max-width: 400px;
  margin-top: 24px;
}

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

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

.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 8px;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
}

.layout-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
}

.layout-accent-bar {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
}

.layout-floating {
  position: relative;
  padding-right: 220px;
  min-height: 220px;
}

.layout-floating .decor-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
}

.layout-aside {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.aside-panel {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.1), rgba(192, 132, 252, 0.06));
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
}

.aside-panel h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 14px;
}

.aside-panel ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.aside-panel li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.layout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.info-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--primary);
  background: var(--secondary);
}

.layout-timeline {
  border-left: 2px solid var(--primary);
  padding-left: 28px;
  margin-top: 20px;
}

.timeline-item {
  margin-bottom: 20px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.layout-hero-bg {
  position: relative;
  padding: 48px 36px;
  border-radius: 12px;
  overflow: hidden;
}

.layout-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(192, 132, 252, 0.08));
  z-index: 0;
}

.layout-hero-bg .content {
  position: relative;
  z-index: 1;
}

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

.meter-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.footer {
  background: var(--nav-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px 32px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 36px;
  margin-bottom: 12px;
}

.footer-logo p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-content: flex-start;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badge img {
  height: 44px;
  width: auto;
}

.footer-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.age-gate,
.cookie-banner {
  display: none;
  position: fixed;
  z-index: 9999;
}

.age-gate.active {
  display: flex;
  inset: 0;
  background: rgba(26, 10, 62, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  max-width: 440px;
  text-align: center;
}

.age-gate-box h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text);
}

.age-gate-box p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-age-confirm {
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-age-decline {
  padding: 12px 28px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.cookie-banner.active {
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: 0 -8px 32px rgba(46, 16, 101, 0.1);
}

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

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.btn-cookie {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
}

.btn-cookie-accept {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.page-content {
  padding: 56px 24px 72px;
  flex: 1;
}

.page-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-inner h1 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 20px;
  color: var(--text);
}

.page-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.page-inner h3 {
  font-size: 1rem;
  margin: 20px 0 8px;
  color: var(--text);
}

.page-inner p,
.page-inner li {
  color: var(--muted);
  margin-bottom: 12px;
}

.page-inner ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

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

.contact-form.hidden {
  display: none;
}

.contact-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
}

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

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

.contact-group input.field-invalid {
  border-color: #dc2626;
}

.contact-error {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 6px;
}

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

.contact-submit {
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  align-self: flex-start;
}

.contact-success {
  display: none;
  margin-top: 32px;
  padding: 24px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
}

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

.contact-success h3 {
  font-family: var(--font-serif);
  margin-bottom: 8px;
  color: var(--text);
}

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

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

.redirect-ad {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 700;
}

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

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

.redirect-box h1 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

.redirect-box p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

.error-page h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.btn-home {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.btn-home:hover {
  color: #fff;
  background: var(--muted);
}

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

  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    width: 280px;
    bottom: 0;
    background: var(--nav-dark);
    z-index: 199;
    padding: 20px 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav-drawer.active {
    display: block;
    transform: translateX(0);
  }

  .nav-drawer ul {
    list-style: none;
  }

  .nav-drawer a {
    display: block;
    padding: 14px 24px;
    border-left: 3px solid var(--accent);
    margin-left: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .info-section {
    min-height: auto;
    padding: 56px 20px;
  }

  .layout-split,
  .layout-aside,
  .layout-meter,
  .layout-cards {
    grid-template-columns: 1fr;
  }

  .layout-split .decor-wrap {
    justify-self: center;
    order: -1;
  }

  .layout-floating {
    padding-right: 0;
    padding-bottom: 200px;
  }

  .layout-floating .decor-wrap {
    position: absolute;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    top: auto;
    width: 160px;
    max-width: calc(100vw - 48px);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-card-media {
    width: 180px;
    height: 86px;
  }

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

  .offer-bonus {
    font-size: 14px;
  }

  .decor-wrap,
  .decor-wrap-narrow,
  .decor-wrap-medium,
  .decor-wrap-meter {
    max-width: 100%;
    width: 100%;
    max-height: 240px;
  }

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

  .layout-floating .decor-wrap {
    max-width: calc(100vw - 48px);
  }

  .info-inner {
    min-width: 0;
  }
}
