/* ==========================================================================
   BDSM NZ (bdsmnz.co.nz) - Bespoke Dark Luxury Design System
   Namespace: bnz-* | Tailored Anti-Footprint Styling
   ========================================================================== */

:root {
  --bnz-bg: #090607;
  --bnz-bg-alt: #0e090c;
  --bnz-surface: #130d10;
  --bnz-surface-subtle: #1c1318;
  --bnz-surface-card: #150e12;
  --bnz-surface-hover: #22161e;
  --bnz-wine: #751b35;
  --bnz-wine-hover: #8f2141;
  --bnz-wine-dark: #3c0d1b;
  --bnz-gold: #d7b46a;
  --bnz-gold-light: #f1dca1;
  --bnz-gold-glow: rgba(215, 180, 106, 0.22);
  --bnz-text: #fff7ee;
  --bnz-text-muted: #c9b6aa;
  --bnz-text-dim: #998377;
  --bnz-border: rgba(255, 247, 238, 0.12);
  --bnz-border-gold: rgba(215, 180, 106, 0.35);
  --bnz-success: #10b981;
  --bnz-success-bg: rgba(16, 185, 129, 0.12);
  --bnz-radius-sm: 6px;
  --bnz-radius-md: 10px;
  --bnz-radius-lg: 16px;
  --bnz-radius-full: 9999px;
  --bnz-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  --bnz-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bnz-font-serif: Georgia, "Times New Roman", Times, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--bnz-font-sans);
  background-color: var(--bnz-bg);
  color: var(--bnz-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 15% 10%, rgba(117, 27, 53, 0.22), transparent 36rem),
              radial-gradient(circle at 85% 60%, rgba(60, 13, 27, 0.3), transparent 42rem),
              var(--bnz-bg);
  color: var(--bnz-text);
  overflow-x: hidden;
}

img, picture {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--bnz-gold);
  outline-offset: 3px;
}

/* Skip link */
.bnz-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bnz-gold);
  color: #1a0d06;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--bnz-radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.bnz-skip:focus {
  top: 16px;
}

/* Layout container */
.bnz-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.bnz-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 6, 7, 0.88);
  border-bottom: 1px solid var(--bnz-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bnz-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.bnz-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.bnz-brand img {
  width: 180px;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}

.bnz-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bnz-nav-link {
  color: var(--bnz-text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.bnz-nav-link:hover,
.bnz-nav-link[aria-current="page"] {
  color: var(--bnz-text);
}

.bnz-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--bnz-radius-sm);
  background: linear-gradient(135deg, var(--bnz-gold), var(--bnz-gold-light));
  color: #1a0d06 !important;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(215, 180, 106, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bnz-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(215, 180, 106, 0.35);
}

.bnz-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bnz-border);
  border-radius: var(--bnz-radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
}

.bnz-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--bnz-text);
  margin: 4px auto;
  transition: 0.25s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.bnz-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 84px;
  background: linear-gradient(135deg, #1b0d10, #3c0d1b);
}

.bnz-hero-media,
.bnz-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.bnz-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 7, 0.92) 0%, rgba(9, 6, 7, 0.65) 50%, rgba(9, 6, 7, 0.85) 100%),
    linear-gradient(180deg, rgba(9, 6, 7, 0.2) 0%, rgba(9, 6, 7, 0.96) 100%);
  z-index: -1;
}

.bnz-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.bnz-hero-title {
  font-family: var(--bnz-font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bnz-text);
  margin-bottom: 20px;
}

.bnz-hero-subtitle {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #f1dfd3;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 32px;
}

.bnz-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.bnz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 36px;
  border-radius: var(--bnz-radius-full);
  background: linear-gradient(135deg, var(--bnz-gold), var(--bnz-gold-light));
  color: #1a0d06 !important;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 10px 32px rgba(215, 180, 106, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 250px;
}

.bnz-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(215, 180, 106, 0.42);
}

.bnz-hero-note {
  font-size: 0.88rem;
  color: var(--bnz-text-dim);
}

.bnz-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.bnz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--bnz-text-muted);
  background: rgba(255, 247, 238, 0.05);
  padding: 6px 14px;
  border-radius: var(--bnz-radius-full);
  border: 1px solid var(--bnz-border);
}

.bnz-badge svg {
  color: var(--bnz-gold);
}

/* ==========================================================================
   Sections & Layout Grids
   ========================================================================== */
.bnz-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--bnz-border);
}

.bnz-section-alt {
  background: var(--bnz-bg-alt);
}

.bnz-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.bnz-eyebrow {
  display: inline-block;
  color: var(--bnz-gold);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.bnz-section-title {
  font-family: var(--bnz-font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bnz-text);
  margin-bottom: 14px;
}

.bnz-section-desc {
  font-size: 1.05rem;
  color: var(--bnz-text-muted);
  line-height: 1.6;
}

.bnz-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.bnz-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.bnz-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   Cards & Panels
   ========================================================================== */
.bnz-card {
  background: var(--bnz-surface-card);
  border: 1px solid var(--bnz-border);
  border-radius: var(--bnz-radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.bnz-card:hover {
  transform: translateY(-3px);
  border-color: var(--bnz-border-gold);
  background: var(--bnz-surface-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.bnz-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--bnz-radius-sm);
  background: rgba(117, 27, 53, 0.25);
  border: 1px solid rgba(117, 27, 53, 0.45);
  color: var(--bnz-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bnz-card-title {
  font-family: var(--bnz-font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--bnz-text);
  margin-bottom: 12px;
}

.bnz-card-text {
  font-size: 0.95rem;
  color: var(--bnz-text-muted);
  line-height: 1.6;
}

/* Spoke / Topic Card with Thumbnail */
.bnz-topic-card {
  background: var(--bnz-surface-card);
  border: 1px solid var(--bnz-border);
  border-radius: var(--bnz-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.bnz-topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--bnz-border-gold);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.bnz-topic-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bnz-surface-subtle);
  border-bottom: 1px solid var(--bnz-border);
}

.bnz-topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bnz-topic-card:hover .bnz-topic-thumb img {
  transform: scale(1.04);
}

.bnz-topic-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bnz-topic-title {
  font-family: var(--bnz-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bnz-text);
  margin-bottom: 10px;
}

.bnz-topic-desc {
  font-size: 0.92rem;
  color: var(--bnz-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.bnz-topic-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bnz-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Community Profile Previews
   ========================================================================== */
.bnz-profile-card {
  background: var(--bnz-surface-card);
  border: 1px solid var(--bnz-border);
  border-radius: var(--bnz-radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.bnz-profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bnz-profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--bnz-radius-full);
  object-fit: cover;
  border: 2px solid var(--bnz-wine);
  flex-shrink: 0;
}

.bnz-profile-meta {
  min-width: 0;
  flex: 1;
}

.bnz-profile-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bnz-text);
  margin-bottom: 2px;
}

.bnz-profile-sub {
  font-size: 0.82rem;
  color: var(--bnz-text-muted);
  margin-bottom: 4px;
}

.bnz-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--bnz-success);
  background: var(--bnz-success-bg);
  padding: 2px 8px;
  border-radius: var(--bnz-radius-full);
}

.bnz-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bnz-success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  display: inline-block;
}

.bnz-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bnz-profile-tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(117, 27, 53, 0.25);
  color: var(--bnz-gold);
  border: 1px solid rgba(215, 180, 106, 0.2);
}

.bnz-profile-bio {
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--bnz-text-muted);
  font-style: italic;
}

.bnz-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--bnz-radius-sm);
  background: var(--bnz-wine);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}

.bnz-profile-btn:hover {
  background: var(--bnz-wine-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Editorial Content & Typography
   ========================================================================== */
.bnz-content {
  max-width: 860px;
  margin: 0 auto;
}

.bnz-content h2 {
  font-family: var(--bnz-font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bnz-text);
  margin: 48px 0 16px;
}

.bnz-content h3 {
  font-family: var(--bnz-font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bnz-text);
  margin: 36px 0 14px;
}

.bnz-content p {
  font-size: 1.04rem;
  color: var(--bnz-text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.bnz-content ul,
.bnz-content ol {
  margin: 18px 0 26px 26px;
  color: var(--bnz-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.bnz-content li {
  margin-bottom: 10px;
}

.bnz-content a {
  color: var(--bnz-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bnz-content a:hover {
  color: var(--bnz-gold-light);
}

/* Editorial Callout */
.bnz-callout {
  background: var(--bnz-surface-subtle);
  border-left: 4px solid var(--bnz-gold);
  border-radius: 0 var(--bnz-radius-md) var(--bnz-radius-md) 0;
  padding: 24px 28px;
  margin: 36px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.bnz-callout-title {
  font-family: var(--bnz-font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--bnz-text);
  margin-bottom: 8px;
}

.bnz-callout p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--bnz-text-muted);
}

/* Tables */
.bnz-table-wrap {
  overflow-x: auto;
  margin: 32px 0 40px;
  border: 1px solid var(--bnz-border);
  border-radius: var(--bnz-radius-md);
  background: var(--bnz-surface);
}

.bnz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.bnz-table th,
.bnz-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bnz-border);
  vertical-align: top;
  line-height: 1.55;
}

.bnz-table th {
  background: rgba(117, 27, 53, 0.35);
  color: var(--bnz-gold-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.bnz-table tr:last-child td {
  border-bottom: none;
}

.bnz-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.bnz-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.bnz-faq-item {
  background: var(--bnz-surface-card);
  border: 1px solid var(--bnz-border);
  border-radius: var(--bnz-radius-md);
  overflow: hidden;
  transition: border-color 0.22s ease;
}

.bnz-faq-item.is-open {
  border-color: var(--bnz-border-gold);
}

.bnz-faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--bnz-text);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.bnz-faq-icon {
  color: var(--bnz-gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.bnz-faq-item.is-open .bnz-faq-icon {
  transform: rotate(180deg);
}

.bnz-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--bnz-text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.bnz-faq-item.is-open .bnz-faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Bottom Conversion Banner
   ========================================================================== */
.bnz-cta-banner {
  padding: 64px 0;
  background: radial-gradient(circle at center, rgba(117, 27, 53, 0.45), transparent 48rem),
              var(--bnz-surface);
  border-top: 1px solid var(--bnz-border);
  border-bottom: 1px solid var(--bnz-border);
  text-align: center;
}

.bnz-cta-title {
  font-family: var(--bnz-font-serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--bnz-text);
  margin-bottom: 14px;
}

.bnz-cta-text {
  font-size: 1.08rem;
  color: #f1dfd3;
  max-width: 680px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bnz-footer {
  background: #060405;
  border-top: 1px solid var(--bnz-border);
  padding: 64px 0 32px;
  font-size: 0.92rem;
  color: var(--bnz-text-muted);
}

.bnz-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.bnz-footer-brand {
  display: inline-block;
  font-family: var(--bnz-font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bnz-text);
  margin-bottom: 14px;
}

.bnz-footer-intro {
  line-height: 1.6;
  margin-bottom: 14px;
}

.bnz-footer-adult {
  font-size: 0.82rem;
  color: var(--bnz-text-dim);
  line-height: 1.5;
}

.bnz-footer-col h3, .bnz-footer-col h4 {
  color: var(--bnz-gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.bnz-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bnz-footer-links a {
  color: var(--bnz-text-muted);
  transition: color 0.2s ease;
}

.bnz-footer-links a:hover {
  color: var(--bnz-gold-light);
}

.bnz-footer-disclaimer {
  padding-top: 28px;
  border-top: 1px solid var(--bnz-border);
  font-size: 0.82rem;
  color: var(--bnz-text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bnz-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--bnz-text-dim);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 247, 238, 0.06);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .bnz-header-inner {
    height: 68px;
  }
  .bnz-menu-btn {
    display: block;
  }
  .bnz-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(14, 9, 12, 0.98);
    border: 1px solid var(--bnz-border);
    border-radius: var(--bnz-radius-md);
    padding: 22px;
    gap: 16px;
    box-shadow: var(--bnz-shadow);
  }
  .bnz-nav.is-open {
    display: flex;
  }
  .bnz-nav-cta {
    width: 100%;
    text-align: center;
  }
  .bnz-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .bnz-hero {
    min-height: 520px;
    padding: 72px 16px 56px;
  }
  .bnz-section {
    padding: 52px 0;
  }
  .bnz-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bnz-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .bnz-btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
