:root {
  --bg: #0a0c0f;
  --bg-soft: #111419;
  --panel: rgba(18, 22, 28, 0.9);
  --panel-strong: #171c22;
  --panel-light: #f4efe5;
  --panel-light-strong: #efe8da;
  --text: #f7f2e8;
  --text-dark: #16191d;
  --muted: rgba(247, 242, 232, 0.74);
  --muted-dark: rgba(22, 25, 29, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(200, 168, 107, 0.26);
  --gold: #c8a86b;
  --gold-bright: #e4c98f;
  --gold-dark: #8e6e3a;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.16);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --space-section: clamp(42px, 6vw, 84px);
  --space-panel: clamp(28px, 4.4vw, 56px);
  --space-card: clamp(24px, 2.4vw, 32px);
  --space-grid: clamp(24px, 3vw, 36px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.6;
  overflow-x: clip;
}

.site-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(200, 168, 107, 0.18), transparent 28%),
    radial-gradient(circle at right 20%, rgba(78, 86, 102, 0.16), transparent 22%),
    linear-gradient(180deg, #090b0e 0%, #0e1218 52%, #0a0d12 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 600;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.1rem, 5.6vw, 6rem);
}

h2 {
  font-size: clamp(2.05rem, 3.2vw, 3.7rem);
}

h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

p {
  margin: 0;
}

.page-shell,
.page-shell > section,
.detail-layout,
.detail-media-panel,
.detail-content,
.detail-grid,
.provider-panel,
.provider-card,
.section-block,
.watch-grid,
.watch-card,
.watch-card-body {
  min-width: 0;
  max-width: 100%;
}

.detail-content,
.detail-grid article,
.provider-card,
.watch-card-body {
  overflow-wrap: anywhere;
}

.site-frame {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: var(--space-section);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: 18px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px 18px 12px 24px;
  border: 1px solid rgba(228, 201, 143, 0.18);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.brand-wordmark {
  color: var(--panel-light);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.topbar,
.membership-section,
.narrative-section,
.site-footer {
  scroll-margin-top: 108px;
}

.main-nav,
.topbar-actions,
.hero-metrics,
.watch-card-meta,
.feature-list,
.filter-actions,
.detail-chip-row,
.detail-actions,
.provider-card-actions,
.footer-lower,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav {
  gap: 18px;
}

.main-nav a,
.topbar-actions a,
.footer-grid a,
.footer-socials a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.main-nav a:hover,
.topbar-actions a:hover,
.footer-grid a:hover,
.footer-socials a:hover,
.text-link:hover {
  color: var(--gold);
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(200, 168, 107, 0.18);
  border-radius: 999px;
  color: var(--panel-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.nav-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(200, 168, 107, 0.28);
  border-radius: 999px;
  color: var(--panel-light);
  background: linear-gradient(135deg, rgba(228, 201, 143, 0.26), rgba(200, 168, 107, 0.1));
  box-shadow: 0 12px 26px rgba(200, 168, 107, 0.12);
}

.nav-register:hover {
  border-color: rgba(200, 168, 107, 0.5);
  background: linear-gradient(135deg, rgba(200, 168, 107, 0.24), rgba(200, 168, 107, 0.1));
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.tier-pill-basic,
.tier-pill-premier {
  border-color: var(--line-strong);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(200, 168, 107, 0.24);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 12, 16, 0.96);
  box-shadow: var(--shadow-soft);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.page-shell {
  padding: clamp(50px, 7vw, 88px) 0 var(--space-section);
}

.page-shell > * + * {
  margin-top: var(--space-section);
}

.notice-banner {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(200, 168, 107, 0.28);
  background: rgba(200, 168, 107, 0.08);
  color: var(--text);
}

.notice-banner-alert {
  border-color: rgba(245, 135, 135, 0.22);
  background: rgba(115, 42, 42, 0.34);
}

.hero-section,
.section-block,
.filter-sidebar,
.results-panel,
.detail-layout,
.provider-panel,
.empty-state-card,
.auth-hero,
.tier-switch-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.94) 0%, rgba(12, 15, 19, 0.95) 100%);
  box-shadow: var(--shadow);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(820px, 82vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(104px, 12vw, 156px) clamp(22px, 4vw, 40px);
  background-image: var(--bg);
  background-image: image-set(var(--bg-webp) type("image/webp"), var(--bg) type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.5)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at top, rgba(200, 168, 107, 0.12), transparent 38%);
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  gap: clamp(1.1rem, 2vw, 1.65rem);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.35rem, 6.3vw, 6.25rem);
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.kicker {
  margin: 0;
  color: rgba(228, 201, 143, 0.95);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.sub {
  max-width: 64ch;
  color: rgba(247, 242, 232, 0.84);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.82;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.hb-form {
  width: 100%;
}

.hb-form-panel {
  display: grid;
  gap: 26px;
  max-width: 780px;
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 21, 26, 0.9), rgba(11, 14, 18, 0.94));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.hb-field {
  display: grid;
  gap: 9px;
}

.hb-field label {
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hb-field label span {
  color: rgba(247, 242, 232, 0.48);
}

.hb-input {
  width: 100%;
  min-height: 60px;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(26, 31, 38, 0.96), rgba(14, 17, 22, 0.96));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 26px rgba(0, 0, 0, 0.16);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.hb-input::placeholder {
  color: rgba(247, 242, 232, 0.38);
}

.hb-input:focus {
  outline: none;
  border-color: rgba(200, 168, 107, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(200, 168, 107, 0.12);
}

.hb-select {
  appearance: none;
  padding-right: 3rem;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(200, 168, 107, 0.9) 50%),
    linear-gradient(135deg, rgba(200, 168, 107, 0.9) 50%, transparent 50%),
    linear-gradient(180deg, rgba(26, 31, 38, 0.96), rgba(14, 17, 22, 0.96));
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.hb-textarea {
  min-height: 168px;
  resize: vertical;
  padding-top: 1rem;
}

.hb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.hb-actions .button,
.hb-submit {
  min-height: 58px;
  padding-inline: 1.5rem;
}

.hb-message {
  max-width: 780px;
  margin-top: 6px;
}

.hb-form-hero {
  max-width: 720px;
}

.hb-form-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hb-form-row-hero {
  width: 100%;
}

.hb-input-hero {
  flex: 1;
  min-height: 64px;
  border-radius: 999px;
  padding-inline: 1.35rem;
  background: rgba(247, 242, 232, 0.95);
  color: #16191d;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.hb-input-hero::placeholder {
  color: rgba(22, 25, 29, 0.48);
}

.hb-input-hero:focus {
  border-color: rgba(200, 168, 107, 0.5);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(200, 168, 107, 0.14);
}

.hb-submit {
  flex: 0 0 auto;
  border: 1px solid rgba(214, 185, 127, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #d7bb84 0%, #b78e4a 100%);
  color: #0f1217;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    0 18px 30px rgba(183, 142, 74, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.hb-submit:hover,
.hb-actions .button:hover {
  transform: translateY(-1px);
}

.hb-submit:hover {
  filter: brightness(1.03);
  box-shadow:
    0 22px 36px rgba(183, 142, 74, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-section,
.section-block,
.provider-panel,
.auth-hero,
.page-intro,
.empty-state-card {
  padding: var(--space-panel);
}

.narrative-grid,
.search-layout,
.detail-layout,
.footer-grid,
.story-columns {
  display: grid;
  gap: var(--space-grid);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading p,
.narrative-copy p,
.membership-copy,
.result-card-copy,
.detail-description,
.auth-copy p,
.story-card p,
.provider-card p,
.detail-note,
.empty-state-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.48);
  color: rgba(247, 242, 232, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

.button:hover,
.watch-card:hover,
.result-card:hover,
.membership-card:hover,
.story-card:hover,
.tier-switch-card:hover {
  transform: translateY(-2px);
}

.watch-card-media,
.result-card-media {
  display: block;
}

.watch-card,
.result-card,
.product-listing-card {
  cursor: pointer;
}

.button-gold {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #e4c98f 0%, #b98d47 100%);
  color: #101216;
  box-shadow:
    0 18px 34px rgba(200, 168, 107, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button-dark {
  border-color: rgba(228, 201, 143, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button-gold:hover {
  filter: brightness(1.04);
  box-shadow:
    0 24px 42px rgba(200, 168, 107, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.button-dark:hover {
  border-color: rgba(200, 168, 107, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(228, 201, 143, 0.76);
  outline-offset: 4px;
}

.text-link {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-metrics article,
.detail-grid article,
.story-card,
.provider-card,
.tier-switch-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics article {
  min-width: 0;
  flex: 1 1 0;
}

.hero-metrics strong,
.detail-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-metrics span,
.detail-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.narrative-visual img,
.watch-card-media img,
.result-card-media img,
.detail-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.narrative-visual img {
  min-height: 560px;
  border-radius: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-heading p {
  max-width: 560px;
}

.watch-grid,
.membership-grid,
.results-grid {
  display: grid;
  gap: var(--space-grid);
}

.watch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.watch-card,
.membership-card,
.result-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.watch-card:hover,
.membership-card:hover,
.result-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.watch-card-media,
.result-card-media {
  aspect-ratio: 4 / 4.65;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.16));
}

.watch-card-body,
.result-card-body,
.membership-card,
.tier-switch-card {
  padding: var(--space-card);
}

.watch-card-meta,
.result-card-tags {
  flex-wrap: wrap;
}

.watch-card-meta span,
.result-card-tags span,
.detail-chip-row span,
.access-chip,
.membership-badge,
.membership-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.membership-current,
.access-chip-basic,
.access-chip-premier {
  border-color: rgba(200, 168, 107, 0.35);
  color: var(--gold);
}

.watch-card-body h3,
.result-card-body h3,
.membership-card h3 {
  margin-top: 20px;
  overflow-wrap: anywhere;
}

.watch-card-model,
.result-card-model,
.detail-subtitle {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.watch-card-description,
.result-card-copy {
  margin-top: 16px;
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.97rem;
  line-height: 1.76;
}

.watch-card-price,
.detail-price,
.membership-price {
  display: block;
  margin-top: 20px;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-family: "Bodoni Moda", Georgia, serif;
}

.membership-price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-family: "Inter", Arial, sans-serif;
}

.membership-card-active {
  border-color: rgba(200, 168, 107, 0.4);
  background: linear-gradient(180deg, rgba(200, 168, 107, 0.08), rgba(255, 255, 255, 0.03));
}

.membership-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-list {
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.membership-card form,
.provider-card-actions form,
.tier-switch-card form {
  width: 100%;
}

.membership-card-actions {
  width: 100%;
}

.membership-card-actions .button {
  width: 100%;
}

.membership-card form .button,
.provider-card-actions form .button,
.tier-switch-card form .button {
  width: 100%;
}

.narrative-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.story-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.story-card h3 {
  margin-bottom: 16px;
}

.page-intro {
  padding: var(--space-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(19, 23, 29, 0.96), rgba(11, 14, 18, 0.95));
}

.page-intro p {
  margin-top: 24px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.82;
}

.search-layout {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  align-items: start;
}

.filter-sidebar,
.results-panel {
  padding: clamp(22px, 3vw, 30px);
}

.filter-sidebar {
  position: sticky;
  top: 112px;
}

.filter-form,
.detail-content,
.auth-copy {
  display: grid;
  gap: 18px;
}

.filter-form {
  width: 100%;
}

.auth-panel,
.registration-panel,
.confirmation-panel {
  padding: clamp(24px, 4vw, 40px);
}

.auth-meta {
  color: var(--muted);
  line-height: 1.7;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-group label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-group label span {
  color: rgba(247, 242, 232, 0.48);
}

.filter-group-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-group-split > div {
  display: grid;
  gap: 8px;
}

.filter-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.filter-form select,
.filter-form textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(26, 31, 38, 0.96), rgba(14, 17, 22, 0.96));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 26px rgba(0, 0, 0, 0.16);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.filter-form input::placeholder,
.filter-form textarea::placeholder {
  color: rgba(247, 242, 232, 0.38);
}

.filter-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.filter-form select:focus,
.filter-form textarea:focus {
  outline: none;
  border-color: rgba(200, 168, 107, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(200, 168, 107, 0.12);
}

.filter-form select {
  appearance: none;
  padding-right: 3rem;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(200, 168, 107, 0.9) 50%),
    linear-gradient(135deg, rgba(200, 168, 107, 0.9) 50%, transparent 50%),
    linear-gradient(180deg, rgba(26, 31, 38, 0.96), rgba(14, 17, 22, 0.96));
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.filter-form select option {
  background: #15191d;
  color: var(--text);
}

.filter-form textarea {
  min-height: 168px;
  resize: vertical;
  padding-top: 1rem;
}

.filter-form input[type="file"] {
  min-height: auto;
  padding-block: 0.85rem;
}

.filter-form input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid rgba(214, 185, 127, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #d7bb84 0%, #b78e4a 100%);
  color: #0f1217;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-form-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  max-width: 760px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(228, 201, 143, 0.18);
  border-radius: 999px;
  background: rgba(8, 10, 13, 0.78);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px);
}

.filter-form-hero .filter-group {
  gap: 0;
}

.filter-form-hero label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-form-hero input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]) {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.96);
  color: var(--text-dark);
  box-shadow: none;
}

.filter-form-hero .filter-actions {
  align-items: stretch;
}

.filter-form-hero .button {
  min-height: 58px;
  white-space: nowrap;
}

.member-registration-form,
.member-auth-form {
  max-width: 780px;
}

.results-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.results-toolbar p {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}

.results-toolbar .results-count {
  margin-top: 10px;
  color: rgba(247, 242, 232, 0.6);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.results-sort-form {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  margin: 18px 0 20px;
}

.results-sort-form .filter-group {
  min-width: min(100%, 240px);
}

.results-sort-form .button {
  min-height: 46px;
  white-space: nowrap;
}

.active-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 22px;
}

.active-filter-row span,
.active-filter-row a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.active-filter-row span {
  border: 1px solid rgba(200, 168, 107, 0.22);
  background: rgba(200, 168, 107, 0.08);
  color: rgba(247, 242, 232, 0.82);
}

.active-filter-row a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.035);
}

.result-card-copy {
  margin-top: 14px;
}

.product-card-grid {
  align-items: stretch;
}

.product-listing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
}

.product-listing-card:focus-visible {
  outline: 2px solid rgba(228, 201, 143, 0.76);
  outline-offset: 5px;
}

.product-listing-card .result-card-media {
  flex: 0 0 auto;
}

.product-listing-card .result-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.result-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-card-title {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 600;
  line-height: 1.08;
}

.product-listing-card .result-card-model,
.product-listing-card .result-card-copy {
  display: block;
}

.product-listing-card .result-card-footer {
  margin-top: auto;
  padding-top: 18px;
}

.product-listing-card .watch-card-price {
  margin-top: 0;
}

.inventory-list {
  display: grid;
  gap: 10px;
}

.inventory-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(245, 241, 231, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(10, 13, 16, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.inventory-thumb {
  display: block;
  width: 96px;
  min-width: 96px;
  height: 72px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 241, 231, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.inventory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-item-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.inventory-item-copy {
  min-width: 0;
}

.inventory-item-copy h3 {
  margin: 9px 0 0;
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.inventory-item-copy h3 a:hover {
  color: var(--gold);
}

.inventory-copy {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-meta,
.inventory-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-meta {
  flex-wrap: wrap;
}

.inventory-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 174px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inventory-actions .button,
.inventory-actions form {
  margin: 0;
}

.inventory-actions .button {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.pagination-nav,
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-nav {
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(200, 168, 107, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(13, 16, 20, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 46px rgba(0, 0, 0, 0.24);
}

.pagination-pages {
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2px;
}

.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.pagination-nav a:hover {
  border-color: rgba(200, 168, 107, 0.36);
  color: var(--gold);
  background: rgba(200, 168, 107, 0.08);
  transform: translateY(-1px);
}

.pagination-current {
  border-color: rgba(228, 201, 143, 0.58);
  background: linear-gradient(135deg, rgba(228, 201, 143, 0.22), rgba(200, 168, 107, 0.08));
  color: var(--gold-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 20px rgba(200, 168, 107, 0.12);
}

.pagination-link {
  gap: 8px;
  min-width: 138px;
  border-color: rgba(200, 168, 107, 0.2);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.pagination-link span {
  min-width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.08rem;
}

.pagination-link-disabled {
  pointer-events: none;
  opacity: 0.4;
}

.result-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.detail-layout {
  width: 100%;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(22px, 3vw, 34px);
  overflow: clip;
}

.detail-media-frame {
  width: 100%;
  min-height: 640px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.detail-note {
  margin-top: 16px;
}

.detail-content {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 12px 6px 12px 8px;
}

.detail-content .section-kicker,
.detail-content h1,
.detail-content p {
  min-width: 0;
  max-width: 100%;
}

.detail-content h1 {
  font-size: clamp(2.55rem, 5.1vw, 5.2rem);
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.detail-chip-row,
.detail-actions {
  flex-wrap: wrap;
  max-width: 100%;
}

.detail-actions .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.detail-description {
  margin-top: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.detail-grid article {
  max-width: 100%;
}

.detail-grid strong,
.detail-grid span {
  min-width: 0;
  max-width: 100%;
}

.provider-card {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.provider-card > div {
  min-width: 0;
}

.provider-card-open {
  border-color: rgba(200, 168, 107, 0.3);
  background: rgba(200, 168, 107, 0.05);
}

.provider-card-actions-stack {
  flex-direction: column;
  align-items: stretch;
}

.empty-state-card {
  text-align: center;
}

.auth-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.76)),
    url("../images/horobase_engine.jpg") center/cover no-repeat;
}

.auth-panel,
.registration-panel {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.auth-panel .auth-copy,
.registration-panel .section-heading {
  max-width: 860px;
}

.auth-hero-slim {
  min-height: 220px;
}

.tier-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tier-switch-card {
  display: grid;
  gap: 16px;
}

.tier-switch-card-active {
  border-color: rgba(200, 168, 107, 0.4);
}

.site-footer {
  margin-top: var(--space-section);
  padding: var(--space-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(13, 16, 20, 0.94), rgba(10, 12, 15, 0.96));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-grid h3 {
  font-size: 1rem;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.78;
}

.footer-lower {
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 861px) {
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 1200px) {
  .watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-grid,
  .tier-switcher,
  .story-columns {
    grid-template-columns: 1fr;
  }

  .narrative-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-frame {
    width: min(100%, calc(100% - 28px));
  }

  .topbar-inner {
    gap: 14px;
    padding: 14px 18px;
  }

  .main-nav,
  .topbar-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .watch-grid,
  .results-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .results-toolbar,
  .results-sort-form,
  .provider-card,
  .footer-lower {
    flex-direction: column;
    align-items: start;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .detail-actions,
  .filter-actions,
  .provider-card-actions {
    align-items: stretch;
  }

  .inventory-item,
  .inventory-item-main,
  .product-actions,
  .inventory-actions {
    align-items: stretch;
  }

  .inventory-item {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .inventory-actions {
    flex-direction: column;
  }

  .inventory-thumb {
    width: 92px;
    min-width: 92px;
    height: 70px;
  }

  .inventory-actions {
    min-width: 0;
    justify-content: stretch;
  }

  .inventory-actions .button {
    width: 100%;
  }

  .pagination-nav {
    align-items: stretch;
    flex-direction: column;
    border-radius: 18px;
    width: 100%;
  }

  .pagination-link {
    width: 100%;
  }

  .pagination-pages {
    order: -1;
  }

  .hero-actions {
    gap: 10px;
  }

  .filter-group-split {
    grid-template-columns: 1fr;
  }

  .narrative-visual img,
  .detail-media-frame {
    min-height: 420px;
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
}

@media (max-width: 640px) {
  .site-frame {
    width: min(100%, calc(100% - 24px));
  }

  .brand-wordmark {
    font-size: 1.18rem;
    letter-spacing: 0.07em;
  }

  .page-shell {
    padding-top: 24px;
  }

  .hero {
    min-height: 78vh;
    padding: 88px 22px 58px;
  }

  .center {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.95rem, 14vw, 4.05rem);
  }

  .filter-form-hero {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 18px;
  }

  .filter-form-hero .filter-actions,
  .filter-form-hero .button {
    width: 100%;
  }

  .inventory-item {
    padding: 12px;
  }

  .inventory-item-main {
    gap: 10px;
  }

  .inventory-thumb {
    width: 78px;
    min-width: 78px;
    height: 62px;
  }

  .inventory-copy {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
  }

  .filter-actions,
  .filter-actions .button,
  .detail-actions .button,
  .provider-card-actions .button,
  .membership-card-actions .button {
    width: 100%;
  }

  .hb-form-grid {
    grid-template-columns: 1fr;
  }

  .hb-actions,
  .hb-form-row,
  .hb-actions .button,
  .hb-submit {
    flex-direction: column;
    width: 100%;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions .button {
    width: 100%;
  }
}
