:root {
  --trans-blue: #5BCEFA;
  --trans-pink: #F5A9B8;
  --nb-yellow: #FCF434;
  --nb-purple: #9C59D1;
  --bg-dark: #09090b;
  --text-light: #f4f4f5;
  --text-muted: #a1a1aa;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;
  padding-bottom: 140px;
}

.font-display {
  font-family: 'Outfit', sans-serif;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.vibrant-gradient {
  background: linear-gradient(135deg, var(--trans-blue) 0%, var(--trans-pink) 25%, #FFFFFF 50%, var(--nb-purple) 75%, var(--nb-yellow) 100%);
}

.gradient-text {
  background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--nb-purple));
  -webkit-background-clip: text;
  color: transparent;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 120px;
}

.hero-bg-blur {
  position: absolute;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

.hero-bg-blur.blue {
  top: -80px;
  left: -80px;
  background: rgba(91, 206, 250, 0.2);
}

.hero-bg-blur.purple {
  bottom: -80px;
  right: -80px;
  background: rgba(156, 89, 209, 0.2);
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 32px;
  border-radius: 9999px;
  border: none;
  color: #09090b;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  padding: 16px 32px;
  border-radius: 9999px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Episodes Section */
.episodes-section {
  margin-bottom: 120px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: rgba(255, 255, 255, 0.3);
}

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

.episode-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.episode-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.episode-img-wrapper {
  position: relative;
  aspect-ratio: 1;
  background: #111;
  overflow: hidden;
}

.episode-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.episode-card:hover .episode-img-wrapper img {
  transform: scale(1.1);
}

.episode-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 10;
}

.episode-play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.episode-card:hover .episode-play-overlay {
  opacity: 1;
}

.btn-play-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.episode-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.episode-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.episode-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-card:hover .episode-title {
  color: var(--trans-pink);
}

.episode-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.btn-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-action.play:hover { color: var(--trans-blue); background: rgba(91, 206, 250, 0.1); }
.btn-action.video:hover { color: var(--trans-pink); background: rgba(245, 169, 184, 0.1); }
.btn-action.pdf:hover { color: var(--nb-yellow); background: rgba(252, 244, 52, 0.1); }

/* Newsletter */
.newsletter {
  border-radius: 48px;
  padding: 80px 48px;
  color: #09090b;
  position: relative;
  overflow: hidden;
}

.newsletter-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.newsletter h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.newsletter p {
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #09090b;
  outline: none;
  transition: background 0.2s;
}

.newsletter-form input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
  background: #09090b;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.newsletter-form button:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px;
  margin-top: 80px;
}

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

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 24px;
}

.footer-links h4 {
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 48px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Player Bar */
.player-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  border-radius: 32px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 30%;
}

.player-info img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #111;
}

.player-text {
  min-width: 0;
}

.player-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.player-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.btn-icon:hover {
  color: var(--text-light);
}

#btn-play-pause {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s;
}

#btn-play-pause:active {
  transform: scale(0.95);
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  font-size: 0.625rem;
  font-family: monospace;
  color: var(--text-muted);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--trans-blue);
}

.player-actions {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.btn-icon-text {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.btn-icon-text:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--nb-yellow);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.volume-bar {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.volume-fill {
  width: 70%;
  height: 100%;
  background: var(--text-light);
  border-radius: 2px;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-container {
  width: 100%;
  max-width: 1024px;
  aspect-ratio: 16/9;
  background: #09090b;
  border-radius: 16px;
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-container video {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  outline: none;
}

#btn-close-video {
  position: absolute;
  top: -60px;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#btn-close-video:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .player-bar {
    flex-direction: column;
    gap: 16px;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 16px;
  }
  .player-info, .player-actions {
    width: 100%;
    justify-content: center;
  }
  .player-actions { justify-content: space-between; }
}
