/* Revenue Optimization Podcast - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Deep purple theme */
  --background: #1a1625;
  --background-secondary: #231f30;
  --foreground: #fafafa;
  --muted: #9ca3af;
  --border: #352f45;
  
  /* Accent colors */
  --accent: #f97316;
  --accent-orange: #f97316;
  --accent-gold: #eab308;
  --accent-sky: #7dd3fc;
  --purple-glow: #6d5acd;
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #eab308 100%);
  --gradient-card: linear-gradient(180deg, #2a2438 0%, #1f1a2e 100%);
  
  /* Shadows */
  --shadow-glow: 0 0 60px rgba(109, 90, 205, 0.3);
  --shadow-accent: 0 4px 30px rgba(249, 115, 22, 0.3);
  --shadow-card: 0 10px 40px rgba(26, 22, 37, 0.5);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Wave Pattern Background */
.wave-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.562 12 50 12c-10.626 0-16.855 1.397-26.66 5.063l-1.767.662c-2.475.923-4.66 1.674-6.724 2.275h6.335zm0-20C13.258 2.892 8.077 4 0 4V2c5.744 0 9.951-.574 14.85-2h6.334zM77.38 0C85.239 2.966 90.502 4 100 4V2c-6.842 0-11.386-.542-16.396-2h-6.225zM0 14c8.44 0 13.718-1.21 22.272-4.402l1.768-.661C33.64 5.347 39.647 4 50 4c10.271 0 15.362 1.222 24.629 4.928C84.112 12.722 89.438 14 100 14v-2c-10.271 0-15.362-1.222-24.629-4.928C65.888 3.278 60.562 2 50 2 39.374 2 33.145 3.397 23.34 7.063l-1.767.662C13.223 10.84 8.163 12 0 12v2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* ============ HEADER ============ */
.navbar-custom {
  background-color: rgba(26, 22, 37, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-brand-icons {
  display: flex;
  align-items: center;
}

.nav-platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.nav-platform-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.nav-platform-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-orange) !important;
}

/* Navbar dropdown */
.nav-item.dropdown {
  position: relative;
}
.nav-item.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(35, 31, 48, 0.98);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.4rem 0;
  padding-top: 0.65rem;
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1100;
}
.nav-item.dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu .dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.dropdown-menu .dropdown-item:hover {
  color: var(--accent-orange);
  background: rgba(249,115,22,0.08);
}
@media (max-width: 991.98px) {
  .nav-item.dropdown .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    margin-top: 0;
  }
  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown .dropdown-menu {
    display: block;
  }
}

.btn-accent {
  background: var(--gradient-accent);
  color: #0a0a0a;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow-accent);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  opacity: 0.9;
  transform: scale(1.05);
  color: #0a0a0a;
}

.btn-outline-custom {
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 0.75rem;
  padding: 0.5rem 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--background-secondary);
  border-color: rgba(249, 115, 22, 0.5);
  color: var(--foreground);
}

/* ============ HERO SECTION ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 25%;
  width: 400px;
  height: 400px;
  background: rgba(109, 90, 205, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 300px;
  height: 300px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.podcast-cover {
  position: relative;
  animation: float 6s ease-in-out infinite;
  max-width: 450px;
  width: 100%;
}

.podcast-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 1.5rem;
  filter: blur(30px);
  transform: rotate(3deg);
}

.podcast-cover img {
  position: relative;
  display: block;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-glow);
  width: 100%;
  height: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }
  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
}

/* ============ LATEST EPISODE BANNER ============ */
.latest-episode-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.latest-episode-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s;
}

.latest-episode-link:hover {
  opacity: 1;
}

.latest-episode-link:hover .latest-episode-title {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.latest-episode-label {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.latest-episode-pulse {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.latest-episode-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 3px rgba(249, 115, 22, 0.6);
}

.latest-episode-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.latest-episode-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: text-decoration-color 0.2s;
}

.latest-episode-time {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.episode-count-badge {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 1rem;
  white-space: nowrap;
}

.episode-count-number {
  font-weight: 700;
  color: var(--accent);
}

.episode-count-sep {
  margin: 0 0.15rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .latest-episode-banner {
    justify-content: center;
    text-align: center;
  }
  .latest-episode-link {
    justify-content: center;
  }
  .episode-count-badge {
    border-left: none;
    padding-left: 0;
  }
}

/* ============ PLATFORMS SECTION ============ */
.platforms-section {
  background-color: rgba(35, 31, 48, 0.5);
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.btn-platform {
  background-color: rgba(35, 31, 48, 0.5);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-platform:hover {
  background-color: var(--background-secondary);
  border-color: rgba(249, 115, 22, 0.5);
  transform: scale(1.05);
  color: var(--foreground);
}

.btn-platform svg {
  width: 32px;
  height: 32px;
}

/* ============ SPONSORS SECTION ============ */
.sponsors-section {
  padding: 5rem 0;
}

.sponsor-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 2rem;
}

.sponsor-label-muted {
  color: var(--muted);
}

.sponsor-block .sponsor-name {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.sponsor-block:hover .sponsor-name {
  color: var(--foreground);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

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

@media (min-width: 769px) and (max-width: 992px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.major-sponsor-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  transition: all 0.3s ease;
}

.major-sponsor-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.sponsor-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

/* Sponsor Cards - square with full-bleed logos */
.sponsor-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sponsor-card {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.sponsor-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.sponsor-card-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Top 10 iGaming Affiliate Programs Grid */
.top10-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.top10-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.top10-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.top10-rank {
  position: absolute;
  top: 0.5rem;
  left: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.12);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.top10-logo,
img.top10-logo {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.top10-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
  line-height: 1.3;
}

.top10-placeholder {
  border-style: dashed;
  opacity: 0.5;
}

.top10-placeholder:hover {
  opacity: 1;
}

.top10-placeholder-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 0.5rem;
}

.top10-placeholder .top10-name {
  color: var(--muted);
}

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

@media (min-width: 769px) and (max-width: 992px) {
  .top10-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============ EPISODES PAGE ============ */
.episodes-section {
  padding: 8rem 0 5rem;
}

.episode-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.episode-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-card);
}

.episode-image {
  width: 128px;
  height: 128px;
  background-color: var(--background-secondary);
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
}

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

.episode-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.episode-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.episode-card:hover .episode-title {
  color: var(--accent-orange);
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.episode-meta svg {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.episode-description {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .episode-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-bottom: 1rem;
  }
}

/* ============ FOOTER ============ */
.footer {
  background-color: rgba(35, 31, 48, 0.3);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  display: block;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ============ LOADING SKELETON ============ */
.skeleton {
  background: linear-gradient(90deg, var(--background-secondary) 25%, var(--border) 50%, var(--background-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-image {
  width: 128px;
  height: 128px;
}

.skeleton-title {
  height: 24px;
  width: 75%;
  margin-bottom: 0.5rem;
}

.skeleton-meta {
  height: 16px;
  width: 30%;
  margin-bottom: 0.5rem;
}

.skeleton-text {
  height: 80px;
  width: 100%;
}

/* ============ ERROR STATE ============ */
.error-state {
  text-align: center;
  padding: 5rem 0;
}

.error-message {
  color: #ef4444;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* ============ LATEST EPISODE CARD ============ */
.latest-episode-card {
  background: rgba(35, 31, 48, 0.5);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.latest-episode-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(35, 31, 48, 0.8);
}

/* ============ EPISODE VIDEO ============ */
.episode-video {
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}
.episode-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
}

/* ============ EPISODE TRANSCRIPT ============ */
.episode-transcript {
  margin-top: 3rem;
}

.episode-transcript h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.transcript-content {
  color: var(--muted);
  line-height: 1.8;
}

.transcript-content h2 {
  font-size: 1.25rem;
  color: var(--accent-orange);
  margin: 2rem 0 1rem;
}

.transcript-content h3 {
  font-size: 1.1rem;
  color: var(--foreground);
  margin: 1.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.transcript-content p {
  margin-bottom: 1rem;
}

.transcript-content .timestamp {
  color: var(--accent-sky);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.875rem;
}

/* ============ STATIC EPISODE PAGE ============ */
.episode-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: rgba(26, 22, 37, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.logo:hover {
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-orange);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.episode-content {
  flex: 1;
  padding: 2rem 0 4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

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

.episode-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.episode-header .episode-image-container {
  flex-shrink: 0;
}

.episode-header .episode-image-container .episode-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-glow);
}

.episode-header-info {
  flex: 1;
  min-width: 0;
}

.episode-content .episode-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.episode-header-info .episode-meta {
  margin-bottom: 0.75rem;
}

.meta-item {
  color: var(--muted);
  font-size: 0.875rem;
  margin-right: 1.5rem;
}

.episode-header-info .episode-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #0a0a0a;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

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

.btn-secondary:hover {
  background-color: var(--background-secondary);
  border-color: rgba(249, 115, 22, 0.5);
}

.episode-content .episode-description {
  margin-bottom: 2rem;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.episode-content .episode-description h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.episode-socials {
  margin-top: 3rem;
}

.episode-socials h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.socials-content a {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.socials-content a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.85;
}

.episode-content .episode-description p {
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

/* Related Episodes */
.related-episodes {
  margin-top: 3rem;
}

.related-episodes h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.related-section h3 {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  margin-bottom: 0.75rem;
}

.related-list a {
  display: block;
  padding: 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.related-list a:hover {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(35, 31, 48, 0.8);
}

.related-title {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.related-date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Footer for static pages */
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.875rem;
}

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

/* Mobile responsiveness for static pages */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .episode-content .episode-title {
    font-size: 1.5rem;
  }

  .episode-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ STATS DASHBOARD ============ */
.stats-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.stats-content {
  flex: 1;
  padding: 2rem 0 4rem;
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats-subtitle {
  color: var(--muted);
  font-size: 1rem;
}

.stats-comparison {
  color: var(--muted);
  opacity: 0.5;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Key Metrics */
.stats-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.stats-metric {
  background: var(--background-secondary);
  padding: 1.5rem;
}

.stats-metric-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.stats-metric-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stats-change {
  font-size: 0.8rem;
  font-weight: 500;
}

.stats-change.positive {
  color: #34d399;
}

.stats-change.negative {
  color: #f87171;
}

.stats-delta {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.6;
  margin-left: 0.5rem;
}

/* Platform Cards */
.stats-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stats-platform {
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.stats-platform-accent {
  height: 3px;
}

.stats-platform-body {
  padding: 1.25rem;
}

.stats-platform-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.stats-platform-name svg {
  width: 18px;
  height: 18px;
}

.stats-platform-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.stats-platform-row:last-child {
  border-bottom: none;
}

.stats-row-label {
  font-size: 0.875rem;
  color: var(--muted);
}

.stats-row-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stats-row-number {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
}

/* Section titles */
.stats-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

/* Demographics */
.stats-demographics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stats-card {
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* Age bars */
.stats-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stats-bar-row:last-child {
  margin-bottom: 0;
}

.stats-bar-label {
  width: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
}

.stats-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent-orange);
}

.stats-bar-value {
  width: 3.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--foreground);
  flex-shrink: 0;
}

/* Donut chart */
.stats-donut-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.stats-donut {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.stats-donut-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--background-secondary);
}

.stats-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stats-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.stats-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stats-legend-pct {
  font-weight: 600;
  color: var(--foreground);
  margin-right: 0.25rem;
}

/* Country tables */
/* ============ STATS MAP ============ */
.stats-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.stats-map-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}
.stats-map-toggle {
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stats-toggle-btn {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}
.stats-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}
.stats-toggle-btn.active {
  background: rgba(255, 165, 0, 0.15);
  color: #ffa500;
}
#country-map {
  margin-bottom: 0.5rem;
}
#country-map svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.map-country {
  transition: fill 0.15s;
  cursor: default;
}
.map-country:hover {
  stroke: rgba(255, 165, 0, 0.6) !important;
  stroke-width: 1 !important;
}
.map-tooltip {
  display: none;
  position: absolute;
  z-index: 1000;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1.4;
  background: rgba(20, 17, 30, 0.95);
  color: var(--foreground);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 0.4rem;
  pointer-events: none;
  white-space: nowrap;
}
.stats-map-label-row {
  text-align: center;
  margin-bottom: 1.25rem;
}
.stats-map-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.stats-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stats-table-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.stats-table-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.stats-table-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
}

.stats-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

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

.stats-table .stats-td-name {
  color: var(--foreground);
}

.stats-table .stats-td-value {
  text-align: right;
  color: var(--muted);
  font-weight: 500;
}

.stats-table .stats-td-rank {
  color: var(--muted);
  width: 1.5rem;
  font-size: 0.8rem;
}

/* YouTube videos */
.stats-yt-table {
  width: 100%;
  border-collapse: collapse;
}

.stats-yt-table th {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.stats-yt-table th.text-right {
  text-align: right;
}

.stats-yt-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
}

.stats-yt-table .yt-rank {
  color: var(--muted);
  width: 2rem;
}

.stats-yt-table .yt-title {
  color: var(--foreground);
  padding-right: 1rem;
}

.stats-yt-table .yt-views {
  text-align: right;
  font-weight: 500;
  color: var(--foreground);
}

.stats-yt-table .yt-hours,
.stats-yt-table .yt-date {
  text-align: right;
  color: var(--muted);
}

/* Stats responsive */
@media (max-width: 768px) {
  .stats-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-metric-value {
    font-size: 1.75rem;
  }
  .stats-platforms {
    grid-template-columns: 1fr;
  }
  .stats-demographics {
    grid-template-columns: 1fr;
  }
  .stats-donut-wrap {
    flex-direction: column;
  }
  .stats-tables {
    grid-template-columns: 1fr;
  }
  .stats-header h1 {
    font-size: 2rem;
  }
  .stats-yt-table .yt-hours,
  .stats-yt-table .yt-date {
    display: none;
  }
}

/* ============ AFFILIATE TOOLS ============ */
.affiliate-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.affiliate-tool-card {
  display: block;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(249,115,22,0.06));
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.affiliate-tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.15);
}
.affiliate-tool-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.affiliate-tool-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.affiliate-tool-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============ INLINE TOP 10 & FAQ (for article pages) ============ */
.top10-inline {
  margin: 2rem 0 2.5rem;
}
.top10-inline-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
}
.faq-inline {
  margin: 2.5rem 0;
  padding: 0;
}
.faq-inline .faq-item {
  background: transparent;
  border: none;
  box-shadow: none;
}
.faq-inline .faq-item:hover,
.faq-inline .faq-item.open {
  border: none;
  box-shadow: none;
}

/* ============ POLL ============ */
.poll-widget {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.10), rgba(249,115,22,0.07));
  border: 1px solid rgba(139,92,246,0.18);
  border-radius: 1rem;
}
.poll-question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* Voting view */
.poll-voting {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.poll-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.2s;
}
.poll-option:hover {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.08);
}
.poll-option input[type="radio"] {
  display: none;
}
.poll-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.poll-option input[type="radio"]:checked ~ .poll-radio {
  border-color: #6366f1;
  background: transparent;
}
.poll-option input[type="radio"]:checked ~ .poll-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6366f1;
}
.poll-option-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.poll-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.poll-total-votes {
  font-size: 0.82rem;
  color: var(--muted);
}
.poll-vote-btn {
  padding: 0.5rem 1.75rem;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.poll-vote-btn:hover:not(:disabled) {
  background: #4f46e5;
  transform: translateY(-1px);
}
.poll-vote-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Results view */
.poll-results {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.poll-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.poll-result-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.poll-result-pct {
  font-weight: 700;
  color: #a5b4fc;
  min-width: 2.5rem;
}
.poll-result-text {
  color: rgba(255,255,255,0.85);
}
.poll-check {
  color: #22c55e;
  font-weight: 700;
  margin-left: 0.25rem;
  font-size: 0.85rem;
}
.poll-result-bar {
  height: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: 5px;
  overflow: hidden;
}
.poll-result-fill {
  height: 100%;
  background: #6366f1;
  border-radius: 5px;
  transition: width 0.6s ease;
  width: 0;
}
.poll-result-fill.poll-fill-winner {
  background: #22c55e;
}

/* ============ BLOG ============ */
.blog-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.blog-main {
  flex: 1;
  padding: 9rem 0 4rem;
}

/* Blog List Page */
.blog-list-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-list-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-list-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.blog-card-image {
  width: 240px;
  flex-shrink: 0;
}

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

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  line-height: 1.3;
}

.blog-card:hover .blog-card-title {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.blog-card-read {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

@media (max-width: 640px) {
  .blog-card {
    flex-direction: column;
  }
  .blog-card-image {
    width: 100%;
    height: 200px;
  }
}

/* Blog Article Page */
.blog-article {
  max-width: 700px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 2rem;
}

.blog-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.blog-back:hover {
  color: var(--accent);
}

.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-meta-sep {
  opacity: 0.4;
}

.blog-author-name {
  font-weight: 600;
  color: var(--foreground);
}

.blog-hero-image {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.blog-content {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.blog-content a:hover {
  opacity: 0.85;
}

.blog-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 2.5rem 0 1rem;
}

.blog-content ol,
.blog-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-author-bio {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.blog-author-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-author-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.blog-author-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-author-linkedin {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: inline-flex;
}
.blog-author-linkedin:hover {
  color: #0a66c2;
}

.blog-author-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 1.75rem;
  }
}

/* ============ CONTENT SECTION ============ */
.content-section {
  padding: 5rem 0;
}

/* ============ FAQ SECTION ============ */
.faq-section {
  padding: 5rem 0;
  background-color: rgba(35, 31, 48, 0.5);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.faq-item.open {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-question:hover h2 {
  color: var(--accent);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  transition: background 0.3s ease;
}

.faq-item.open .faq-icon {
  background: rgba(249, 115, 22, 0.2);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  top: 50%;
  left: 6px;
  right: 6px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 0.75rem;
}

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

@media (max-width: 768px) {
  .faq-question {
    padding: 1rem 1.25rem;
  }
  .faq-question h2 {
    font-size: 0.95rem;
  }
  .faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ============ STATIC EPISODES LIST PAGE ============ */
.episodes-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.episodes-content {
  flex: 1;
  padding: 2rem 0 4rem;
}

.episodes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Search bar */
.search-container {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.search-input-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem 0 3rem;
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  border-color: rgba(249, 115, 22, 0.5);
}

.search-results-count {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Episodes list */
.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.episode-list-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.episode-list-item:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-card);
}

.episode-list-row {
  display: flex;
  gap: 1.5rem;
}

.episode-list-image {
  width: 128px;
  height: 128px;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--background-secondary);
}

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

.episode-list-content {
  flex: 1;
  min-width: 0;
}

.episode-list-title-link {
  display: block;
}

.episode-list-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.episode-list-item:hover .episode-list-title {
  color: var(--accent-orange);
}

.episode-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.episode-list-description {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-list-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.no-results {
  text-align: center;
  padding: 5rem 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.no-results .btn {
  margin-top: 1rem;
}

.nav-links a.active {
  color: var(--accent-orange);
}

@media (max-width: 768px) {
  .episode-list-row {
    flex-direction: column;
  }

  .episode-list-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .page-title {
    font-size: 2rem;
  }

  .episode-list-actions {
    flex-direction: column;
  }

  .episode-list-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============ EVENTS ============ */
.event-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 1.5rem;
}
.event-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: inherit;
  text-decoration: none;
}
.event-card-logo {
  flex-shrink: 0;
}
.event-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 0.75rem;
}
.event-card-details {
  flex: 1;
  min-width: 0;
}
.event-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  font-family: 'Space Grotesk', sans-serif;
}
.event-card-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}
.event-card-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}
.event-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.event-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 165, 0, 0.12);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.2);
}
.event-card-footer {
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.event-card-price {
  font-weight: 600;
  color: #ffa500;
}
.event-card-code {
  color: rgba(255, 255, 255, 0.6);
}
.event-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.event-details-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.event-details-list li:last-child {
  border-bottom: none;
}

@media (max-width: 576px) {
  .event-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .event-card-tags {
    justify-content: center;
  }
  .event-card-footer {
    justify-content: center;
  }
}
