:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-soft: #0b0906;
  --panel: #11100c;
  --panel-soft: #17140d;
  --line: rgba(255, 255, 255, 0.12);
  --gold-line: rgba(227, 177, 73, 0.38);
  --text: #f8f2e3;
  --muted: #c8bda8;
  --soft: #8d826e;
  --gold: #e3b149;
  --gold-bright: #ffd875;
  --radius: 8px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(227, 177, 73, 0.14), transparent 28rem),
    linear-gradient(180deg, #080705 0%, var(--bg) 36rem);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(227, 177, 73, 0.18);
  background: rgba(3, 3, 3, 0.88);
  backdrop-filter: blur(18px);
}

.site-header > *,
.hero-section > *,
.section > * {
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(227, 177, 73, 0.14);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--gold-bright);
}

.header-action,
.button,
.product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.header-action {
  display: none;
  padding: 0 1rem;
  background: var(--text);
  color: #151008;
}

.menu-button {
  display: grid;
  gap: 6px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.site-header.menu-open .nav-links {
  position: absolute;
  top: 74px;
  right: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: #090806;
  box-shadow: var(--shadow);
}

.site-header.menu-open .nav-links a {
  padding: 0.85rem;
  border-radius: 6px;
}

.site-header.menu-open .nav-links a:hover {
  background: rgba(227, 177, 73, 0.08);
}

.hero-section {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 720px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.15rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  width: min-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(3rem, 8.3vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
}

.hero-lede {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: #e7ddc8;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-width: 164px;
  padding: 0.88rem 1.1rem;
}

.button:hover,
.header-action:hover,
.product-action:hover {
  transform: translateY(-1px);
}

.button.primary,
.product-action.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #140f07;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.affiliate-note {
  display: inline-flex;
  max-width: 100%;
  margin: 1.2rem 0 0;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(227, 177, 73, 0.3);
  border-radius: var(--radius);
  color: #f7df9e;
  background: rgba(227, 177, 73, 0.07);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-emblem {
  justify-self: center;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  padding: clamp(0.45rem, 1.2vw, 0.8rem);
  background:
    radial-gradient(circle, rgba(227, 177, 73, 0.14), transparent 62%),
    #020202;
  box-shadow:
    0 0 60px rgba(227, 177, 73, 0.12),
    var(--shadow);
}

.hero-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.section {
  padding: clamp(3.6rem, 8vw, 6.5rem) clamp(1.15rem, 4vw, 3rem);
}

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

.section-heading p {
  max-width: 740px;
}

.split-heading,
.about-section,
.legal-section,
.contact-section {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.category-grid,
.product-grid,
.content-grid,
.link-board {
  display: grid;
  gap: 1rem;
}

.category-card,
.product-card,
.content-grid article,
.link-card,
.legal-copy,
.clean-empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.category-card,
.content-grid article,
.legal-copy,
.clean-empty-state {
  padding: 1.1rem;
}

.category-card {
  background:
    linear-gradient(145deg, rgba(227, 177, 73, 0.08), transparent),
    rgba(255, 255, 255, 0.03);
}

.category-card span,
.content-grid span,
.product-meta span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card p,
.content-grid p,
.legal-copy p,
.clean-empty-state p {
  margin-bottom: 0;
}

.clean-empty-state {
  max-width: 760px;
  border-color: rgba(227, 177, 73, 0.22);
  background: rgba(227, 177, 73, 0.055);
}

.clean-empty-state strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
}

.product-card {
  display: grid;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    var(--panel);
}

.product-image {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(227, 177, 73, 0.12), rgba(255, 255, 255, 0.025)),
    #0d0b08;
}

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

.product-image-fallback {
  width: 100%;
  height: 100%;
}

.product-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.product-body p,
.recommendation-reason p {
  margin: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.recommendation-reason {
  padding: 0.82rem;
  border: 1px solid rgba(227, 177, 73, 0.18);
  border-radius: var(--radius);
  background: rgba(227, 177, 73, 0.055);
}

.recommendation-reason strong {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--text);
  font-size: 0.82rem;
}

.product-action {
  align-self: end;
  margin: 0 1rem 1rem;
  padding: 0.9rem 1rem;
}

.content-grid article {
  background: transparent;
}

.link-board {
  margin-top: 1rem;
}

.link-board[hidden],
.product-grid[hidden],
.clean-empty-state[hidden] {
  display: none;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem;
}

.link-card strong {
  display: block;
}

.link-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-mark {
  width: min(220px, 58vw);
  aspect-ratio: 1;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  padding: 0.4rem;
  background: #020202;
}

.about-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.legal-copy p:first-child,
.contact-section p:first-child {
  margin-top: 0;
}

.legal-copy p:last-child,
.contact-section p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem clamp(1.15rem, 4vw, 3rem);
  border-top: 1px solid rgba(227, 177, 73, 0.18);
}

.site-footer p {
  max-width: 720px;
  margin: 0.35rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #11100d;
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .nav-links,
  .header-action {
    display: inline-flex;
  }

  .menu-button {
    display: none;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  }

  .split-heading,
  .legal-section,
  .contact-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  }

  .about-section {
    grid-template-columns: 240px minmax(0, 1fr);
  }

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

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

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

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(3rem, 11vw, 6rem);
  }

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

@media (max-width: 759px) {
  .site-header {
    min-height: 72px;
    padding-inline: 1.15rem;
  }

  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .hero-section {
    min-height: auto;
    padding: 3.2rem 1.15rem 3.6rem;
  }

  .hero-emblem {
    order: -1;
    width: min(290px, 78vw);
  }

  h1 {
    width: auto;
    font-size: clamp(2.75rem, 13.2vw, 4rem);
    white-space: normal;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    width: 100%;
  }

  .button,
  .header-action {
    min-width: 0;
    width: 100%;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .brand-mark span {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
