/* ============================================================
   STYLE.CSS — Clean, Minimal Personal Blog Theme
   Inspired by elegant content-focused design.
   Dark mode with warm coffee & cool AI accents.
   Vanilla CSS · No frameworks · Mobile-first
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display&display=swap');

/* ── 1. Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette */
  --bg:            #0d1117;
  --bg-elevated:   #161b22;
  --bg-card:       rgba(22, 27, 34, 0.60);
  --bg-hover:      rgba(30, 37, 48, 0.80);

  --coffee:        #C4A882;
  --coffee-dim:    rgba(196, 168, 130, 0.12);
  --coffee-glow:   rgba(196, 168, 130, 0.20);

  --cyan:          #00D4AA;
  --cyan-dim:      rgba(0, 212, 170, 0.10);
  --cyan-glow:     rgba(0, 212, 170, 0.25);

  --text:          #e6edf3;
  --text-soft:     #8b949e;
  --text-faint:    #6e7681;

  --border:        rgba(139, 148, 158, 0.12);
  --border-hover:  rgba(0, 212, 170, 0.25);

  /* Typography */
  --font-heading:  'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-w:     720px;
  --nav-h:     64px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coffee);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── 2. Navigation ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.navbar__brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

.navbar__brand:hover {
  color: var(--coffee);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: 0.25rem 0;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--cyan);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--text);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 101;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 3. Hero Section ───────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__profile {
  width: 160px;
  height: 160px;
  margin-bottom: var(--space-lg);
  border-radius: 48% 52% 34% 66% / 52% 38% 62% 48%;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero__profile:hover {
  transform: scale(1.04) rotate(-1deg);
  border-color: var(--coffee-glow);
  box-shadow: 0 0 30px var(--coffee-glow);
}

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

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ── 4. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 2px 12px var(--cyan-glow);
}

.btn--primary:hover {
  background: var(--cyan);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ── 5. Section Base ───────────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

/* ── 6. About Section ──────────────────────────────────────── */
.about__text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.about__text p + p {
  margin-top: var(--space-md);
}

.about__text strong {
  color: var(--coffee);
  font-weight: 600;
}

.highlight {
  color: var(--cyan);
  font-weight: 500;
}

/* ── 7. Interests Cards ────────────────────────────────────── */
.interests__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.interest-card {
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.interest-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.interest-card__icon {
  font-size: 2.4rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
  filter: drop-shadow(0 0 10px var(--cyan-glow));
}
.interest-card__icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.interest-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.interest-card__desc {
  font-size: 0.88rem;
  color: var(--text-faint);
  line-height: 1.55;
}

/* ── 8. Blog Cards ─────────────────────────────────────────── */
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--coffee-glow);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg));
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card__image {
  opacity: 0.85;
}

.blog-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 170, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: var(--space-xs);
  width: fit-content;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-faint);
  line-height: 1.6;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-faint);
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--coffee);
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card__link:hover {
  color: var(--cyan);
  gap: 0.5rem;
}

/* ── 9. Games Page ─────────────────────────────────────────── */
.games-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-xl)) var(--space-md) var(--space-2xl);
}

.games-page__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.games-page__header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.games-page__header p {
  color: var(--text-faint);
  font-size: 1.05rem;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.filter-btn.active {
  background: var(--cyan);
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 2px 10px var(--cyan-glow);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

/* Game Card */
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.game-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.game-card__emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.game-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.game-card__content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.game-card__desc {
  font-size: 0.88rem;
  color: var(--text-faint);
  line-height: 1.55;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.game-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.game-card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--coffee);
  background: var(--coffee-dim);
  border: 1px solid var(--coffee-glow);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.game-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  color: var(--bg);
  background: var(--cyan);
  box-shadow: 0 2px 10px var(--cyan-glow);
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.game-card__play:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--cyan-glow);
  color: var(--bg);
}

/* ── 10. Footer ────────────────────────────────────────────── */
.footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-faint);
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.footer__social-link:hover {
  background: var(--cyan-dim);
  border-color: var(--border-hover);
  color: var(--cyan);
  transform: translateY(-2px);
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ── 11. Spotlight Section ─────────────────────────────────── */
.spotlight {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.spotlight__card {
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.spotlight__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.spotlight__icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.spotlight__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.spotlight__desc {
  font-size: 0.95rem;
  color: var(--text-faint);
  margin-bottom: var(--space-md);
  max-width: 45ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── 12. Animations ────────────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ── 13. Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 80vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .navbar__links.open {
    transform: translateX(0);
  }

  .navbar__links a {
    font-size: 1.1rem;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
  }

  .hero__profile {
    width: 130px;
    height: 130px;
  }

  .interests__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-h: 56px;
  }

  body {
    font-size: 16px;
  }

  .hero__profile {
    width: 110px;
    height: 110px;
  }

  .interests__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.4rem;
  }

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

  .episode-card__cover,
  .episode-card__cover--placeholder {
    width: 100%;
    min-height: 100px;
    max-height: 140px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

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

  .interests__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 14. Utilities ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: rgba(0, 212, 170, 0.2);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Games Toolbar ──────────────────────────────────────────────────── */
.games-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto var(--space-lg);
  padding: 0 var(--space-md);
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.games-count {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.games-sort {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.games-sort:hover,
.games-sort:focus {
  border-color: var(--cyan);
  outline: none;
}

.games-sort option {
  background: var(--bg-elevated);
  color: var(--text-soft);
}

/* ── Games Pagination ────────────────────────────────────────────────── */
.games-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.pagination-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.4rem;
}

.pagination-page {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-page:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.pagination-page.active {
  background: var(--cyan);
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 2px 10px var(--cyan-glow);
}

/* ── FakeCast Page ─────────────────────────────────────────── */
.fakecast-page {
  max-width: 840px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-xl)) var(--space-md) var(--space-2xl);
}

.fakecast-page__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.fakecast-page__art {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-md);
  animation: float 3s ease-in-out infinite;
}

.fakecast-page__art img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.fakecast-page__art img + img {
  margin-left: -16px;
}

.fakecast-page__art img:first-child {
  transform: rotate(-4deg);
}

.fakecast-page__art img:last-child {
  transform: rotate(4deg);
}

.fakecast-page__header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.fakecast-page__header > p {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto var(--space-xs);
}

.fakecast-page__sub {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-style: italic;
}

/* Tabs */
.fakecast-tabs {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.fakecast-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

.fakecast-tab:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.fakecast-tab.active {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  box-shadow: 0 2px 12px var(--cyan-glow);
}

.fakecast-tab__emoji {
  font-size: 1.2rem;
}

.fakecast-tab__cover {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.fakecast-tab__title {
  white-space: nowrap;
}

/* Show sections */
.fakecast-show {
  display: none;
}

.fakecast-show.active {
  display: block;
  animation: fade-up 0.4s ease;
}

.fakecast-show__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.fakecast-show__art {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-md);
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fakecast-show__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.fakecast-show__header p {
  color: var(--text-faint);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto;
}

.fakecast-show__header strong {
  color: var(--coffee);
  font-weight: 600;
}

/* Episodes grid */
.episodes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Episode card */
.episode-card {
  display: flex;
  flex-direction: row;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.episode-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.episode-card__cover {
  width: 140px;
  min-height: 140px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.episode-card__cover--placeholder {
  width: 140px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.episode-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.episode-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) 0;
}

.episode-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--cyan-glow);
  flex-shrink: 0;
}

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

.episode-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.episode-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.episode-card__desc {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Custom audio player */
.episode-card__player {
  padding: 0 var(--space-md) var(--space-md);
}

.audio-player {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.audio-player__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--bg);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audio-player__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 12px var(--cyan-glow);
}

.audio-player__waveform {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.audio-player__bar {
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.2s ease;
  min-height: 4px;
}

.audio-player__bar.active {
  background: var(--cyan);
}

.audio-player__time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  white-space: nowrap;
}

.fakecast-footer-note {
  margin-top: var(--space-2xl);
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.fakecast-footer-note p {
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto;
}

/* Native audio fallback styling */
audio {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-sm);
}

audio::-webkit-media-controls-panel {
  background: var(--bg-elevated);
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: var(--text-soft);
  font-family: var(--font-mono);
}

