/* ==========================================================================
   Heaven County — Production Design System & Styling
   ========================================================================== */

:root {
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-accent: #0284c7;
  --color-accent-light: #38bdf8;
  --color-accent-warm: #f59e0b;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  --color-bg-body: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-success: #10b981;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Accessibility Focus Ring (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.bg-dark :focus-visible,
.site-footer :focus-visible,
.first-look-box :focus-visible {
  outline-color: var(--color-accent-light);
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Accessibility Skip Link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--color-accent);
  color: #ffffff !important;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #ffffff;
}

/* Accessibility Reduced Motion (WCAG 2.3.3) */
@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;
  }
  .hero-bg-layer,
  .pulse-dot,
  .play-btn-pulse {
    animation: none !important;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 96px;
  padding-bottom: 96px;
}

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

.bg-dark {
  background-color: #0b1120;
}

.text-center {
  text-align: center;
}

.text-light {
  color: #ffffff !important;
}

.text-light-muted {
  color: #94a3b8 !important;
}

.text-accent {
  color: var(--color-accent-light) !important;
}

/* Section Header standard */
.section-header {
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.bg-dark .section-kicker {
  background: rgba(56, 189, 248, 0.15);
  color: var(--color-accent-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background-color: #0274b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(2, 132, 199, 0.04);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Announcement Bar
   ========================================================================== */
.announcement-bar {
  background-color: #090e17;
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bar-content .badge {
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.bar-link {
  color: var(--color-accent-light);
  font-weight: 600;
  text-decoration: underline;
}

.bar-link:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

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

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: #475569;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-count {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 2px 6px;
  margin-left: 4px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 100px 0;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: subtleZoom 20s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes subtleZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-light);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(56, 189, 248, 0.6);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #ffffff;
}

.highlight-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-logo-wrap,
.hero-tagline-wrap {
  margin: 0 auto 28px auto;
  max-width: 500px;
}

.hero-logo-img,
.hero-tagline-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Section 2: Show Concept & Format
   ========================================================================== */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.concept-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.concept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-hover);
}

.concept-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.concept-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.concept-card p {
  color: var(--color-text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.pillars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pillar-chip {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Section 3: Characters Roster
   ========================================================================== */
.character-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.character-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.character-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

.character-thumb-wrapper {
  position: relative;
  background: radial-gradient(circle at center, #f1f5f9 0%, #e2e8f0 100%);
  padding: 24px 20px 0 20px;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.character-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.character-card:hover .character-img {
  transform: scale(1.06);
}

.character-role-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
  white-space: nowrap;
  line-height: 1;
  height: 24px;
  box-sizing: border-box;
}

.character-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.character-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.character-tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.character-verse-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}

.character-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.read-story-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Section 4: Town Tour & World-Building
   ========================================================================== */
.town-tour-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.town-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.town-tab-btn {
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.town-tab-btn strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.town-tab-btn span {
  display: block;
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.town-tab-btn:hover {
  background: #f8fafc;
}

.town-tab-btn.active {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.town-tab-btn.active strong {
  color: var(--color-accent);
}

.town-display-card {
  display: flex;
  flex-direction: column;
}

.town-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  background: #0f172a;
}

.town-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.town-image-frame:hover .town-main-img {
  transform: scale(1.03);
}

.town-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.town-info-box {
  padding-top: 24px;
}

.town-info-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.town-info-box p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.town-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-tag {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Section 5: First Look & Production Preview Hub
   ========================================================================== */
.first-look-box {
  max-width: 1040px;
  margin: 0 auto;
}

.first-look-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  cursor: pointer;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.first-look-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity 200ms ease;
  display: block;
}

.first-look-frame:hover .first-look-main-img {
  transform: scale(1.02);
}

.first-look-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.15) 35%, rgba(15, 23, 42, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px;
  pointer-events: none;
}

.first-look-badge-top {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.first-look-caption-wrap {
  max-width: 740px;
  pointer-events: auto;
}

.first-look-scene-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-light);
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.first-look-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.first-look-desc {
  font-size: 0.975rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.first-look-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-thumbs-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.gallery-thumb-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #131c2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.gallery-thumb-card:hover {
  background: #1e293b;
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.gallery-thumb-card.active {
  background: #1e293b;
  border-color: var(--color-accent-light);
  box-shadow: 0 0 0 1px var(--color-accent-light);
}

.thumb-img {
  width: 90px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

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

.thumb-meta .thumb-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.thumb-meta h4 {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-meta p {
  font-size: 0.775rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.production-notice-bar {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(8px);
}

.notice-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.notice-text {
  flex: 1;
}

.notice-text strong {
  display: block;
  font-size: 0.975rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.notice-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Section 6: Merch Shelf & Apparel
   ========================================================================== */
.merch-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #f0f9ff;
}

.filter-pill-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.product-card-cta-group {
  display: flex;
  gap: 8px;
}

.ghl-store-btn {
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--color-border);
  color: #64748b;
}

.ghl-store-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #f0f9ff;
}

.product-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-hover);
}

.product-media-frame {
  position: relative;
  background: #f8fafc;
  height: 280px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-normal);
}

.product-img-back {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}

.product-card:hover .product-img-back {
  opacity: 1;
}

.product-card:hover .product-img-front {
  opacity: 0;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.color-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--color-border);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.swatch-btn:hover, .swatch-btn.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.shop-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 44px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.shop-banner-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.shop-banner-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Section 7: Discussion Guides & Lead Capture
   ========================================================================== */
.resources-wrapper {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: center;
}

.resources-info h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.resources-info > p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.resource-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resource-bullets li {
  display: flex;
  gap: 16px;
}

.bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.resource-bullets strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.resource-bullets p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

.lead-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}

.form-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-header p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  background: #ffffff;
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-fineprint {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 14px;
}

.form-success-state {
  text-align: center;
  padding: 24px 12px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.form-success-state h4 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-success-state p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090e17;
  color: #cbd5e1;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #172033;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-text-sm {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.site-footer .btn-outline,
.site-footer .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

.site-footer .btn-outline:hover,
.site-footer .btn-outline-light:hover {
  border-color: #ffffff;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
}

.footer-meta-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-text {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 4px;
}

.privacy-link {
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: underline;
}

.privacy-link:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
/* Character Drawer */
.character-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

.character-drawer.open {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.character-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 540px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  padding: 40px 32px;
}

.character-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #e2e8f0;
}

.drawer-hero-img-box {
  background: radial-gradient(circle at center, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: var(--radius-xl);
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.drawer-hero-img {
  max-height: 95%;
  width: auto;
  object-fit: contain;
}

.drawer-verse-callout {
  background: #f0f9ff;
  border-left: 4px solid var(--color-accent);
  padding: 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.drawer-verse-callout blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: #0369a1;
  margin-bottom: 6px;
}

.drawer-verse-callout cite {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  font-style: normal;
}

/* Video Lightbox */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all var(--transition-normal);
}

.video-modal.open {
  visibility: visible;
  opacity: 1;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-modal-frame {
  position: relative;
  background: #020617;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.art-modal-frame .modal-poster {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
  display: block;
}

.art-modal-caption {
  background: #0f172a;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.art-modal-text {
  flex: 1;
}

.art-modal-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 4px 0 2px 0;
}

.art-modal-text p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .first-look-frame {
    aspect-ratio: 4 / 3;
  }
  .first-look-overlay {
    padding: 16px;
  }
  .first-look-title {
    font-size: 1.35rem;
  }
  .first-look-desc {
    font-size: 0.85rem;
  }
  .gallery-thumbs-shelf {
    grid-template-columns: 1fr;
  }
  .production-notice-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .art-modal-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

.cart-drawer.open {
  visibility: visible;
}

.cart-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 0;
}

.cart-empty-state {
  text-align: center;
  padding: 48px 12px;
  color: var(--color-text-muted);
}

.cart-empty-state svg {
  margin-bottom: 12px;
  color: #94a3b8;
}

.cart-empty-state p {
  margin-bottom: 18px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-accent);
}

.cart-footer {
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 300;
  pointer-events: none;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-logo-wrap,
  .hero-tagline-wrap {
    max-width: 420px;
  }
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .town-tour-wrapper {
    grid-template-columns: 1fr;
  }
  .resources-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-logo-wrap,
  .hero-tagline-wrap {
    max-width: 300px;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .concept-grid {
    grid-template-columns: 1fr;
  }
  .video-clips-shelf {
    grid-template-columns: 1fr;
  }
  .shop-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
