:root {
  --bg: #F0F4EF;
  --surface: #FFFFFF;
  --text: #1E2923;
  --muted: #5C6B61;
  --primary: #86A384;
  --secondary: #B3C1AD;
  --accent: #D4A373;
  --border: rgba(30, 41, 35, 0.08);
  --ink: #0A0F0C;
  --panel: #0E1511;
  --panel-2: #101A13;
  --line: rgba(240, 244, 239, 0.14);
  --line-soft: rgba(240, 244, 239, 0.08);
  --green: #86A384;
  --amber: #D4A373;
  --ok: #9FD6A0;
  --font-mono: "SFMono-Regular", "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 500px at 85% -10%, rgba(134, 163, 132, 0.10), transparent 65%),
    radial-gradient(900px 420px at -10% 30%, rgba(212, 163, 115, 0.06), transparent 60%),
    linear-gradient(180deg, #0A0F0C 0%, #0B120E 55%, #090E0B 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(0deg, rgba(240, 244, 239, 0.025) 0px, rgba(240, 244, 239, 0.025) 1px, transparent 1px, transparent 3px);
  opacity: 0.5;
}

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

img {
  max-width: 100%;
}

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

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

.term-line {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-line::before {
  content: "// ";
  color: rgba(240, 244, 239, 0.35);
}

.caret {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  margin-left: 4px;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.disclosure {
  width: 100%;
  background: #060906;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  z-index: 2;
}

.disclosure::before {
  content: "> ";
  color: var(--amber);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 8, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #12201A;
}

.brand-name b {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: var(--secondary);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-open .nav-links {
  display: flex;
}

.page-hero {
  position: relative;
  padding: 64px 0 44px;
  background-image: linear-gradient(180deg, rgba(10, 15, 12, 0.35) 0%, rgba(10, 15, 12, 0.92) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
  color: var(--bg);
  font-size: 30px;
  line-height: 1.25;
  margin: 10px 0 14px;
  max-width: 820px;
}

.page-hero p {
  color: var(--secondary);
  max-width: 760px;
  margin: 0 0 8px;
}

.content-section {
  padding: 40px 0;
}

.prose p {
  color: var(--secondary);
  margin: 0 0 14px;
  max-width: 860px;
}

.prose h2 {
  color: var(--bg);
  font-size: 20px;
  margin: 34px 0 12px;
}

.prose h2::before {
  content: "# ";
  color: var(--amber);
}

.prose h3 {
  color: var(--primary);
  font-size: 16px;
  margin: 24px 0 10px;
}

.prose ul,
.prose ol {
  color: var(--secondary);
  max-width: 860px;
  padding-left: 22px;
  margin: 0 0 16px;
}

.prose li {
  margin-bottom: 8px;
}

.callout {
  border-left: 3px solid var(--amber);
  background: var(--panel);
  padding: 14px 18px;
  color: var(--secondary);
  font-size: 14px;
  max-width: 860px;
  margin: 18px 0;
}

.term-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--secondary);
  margin: 18px 0;
  max-width: 900px;
}

.term-table th,
.term-table td {
  border: 1px solid var(--line-soft);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.term-table th {
  color: var(--amber);
  font-weight: 600;
  background: var(--panel);
  white-space: nowrap;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: #16211B;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(6, 10, 7, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(6, 10, 7, 0.55);
}

.offer-logo {
  width: 190px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  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: 16px;
  text-align: center;
  color: #142019;
}

.offer-bonus-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.offer-bonus {
  font-size: 15px;
  font-weight: 700;
  color: #1E3A2E;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.offer-terms {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.offer-desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
  text-align: center;
  line-height: 1.5;
}

.offer-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--primary);
  color: #101A13;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 16px;
  border-radius: 4px;
  transition: background 0.18s ease, color 0.18s ease;
}

.offer-cta:hover {
  background: var(--accent);
  color: #12100C;
}

.site-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: #070B08;
  border-top: 1px solid var(--line-soft);
  color: var(--secondary);
  font-size: 13px;
  padding: 40px 0 28px;
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bg);
  background: rgba(240, 244, 239, 0.05);
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line-soft);
  margin-bottom: 14px;
}

.footer-brand .brand-name {
  color: var(--bg);
}

.footer-col h4 {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.footer-col h4::before {
  content: "$ ";
  color: var(--green);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 244, 239, 0.05);
  border: 1px solid var(--line-soft);
  padding: 6px 10px;
}

.partner-badge img {
  display: block;
  max-width: 120px;
  height: auto;
}

.footer-partners a {
  text-decoration: none;
}

.footer-fineprint {
  border-top: 1px dotted var(--line-soft);
  padding-top: 18px;
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(179, 193, 173, 0.85);
}

.footer-fineprint p {
  margin: 0 0 10px;
}

.footer-help {
  color: var(--amber);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 7, 5, 0.9);
  backdrop-filter: blur(4px);
}

.age-gate.active {
  display: flex;
}

.age-box {
  width: 100%;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 28px 26px;
  text-align: center;
  animation: fadeUp 0.25s ease;
}

.age-box h2 {
  color: var(--bg);
  font-size: 20px;
  margin: 12px 0 10px;
}

.age-box p {
  color: var(--secondary);
  font-size: 13.5px;
  margin: 0 0 20px;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--primary);
  color: #0D140F;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border-color: var(--line);
}

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

.age-decline {
  margin-top: 16px;
  color: var(--secondary);
  font-size: 12px;
}

.age-decline a {
  color: var(--amber);
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px 18px;
  display: none;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.25s ease;
}

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

.cookie-bar p {
  margin: 0;
  font-size: 12.5px;
  color: var(--secondary);
  flex: 1 1 300px;
}

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

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

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

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

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  color: var(--bg);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--bg);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 11px 12px;
  border-radius: 3px;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--primary);
}

.form-error {
  color: var(--amber);
  font-size: 12px;
  margin: 0;
}

.form-error[hidden] {
  display: none;
}

.form-success {
  border: 1px solid var(--primary);
  background: rgba(134, 163, 132, 0.08);
  color: var(--bg);
  padding: 18px;
  font-size: 14px;
  max-width: 560px;
}

.go-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 18px;
}

.go-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.go-ad {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.go-msg {
  color: var(--secondary);
  font-size: 15px;
  max-width: 460px;
}

.go-msg b {
  color: var(--bg);
}

.go-note {
  color: rgba(179, 193, 173, 0.7);
  font-size: 11.5px;
  max-width: 520px;
}

.go-note a {
  color: var(--amber);
}

@media (max-width: 900px) {
  .nav-burger {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: #070B08;
    border-left: 1px solid var(--line);
    padding: 74px 26px 30px;
    z-index: 70;
    animation: slideIn 0.22s ease;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }

  .nav-links .nav-dot {
    display: none;
  }

  .nav-links .nav-link {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.12);
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .offer-logo {
    width: 150px;
    height: 60px;
  }

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

  .cookie-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}
