:root {
  --bg: #090909;
  --panel: #121212;
  --panel-strong: #181818;
  --text: #f2eee6;
  --muted: #a49f95;
  --line: #2a2824;
  --red: #9e2f28;
  --red-dark: #6f211d;
  --gold: #b78b45;
  --steel: #73777d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(158, 47, 40, 0.12), transparent 28rem),
    linear-gradient(180deg, #0d0d0d 0%, var(--bg) 42rem);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--line);
  background: #111;
  color: var(--gold);
}

.header-nav {
  display: none;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.hero {
  display: grid;
  gap: 2rem;
  min-height: calc(100svh - 5rem);
  align-items: center;
  padding-top: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(200px, 0.75fr);
  gap: 2rem;
  align-items: start;
}


.eyebrow,
.card-kicker,
.label {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3.15rem, 14vw, 7.4rem);
  text-transform: uppercase;
}

h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 9vw, 4.8rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

.hero-subhead {
  max-width: 38rem;
  color: #d0cbc1;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28);
}

.button-primary:hover {
  background: #b43a32;
}

.button-secondary {
  border-color: var(--line);
  background: #101010;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--steel);
}

.media-frame {
  width: 100%;
  min-height: 21rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #1a1a1a, #0c0c0c);
  padding: 0.75rem;
}

.hero-photo {
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  height: 300px;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 52%;
}

.media-placeholder {
  display: grid;
  min-height: 100%;
  align-content: end;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(transparent 52%, rgba(0, 0, 0, 0.76)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
}

.media-placeholder span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.media-placeholder strong {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 7vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.quick-links {
  display: grid;
  gap: 0.65rem;
  padding-top: 0;
}

.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.92);
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
}

.quick-links a::after {
  content: "/";
  color: var(--red);
}

.quick-links a:hover {
  border-color: var(--red);
}

.social-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.social-row a,
.footer-links a {
  border-bottom: 1px solid var(--red);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-section {
  padding-top: 1rem;
}

.product-grid,
.sponsor-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.product-card h3 {
  margin-bottom: 0;
  text-transform: uppercase;
}

.product-card p:not(.card-kicker) {
  color: var(--muted);
}

.product-image {
  display: grid;
  min-height: 11rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(183, 139, 69, 0.14), transparent 38%),
    #0e0e0e;
  color: var(--gold);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.product-image img,
.sponsor-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-code {
  width: fit-content;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(183, 139, 69, 0.48);
  color: var(--gold) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.product-button {
  margin-top: auto;
}

.affiliate-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.sponsor-card {
  display: grid;
  min-height: 7rem;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #101010;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.admin-body {
  background: #090909;
}

.admin-shell h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 12vw, 5.8rem);
}

.admin-warning,
.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form details {
  border: 1px solid var(--line);
  background: var(--panel);
}

.admin-form summary {
  min-height: 3.75rem;
  padding: 1rem;
  color: var(--gold);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #080808;
  color: var(--text);
  font: inherit;
  min-height: 3rem;
  padding: 0.8rem;
}

.admin-form code {
  color: var(--gold);
}

.compact-form {
  max-width: 34rem;
}

.admin-status {
  color: var(--gold);
  font-weight: 800;
}

.admin-form textarea {
  resize: vertical;
}

.inline-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
}

.inline-check input {
  width: 1.2rem;
  min-height: 1.2rem;
}

.editor-card {
  display: grid;
  gap: 0.2rem;
  margin: 0 1rem 1rem;
  padding: 1rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.editor-card-head button {
  border: 1px solid var(--line);
  background: #080808;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-actions {
  display: grid;
  gap: 0.75rem;
}

.discounts-hero {
  min-height: auto;
  padding-bottom: 2rem;
}

.discount-links {
  padding-top: 1rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.data-section {
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(183, 139, 69, 0.42);
  background:
    linear-gradient(135deg, rgba(183, 139, 69, 0.13), transparent 36%),
    #101010;
  padding: 2rem 1rem;
}

.data-copy {
  color: #d6d0c6;
  font-size: 1.05rem;
}

.data-copy a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.data-copy p:last-child {
  margin-bottom: 0;
}

.about {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy {
  color: #d6d0c6;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1rem;
  border: 1px solid var(--line);
  background: #101010;
}

.steps span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--red);
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(158, 47, 40, 0.18), transparent),
    #101010;
  padding: 2rem 1rem;
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  gap: 0.75rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--text);
  font-weight: 800;
}

@media (min-width: 700px) {
  .header-nav {
    display: flex;
  }

  .button-row {
    flex-direction: row;
  }

  .button {
    width: auto;
  }

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .steps,
  .product-grid,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-section,
  .about,
  .final-cta {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .final-cta .button {
    justify-self: end;
    align-self: center;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-actions {
    grid-template-columns: repeat(3, max-content);
  }

  .hero-photo {
    min-height: 38rem;
    aspect-ratio: 0.82;
  }

  .hero-photo img {
    min-height: 38rem;
    object-position: 52% 52%;
  }
}

@media (max-width: 768px) {
  .hero.section {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
    min-height: auto;
  }

  .hero-copy {
    order: 1 !important;
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 4.7rem);
    overflow-wrap: normal;
  }

  .hero-photo {
    order: 2 !important;
    width: min(100%, 420px) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    aspect-ratio: auto !important;
  }

  .hero-photo img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}
