@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --bg-primary: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #162032;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.35);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --brand-gold: #f59e0b;
  --brand-ruby: #e11d48;
}

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

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
  color: #ffffff;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Reader article layout */
.editorial-text {
  font-size: 1.075rem;
  line-height: 1.9;
  color: #cbd5e1;
}

.editorial-text p {
  margin-bottom: 1.65rem;
}

.editorial-text p:first-of-type::first-letter {
  font-size: 3.2rem;
  line-height: 0.85;
  float: left;
  margin-right: 0.6rem;
  margin-top: 0.15rem;
  font-weight: 800;
  color: #f59e0b;
  font-family: 'Outfit', sans-serif;
}

.editorial-text h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 3.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: #f8fafc;
}

.editorial-text blockquote {
  border-left: 3px solid #f59e0b;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  color: #fef3c7;
}

/* Custom UI cards */
.elite-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.elite-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.08);
}

/* Buttons */
.btn-ruby-fire {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ruby-fire:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #9f1239 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.6);
}

.btn-gold-action {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  border: 1px solid rgba(253, 230, 138, 0.25);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
  transition: all 0.25s ease;
}

.btn-gold-action:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.5);
}

/* Video wrapper */
.player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}

.player-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player-gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: opacity 0.25s ease;
}

.player-gate-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.player-prompt-box {
  text-align: center;
  padding: 2.25rem 2.5rem;
  border-radius: 1.25rem;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  max-width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.player-play-disc {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.85rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(225, 29, 72, 0.7);
  transition: transform 0.2s ease;
}

.player-prompt-box:hover .player-play-disc {
  transform: scale(1.1);
}

.player-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(9, 13, 22, 0.95));
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 25;
}

.player-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.2s;
}

.player-btn:hover {
  color: #f59e0b;
}

.player-scrubber {
  flex-grow: 1;
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.player-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #e11d48);
}

.player-counter {
  color: #94a3b8;
  font-size: 0.75rem;
  font-family: monospace;
}

/* Modern Intuitive Video Player Architecture (Wistia/YouTube Pro Hybrid) */
.modern-vsl-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
}

.modern-vsl-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Big Central Play Trigger */
.vsl-hero-gate {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(9, 13, 22, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 20;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.vsl-hero-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vsl-pulse-btn {
  position: relative;
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.2rem;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7), 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: pulse-ring 2s infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modern-vsl-frame:hover .vsl-pulse-btn {
  transform: scale(1.08);
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(225, 29, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

.vsl-gate-headline {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  text-align: center;
  letter-spacing: -0.01em;
}

.vsl-gate-subtext {
  font-size: 0.8rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating Status Pills */
.vsl-badge-live {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 22;
}

.vsl-badge-live .live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* Intuitive Modern Floating Bar */
.vsl-hud-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 25;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.vsl-hud-bar.hud-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.vsl-icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.vsl-icon-btn:hover {
  color: #f59e0b;
  background: rgba(255, 255, 255, 0.1);
}

.vsl-track {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.vsl-track-filled {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #e11d48);
  border-radius: 3px;
}

.vsl-timer {
  font-size: 0.75rem;
  font-family: monospace;
  color: #94a3b8;
  white-space: nowrap;
}
