:root {
  --bg: #0F0A13;
  --surface: #1A1224;
  --text: #FDF2F8;
  --muted: #F9A8D4;
  --primary: #EC4899;
  --secondary: #A78BFA;
  --accent: #F472B6;
  --border: rgba(253, 242, 248, 0.12);
  --ui-style: 'science, research, academic, data, papers';
}

body {
  font-family: Georgia, 'Times New Roman', 'Liberation Serif', serif;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
}

.mono,
.offer-rank,
.badge-18,
.offer-feature .eq,
.footnote sup,
.go-ad {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 85% -10%, rgba(167, 139, 250, 0.16), transparent 65%),
    radial-gradient(900px 480px at -10% 25%, rgba(236, 72, 153, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(23,16,33,1) 0%, var(--bg) 55%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Georgia, 'Times New Roman', 'Liberation Serif', serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(253, 242, 248, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 242, 248, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

img {
  max-width: 100%;
}

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

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

.mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.footnote {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  margin-top: 18px;
  padding-top: 10px;
  line-height: 1.6;
}

.footnote sup {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  color: var(--secondary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: var(--text);
  padding: 8px 16px;
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.disclosure {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(36,20,51,1);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(167, 139, 250, 0.14)), rgba(27,16,38,1);
  color: var(--text);
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
  padding: 10px 16px 16px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.topbar {
  position: relative;
  z-index: 2;
  height: 64px;
  background: rgba(26, 18, 36, 0.92);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-18 {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--text);
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(236, 72, 153, 0.14);
}

.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: rgba(18,12,24,1);
  background-image:
    radial-gradient(60% 90% at 80% 20%, rgba(167, 139, 250, 0.28), transparent 60%),
    radial-gradient(50% 80% at 15% 70%, rgba(236, 72, 153, 0.24), transparent 62%),
    linear-gradient(120deg, rgba(28,18,38,1) 0%, var(--bg) 60%, rgba(21,14,31,1) 100%);
  background-size: cover;
  background-attachment: fixed;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.15;
  color: rgba(253,242,248,1);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero-sub {
  margin: 0 auto 26px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(253,242,248,1);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.trust-row {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.trust-item {
  display: inline-block;
  font-size: 14px;
  color: rgba(253,242,248,1);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  background: rgba(15, 10, 19, 0.55);
  border-radius: 999px;
  padding: 6px 14px;
}

.offers-section {
  position: relative;
  padding: 48px 0 56px;
}

.offers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary) 30%, var(--secondary) 70%, transparent);
  opacity: 0.5;
}

.section-title {
  font-size: 30px;
  margin: 0 0 10px;
}

.section-lead {
  margin: 0 0 28px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.offer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px 22px;
}

.offer-rank {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(236, 72, 153, 0.16);
  border: 1px solid rgba(236, 72, 153, 0.45);
  color: var(--accent);
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
}

.offer-logo {
  width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(253, 242, 248, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 auto 14px;
}

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

.offer-name {
  margin: 0 0 8px;
  font-size: 22px;
}

.offer-rating {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.offer-rating .stars {
  color: var(--primary);
  letter-spacing: 2px;
  margin-left: 6px;
}

.offer-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.offer-bonus {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.offer-terms-note {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.85;
}

.offer-feature {
  margin: 0 0 10px;
  font-size: 14px;
}

.offer-feature .eq {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  color: var(--secondary);
  font-size: 13px;
}

.offer-rug {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
  line-height: 1.5;
}

.offer-cta {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.offer-cta:hover {
  filter: brightness(1.08);
}

.page-head {
  padding: 44px 0 8px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: 34px;
}

.page-content {
  padding: 8px 0 48px;
  max-width: 720px;
}

.page-content h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}

.page-content p {
  margin: 0 0 12px;
}

.page-content ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content a {
  word-break: break-word;
}

.contact-form {
  margin: 22px 0 30px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 10, 19, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  display: none;
  margin: -6px 0 12px;
  font-size: 13px;
  color: var(--accent);
}

.form-error.show {
  display: block;
}

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

.contact-success {
  display: none;
  margin: 22px 0 30px;
  padding: 20px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 10px;
  font-size: 15px;
}

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

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding: 34px 0 30px;
  background: rgba(20,13,27,1);
  background-image:
    radial-gradient(700px 260px at 90% 0%, rgba(167, 139, 250, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(26, 18, 36, 0.7), rgba(15, 10, 19, 0.95));
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-desc {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer-help {
  margin: 0 0 6px;
}

.footer-help a,
.footer-contact a {
  color: var(--accent);
}

.footer-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 14px;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-partner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-partner img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-18 {
  height: 34px;
  width: auto;
  display: block;
}

.footer-rug {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 13px;
}

.footer-legal {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.footer-nz {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(253, 242, 248, 0.62);
  max-width: 720px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.footer-copyright {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.back-to-top {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  text-decoration: none;
  color: var(--accent);
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 5, 13, 0.82);
  padding: 20px;
}

.age-overlay.open {
  display: flex;
}

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

.age-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.age-box p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.age-btn-confirm {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--bg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.age-btn-decline {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(253, 242, 248, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 13.5px;
}

.cookie-bar.active {
  display: block;
}

.cookie-bar p {
  margin: 0 0 12px;
  color: var(--muted);
}

.cookie-bar a {
  color: var(--accent);
}

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

.cookie-actions button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(253, 242, 248, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.cookie-actions .accept {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg);
  font-weight: 700;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid rgba(253, 242, 248, 0.15);
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

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

.go-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 70px 24px;
  text-align: center;
}

.go-wrap h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.go-wrap p {
  color: var(--muted);
  font-size: 15px;
}

.go-ad {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
}

.go-notes {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.go-notes a {
  color: var(--accent);
  word-break: break-word;
}

@media (max-width: 700px) {
  .hero {
    min-height: 250px;
    background-attachment: scroll;
  }

  .hero-inner {
    padding: 40px 18px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .trust-row {
    flex-direction: column;
    align-items: center;
  }

  .trust-item {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .page-head {
    padding-top: 32px;
  }

  .page-head h1 {
    font-size: 27px;
  }

  .section-title {
    font-size: 25px;
  }

  .offer-card {
    padding: 26px 16px 18px;
  }

  .offer-logo {
    width: 120px;
    height: 54px;
  }

  .offer-name {
    font-size: 20px;
  }
}
