/* ==========================================================================
   Serene Liquid Glass UI: The Amazing World of Gumball Bio Link
   Pastel Greens and Blues, Soft Lighting, Frosted Glass Transparency.
   Designed under Antislop craftsmanship guidelines.
   ========================================================================== */

:root {
  /* Pastel Greens and Blues Palette */
  --pastel-cyan-light: #E0F2FE;
  --pastel-cyan: #38BDF8;
  --pastel-cyan-dark: #0284C7;
  --pastel-mint-light: #D1FAE5;
  --pastel-mint: #34D399;
  --pastel-mint-dark: #059669;
  --pastel-glow-cyan: rgba(56, 189, 248, 0.35);
  --pastel-glow-mint: rgba(52, 211, 153, 0.35);

  /* High Contrast Typography (WCAG AAA) */
  --text-primary: #0F2942;
  --text-secondary: #334155;
  --text-muted: #64748B;

  /* Character Theme Defaults (Gumball Active) */
  --theme-accent: var(--pastel-cyan);
  --theme-accent-dark: var(--pastel-cyan-dark);
  --theme-glow: var(--pastel-glow-cyan);
  --theme-halo: rgba(56, 189, 248, 0.2);

  /* Liquid Glass Foundations */
  --liquid-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 253, 250, 0.52) 100%);
  --liquid-glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 253, 250, 0.7) 100%);
  --liquid-glass-border: 1.5px solid rgba(255, 255, 255, 0.88);

  --soft-shadow: 
    0 16px 36px -4px rgba(12, 74, 110, 0.09),
    0 6px 14px -2px rgba(6, 78, 59, 0.05),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px 0 rgba(12, 74, 110, 0.04);

  --soft-shadow-hover: 
    0 22px 44px -4px rgba(12, 74, 110, 0.15),
    0 0 24px 2px var(--theme-glow),
    inset 0 2px 2px 0 rgba(255, 255, 255, 1);

  --soft-shadow-pressed: 
    0 6px 14px -2px rgba(12, 74, 110, 0.1),
    inset 0 1px 2px 0 rgba(0, 0, 0, 0.08);

  --radius-card: 28px;
  --radius-bento: 22px;
  --radius-btn: 18px;
  --radius-pill: 9999px;

  /* Typography */
  --font-display: 'Fredoka', 'Comic Neue', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Character Themes (Soft Pastel Shifts) */
body[data-character="darwin"] {
  --theme-accent: #FB923C;
  --theme-accent-dark: #C2410C;
  --theme-glow: rgba(251, 146, 60, 0.35);
  --theme-halo: rgba(251, 146, 60, 0.2);
}

body[data-character="anais"] {
  --theme-accent: #F472B6;
  --theme-accent-dark: #BE185D;
  --theme-glow: rgba(244, 114, 182, 0.35);
  --theme-halo: rgba(244, 114, 182, 0.2);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Serene Pastel Canvas with Desktop Wallpaper */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #E0F2FE;
  background-image: url('assets/bg-desktop.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 64px;
  position: relative;
  overflow-x: hidden;
}

/* Luminous Pastel Veil over Wallpaper */
.wallpaper-scrim {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.72) 0%, rgba(209, 250, 229, 0.75) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  pointer-events: none;
  z-index: 0;
}

/* Mobile Wallpaper Switch */
@media (max-width: 768px) {
  body {
    background-image: url('assets/bg-mobile.jpg');
    background-position: center top;
    background-attachment: scroll;
    padding: 16px 12px 48px;
  }
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: #FFFFFF;
  color: var(--text-primary);
  padding: 12px 20px;
  font-weight: 800;
  border-radius: var(--radius-btn);
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(12, 74, 110, 0.2);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--pastel-cyan-dark);
}

/* Accessible Keyboard Focus Indicator */
:focus-visible {
  outline: 3px solid var(--pastel-cyan-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--theme-glow);
}

/* ==========================================================================
   TOP FLOATING GLASS DOCK
   ========================================================================== */
.top-liquid-nav {
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
  gap: 12px;
}

.character-glass-dock {
  display: flex;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: var(--liquid-glass-border);
  box-shadow: var(--soft-shadow);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}

.liquid-char-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: none;
  background: transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 38px;
}

.liquid-char-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.liquid-char-btn.active {
  background: #FFFFFF;
  color: var(--theme-accent-dark);
  box-shadow: 
    0 4px 14px rgba(12, 74, 110, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transform: scale(1.03);
}

.char-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.gumball-dot { background: var(--pastel-cyan); }
.darwin-dot { background: #FB923C; }
.anais-dot { background: #F472B6; }

.liquid-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: var(--liquid-glass-border);
  box-shadow: var(--soft-shadow);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.liquid-icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: #FFFFFF;
  box-shadow: var(--soft-shadow-hover);
}

.liquid-icon-btn:active {
  transform: translateY(1px);
}

.liquid-svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */
.liquid-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 10;
}

/* Base Liquid Glass Card */
.liquid-glass-card {
  position: relative;
  overflow: hidden;
  background: var(--liquid-glass-bg);
  backdrop-filter: blur(24px) saturate(190%) brightness(104%);
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(104%);
  border: var(--liquid-glass-border);
  box-shadow: var(--soft-shadow);
  border-radius: var(--radius-card);
}

/* Curved Specular Meniscus Reflection */
.glass-specular-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: var(--radius-card) var(--radius-card) 100% 100% / 28px 28px 16px 16px;
  pointer-events: none;
  z-index: 1;
}

/* Hero Glass Profile Card */
.hero-glass-card {
  padding: 32px 22px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pastel-ambient-orb {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  background: var(--theme-halo);
  filter: blur(45px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}

.glass-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.95);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-dot-soft {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pastel-mint);
}

/* Avatar Halo & Frame */
.avatar-glass-halo {
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 
    0 12px 28px rgba(12, 74, 110, 0.12),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.avatar-inner-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--theme-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.avatar-inner-frame:hover {
  transform: scale(1.06) rotate(-2deg);
}

.character-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.character-svg.hidden {
  display: none;
}

/* Profile Typography */
.liquid-profile-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.liquid-profile-bio {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

/* Glass Status Capsule (Legacy fallback) */
.glass-status-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.08);
  position: relative;
  z-index: 2;
}

.pulsing-mint-dot {
  width: 8px;
  height: 8px;
  background: var(--pastel-mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pastel-mint);
  animation: pulse-soft 2s infinite ease-in-out;
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* Hero Liquid Glass Social Media Quick Links */
.hero-social-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-top: 6px;
  width: 100%;
}

/* ==========================================================================
   SERENE LIQUID LOADING SCREEN (DARWIN ORIGINS WALK - FULL KOSONGAN)
   ========================================================================== */
.liquid-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s ease;
  will-change: opacity, visibility;
}

.liquid-loading-screen.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Background matching the main website wallpaper + luminous pastel scrim */
.loading-bg-scrim {
  position: absolute;
  inset: 0;
  background-color: #E0F2FE;
  background-image: url('assets/bg-desktop.jpg');
  background-size: cover;
  background-position: center center;
  filter: blur(14px) saturate(140%);
  transform: scale(1.08);
  z-index: 0;
}

.loading-bg-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.72) 0%, rgba(209, 250, 229, 0.75) 100%);
}

@media (max-width: 768px) {
  .loading-bg-scrim {
    background-image: url('assets/bg-mobile.jpg');
    background-position: center top;
  }
}

/* Full Kosongan (No boxes, no cards, no borders) */
.loading-kosongan-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 360px;
  padding: 0 20px;
  animation: loading-fade-in 0.7s ease-out;
}

@keyframes loading-fade-in {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.loading-darwin-stage {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-darwin-picture {
  width: 100%;
  display: flex;
  justify-content: center;
}

.loading-darwin-anim {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(12, 74, 110, 0.22));
}

/* Animated Loading Text */
.loading-text-anim {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 16px 0 16px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.loading-dots {
  display: inline-flex;
  margin-left: 2px;
}

.loading-dots span {
  display: inline-block;
  animation: dot-wave 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-wave {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; color: var(--pastel-cyan-dark); }
}

/* 4-Second Animated Progress Bar */
.loading-progress-track {
  width: 100%;
  max-width: 260px;
  height: 10px;
  border-radius: 999px;
  background: rgba(12, 74, 110, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 4px 16px rgba(12, 74, 110, 0.1),
    inset 0 1px 2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.loading-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38BDF8 0%, #34D399 50%, #10B981 100%);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.6);
  transition: width 0.05s linear;
}

/* ==========================================================================
   SERENE LIQUID GLASS MUSIC PLAYER (BESPOKE THEMED SPOTIFY WIDGET)
   ========================================================================== */
.liquid-music-card {
  width: 100%;
  margin-top: 22px;
  position: relative;
  z-index: 2;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 253, 250, 0.62) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 
    0 12px 32px rgba(12, 74, 110, 0.12),
    0 4px 12px rgba(52, 211, 153, 0.08),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.liquid-music-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 16px 36px rgba(12, 74, 110, 0.16),
    0 0 20px rgba(56, 189, 248, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
}

/* Ambient Radial Glow */
.music-card-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.28) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Music Card Header Row */
.music-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}

.music-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #047857;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.music-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: music-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes music-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.music-spotify-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(29, 185, 84, 0.14);
  border: 1px solid rgba(29, 185, 84, 0.35);
  color: #0d5c2e;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-bounce), background var(--transition-smooth);
}

.music-spotify-pill:hover {
  transform: scale(1.05);
  background: rgba(29, 185, 84, 0.22);
}

.spotify-pill-svg {
  color: #1DB954;
  flex-shrink: 0;
}

/* Music Card Body */
.music-body {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Vinyl Disc Assembly */
.music-disc-assembly {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.music-vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #1a2430 0%, #0d151e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 6px 16px rgba(12, 74, 110, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  animation: vinyl-spin 4.5s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.music-vinyl-disc.is-playing {
  animation-play-state: running;
}

@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.groove-1 { width: 84%; height: 84%; }
.groove-2 { width: 70%; height: 70%; }
.groove-3 { width: 56%; height: 56%; }

.vinyl-center-label {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vinyl-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vinyl-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 45%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
  z-index: 3;
}

.vinyl-spindle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Track Metadata & Equalizer */
.music-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 6px;
}

.music-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.music-track-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist-name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 2px 0 0;
  line-height: 1.2;
}

/* Animated Equalizer Waves */
.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  padding-top: 2px;
}

.eq-bar {
  width: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--pastel-cyan-dark);
  transition: height 0.2s ease;
}

.eq-bar-1 { background: #38BDF8; }
.eq-bar-2 { background: #34D399; }
.eq-bar-3 { background: #60A5FA; }
.eq-bar-4 { background: #10B981; }
.eq-bar-5 { background: #0284C7; }

/* When Music is Playing: Animate Equalizer */
.is-playing .eq-bar-1 { animation: eq-bounce-1 0.65s ease-in-out infinite alternate; }
.is-playing .eq-bar-2 { animation: eq-bounce-2 0.45s ease-in-out infinite alternate; }
.is-playing .eq-bar-3 { animation: eq-bounce-3 0.75s ease-in-out infinite alternate; }
.is-playing .eq-bar-4 { animation: eq-bounce-4 0.55s ease-in-out infinite alternate; }
.is-playing .eq-bar-5 { animation: eq-bounce-5 0.70s ease-in-out infinite alternate; }

@keyframes eq-bounce-1 { 0% { height: 3px; } 100% { height: 16px; } }
@keyframes eq-bounce-2 { 0% { height: 4px; } 100% { height: 14px; } }
@keyframes eq-bounce-3 { 0% { height: 3px; } 100% { height: 18px; } }
@keyframes eq-bounce-4 { 0% { height: 5px; } 100% { height: 13px; } }
@keyframes eq-bounce-5 { 0% { height: 2px; } 100% { height: 15px; } }

/* Progress Bar & Seek Rail */
.music-progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.music-progress-rail {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(12, 74, 110, 0.08);
  border-radius: 999px;
  cursor: pointer;
  overflow: visible;
  touch-action: none;
}

.music-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38BDF8 0%, #34D399 100%);
  width: 0%;
  transition: width 0.1s linear;
}

.music-progress-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #34D399;
  box-shadow: 0 2px 6px rgba(12, 74, 110, 0.25);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.music-progress-rail:hover .music-progress-thumb,
.music-progress-rail:focus-visible .music-progress-thumb {
  opacity: 1;
}

.music-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.music-preview-tag {
  font-size: 0.68rem;
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  padding: 1px 6px;
  border-radius: 999px;
}

/* Bottom Controls Row */
.music-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.music-btn-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 10px rgba(12, 74, 110, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-bounce), background var(--transition-smooth);
}

.music-btn-sm:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--pastel-blue-dark);
}

.music-svg-sm {
  width: 16px;
  height: 16px;
}

/* Primary Liquid Play/Pause Button */
.music-play-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #38BDF8 0%, #34D399 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 6px 18px rgba(56, 189, 248, 0.38),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.music-play-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 
    0 10px 24px rgba(56, 189, 248, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.music-play-btn:active {
  transform: translateY(1px) scale(0.97);
}

.music-play-btn .play-svg,
.music-play-btn .pause-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-pill-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(12, 74, 110, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth);
}

.social-pill-btn .social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.social-pill-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(12, 74, 110, 0.14), inset 0 1px 2px rgba(255, 255, 255, 1);
}

.social-pill-btn:hover .social-icon {
  transform: scale(1.15) rotate(-4deg);
}

.social-pill-btn:active {
  transform: translateY(0) scale(0.98);
}

.social-pill-btn:focus-visible {
  outline: 2px solid var(--pastel-blue);
  outline-offset: 2px;
}

/* Individual Brand Ambient Pastels */
.pill-ig:hover {
  border-color: rgba(217, 70, 239, 0.6);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(217, 70, 239, 0.2), inset 0 1px 2px rgba(255, 255, 255, 1);
}
.pill-ig .social-icon {
  color: #C026D3;
}

.pill-tt:hover {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.2), inset 0 1px 2px rgba(255, 255, 255, 1);
}
.pill-tt .social-icon {
  color: #059669;
}

.pill-yt:hover {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.2), inset 0 1px 2px rgba(255, 255, 255, 1);
}
.pill-yt .social-icon {
  color: #DC2626;
}

/* ==========================================================================
   BENTO-STYLE LIQUID GLASS LINKS
   ========================================================================== */
.liquid-bento-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Base Liquid Glass Button Card */
.liquid-glass-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  background: var(--liquid-glass-bg);
  backdrop-filter: blur(24px) saturate(190%) brightness(104%);
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(104%);
  border: var(--liquid-glass-border);
  box-shadow: var(--soft-shadow);
  border-radius: var(--radius-bento);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

.liquid-glass-btn:hover {
  transform: translateY(-3px) scale(1.01);
  background: var(--liquid-glass-bg-hover);
  box-shadow: var(--soft-shadow-hover);
}

.liquid-glass-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: var(--soft-shadow-pressed);
}

/* Featured Bento Card (GitHub) */
.bento-featured {
  padding: 18px 20px;
  align-items: center;
  gap: 16px;
  min-height: 80px;
}

.btn-icon-halo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(12, 74, 110, 0.15);
}

.halo-cyan { background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%); }
.halo-blue { background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); }
.halo-mint { background: linear-gradient(135deg, #34D399 0%, #059669 100%); }
.halo-rose { background: linear-gradient(135deg, #F87171 0%, #DC2626 100%); }
.halo-purple { background: linear-gradient(135deg, #C084FC 0%, #9333EA 100%); }
.halo-amber { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.halo-whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }

.bento-svg {
  width: 24px;
  height: 24px;
}

.bento-text-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-align: left;
}

.bento-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bento-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.35;
}

/* Pastel Badges */
.pastel-badge-cyan {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--pastel-cyan-light);
  color: var(--pastel-cyan-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pastel-badge-mint {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--pastel-mint-light);
  color: var(--pastel-mint-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pastel-badge-rose {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(254, 226, 226, 0.95);
  color: #B91C1C;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pastel-badge-amber {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(254, 243, 199, 0.95);
  color: #B45309;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.season-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.season-chip {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(12, 74, 110, 0.05);
  white-space: nowrap;
}

.soft-arrow-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(12, 74, 110, 0.08);
}

.arrow-svg {
  width: 16px;
  height: 16px;
}

/* Bento Split Row (Discord & Spotify) */
.bento-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bento-half {
  padding: 18px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 124px;
}

.half-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.half-card-desc {
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.mini-soft-badge {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(12, 74, 110, 0.06);
  position: relative;
  z-index: 2;
}

/* Bento Standard Full Width (YouTube & Instagram) */
.bento-standard {
  padding: 16px 20px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

/* ==========================================================================
   BIODATA DARWIN GLASS CARD
   ========================================================================== */
.biodata-glass-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.biodata-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.biodata-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.biodata-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--pastel-cyan-light);
  color: var(--pastel-cyan-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.biodata-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  max-height: 235px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) transparent;
  overscroll-behavior: contain;
}

.biodata-list::-webkit-scrollbar {
  width: 5px;
}

.biodata-list::-webkit-scrollbar-track {
  background: rgba(15, 41, 66, 0.05);
  border-radius: 10px;
}

.biodata-list::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.5);
  border-radius: 10px;
}

.biodata-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.biodata-row {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-card-sm);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(12, 74, 110, 0.04);
  transition: transform 0.15s ease, background 0.15s ease;
}

.biodata-row:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.biodata-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.biodata-icon svg {
  width: 16px;
  height: 16px;
}

.biodata-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.biodata-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.biodata-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  line-height: 1.35;
}

.biodata-value small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.biodata-footer-note {
  margin-top: 14px;
  background: rgba(254, 243, 199, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-card-sm);
  padding: 10px 14px;
  font-size: 0.78125rem;
  font-weight: 600;
  color: #92400E;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* ==========================================================================
   SHARE LIQUID GLASS DOCK
   ========================================================================== */
.share-glass-dock {
  display: flex;
  justify-content: center;
}

.serene-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #38BDF8 0%, #34D399 100%);
  color: #0F2942;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 14px 32px -4px rgba(56, 189, 248, 0.35),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-btn);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 58px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.serene-cta-btn:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 20px 42px -4px rgba(52, 211, 153, 0.45);
}

.serene-cta-btn:active {
  transform: translateY(1px) scale(0.985);
}

.cta-svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 2;
}

.serene-cta-btn span {
  position: relative;
  z-index: 2;
}

/* Footer with Serene High Contrast */
.liquid-footer {
  text-align: center;
  padding: 16px 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-copy {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SHARE LIQUID MODAL
   ========================================================================== */
.liquid-modal {
  margin: auto;
  border: none;
  background: transparent;
  padding: 16px;
  max-width: 440px;
  width: 90%;
}

.liquid-modal::backdrop {
  background: rgba(15, 41, 66, 0.45);
  backdrop-filter: blur(8px);
}

.liquid-modal-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 24px 48px -8px rgba(12, 74, 110, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-card);
  padding: 26px;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.modal-headline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.liquid-close-btn {
  background: #FEE2E2;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DC2626;
  transition: transform 0.15s ease;
}

.liquid-close-btn:hover {
  transform: scale(1.1);
}

.modal-info {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.copy-input-row {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.liquid-input {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid rgba(15, 41, 66, 0.15);
  border-radius: var(--radius-btn);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
}

.liquid-copy-btn {
  background: linear-gradient(135deg, #38BDF8 0%, #34D399 100%);
  color: #0F2942;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px var(--theme-glow);
  border-radius: var(--radius-btn);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s ease;
}

.liquid-copy-btn:hover {
  transform: translateY(-2px);
}

/* Season Modal Styles */
.season-modal-dialog {
  max-width: 480px;
  width: 92%;
  padding: 12px;
}

.season-modal-card {
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
}

.season-modal-sub {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: -4px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.season-modal-body {
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(12, 74, 110, 0.25) transparent;
}

.season-list-item {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-card-sm);
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(12, 74, 110, 0.04);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.season-list-item:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 74, 110, 0.12);
}

.season-list-item:active {
  transform: translateY(0);
}

.season-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.season-arrow-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.season-list-item:hover .season-arrow-icon {
  transform: translateX(3px);
  color: var(--primary);
}

.season-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.season-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.season-badge-tag {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-primary);
}

.season-years {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.season-eps-count {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--pastel-cyan-light);
  color: var(--pastel-cyan-dark);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.season-item-desc {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.35;
}

.season-special-item {
  background: rgba(254, 243, 199, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.season-special-eps {
  background: rgba(254, 243, 199, 0.95);
  color: #B45309;
}

.season-wiki-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--liquid-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(12, 74, 110, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
  margin-top: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.season-wiki-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* Toast Feedback */
.liquid-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(15, 41, 66, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #FFFFFF;
  border: 1.5px solid var(--pastel-mint);
  box-shadow: 0 10px 30px rgba(12, 74, 110, 0.25);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  z-index: 10000;
  animation: slide-up 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-svg {
  width: 20px;
  height: 20px;
  color: var(--pastel-mint);
  flex-shrink: 0;
}

@keyframes slide-up {
  from { transform: translateX(-50%) translateY(30px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ==========================================================================
   4 SCREEN CORNERS DARWIN CHARACTERS (SLIDE-IN TRANSITIONS & EXTRA LARGE)
   ========================================================================== */
.corner-darwins-container {
  pointer-events: none;
}

.corner-darwin {
  position: fixed;
  z-index: 9999;
  pointer-events: auto;
  transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease-out;
  will-change: transform, opacity;
}

/* Off-screen initial positions (Dramatic slide-in from outside each screen corner) */
.corner-tl {
  top: 18px;
  left: 18px;
  transform: translate3d(calc(-100% - 80px), calc(-100% - 80px), 0) scale(0.65) rotate(-25deg);
  opacity: 0;
  animation: slide-in-corner-tl-fallback 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.corner-tr {
  top: 18px;
  right: 18px;
  transform: translate3d(calc(100% + 80px), calc(-100% - 80px), 0) scale(0.65) rotate(25deg);
  opacity: 0;
  animation: slide-in-corner-tr-fallback 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s forwards;
}

.corner-bl {
  bottom: 18px;
  left: 18px;
  transform: translate3d(calc(-100% - 80px), calc(100% + 80px), 0) scale(0.65) rotate(-25deg);
  opacity: 0;
  animation: slide-in-corner-bl-fallback 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.corner-br {
  bottom: 18px;
  right: 18px;
  transform: translate3d(calc(100% + 80px), calc(100% + 80px), 0) scale(0.65) rotate(25deg);
  opacity: 0;
  animation: slide-in-corner-br-fallback 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}

/* Active Entered State: when JS triggers .corners-active with spring easing */
.corners-active .corner-tl,
.corner-darwin.corner-entered.corner-tl {
  animation: none;
  transform: translate3d(0, 0, 0) scale(1) rotate(-3deg) !important;
  opacity: 1 !important;
  transition-delay: 0.1s;
}

.corners-active .corner-tr,
.corner-darwin.corner-entered.corner-tr {
  animation: none;
  transform: translate3d(0, 0, 0) scale(1) rotate(4deg) !important;
  opacity: 1 !important;
  transition-delay: 0.25s;
}

.corners-active .corner-bl,
.corner-darwin.corner-entered.corner-bl {
  animation: none;
  transform: translate3d(0, 0, 0) scale(1) rotate(3deg) !important;
  opacity: 1 !important;
  transition-delay: 0.4s;
}

.corners-active .corner-br,
.corner-darwin.corner-entered.corner-br {
  animation: none;
  transform: translate3d(0, 0, 0) scale(1) rotate(-4deg) !important;
  opacity: 1 !important;
  transition-delay: 0.55s;
}

/* Fallback Keyframes if JS is delayed or inactive */
@keyframes slide-in-corner-tl-fallback {
  0% {
    transform: translate3d(calc(-100% - 80px), calc(-100% - 80px), 0) scale(0.65) rotate(-25deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(-3deg);
    opacity: 1;
  }
}

@keyframes slide-in-corner-tr-fallback {
  0% {
    transform: translate3d(calc(100% + 80px), calc(-100% - 80px), 0) scale(0.65) rotate(25deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(4deg);
    opacity: 1;
  }
}

@keyframes slide-in-corner-bl-fallback {
  0% {
    transform: translate3d(calc(-100% - 80px), calc(100% + 80px), 0) scale(0.65) rotate(-25deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(3deg);
    opacity: 1;
  }
}

@keyframes slide-in-corner-br-fallback {
  0% {
    transform: translate3d(calc(100% + 80px), calc(100% + 80px), 0) scale(0.65) rotate(25deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(-4deg);
    opacity: 1;
  }
}

/* Liquid Glass Corner Pod Button */
/* Frameless Transparent Darwin Button (No boxes) */
.corner-darwin-btn {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  display: block;
  outline: none;
  transition: transform var(--transition-bounce);
}

.corner-darwin-img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(12, 74, 110, 0.32));
  transition: transform var(--transition-bounce), filter var(--transition-smooth);
  pointer-events: none;
}

/* Desktop Sizing: Extra Large & Highly Expressive */
.corner-tl .corner-darwin-img {
  width: 210px;
  height: auto;
  max-height: 260px;
  transform: rotate(-3deg);
}

.corner-tr .corner-darwin-img {
  width: 275px;
  height: auto;
  max-height: 165px;
  transform: rotate(4deg);
}

.corner-bl .corner-darwin-img {
  width: 200px;
  height: auto;
  max-height: 270px;
  transform: rotate(3deg);
}

.corner-br .corner-darwin-img {
  width: 240px;
  height: auto;
  max-height: 240px;
  transform: rotate(-4deg);
}

/* Hover Interactions: Lift & Warm Glow */
.corner-darwin-btn:hover .corner-darwin-img {
  transform: scale(1.1) rotate(0deg);
  filter: drop-shadow(0 12px 28px rgba(249, 115, 22, 0.5));
}

.corner-darwin-btn:active .corner-darwin-img {
  transform: scale(0.95);
}

.corner-darwin-btn:focus-visible {
  outline: 3px solid var(--pastel-blue);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Click Wobble Animation */
.sticker-wobble .corner-darwin-img {
  animation: sticker-pop-wobble 0.45s ease-in-out;
}

@keyframes sticker-pop-wobble {
  0% { transform: scale(1); }
  35% { transform: scale(1.22) rotate(-10deg); }
  65% { transform: scale(1.12) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Tablet Screens (769px - 860px) */
@media (min-width: 769px) and (max-width: 860px) {
  .corner-tl .corner-darwin-img { width: 140px; max-height: 175px; }
  .corner-tr .corner-darwin-img { width: 180px; max-height: 110px; }
  .corner-bl .corner-darwin-img { width: 135px; max-height: 180px; }
  .corner-br .corner-darwin-img { width: 160px; max-height: 160px; }
}

/* Mobile Screens (<= 768px): Clear, Noticeably Larger & Non-Obstructive */
@media (max-width: 768px) {
  .corner-tl { top: 8px; left: 8px; }
  .corner-tr { top: 8px; right: 8px; }
  .corner-bl { bottom: 10px; left: 8px; }
  .corner-br { bottom: 10px; right: 8px; }

  .corner-tl .corner-darwin-img { width: 100px; height: auto; max-height: 125px; }
  .corner-tr .corner-darwin-img { width: 125px; height: auto; max-height: 80px; }
  .corner-bl .corner-darwin-img { width: 95px; height: auto; max-height: 125px; }
  .corner-br .corner-darwin-img { width: 110px; height: auto; max-height: 110px; }

  /* Keep sound toggle button clear of top-right character */
  .top-liquid-nav {
    padding-right: 95px;
  }
}

/* Reduced Motion Preference (Accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
