
@font-face {
  font-family: 'BenzinBold';
  src: url('/assets/fonts/benzin-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



:root {
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #0a0a0a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --shadow: 0 12px 28px rgba(0,0,0,.06);
  --header-space: 132px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  padding: 24px;
  padding-top: var(--header-space);
}
.wrap { max-width: 980px; margin: 0 auto; }

/* HERO */
.page-affiliate .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-top: 20px;
}
.page-affiliate #hero-title {
  font-family: 'BenzinBold', 'Archivo', 'Inter', sans-serif !important;
  font-weight: 700; /* you can keep 700 or remove it since BenzinBold is already bold */
  font-size: 38px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #000;
  margin-bottom: 4px;
}

.page-affiliate #hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #000 0%, #888 100%);
  border-radius: 2px;
  margin: 8px auto 0;
}
.page-affiliate .hero-sub {
  color: #374151;
  text-align: center;
  margin: 0;
}

/* HOW BOX */
.page-affiliate .how {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-top: 10px;
  text-align: left;
  max-width: 520px;
}
.page-affiliate .how h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 8px;
}
.page-affiliate .how ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.6;
}

/* CARD */
.page-affiliate .card {
  max-width: 560px;
  margin: 12px auto 8vh;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.page-affiliate .card-head h2 {
  text-align: center;
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 12px;
}
.page-affiliate .card-head h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #000 0%, #888 100%);
  border-radius: 2px;
  margin: 8px auto 0;
}

/* FORM */
.form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  margin: 12px 0 6px;
}
.form input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #0a0a0a;
  border-radius: 12px;
  background: #fff;
  color: #111;
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}
.note {
  color: #374151;
  font-size: 14px;
  margin: 10px 0 0;
}
.note a {
  color: #0a0a0a;
  font-weight: 700;
  text-decoration: underline;
}

/* BUTTONS */
.page-affiliate .cta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.page-affiliate .btn {
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 15px;
  border: 1.5px solid #000;
  background: #000;
  color: #fff;
  transition: 0.15s;
}
.page-affiliate .btn:hover { filter: brightness(.9); }
.page-affiliate .btn--ghost {
  background: #fff;
  color: #000;
  border: 1.5px solid #ddd;
}
.page-affiliate .btn--ghost:hover {
  background: #f9fafb;
  border-color: #000;
}

/* SWEETALERT STYLE */
.swal2-popup.swal2-card {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  font-family: 'Inter', sans-serif;
  padding: 24px 20px;
}
.swal2-title {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: #0a0a0a;
}
.swal2-body {
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}
.swal2-confirm {
  background: #000 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 700;
  text-transform: uppercase;
}
.swal2-cancel, .swal2-deny {
  background: #fff !important;
  color: #000 !important;
  border: 1.5px solid #000 !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 700;
}

/* Ensure SweetAlert close X is always visible + styled */
.swal2-popup .swal2-close { display: flex !important; }
.swal2-popup.swal2-card .swal2-close.swal2-close-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff; color: #111;
  opacity: 1;
  font-weight: 800; line-height: 28px;
  cursor: pointer;
}
.swal2-popup.swal2-card .swal2-close.swal2-close-btn:hover { filter: brightness(.96); }

/* MOBILE */
@media (max-width: 480px) {
  body { padding: 16px; }
  .hero h1 { font-size: 28px; }
  .card { padding: 18px; }
}

/* --- Tighten hero → form spacing on the affiliate page --- */
.page-affiliate .hero {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
}
.page-affiliate .hero h1,
.page-affiliate .hero .hero-sub,
.page-affiliate .how { margin: 0 !important; }
.page-affiliate .how { margin-top: 6px !important; }
.page-affiliate .card { margin-top: 8px !important; }
.page-affiliate section.hero { padding-block: 0 !important; }

/* (Optional) fallback modal barebones; inherit site defaults */
.modal-backdrop {
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.4); z-index: 50;
}
.modal {
  background: #fff; color:#111;
  width: min(560px, 92vw);
  border-radius: 14px; padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.modal .actions { display:flex; gap:10px; justify-content:flex-end; margin-top:14px; }
/* Always show the SweetAlert X + style it */
.swal2-popup .swal2-close { display: flex !important; }
.swal2-popup.swal2-card .swal2-close.swal2-close-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff; color: #111;
  opacity: 1; font-weight: 800; line-height: 28px; cursor: pointer;
}
.swal2-popup.swal2-card .swal2-close.swal2-close-btn:hover { filter: brightness(.96); }
.page-affiliate .hero {
  padding-top: 400px; /* adds equal spacing above all hero content */
}
.page-affiliate section.hero {
  padding-top: 120px !important;
}


/* Remove rounded corners from all inputs and buttons on the affiliate page */
.page-affiliate input,
.page-affiliate .btn {
  border-radius: 0 !important;
}
/* Softer gray borders for input fields */
.page-affiliate input {
  border-color: #ccc !important; /* light gray — try #ccc or #d1d5db */
}
/* Add some breathing room below the last button */
.page-affiliate .cta-col {
  margin-bottom: 20px; /* adjust 20–40px depending on how much space you want */
}



@media (max-width: 360px) {
  .page-affiliate #hero-title {
    font-size: clamp(1.4rem, 7vw, 2.6rem);
  }
}
