/* ===== PODCAST PAGE SPECIFIC STYLES ===== */
/* Builds on the portfolio's CSS architecture (style.css + components.css) */
/* Uses existing CSS variables for consistency */

/* Override accent color for podcast page */
:root {
  --podcast-gold: var(--accent-gold);
  --podcast-bg-dark: #000000;
  --podcast-bg-card: #0A0A0A;
}

/* Podcast-specific typography */
.podcast-hero-title {
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.podcast-hero-title-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--podcast-gold);
}

.podcast-hero-text {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(232, 232, 232, 0.6);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

/* Podcast grid layouts */
.podcast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: 400px;
}

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

.podcast-grid-large {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .podcast-grid-large {
    grid-column: span 2;
  }
}

.podcast-grid-info-card {
  background: var(--podcast-gold);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .podcast-grid-info-card {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
  }
}

/* Episode card styling */
.episode-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: var(--z-content-elevated);
}

.episode-card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .podcast-grid-large .episode-card-image-wrapper {
    aspect-ratio: 21 / 9;
  }
}

.episode-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 1s ease-out, filter 0.3s;
}

.episode-card:hover .episode-card-image {
  transform: scale(1.05);
  filter: brightness(1);
}

.episode-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  opacity: 0.9;
}

.episode-card-meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.episode-play-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(232, 197, 71, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 0.1s;
  backdrop-filter: blur(12px);
}

.episode-card:hover .episode-play-btn {
  opacity: 1;
  transform: translateY(0);
}

.episode-duration {
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.8);
}

.episode-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, var(--podcast-bg-card), #000000);
}

.episode-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.episode-tag {
  font-size: 0.625rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--podcast-gold);
  border: 1px solid rgba(232, 197, 71, 0.2);
  background: rgba(232, 197, 71, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.episode-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  transition: color 0.3s;
}

.episode-card:hover .episode-title {
  color: var(--podcast-gold);
}

.episode-description {
  color: rgba(232, 232, 232, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-cta {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: auto;
  transition: color 0.3s;
}

.episode-card:hover .episode-cta {
  color: var(--podcast-gold);
}

.episode-cta-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.episode-card:hover .episode-cta-arrow {
  transform: translateX(0.25rem);
}

/* Buttons */
.btn-podcast-primary {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--podcast-gold);
  color: #000;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 20px -5px rgba(232, 197, 71, 0.3);
}

.btn-podcast-primary:hover {
  background: #C5A028;
}

.btn-podcast-primary .btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s;
}

.btn-podcast-primary:hover .btn-shine {
  transform: translateX(100%);
}

.btn-podcast-secondary {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
}

.btn-podcast-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 197, 71, 0.5);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.3;
  animation: bounce 2s ease-in-out infinite;
}

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

.scroll-indicator-text {
  font-size: 0.625rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-indicator-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--text-primary), transparent);
}

/* Notebook section */
.notebook-section {
  padding: 8rem 1.5rem;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notebook-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 5rem;
}

@media (min-width: 1024px) {
  .notebook-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.newsletter-box {
  padding: 2rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
}

.newsletter-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  padding: 0.25rem 0.75rem;
  background: var(--podcast-gold);
  color: #000;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--podcast-gold);
}

.newsletter-button {
  background: var(--podcast-gold);
  color: #000;
  padding: 0 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-button:hover {
  background: #C5A028;
}

.note-link {
  display: block;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: border-color 0.3s;
  text-decoration: none;
  color: inherit;
}

.note-link:hover {
  border-color: var(--podcast-gold);
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--podcast-gold);
  font-family: var(--font-body);
  margin-bottom: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.note-link:hover .note-meta {
  opacity: 1;
}

.note-dot {
  width: 0.25rem;
  height: 0.25rem;
  background: currentColor;
  border-radius: 50%;
}

.note-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.note-link:hover .note-title {
  color: var(--podcast-gold);
}

.note-excerpt {
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.6);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.note-link:hover .note-excerpt {
  color: rgba(232, 232, 232, 0.8);
}

/* Tech stack section */
.stack-terminal {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.stack-terminal-header {
  background: var(--podcast-bg-card);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stack-terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.stack-terminal-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.stack-terminal-dot-red {
  background: #FF5F56;
}

.stack-terminal-dot-yellow {
  background: #FFBD2E;
}

.stack-terminal-dot-green {
  background: #27C93F;
}

.stack-terminal-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(232, 232, 232, 0.4);
  flex-grow: 1;
  text-align: center;
}

.stack-terminal-body {
  padding: 1.5rem;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.6);
}

.stack-code-line {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.stack-line-number {
  color: var(--podcast-gold);
  width: 1.5rem;
  flex-shrink: 0;
  user-select: none;
}

/* Philosophy section */
.philosophy-section {
  padding: 8rem 1.5rem;
  background: #000;
  position: relative;
  overflow: hidden;
}

.philosophy-watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20vw;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
}

.philosophy-grid {
  display: grid;
  gap: 2rem;
}

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

.philosophy-sidebar {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.philosophy-sidebar-item {
  margin-bottom: 3rem;
}

.philosophy-sidebar-title {
  color: var(--podcast-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.philosophy-sidebar-text {
  color: rgba(232, 232, 232, 0.6);
}

.philosophy-cards {
  display: grid;
  gap: 1rem;
}

.philosophy-card-highlight {
  background: rgba(232, 197, 71, 0.1);
  border-color: rgba(232, 197, 71, 0.2);
}

.philosophy-card-icon {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--podcast-gold);
}

.philosophy-card-icon-highlight {
  background: var(--podcast-gold);
  color: #000;
}

/* Footer */
.podcast-footer {
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.podcast-footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .podcast-footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.podcast-footer-logo {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.podcast-footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--podcast-gold);
  color: #000;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.podcast-footer-description {
  color: rgba(232, 232, 232, 0.6);
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

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

.podcast-footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.podcast-footer-column-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--podcast-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.podcast-footer-link {
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.6);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.podcast-footer-link:hover {
  color: var(--text-primary);
}

.podcast-footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(232, 232, 232, 0.4);
  font-family: var(--font-body);
}

/* Utility classes */
.podcast-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.podcast-section {
  padding: 8rem 1.5rem;
}

.podcast-section-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.podcast-section-subtitle {
  color: rgba(232, 232, 232, 0.6);
}

.icon-sm {
  width: 0.75rem;
  height: 0.75rem;
}

.icon-md {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-xl {
  width: 1.5rem;
  height: 1.5rem;
}

/* Background gradients */
.podcast-gradient-gold {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: var(--podcast-gold);
  opacity: 0.04;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.podcast-gradient-purple {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 800px;
  height: 800px;
  background: #7C3AED;
  opacity: 0.03;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

/* Icon placeholders (for when Lucide is not available) */
.icon-play::before {
  content: '▶';
}

.icon-arrow-right::before {
  content: '→';
}

.icon-book-open::before {
  content: '📖';
}

.icon-youtube::before {
  content: '▶';
}
