/* ═══════════════════════════════════════════════════════════════
   Xena the Lab — Brand Hub Shared Styles
   Design tokens from the landing page
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --gold: #D4A853;
  --gold-light: #F5E6C4;
  --gold-dim: rgba(212, 168, 83, 0.12);
  --navy: #1A1D3B;
  --navy-light: #2A2D5B;
  --navy-dim: rgba(26, 29, 59, 0.06);
  --cream: #FDF8F0;
  --warm-white: #FEFCF9;
  --coral: #E8785E;
  --coral-dim: rgba(232, 120, 94, 0.12);
  --sage: #7BA68D;
  --sage-dim: rgba(123, 166, 141, 0.12);
  --text: #1A1D3B;
  --text-secondary: rgba(26, 29, 59, 0.6);
  --text-tertiary: rgba(26, 29, 59, 0.4);
  --border: rgba(26, 29, 59, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ─── Navigation ────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 29, 59, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--gold);
  background: var(--gold-dim);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ─── Page Container ────────────────────────────────────────── */

.page {
  padding-top: 64px;
  min-height: 100vh;
}

/* ─── Page Hero ─────────────────────────────────────────────── */

.page-hero {
  background: linear-gradient(165deg, var(--navy) 0%, #0F1129 55%, var(--navy-light) 100%);
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}

.page-hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 600px;
}

/* ─── Section ───────────────────────────────────────────────── */

.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header h2 span {
  color: var(--coral);
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

/* ─── Cards ─────────────────────────────────────────────────── */

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 29, 59, 0.08);
}

.card-body {
  padding: 32px;
}

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-placeholder {
  font-size: 48px;
  opacity: 0.3;
}

.card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Tags / Badges ─────────────────────────────────────────── */

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 100px;
}

.tag-gold { background: var(--gold-dim); color: var(--gold); }
.tag-coral { background: var(--coral-dim); color: var(--coral); }
.tag-sage { background: var(--sage-dim); color: var(--sage); }
.tag-navy { background: rgba(26, 29, 59, 0.08); color: var(--navy); }

/* ─── Grids ─────────────────────────────────────────────────── */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* ─── Filter Tabs ───────────────────────────────────────────── */

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-tab:hover {
  background: rgba(26, 29, 59, 0.04);
  color: var(--text);
}

.filter-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ─── Trait Chips ────────────────────────────────────────────── */

.trait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.trait-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.trait-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 29, 59, 0.06);
}

.trait-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--gold-dim), rgba(232, 120, 94, 0.08));
}

.trait-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.trait-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Fun Facts ─────────────────────────────────────────────── */

.fun-facts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fun-fact {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.fun-fact-icon {
  font-size: 20px;
  min-width: 20px;
}

/* ─── Story World ───────────────────────────────────────────── */

.world-content {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.world-content h3, .world-content strong {
  color: var(--text);
  font-family: 'Syne', sans-serif;
}

.world-content p {
  margin-bottom: 16px;
}

.world-content ul {
  margin: 12px 0 20px 24px;
}

.world-content li {
  margin-bottom: 8px;
}

/* ─── Story Article ─────────────────────────────────────────── */

.story-article {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.story-article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.story-article-content {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(26, 29, 59, 0.75);
}

.story-article-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.story-article-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  letter-spacing: -0.5px;
}

.story-article-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.story-article-content p {
  margin-bottom: 20px;
}

.story-article-content em {
  color: var(--text-secondary);
}

.story-article-content strong {
  color: var(--text);
  font-weight: 600;
}

.story-article-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px 0;
}

.story-article-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.story-article-content ul, .story-article-content ol {
  margin: 16px 0 20px 24px;
}

.story-article-content li {
  margin-bottom: 8px;
}

/* ─── Story Cards (list view) ──────────────────────────────── */

.story-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.story-card-link .card {
  display: flex;
  flex-direction: row;
  min-height: 200px;
}

.story-card-link .card-image {
  width: 280px;
  min-width: 280px;
  aspect-ratio: auto;
}

.story-card-link .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card-link .card-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.story-card-link .card-body .excerpt {
  margin-bottom: 16px;
}

.story-card-link .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

/* ─── Profile Hero ──────────────────────────────────────────── */

.profile-hero {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-avatar {
  width: 220px;
  height: 220px;
  min-width: 220px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--gold-dim), var(--coral-dim));
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.profile-info .breed {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.profile-info .tagline {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.profile-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.profile-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.profile-meta-item .icon {
  font-size: 16px;
}

/* ─── Backstory ─────────────────────────────────────────────── */

.backstory {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px;
}

.backstory p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

/* ─── Loading State ─────────────────────────────────────────── */

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  gap: 12px;
  color: var(--text-tertiary);
  font-size: 15px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Empty State ───────────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 80px 40px;
  color: var(--text-tertiary);
}

.empty-state .icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* ─── Back Link ─────────────────────────────────────────────── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--gold);
}

/* ─── Footer ────────────────────────────────────────────────── */

.site-footer {
  padding: 40px;
  background: var(--navy);
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ─── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #C49A42);
  color: #fff;
  border: none;
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(26, 29, 59, 0.04);
}

.btn-danger {
  background: transparent;
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.btn-danger:hover {
  background: rgba(220, 53, 69, 0.08);
}

.btn-sm {
  font-size: 13px;
  padding: 6px 14px;
}

/* ─── Forms ─────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-group .help-text {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ─── Toast ─────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  z-index: 9999;
  animation: toastIn 0.3s ease;
  max-width: 400px;
}

.toast-success { background: var(--sage); }
.toast-error { background: var(--coral); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card-link .card {
    flex-direction: column;
  }

  .story-card-link .card-image {
    width: 100%;
    min-width: unset;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 29, 59, 0.98);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .page-hero {
    padding: 60px 24px 40px;
  }

  .section {
    padding: 60px 24px;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
    gap: 24px;
  }

  .profile-avatar {
    width: 160px;
    height: 160px;
    min-width: 160px;
  }

  .profile-info h1 {
    font-size: 36px;
  }

  .profile-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .backstory, .world-content {
    padding: 28px;
  }

  .story-article {
    padding: 40px 24px 60px;
  }

  .card-body {
    padding: 24px;
  }

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

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Character Bible (Story World Page)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Identity Grid ──────────────────────────────────────────── */

.bible-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bible-identity-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bible-identity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 29, 59, 0.06);
}

.bible-identity-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}

.bible-identity-value {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.bible-identity-note {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ─── Traits Grid ──────────────────────────────────────────── */

.bible-traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.bible-trait {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bible-trait:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 29, 59, 0.06);
}

.bible-trait-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bible-trait-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, var(--gold-dim), rgba(232, 120, 94, 0.08));
}

.bible-trait h4 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.bible-trait p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.bible-trait-usage {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bible-trait-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--navy-dim);
  color: var(--text-secondary);
}

/* ─── Voice Guide ──────────────────────────────────────────── */

.bible-voice-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bible-voice-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.bible-voice-medium {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 32px;
  background: var(--navy);
}

.bible-voice-icon {
  font-size: 24px;
}

.bible-voice-medium h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.bible-voice-body {
  padding: 28px 32px;
}

.bible-voice-tone {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}

.bible-voice-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.bible-voice-example {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
}

.bible-voice-example-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}

.bible-voice-example p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.bible-voice-donts {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 12px 16px;
  background: rgba(232, 120, 94, 0.06);
  border-radius: var(--radius-sm);
}

.bible-voice-donts strong {
  color: var(--coral);
  font-weight: 600;
}

/* ─── Story World Rules ──────────────────────────────────────── */

.bible-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bible-rule-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bible-rule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 29, 59, 0.06);
}

.bible-rule-number {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.bible-rule-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.bible-rule-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Cast Grid ──────────────────────────────────────────────── */

.bible-cast-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bible-cast-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bible-cast-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 29, 59, 0.06);
}

.bible-cast-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-dim), var(--coral-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.bible-cast-info h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

.bible-cast-role {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.bible-cast-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Audience Grid ──────────────────────────────────────────── */

.bible-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bible-audience-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bible-audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 29, 59, 0.08);
}

.bible-audience-primary {
  border-color: var(--gold);
  border-width: 2px;
}

.bible-audience-tier {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.bible-audience-primary .bible-audience-tier { color: var(--gold); }
.bible-audience-secondary .bible-audience-tier { color: var(--coral); }
.bible-audience-tertiary .bible-audience-tier { color: var(--sage); }

.bible-audience-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.bible-audience-age {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.bible-audience-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.bible-audience-channels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bible-audience-channels span {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--navy-dim);
  color: var(--text-secondary);
}

/* ─── Themes Grid ──────────────────────────────────────────── */

.bible-themes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bible-theme-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bible-theme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 29, 59, 0.06);
}

.bible-theme-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.bible-theme-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.bible-theme-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Bible CTA (Profile page) ─────────────────────────────── */

.bible-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}

.bible-cta h3 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.bible-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto 28px;
}

/* ─── Bible Responsive ─────────────────────────────────────── */

@media (max-width: 1024px) {
  .bible-identity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bible-audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bible-identity-grid {
    grid-template-columns: 1fr;
  }
  .bible-traits-grid {
    grid-template-columns: 1fr;
  }
  .bible-rules-grid {
    grid-template-columns: 1fr;
  }
  .bible-themes-grid {
    grid-template-columns: 1fr;
  }
  .bible-voice-body {
    padding: 20px;
  }
  .bible-voice-medium {
    padding: 20px;
  }
  .bible-cast-card {
    flex-direction: column;
    gap: 16px;
  }
  .bible-cta {
    padding: 40px 24px;
  }
  .bible-cta h3 {
    font-size: 22px;
  }
}
