/*
Theme Name: CryptidWhispers Field Journal
Theme URI: https://cryptidwhispers.com
Author: CryptidWhispers Research Collective & Creators Russ and Sarynn
Author URI: https://cryptidwhispers.com
Description: A late-night paranormal podcast & cryptozoology block theme. Features full-bleed basement recording studio background, responsive audio/video podcast player, links to free distribution platforms (Spotify, YouTube, Apple, Amazon), classified bestiary archive, and creator merch vault.
Version: 1.5.2
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cryptidwhispers-field-journal
Tags: full-site-editing, block-patterns, dark-mode, custom-colors, custom-typography, podcast
*/

/* --------------------------------------------------------------------------
   0. GOOGLE FONTS IMPORT
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;900&display=swap');

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & MIDNIGHT PLUM ATMOSPHERIC CANVAS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: #0B0414 !important;
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background-color: #0B0414 !important;
  background-image: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(37, 17, 61, 0.5) 0%, rgba(11, 4, 20, 0.98) 75%) !important;
  background-attachment: fixed !important;
  color: #D1C2E0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Master Centered Page Frame (Identical to Preview's max-w-[1200px]) */
.wp-site-blocks,
.cw-page-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 1.5rem 1rem 3rem 1rem !important;
  width: 100% !important;
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6,
.font-editorial,
.cw-headline-editorial,
.cw-editorial {
  font-family: 'Cinzel Decorative', 'Cormorant Garamond', Georgia, serif !important;
  color: #FFF8E7 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0;
}

.font-mono,
.cw-tag-mono,
.cw-mono {
  font-family: 'JetBrains Mono', monospace !important;
}

.font-heading,
.cw-heading {
  font-family: 'Montserrat', sans-serif !important;
}

a {
  color: #FF6E26;
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: #FFD166;
}

/* --------------------------------------------------------------------------
   2. SITE HEADER (Identical to React Preview LiveThemePreview.tsx)
   -------------------------------------------------------------------------- */
.cw-preview-header {
  width: 100%;
  border: 1px solid #3D1E66;
  background-color: #160B26;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* Top Telemetry & On-Air Bar */
.cw-telemetry-bar {
  border-bottom: 1px solid #361959;
  background-color: #0E0518;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #A898BC;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-telemetry-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #FFD166;
}

.cw-ping-dot {
  width: 8px;
  height: 8px;
  background-color: #FF6E26;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF6E26;
  animation: cwPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes cwPing {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 14px #FF6E26; }
  100% { transform: scale(0.9); opacity: 1; }
}

.cw-telemetry-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-hosts-tag {
  color: #FF6E26;
  font-weight: 700;
}

.cw-pipe {
  color: #361959;
}

/* Main Navigation Row */
.cw-nav-main {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #361959;
  gap: 16px;
}

.cw-brand-block {
  display: flex;
  align-items: center;
}

.cw-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.cw-brand-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #FF6E26;
  background-color: #120720;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(255, 110, 38, 0.3);
  flex-shrink: 0;
}

.cw-brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-brand-text {
  display: flex;
  flex-direction: column;
}

.cw-brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-brand-title {
  font-family: 'Cormorant Garamond', 'Cinzel Decorative', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #FFF8E7 !important;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.cw-badge-pill-podcast {
  background-color: #FF6E26;
  color: #120720 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.cw-brand-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #FFD166;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop Links */
.cw-links-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cw-nav-link {
  color: #D1C2E0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  position: relative;
}

.cw-nav-link:hover,
.cw-nav-link.active {
  color: #FF6E26 !important;
}

.cw-cta-wrapper {
  display: flex;
  align-items: center;
}

.cw-btn-transmit {
  background-color: #FF6E26;
  color: #120720 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(255, 110, 38, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cw-btn-transmit:hover {
  background-color: #FF8547;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 110, 38, 0.5);
}

/* Mobile Toggle */
.cw-mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid #361959;
  border-radius: 6px;
  padding: 6px;
  color: #FFF8E7;
  cursor: pointer;
}

.cw-mobile-drawer {
  display: none;
  background-color: #0E0518;
  border-top: 1px solid #361959;
  padding: 16px;
}

.cw-mobile-drawer.open {
  display: block;
}

.cw-mob-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cw-mob-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #D1C2E0 !important;
  padding: 6px 0;
  border-bottom: 1px solid #230E38;
}

.cw-mob-cta {
  background-color: #FF6E26;
  color: #120720 !important;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
}

.cw-mob-platforms {
  border-top: 1px solid #230E38;
  padding-top: 12px;
}

.cw-mob-plat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #A898BC;
}

.cw-mob-plat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cw-mob-plat-pills a {
  background: #1C0D30;
  border: 1px solid rgba(255,110,38,0.3);
  color: #FFD166 !important;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

@media (max-width: 900px) {
  .cw-links-nav,
  .cw-cta-wrapper {
    display: none;
  }
  .cw-mobile-toggle-btn {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   3. IMMERSIVE BASEMENT STUDIO CANVAS (Matches React Preview)
   -------------------------------------------------------------------------- */
.cw-studio-canvas {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 110, 38, 0.4);
  margin-bottom: 2rem;
}

.cw-studio-canvas-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/cryptidwhispers-field-journal/assets/images/background.svg');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  z-index: 1;
}

.cw-studio-canvas-dim {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 5, 18, 0.45);
  z-index: 2;
}

.cw-studio-canvas-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .cw-studio-canvas-content {
    padding: 2rem;
  }
}

/* --------------------------------------------------------------------------
   4. FROSTED CARD PANELS (Matches React Preview Glass Style)
   -------------------------------------------------------------------------- */
.cw-frosted-panel {
  background: rgba(22, 11, 38, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 110, 38, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .cw-frosted-panel {
    padding: 2rem;
  }
}

.cw-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #361959;
  padding-bottom: 1rem;
}

.cw-tag-mono {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cw-tag-orange {
  color: #FF6E26;
}

.cw-tag-red {
  color: #FF3B30;
}

.cw-headline-editorial {
  font-size: 26px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .cw-headline-editorial {
    font-size: 30px;
  }
}

.cw-telemetry-pill {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}

.cw-telemetry-accent {
  color: #FFD166;
  font-size: 11px;
  font-weight: 700;
}

.cw-telemetry-sub {
  color: #A898BC;
  font-size: 10px;
}

.cw-intro-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #D1C2E0;
  margin: 0;
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   5. PODCAST PLAYER CARD
   -------------------------------------------------------------------------- */
.cw-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #361959;
  padding-bottom: 1rem;
}

.cw-player-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-player-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #FF6E26;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 110, 38, 0.4);
}

.cw-player-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-badge-streaming {
  background-color: rgba(255, 110, 38, 0.15);
  border: 1px solid #FF6E26;
  color: #FF6E26;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cw-ping-dot-small {
  width: 6px;
  height: 6px;
  background-color: #FF6E26;
  border-radius: 50%;
  animation: cwPing 1.5s infinite;
}

.cw-player-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 2px 0 0 0;
}

.cw-player-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cw-listen-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #A898BC;
}

.cw-badge-ep {
  background-color: #1C0D30;
  border: 1px solid #FF6E26;
  color: #FF6E26;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.cw-ep-details {
  margin-bottom: 1.5rem;
}

.cw-ep-title {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 0 0 6px 0;
}

.cw-ep-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #D1C2E0;
  margin: 0;
}

/* Audio Deck Controls */
.cw-audio-deck {
  background-color: #120720;
  border: 1px solid #361959;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.cw-deck-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.cw-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #FF6E26;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 110, 38, 0.5);
}

.cw-play-btn:hover {
  background-color: #FF8547;
  transform: scale(1.05);
}

.cw-icon-pause {
  display: none;
}

.cw-play-btn.playing .cw-icon-play {
  display: none;
}

.cw-play-btn.playing .cw-icon-pause {
  display: block;
}

/* Waveform Bars */
.cw-waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  flex-grow: 1;
}

.cw-waveform-bars span {
  display: block;
  flex-grow: 1;
  background-color: #FF6E26;
  border-radius: 2px;
  opacity: 0.75;
  transition: height 0.3s ease;
  animation: cwEqualizer 1.2s infinite ease-in-out;
}

.cw-waveform-bars span:nth-child(even) {
  animation-duration: 0.9s;
  background-color: #FFD166;
}

.cw-waveform-bars span:nth-child(3n) {
  animation-duration: 1.4s;
}

@keyframes cwEqualizer {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.cw-time-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #FFD166;
  flex-shrink: 0;
}

.cw-native-audio-wrapper {
  margin-top: 10px;
  border-top: 1px solid #230E38;
  padding-top: 10px;
}

.cw-native-audio-wrapper audio {
  filter: invert(0.85) hue-rotate(240deg);
  border-radius: 6px;
  height: 36px;
}

.cw-audio-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #A898BC;
  margin-top: 10px;
}

/* Platform Listen Buttons */
.cw-platform-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-btn-platform {
  background-color: #1C0D30;
  border: 1px solid #361959;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.cw-btn-platform:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.cw-btn-spotify {
  color: #00F5D4 !important;
  border-color: rgba(0, 245, 212, 0.4);
}
.cw-btn-spotify:hover {
  background-color: #00F5D4;
  color: #120720 !important;
}

.cw-btn-youtube {
  color: #FF3B30 !important;
  border-color: rgba(255, 59, 48, 0.4);
}
.cw-btn-youtube:hover {
  background-color: #FF3B30;
  color: #FFFFFF !important;
}

.cw-btn-apple {
  color: #D1C2E0 !important;
  border-color: rgba(209, 194, 224, 0.4);
}
.cw-btn-apple:hover {
  background-color: #D1C2E0;
  color: #120720 !important;
}

.cw-btn-amazon {
  color: #FFD166 !important;
  border-color: rgba(255, 209, 102, 0.4);
}
.cw-btn-amazon:hover {
  background-color: #FFD166;
  color: #120720 !important;
}

.cw-btn-rss {
  color: #FF6E26 !important;
  border-color: rgba(255, 110, 38, 0.4);
}
.cw-btn-rss:hover {
  background-color: #FF6E26;
  color: #120720 !important;
}

/* --------------------------------------------------------------------------
   6. MEET THE HOSTS SECTION (Russ & Sarynn)
   -------------------------------------------------------------------------- */
.cw-outpost-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #FFD166;
  background-color: #120720;
  border: 1px solid #FF6E26;
  padding: 4px 10px;
  border-radius: 6px;
}

.cw-hosts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cw-hosts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cw-host-card {
  background-color: #1D0E32;
  border: 1px solid #3D1E66;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cw-host-card:hover {
  transform: translateY(-3px);
  border-color: #FF6E26;
}

.cw-host-pill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cw-host-role-pill {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  background-color: #FF6E26;
  color: #120720;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.cw-host-subrole {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #FFD166;
}

.cw-host-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.cw-host-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cw-avatar-russ {
  background-color: #120720;
  border: 1.5px solid #FF6E26;
}

.cw-avatar-sarynn {
  background-color: #120720;
  border: 1.5px solid #00F5D4;
}

.cw-host-name {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 0;
  line-height: 1.2;
}

.cw-host-alias {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #FF6E26;
  margin-top: 2px;
}

.cw-host-species {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #A898BC;
  font-style: italic;
}

.cw-host-bio {
  font-size: 13px;
  line-height: 1.6;
  color: #D1C2E0;
  margin: 0 0 1.25rem 0;
}

.cw-host-footer {
  border-top: 1px solid #361959;
  padding-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-footer-label {
  color: #FFD166;
  font-weight: 700;
}

.cw-footer-val {
  color: #FFF8E7;
}

/* --------------------------------------------------------------------------
   7. YOUTUBE VIDEO SECTION
   -------------------------------------------------------------------------- */
.cw-btn-youtube-subscribe {
  background-color: #FF3B30;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 59, 48, 0.4);
}

.cw-btn-youtube-subscribe:hover {
  background-color: #E02B20;
  transform: translateY(-1px);
}

.cw-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .cw-video-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.cw-video-thumb-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #361959;
  background-color: #0E0518;
}

.cw-video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.cw-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cw-video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.15);
}

.cw-video-play-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FF3B30;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.6);
  transition: transform 0.2s ease;
}

.cw-video-play-overlay:hover .cw-video-play-icon {
  transform: scale(1.1);
}

.cw-video-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(18, 7, 32, 0.85);
  border: 1px solid #FF6E26;
  color: #FFD166;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.cw-video-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cw-video-highlight-card {
  background-color: #120720;
  border: 1px solid #361959;
  border-radius: 10px;
  padding: 1.25rem;
}

.cw-video-subhead {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 6px 0 8px 0;
}

.cw-video-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #D1C2E0;
  margin: 0;
}

.cw-video-meta-box {
  background-color: #120720;
  border: 1px solid #361959;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.cw-meta-row {
  display: flex;
  justify-content: space-between;
}

.cw-meta-key {
  color: #A898BC;
}

.cw-meta-val {
  color: #FFD166;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. MERCH VAULT SECTION
   -------------------------------------------------------------------------- */
.cw-panel-subdesc {
  font-size: 13px;
  color: #D1C2E0;
  margin: 4px 0 0 0;
  max-width: 650px;
}

.cw-support-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-btn-kofi {
  background-color: #FF5E5B;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 94, 91, 0.4);
}

.cw-btn-kofi:hover {
  background-color: #FF7270;
  transform: translateY(-1px);
}

.cw-btn-patreon {
  background-color: #FF424D;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 66, 77, 0.4);
}

.cw-btn-patreon:hover {
  background-color: #FF5A63;
  transform: translateY(-1px);
}

.cw-merch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cw-merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cw-merch-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cw-merch-card {
  background-color: #1C0D30;
  border: 1px solid #3A1B60;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.cw-merch-card:hover {
  border-color: #FF6E26;
  transform: translateY(-3px);
}

.cw-merch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #FF6E26;
  margin-bottom: 6px;
}

.cw-merch-title {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.cw-merch-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #D1C2E0;
  margin: 0 0 1.25rem 0;
}

.cw-merch-btn {
  background-color: #120720;
  border: 1px solid #361959;
  color: #FF6E26 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cw-merch-btn:hover {
  background-color: #FF6E26;
  color: #120720 !important;
  border-color: #FF6E26;
}

/* --------------------------------------------------------------------------
   9. BESTIARY & FIELD REPORTS PREVIEWS
   -------------------------------------------------------------------------- */
.cw-btn-dossier {
  background-color: #1C0D30;
  border: 1px solid #FF6E26;
  color: #FF6E26 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cw-btn-dossier:hover {
  background-color: #FF6E26;
  color: #120720 !important;
}

.cw-reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cw-reports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cw-report-card {
  background-color: #1C0D30;
  border: 1px solid #3A1B60;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.cw-report-card:hover {
  border-color: #FF6E26;
  transform: translateY(-3px);
}

.cw-report-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cw-report-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #FFD166;
  font-weight: 700;
}

.cw-threat-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
}

.cw-threat-elevated {
  background-color: rgba(255, 110, 38, 0.2);
  border: 1px solid #FF6E26;
  color: #FF6E26;
}

.cw-threat-high {
  background-color: rgba(255, 59, 48, 0.2);
  border: 1px solid #FF3B30;
  color: #FF3B30;
}

.cw-threat-severe {
  background-color: rgba(255, 59, 48, 0.3);
  border: 1px solid #FF3B30;
  color: #FF3B30;
  animation: cwPulseRed 2s infinite;
}

@keyframes cwPulseRed {
  0%, 100% { box-shadow: 0 0 4px #FF3B30; }
  50% { box-shadow: 0 0 12px #FF3B30; }
}

.cw-report-title {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFF8E7 !important;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.cw-report-loc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #A898BC;
  margin-bottom: 8px;
}

.cw-report-summary {
  font-size: 12px;
  line-height: 1.5;
  color: #D1C2E0;
  margin: 0 0 1rem 0;
}

.cw-report-card-foot {
  border-top: 1px solid #361959;
  padding-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #A898BC;
  display: flex;
  justify-content: space-between;
}

.cw-foot-arrow {
  color: #FF6E26;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. SITE FOOTER (Matches React Preview)
   -------------------------------------------------------------------------- */
.cw-preview-footer {
  width: 100%;
  border: 1px solid #3D1E66;
  background-color: #160B26;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 2rem;
  margin-top: 1rem;
}

.cw-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cw-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.cw-footer-brand-title {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #FF6E26;
  margin-bottom: 10px;
}

.cw-footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #D1C2E0;
  margin: 0 0 1rem 0;
  max-width: 360px;
}

.cw-footer-telemetry {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #FFD166;
  font-weight: 700;
}

.cw-footer-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #FFF8E7;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.cw-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.cw-footer-links a {
  color: #D1C2E0;
}

.cw-footer-links a:hover {
  color: #FF6E26;
}

.cw-footer-specs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 2;
  color: #EAD5A6;
}

.cw-footer-bottom {
  border-top: 1px solid #361959;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #A898BC;
}

.cw-footer-no-ads {
  color: #FF6E26;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
}
