/* Gogo & Bebe Wonderland - Core Styles */
/* Lenis Smooth Scroll */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

:root {

  /* Colors */
  --color-primary: #9DDCF9;
  --color-secondary: #E1F5E6;
  --color-text: #5A5A87;
  --color-text-dark: #333333;
  --color-bg-dark: #001835;
  --color-white: #ffffff;
  --color-accent: #df3c50;

  /* For highlighting or special elements */
  /* Typography */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;

  /* Spacing */
  --section-padding: 80px 5%;
  --section-padding-mobile: 40px 5%;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

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

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 90%;
}

.section {
  padding: var(--section-padding);
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile);
  }
}

/* Typography Helpers */
.gb-h2 {
  font-size: 4rem;
  margin-bottom: 40px;
  color: var(--fill-color, #ffffff);
  -webkit-text-fill-color: var(--fill-color, #ffffff);
  -webkit-text-stroke: 12px var(--stroke-color, #ffffff);
  paint-order: stroke fill;
  letter-spacing: 1.6px;
  display: inline-block;
  position: relative;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  will-change: transform, -webkit-text-stroke;
}

/* Title Color Variants */
.gb-h2-white {
  --stroke-color: #ffffff;
}

.gb-h2-pink {
  --stroke-color: #ea008a;
}

.gb-h2-green {
  --stroke-color: #4CAF50;
}

.gb-h2-blue {
  --stroke-color: #5aa9e6;
}

.gb-h2-yellow {
  --stroke-color: #FFD54F;
}

.gb-h2-orange {
  --stroke-color: #FF9800;
}

.gb-h2-purple {
  --stroke-color: #9C27B0;
}

.gb-h2-cyan {
  --stroke-color: #00BCD4;
}

.text-center .gb-h2,
.gb-h2.text-center {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.section-title-wrapper {
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .gb-h2 {
    font-size: 3rem !important;
    margin-bottom: 30px;
  }
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 30px;

  /* Standardized sizing */
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;

  /* Standardized style */
  font-size: 1.2rem;

  /* Standardized sizing */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Standardized animation */
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);

  /* Standardized hover animation */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-magic {
  background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 25%, #fad0c4 50%, #96e6a1 75%, #4facfe 100%);
  background-size: 300% 300%;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  animation: magicGradient 8s ease infinite;
  box-shadow: 0 10px 30px rgba(255, 154, 158, 0.4);
}

@keyframes magicGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-magic:hover {
  box-shadow: 0 20px 40px rgba(255, 154, 158, 0.6);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 20px;
  left: 5%;
  right: 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

body.menu-open header {
  z-index: 2001;
  transition: none;
}

header.scrolled {
  top: 10px;

  /*background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
}

body.menu-open header.scrolled {
  backdrop-filter: none;

  /* Prevent containing block issue for fixed menu */
}

.logo img {
  height: 120px;

  /* Doubled from 60px */
  transition: var(--transition-smooth);
}

header.scrolled .logo img {
  height: 80px;

  /* Doubled from 40px */
}

.nav-menu {
  display: flex;
  background: var(--color-white);
  padding: 0 30px;

  /* Horizontal padding only */
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  height: 60px;

  /* Fixed height for consistent hit area */
  align-items: center;

  /* Links fill full height */
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;

  /* Hit area padding */
  height: 100%;
  color: var(--color-text);
  transition: color 0.3s ease;
  z-index: 5; /* Ensure links are above indicator */
}

.nav-youtube i {
  font-size: 1.4rem;
  color: #ff0000;
  transition: transform 0.3s ease;
}

.nav-youtube:hover i {
  transform: scale(1.2);
}

@media (max-width: 1000px) {
  .nav-menu.active .nav-youtube {
    margin-top: 15px;
  }

  .nav-menu.active .nav-youtube i {
    font-size: 2.8rem;
  }
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;

  /* Snappier, non-jumpy transition */
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, opacity 0.3s ease;
  will-change: transform, width, background-color;
  transform: translate3d(0, 0, 0); /* Force GPU */
}

/* Footer Styles */
.footer-legal {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: var(--color-white);
  color: #ea008a;

  /* Pink as default */
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  background: #ea008a;
  color: white;
  box-shadow: 0 15px 30px rgba(234, 0, 138, 0.3);
}

.back-to-top i {
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  animation: bounceUp 0.6s infinite alternate;
}

@keyframes bounceUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-5px);
  }
}

.sun-decorative {
  position: fixed;
  top: 140px;

  /* Below the menu line */
  right: 5%;
  width: 120px;
  height: 120px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 1002;

  /* Below the header but above content */
  transition: var(--transition-smooth);
}

.audio-icon {
  position: fixed;
  top: 200px;
  right: calc(5% - 35px);
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(-50%);
}

.audio-icon.base {
  color: #ffff00;
  mix-blend-mode: difference;
  z-index: 1003;
}

.audio-icon.overlay {
  color: rgba(255, 255, 255, 0.6);
  mix-blend-mode: screen;
  z-index: 1004;
  pointer-events: none;
}

.sun-decorative:hover~.audio-icon,
.audio-icon:hover,
.audio-icon:hover~.audio-icon {
  transform: translateY(-50%) scale(1.15);
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .sun-decorative,
  .audio-icon {
    display: none;
  }
}

.sun-decorative img {
  width: 100%;
  animation: rock 4s ease-in-out infinite;
}

@keyframes rock {

  0%,
  100% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }
}

.music-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.sun-decorative.playing .music-notes {
  opacity: 1;
}

.music-notes .note {
  position: absolute;
  color: var(--color-white);
  filter: drop-shadow(0 0 4px var(--color-primary));
  opacity: 0;
}

.music-notes .note-1 {
  top: 10%;
  left: 10%;
  font-size: 20px;
  animation: floatNote1 6s infinite ease-out 0s;
}

.music-notes .note-2 {
  top: 40%;
  left: 20%;
  font-size: 26px;
  animation: floatNote2 7s infinite ease-out 2s;
}

.music-notes .note-3 {
  top: 20%;
  left: 60%;
  font-size: 18px;
  animation: floatNote3 8s infinite ease-out 4s;
}

@keyframes floatNote1 {
  0% {
    transform: translate(0, 0) scale(0.5) rotate(-10deg);
    opacity: 0;
  }

  30% {
    opacity: 0.6;
  }

  100% {
    transform: translate(-30px, -70px) scale(1) rotate(-30deg);
    opacity: 0;
  }
}

@keyframes floatNote2 {
  0% {
    transform: translate(0, 0) scale(0.5) rotate(0deg);
    opacity: 0;
  }

  30% {
    opacity: 0.5;
  }

  100% {
    transform: translate(-10px, -90px) scale(1.1) rotate(10deg);
    opacity: 0;
  }
}

@keyframes floatNote3 {
  0% {
    transform: translate(0, 0) scale(0.5) rotate(10deg);
    opacity: 0;
  }

  30% {
    opacity: 0.7;
  }

  100% {
    transform: translate(40px, -60px) scale(1) rotate(40deg);
    opacity: 0;
  }
}

/* Mobile Menu Toggle */
.sun-toggle {
  display: none;
  width: 40px;
  height: 40px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1001;
}

.sun-toggle:hover {
  transform: rotate(30deg) scale(1.1);
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.8);
    width: 90%;
    max-width: 400px;
    height: auto;
    min-height: 400px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #B4E1F8 0%, #D4F1FF 100%);
    border: 8px solid var(--color-white);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }

  .nav-indicator {
    display: none !important;
  }

  .sun-toggle {
    display: block;
    z-index: 4000;
    position: relative;
  }

  body.menu-open header {
    z-index: 3500;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;

  /* Changed from hidden to allow ducks to overlap next section */
  background-color: #f0f9ff;
  z-index: 60;

  /* Higher than episodes section */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/hero-cityscape.webp') no-repeat center 60%;
  background-size: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, transparent, var(--color-secondary));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: flex-end;

  /* Push to right as per original layout */
  padding-top: 100px;
}

.hero-main-illustration {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.wooden-sign {
  background: #8b4513;
  background-image: radial-gradient(circle at 20% 20%, #c47b3e 0%, #8b4513 60%, #4a2c14 100%);
  padding: 40px;
  border-radius: 20px 60px 20px 50px;
  border: 10px solid #703c15;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.3),
    0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 550px;
  color: #fffac3;
  position: relative;
  margin-bottom: -252px;

  /* Same level as ducks */
  z-index: 5;
}

.wooden-sign::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  background: #703c15;
  z-index: -1;
}

.wooden-sign::before {
  content: '';
  position: absolute;
  bottom: -68px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0,40 Q5,20 15,0 Q18,15 25,25 Q30,5 40,5 Q48,15 52,25 Q60,0 70,10 Q78,20 82,25 Q90,10 95,20 Q98,30 100,40 Z' fill='%234CAF50'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: contain;
  z-index: 0;
}

.wooden-sign h2 {
  font-size: 2.5rem;
  color: #fffac3;
  margin-bottom: 15px;
  line-height: 1.1;
}

.wooden-sign p {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 500;
}

.ducks-img {
  width: 700px;
  z-index: 10;
  margin-bottom: -350px;
  position: relative;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(2deg);
  }
}

@media (max-width: 1440px) and (min-width: 1001px) {
  .hero-content {
    justify-content: center;
    padding-top: 140px;
  }

  .hero-main-illustration {
    max-width: 1100px;
    gap: 30px;
  }

  .ducks-img {
    width: 550px;
    margin-bottom: -340px;
  }

  .wooden-sign {
    max-width: 450px;
    padding: 30px;
    margin-bottom: -260px;
  }

  .wooden-sign h2 {
    font-size: 2rem;
  }

  .wooden-sign p {
    font-size: 1rem;
  }

  .merch-bubble {
    top: -30px !important;
    right: -100px !important;
    max-width: 220px;
    padding: 15px 25px;
    font-size: 1.1rem;
  }
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .hero {
    height: auto;
    padding-top: 240px;
  }

  .hero-content {
    justify-content: center;
    padding-top: 50px;
  }

  .sign-img {
    width: 250px;
    right: 0;
    bottom: -10px;
  }
}

/* Transitionable Background Blur Overlay for Menu */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: none;
  /* Instant fade out by default */
  pointer-events: none;
}

body.menu-open::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease, visibility 0.4s;
  /* Smooth fade in */
}


@keyframes popIn {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.nav-menu.active a::after {
  display: none !important;

  /* Explicitly remove underline in mobile menu */
}

.nav-menu.active a {
  font-size: 2rem;

  /* Even bolder and more playful */
  margin: 10px 0;
  color: var(--color-text);

  /* Darker text for better contrast on light kiddish background */
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
}

.nav-menu.active a:hover {
  transform: scale(1.1);
  color: var(--color-accent);
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .logo img {
    height: 100px;
  }

  .sun-toggle {
    display: block;
  }
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .hero-main-illustration {
    flex-direction: column-reverse;

    /* Sign behind/below ducks */
    align-items: center;
    gap: 0;
  }

  .wooden-sign {
    max-width: 90%;
    margin-bottom: 0;
    margin-top: -70px;

    /* Peek behind ducks */
    padding: 30px;
    z-index: 1;
    scale: 0.8;

    /* Behind ducks */
  }

  .ducks-img {
    width: 280px;
    margin-bottom: 10px;
    margin-left: 20px;
    z-index: 10;
  }
}

/* Characters Section */
.characters-section {
  background-color: var(--color-white);
  padding-top: 120px;
  position: relative;
}

.characters-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23E1F5E6' fill-opacity='1' d='M0,128L80,144C160,160,320,192,480,181.3C640,171,800,117,960,112C1120,107,1280,149,1360,170.7L1440,192L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100px;
  z-index: 2;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

  .char-name {
    font-size: 1.2rem !important;

    /* slightly smaller text to fit in mobile 2-column */
    padding: 5px !important;
    line-height: 0.9 !important;
  }
}

.char-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.char-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.char-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Gradient Backgrounds */
.bg-gogo {
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
}

.bg-bebe {
  background: linear-gradient(135deg, #a0c4ff, #5aa9e6);
}

.bg-cq {
  background: linear-gradient(135deg, #06d6a0, #00b4d8);
}

.bg-lq {
  background: linear-gradient(135deg, #ffb5a7, #ffcbf2);
}

.bg-leo {
  background: linear-gradient(135deg, #cdb4db, #bde0fe);
}

.bg-leona {
  background: linear-gradient(135deg, #ffafcc, #ffc8dd);
}

.bg-sophia {
  background: linear-gradient(135deg, #f7d794, #f5cd79);
}

.bg-samson {
  background: linear-gradient(135deg, #a29bfe, #fecfef);
}

.bg-elfy {
  background: linear-gradient(135deg, #d4fc79, #96e6a1);
}

.bg-guink {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.char-card .char-img {
  position: absolute;
  bottom: 18%;

  /* Leave room for name */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: auto;
  max-height: 70%;
  object-fit: contain;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.char-card:hover .char-img {
  transform: translateX(-50%) scale(1.15) translateY(-10px);
}

.char-name {
  position: relative;
  z-index: 3;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  padding: 10px 15px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2), -1px -1px 0 rgba(0, 0, 0, 0.1), 1px -1px 0 rgba(0, 0, 0, 0.1), -1px 1px 0 rgba(0, 0, 0, 0.1), 1px 1px 0 rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  line-height: 1.1;
}

/* Popup / Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content {
  background: transparent no-repeat center;
  background-size: 100% 100%;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 1100 / 730;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;

  /* side padding to keep content inside the blob shape */
  position: relative;
  transform: scale(0.7);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.popup-mask-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  contain: paint;
}

.popup-scroll-area {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px 0;
  transform: translateZ(0);
}

.popup-scroll-area::-webkit-scrollbar {
  width: 8px;
}

.popup-scroll-area::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.popup-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--color-text);
  z-index: 100;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  transform: scale(1.1);
  color: var(--color-accent);
}

/* Character Popup 3-Column Layout */
.popup-3col-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  flex: 1 0 auto;
  box-sizing: border-box;
}

.popup-left-col {
  flex: 0 0 30%;
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 15px;
}

.popup-name-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.popup-center-col {
  flex: 0 0 40%;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-char-img-main {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  margin-top: 20px;
}

.popup-right-col {
  flex: 0 0 30%;
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 15px;
}

.popup-content-inner {
  background: rgba(255, 255, 255, 1);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.popup-section-title {
  font-family: var(--font-heading);
  color: var(--char-color, var(--color-primary));
  font-size: 1.5rem;
  margin-bottom: 12px;
  margin-left: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-text-stroke: 8px var(--color-white);
  paint-order: stroke fill;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-item-transparent {
  background: rgba(255, 255, 255, 1);
  border-radius: 15px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 80px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.icon-item-transparent:hover {
  transform: translateY(-5px);
}

.icon-item-transparent img {
  height: 40px;
  margin-bottom: 8px;
}

.icon-item-transparent span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.icon-item-home {
  text-decoration: none;
  background: rgba(255, 255, 255, 1);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 170px;
  height: 170px;

  /* Perfect Square */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.icon-item-home:hover {
  transform: translateY(-5px) scale(1.02);
}

.icon-item-home img {
  width: 140px;
  height: 100px;
  border-radius: 12px;
  margin-bottom: 10px;
  object-fit: contain;
}

.icon-item-home span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .popup-3col-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding-top: 13vh;
    padding-bottom: 7vh;
  }

  .popup-left-col,
  .popup-center-col {
    display: contents;
  }

  .popup-right-col {
    width: 100%;
    order: 4;
  }

  .popup-name-img {
    order: 1;
    margin: 0 auto;
    max-width: 50%;
    width: 50%;
    display: block;
  }

  .popup-char-img-main {
    order: 2;
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .popup-about-box {
    order: 3;
    width: 100%;
  }

  .icon-group {
    justify-content: center;
  }

  .modal-content {
    padding: 0;
    height: 90%;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }

  .modal-content::-webkit-scrollbar {
    display: none;

    /* Chrome, Safari, Opera */
  }

  .modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }

  .popup-inner {
    width: 100%;
    height: 100%;
    padding: 80px 20px 60px;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .popup-inner::-webkit-scrollbar {
    display: none;
  }

  .popup-mask-container {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30px, black calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30px, black calc(100% - 30px), transparent 100%);
  }
}

.episode-section {
  background-color: var(--color-secondary);
  padding-top: 100px;
  position: relative;
  z-index: 50;
}

.main-episode-carousel {
  padding-top: 25px;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 40px;
}

.main-episode-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
}

.episode-box {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-white);
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;

  /* For badge positioning */
}

.season-badge {
  position: absolute;
  top: 5px;
  left: 20px;
  background: #ff69b4;

  /* Cute pink */
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3);
  transform: rotate(-5deg);
  z-index: 10;
}

.video-preview {
  width: 100%;
}

.video-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;

  /* Modern aspect ratio */
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Cute Countdown Timer */
.countdown-timer {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: 16px;
  display: flex;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ea008a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
  pointer-events: none;
  border: 2px solid #ea008a;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.countdown-val {
  font-size: 1.2rem;
  color: #ea008a;
}

.countdown-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  margin-top: 3px;
  color: var(--color-text);
  opacity: 0.8;
}

.countdown-sep {
  font-size: 1.2rem;
  align-self: center;
  color: #ea008a;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .countdown-timer {
    padding: 6px 12px;
    gap: 8px;
    bottom: 15px;
  }

  .countdown-val {
    font-size: 1.1rem;
  }
}

.play-btn.coming-soon-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.video-link:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-accent);
}

.episode-info .label {
  white-space: nowrap;
  display: inline-block;
  background: var(--color-primary);
  background: linear-gradient(135deg, #9ddcf9, #54b6e5);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(157, 220, 249, 0.4);
}

.episode-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.episode-info p {
  margin-bottom: 30px;
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .episode-box {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    padding: 25px;
    gap: 30px;
    border-radius: 40px;
    background: var(--color-white);
  }

  .episode-info h2 {
    font-size: 2.2rem;
  }

  .episode-carousel-container {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .episode-info {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .episode-info .btn-youtube {
    margin-top: auto;
    align-self: center;
  }
}

/* Episode Dropdown (Mobile Only) */
.episode-dropdown-container {
  display: none;
  margin-top: 30px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1000px) {
  .episode-box .btn-primary {
    display: none;
  }

  .episode-dropdown-container {
    display: flex;
  }
}

.select-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.episode-select {
  width: 100%;
  padding: 12px 40px 12px 15px;
  font-family: var(--font-heading) !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 4px solid #f0f0f0;
  border-radius: 20px;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  line-height: 1.2;
}

.episode-select option {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-text);
}

.episode-select option {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-text);
}

.episode-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(157, 220, 249, 0.4);
}

.dropdown-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* Episode Carousel */
.episode-carousel-container {
  margin-top: 40px;
  display: flex;
  align-items: center;
  position: relative;

  /* Position relative for absolute arrows */
  z-index: 10;
  padding: 0 80px;

  /* Space for arrows */
}

.episode-carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 10px 5px;
}

.episode-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.episode-thumb {
  flex: 0 0 calc(33.333% - 14px);

  /* 3 thumbnails visible */
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  border: 4px solid transparent;
}

.episode-thumb.active {
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(157, 220, 249, 0.5);
  transform: translateY(-5px);
}

.episode-thumb.coming-soon {
  cursor: default;
}

.episode-thumb.coming-soon:hover {
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.episode-thumb.coming-soon .thumb-info h4 {
  color: #999;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-overlay span {
  background: var(--color-accent);
  color: white;
  padding: 6px 15px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(223, 60, 80, 0.3);
}

.thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

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

.thumb-info {
  padding: 12px;
  background: var(--color-white);
}

.thumb-info span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.thumb-info h4 {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-text-dark);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 20;
  padding: 0;
  width: 80px;
  height: 80px;
  color: #ff69b4;

  /* Vibrant pink arrow */
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));

  /* White glow for visibility */
}

.cute-arrow-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 10px rgba(255, 20, 147, 0.3));
}

.cute-arrow-svg path {
  stroke: #ff1493;

  /* Brighter pink */
  stroke-width: 15;

  /* Extra chunky */
  filter: drop-shadow(0 0 2px white);

  /* Fine white outline */
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.2);
  color: var(--color-accent);
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}

.carousel-btn.disabled {
  opacity: 0.15;
  pointer-events: none;
  filter: grayscale(1);
}

@media (max-width: 768px) {
  .episode-thumb {
    flex: 0 0 calc(100% - 10px);

    /* 1 thumbnail on small mobile */
  }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .episode-thumb {
    flex: 0 0 calc(50% - 10px);

    /* 2 thumbnails on tablets */
  }
}

@media (max-width: 850px) {
  .modal-content {
    padding: 20px;
  }

  #modal-body {
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
  }

  #modal-body::-webkit-scrollbar {
    width: 6px;
  }

  #modal-body::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
  }
}

/* Social & Platforms Section */
.social-section {
  background-color: #f0f9ff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.platform-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  border: 2px solid transparent;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.platform-card.youtube:hover {
  border-color: #ff0000;
}

.platform-card.spotify:hover {
  border-color: #1db954;
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.youtube .card-icon {
  color: #ff0000;
}

.spotify .card-icon {
  color: #1db954;
}

.platform-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.platform-card p {
  margin-bottom: 25px;
  color: #666;
}

.btn-yt {
  background: #ff0000;
  color: white;
  border-radius: 50px;
  padding: 12px 30px;
  display: inline-block;
  font-weight: 700;
}

.btn-sp {
  background: #1db954;
  color: white;
  border-radius: 50px;
  padding: 12px 30px;
  display: inline-block;
  font-weight: 700;
}

.btn-yt:hover,
.btn-sp:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

.social-follow {
  margin-top: 80px;
  text-align: center;
}

.social-follow p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 25px;
}

.social-icon-row {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn.fb {
  background: #1877f2;
}

.social-btn.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tt {
  background: #000000;
}

.social-btn:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .platform-cards {
    grid-template-columns: 1fr;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.scroll-indicator span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-left: 5px solid var(--color-white);
  border-top: 5px solid var(--color-white);
  transform: rotate(45deg);
  animation: slideUp 2s infinite;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

@keyframes slideUp {
  0% {
    transform: rotate(45deg) translate(15px, 15px);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: rotate(45deg) translate(-15px, -15px);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .modal-overlay.active .scroll-indicator.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
}

/* Merchandise Section */
.merchandise-section {
  background-color: #f3e5f5;

  /* Soft Lilac */
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.merchandise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,192L120,186.7C240,181,480,171,720,144C960,117,1200,75,1320,53.3L1440,32L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100px;
  z-index: 2;
}

/* Merch Tabs */
.merch-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.merch-tabs {
  background: white;
  padding: 6px;
  border-radius: 100px;

  /* Outer radius */
  display: flex;
  gap: 6px;
  border: 4px solid #ea008a;
  box-shadow: 0 10px 25px rgba(234, 0, 138, 0.15);
}

.merch-tab-btn {
  padding: 12px 40px;
  border-radius: 100px;

  /* Inner radius */
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #ea008a;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.merch-tab-btn.active {
  background: #ea008a;
  color: white;
}

.merch-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.merch-content.active {
  display: block;
  animation: merchFadeIn 0.6s forwards;
}

@keyframes merchFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.merch-poster-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.merch-set {
  width: 100%;
  max-width: 1200px;
  max-height: 80vh;

  /* Ensure it fits in viewport */
  border-radius: 40px;
  overflow: visible;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
  background: white;
  display: flex;
  justify-content: center;
  position: relative;
}

.merch-set:hover {
  transform: translateY(-15px) scale(1.01);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.merch-poster {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Merchandise Slider Styles --- */
.merch-slider {
  position: relative;
  width: 100%;
  max-width: 80vh; /* Ensure square doesn't exceed screen height */
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 40px;
}

.merch-slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.merch-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1; /* Enforce 1:1 Square Ratio */
}

.merch-slide img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  display: block;
  object-fit: cover; /* Fill the 1:1 square */
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  color: #ea008a;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #ea008a;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-btn i {
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  bottom: 110px; /* Above the cart button */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 25;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto; /* Ensure dots are clickable */
}

.slider-dot.active {
  background: #ea008a;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .slider-dots {
    bottom: 40px;
  }
}

.merch-cart-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF9800;
  color: white !important;
  padding: 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 60px;
  height: 60px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 30;
}

.merch-cart-btn i {
  font-size: 1.5rem;
  min-width: 30px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.merch-cart-btn .btn-text {
  opacity: 0;
  max-width: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, max-width 0.4s ease, margin-left 0.4s ease;
  margin-left: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Desktop & Mobile Click Behavior */
.merch-cart-btn.active {
  max-width: 500px;
  width: auto;
  height: auto;
  padding: 15px 35px;
  justify-content: flex-start;
  border-radius: 50px;
  animation: none; /* Stop bounce when active */
}

.merch-cart-btn.active .btn-text {
  opacity: 1;
  max-width: 400px;
  visibility: visible;
  margin-left: 15px;
  pointer-events: auto;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .merch-cart-btn.active {
    padding: 15px 25px;
  }
  .merch-cart-btn.active .btn-text {
    margin-left: 12px;
    font-size: 0.95rem;
  }
}

/* Mobile Floating Behavior */
@media (max-width: 1024px) {
  .merch-cart-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
    transform: none;
    max-width: 60px;
    height: 60px;
    background: #FF9800;
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
    animation: cartBounce 3s infinite;
    opacity: 1;
    visibility: visible;
  }

  .hide-mobile {
    display: none;
  }
}

@keyframes cartBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.merch-bubble {
  position: absolute;
  top: 10%;
  right: -100px;
  background: linear-gradient(135deg, #fff5f8 0%, #ffe4e1 100%);

  /* Cuter soft pink gradient */
  color: #8d5b76;
  padding: 20px 30px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(255, 182, 193, 0.2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  max-width: 250px;
  text-align: center;
  z-index: 20;
  animation: gentleSway 8s ease-in-out infinite;
  border: 4px solid #ff85a2;
}

.merch-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #ff85a2;
}

@keyframes gentleSway {

  0%,
  100% {
    transform: translate(0, 0) rotate(-1deg) scale(1);
  }

  50% {
    transform: translate(2px, -8px) rotate(1deg) scale(1.02);
  }
}

@media (max-width: 768px) {
  .merchandise-section {
    padding: 60px 0;
    overflow: visible;
  }

  .merch-poster-container {
    gap: 40px;
    margin-top: 40px;
  }

  .merch-set,
  .merch-set:hover,
  .merch-set:active {
    flex-direction: column;
    align-items: center;
    padding: 0;
    border-radius: 25px;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .merch-bubble {
    position: relative;
    top: auto;
    right: auto;
    margin: 20px auto 0;
    max-width: 90%;
    animation: none;
    transform: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .merch-bubble::after {
    display: none;
  }
}

/* Updates & News Section */
.updates-section {
  background-color: var(--color-white);
  padding: 120px 0;
  position: relative;
}

.updates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23f3e5f5' fill-opacity='1' d='M0,64L48,80C96,96,192,128,288,144C384,160,480,160,576,138.7C672,117,768,75,864,85.3C960,96,1056,160,1152,181.3C1248,203,1344,181,1392,170.7L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100px;
  z-index: 2;
}

.contact-section {
  background-color: var(--color-primary);
  background: linear-gradient(to bottom, #9DDCF9 0%, #B4E1F8 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;

  /* Exactly matches the bottom of updates-section (#ffffff) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,186.7C1248,192,1344,160,1392,144L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100px;
  z-index: 2;
}

/* Social Section Unique Divider */
.social-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;

  /* Matches the solid bottom color of contact-section (#B4E1F8) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23B4E1F8' fill-opacity='1' d='M0,224L80,213.3C160,203,320,181,480,181.3C640,181,800,203,960,213.3C1120,224,1280,224,1360,224L1440,224L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100px;
  z-index: 2;
}

.contact-card {
  background: white;
  border-radius: 50px;
  padding: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 8px solid rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 10;
}

.contact-desc {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 40px;
  font-weight: 500;
}

.contact-grid-simple {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.contact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 1.1rem;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.contact-links-row {
  display: flex;
  gap: 15px;
}

.btn-contact-action {
  background: #5aa9e6;
  background: linear-gradient(135deg, #5aa9e6 0%, #3a86c4 100%);
  color: white;
  box-shadow: 0 10px 20px rgba(90, 169, 230, 0.3);
}

.btn-contact-action:hover {
  box-shadow: 0 15px 30px rgba(90, 169, 230, 0.4);
  filter: brightness(1.1);
}

.cute-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #f0f9ff;
  padding: 30px;
  border-radius: 30px;
  border: 3px dashed var(--color-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 20px;
  border: 2px solid #e0f2fe;
  background: white;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(157, 220, 249, 0.3);
}

/* Validation Feedback */
.form-group {
  position: relative;
}

.form-group input:not(:placeholder-shown):invalid,
.form-group textarea:not(:placeholder-shown):invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.error-tooltip {
  position: absolute;
  background: #9c27b0;

  /* Brand Purple */
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  bottom: calc(100% + 8px);
  left: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(10px);
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.error-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border-width: 6px;
  border-style: solid;
  border-color: #9c27b0 transparent transparent transparent;
}

/* Show tooltip when focused and invalid */
.form-group input:invalid:focus~.error-tooltip,
.form-group textarea:invalid:focus~.error-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-magic:disabled {
  background: #cbd5e1 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  transform: none !important;
  box-shadow: none !important;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1.3rem;
}

@media (max-width: 900px) {
  .contact-grid-simple {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-card {
    padding: 40px 20px;
  }

  .contact-details {
    text-align: center;
    width: 75vw;
    margin: 0 auto;
  }

  .contact-links-row {
    justify-content: center;
  }
}

.section-header {
  display: block;
}

.updates-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.update-card {
  background: white;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 2px solid transparent;
}

.update-card:hover {
  transform: translateY(-10px);
  border-color: #ea008a;
  box-shadow: 0 30px 60px rgba(234, 0, 138, 0.1);
}

.update-main .update-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.update-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.update-main-info {
  padding: 30px;
}

.update-main-info h3 {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: 15px;
}

.update-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.update-side .update-card {
  display: flex;
  gap: 20px;
  padding: 15px;
  align-items: center;
}

.update-side img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  object-fit: cover;
}

.update-side-info h3 {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

/* Modals */
.article-modal-content {
  max-width: 1100px;
  width: 95%;
  height: 90vh;
  border-radius: 50px;
  padding: 0;
  overflow: hidden;
  background: white;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

#article-body,
#legal-body {
  padding: 60px 100px;
}

@media (max-width: 768px) {

  #article-body,
  #legal-body {
    padding: 40px 30px;
  }
}

.tnc-rich-content {
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: #555;
}

.tnc-rich-content p {
  margin-bottom: 20px;
}

.tnc-rich-content h2 {
  margin-bottom: 15px;
}

#legal-body .article-title {
  color: #f4ac00;
}

#legal-body .gb-h2 {
  color: #f4ac00;
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: #f4ac00;
  paint-order: normal;
}

.article-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #5a5a87;
  line-height: 1.2;
}

#article-body .article-date {
  font-weight: 700;
  color: #ea008a;
  margin-bottom: 40px;
}

#article-body .article-rich-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 768px) {
  #article-body {
    padding: 40px 25px;
  }

  #article-body .article-title {
    font-size: 2rem;
    line-height: 1.2;
  }
}

.admin-modal-content {
  max-width: 1100px;
  width: 95%;
  height: 90vh;
  border-radius: 50px;
  padding: 50px;
  overflow: hidden;
  background: white;
}

.admin-modal-content {
  padding: 50px;
  background: white;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

.admin-login-form input {
  padding: 15px 25px;
  border-radius: 15px;
  border: 2px solid #eee;
  font-size: 1.1rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 60vh;
  overflow-y: auto;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #f9f9f9;
  border-radius: 20px;
}

.admin-item-actions {
  display: flex;
  gap: 10px;
}

.composer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.composer-form input,
.composer-form textarea {
  padding: 15px 25px;
  border-radius: 15px;
  border: 2px solid #eee;
  font-size: 1.1rem;
  width: 100%;
}

.wysiwyg-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 15px;
}

.wysiwyg-tools button {
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-weight: bold;
}

.wysiwyg-editor {
  min-height: 400px;
  max-height: 500px;
  overflow-y: auto;
  padding: 30px;
  background: white;
  border: 2px solid #eee;
  border-radius: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.wysiwyg-editor img {
  max-width: 100%;
  border-radius: 15px;
  margin: 20px 0;
}

.wysiwyg-editor iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 15px;
  margin: 20px 0;
}

.form-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .update-main img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .update-side .update-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .update-side img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

/* Peeping Bebe */
.peeping-bebe {
  position: fixed;
  left: -250px;

  /* Fully off screen */
  bottom: 50px;
  width: 300px;
  z-index: 100;
  transition: left 2.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Slower animation */
  pointer-events: none;
  display: none;

  /* Hidden on mobile by default */
}

@media (min-width: 1024px) {
  .peeping-bebe {
    display: block;
  }
}

.peeping-bebe.active {
  left: -40px;

  /* Adjusting so only the head peeks out */
}

.peeping-bebe img {
  width: 100%;
  height: auto;
  transform: rotate(60deg);

  /* Rotated to show head peeking from left */
  filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.2));
}

.logo-placeholder {
  filter: grayscale(1) brightness(0.7);
  opacity: 0.15;
  background-color: #f8f8f8;
  object-fit: contain !important;
  padding: 15% !important;
  width: 100%;
  height: 100%;
  display: block;
  border: 2px dashed #ccc;
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.episode-meta .label {
  white-space: nowrap;
  margin-bottom: 0 !important;
}

.release-date {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-youtube {
  background-color: #9C27B0;

  /* Gogo & Bebe Purple */
  color: white !important;
  padding: 12px 25px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(156, 39, 176, 0.2);
  transition: var(--transition-smooth);
}

.btn-youtube:hover {
  background-color: #7B1FA2;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(156, 39, 176, 0.3);
}

.btn-youtube.disabled {
  background-color: #ccc;
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.btn-youtube i {
  font-size: 1.2rem;
}

.video-link.non-playable {
  cursor: default;
}

.video-link.non-playable .play-btn {
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.6);
}

.video-link.is-playing {
  background: black;
}

.video-link iframe {
  display: block;
  border-radius: 20px;
}

.video-link.playable,
.video-link.playable .play-btn {
  cursor: pointer !important;
}

/* Swipe Indicator */
.swipe-indicator {
  position: relative;
  display: none;

  /* Mobile only */
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  margin: 10px 0;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 5;
}

.swipe-indicator.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0;
  margin: 0;
  padding: 0;
}

.swipe-hand {
  font-size: 1.8rem;
  animation: swipeHand 2s infinite;
}

.swipe-indicator span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ea008a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1000px) {
  .swipe-indicator {
    display: flex;
  }
}

.swipe-indicator.hidden {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

/* Fan Animation for Episode Boxes */
.episode-carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.episode-box {
  flex: 0 0 100%;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
  transform-origin: bottom center;
}

@media (max-width: 1000px) {
  .episode-box:not(.current) {
    opacity: 0.3;
    transform: scale(0.9) rotate(0deg);
  }

  .episode-box.prev-slide {
    transform: rotate(-10deg) translateY(20px) !important;
    opacity: 0 !important;
  }

  .episode-box.next-slide {
    transform: rotate(10deg) translateY(20px) !important;
    opacity: 0 !important;
  }

  .episode-box.current {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) translateY(0) !important;
  }
}

.video-link {}

@keyframes swipeHand {

  0%,
  100% {
    transform: translateX(10px);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-10px);
    opacity: 1;
  }
}

/* Legal Content Styling */
.legal-content-container {
  font-family: var(--font-body);
  font-size: 0.95rem !important;
  line-height: 1.6;
  color: #555;
  padding: 10px 0;
}

.legal-section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ea008a;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-subsection-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.legal-sub-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 15px;
  margin: 15px 0;
  border-left: 5px solid #ea008a;
}

.legal-list,
.legal-list-alpha {
  padding: 0;
  list-style-type: none;
  margin: 15px 0;
}

.legal-list li,
.legal-list-alpha li {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: flex-start;
}

.legal-list li .marker,
.legal-list-alpha li .marker {
  color: #ea008a;
  font-weight: 700;
}

.highlight-note {
  background: #fff5f8;
  padding: 20px;
  border: 2px dashed #ea008a;
  border-radius: 15px;
  color: #df3c50;
  font-weight: 600;
  margin: 25px 0;
}

.legal-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-style: italic;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 768px) {
  .legal-section-title {
    font-size: 1.5rem;
  }

  .legal-subsection-title {
    font-size: 1.2rem;
  }

  .legal-list li,
  .legal-list-alpha li {
    grid-template-columns: 40px 1fr;
  }
}

/* Spotify Embed Wrapper */
.spotify-embed-wrapper {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  background-color: transparent;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.spotify-embed-wrapper iframe {
  display: block;
  border-radius: 20px;
  height: 400px;
  background: transparent;
}

@media (max-width: 1000px) {
  .spotify-embed-wrapper iframe {
    height: 352px;
  }
}

@media (max-width: 768px) {
  .spotify-embed-wrapper {
    margin-top: 24px;
    margin-left: -5%;
    margin-right: -5%;
    border-radius: 16px;
    /* Restored some rounding for mobile as requested */
    overflow: hidden;
  }

  .spotify-embed-wrapper iframe {
    border-radius: 16px;
    height: 380px;
  }
}

/* Episode Section Labels (Watch / Listen) */
.ep-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.ep-label-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.ep-label-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.ep-label-watch {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 8px #ff0000;
  paint-order: stroke fill;
  text-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.ep-label-listen {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 8px #1DB954;
  paint-order: stroke fill;
  text-shadow: 0 4px 12px rgba(29, 185, 84, 0.25);
}

/* Gap between watch block and listen block */
.ep-section-label+.ep-section-label,
.episode-carousel-container+.ep-section-label {
  margin-top: 50px;
}

.spotify-embed-wrapper {
  margin-top: 0;
}

@media (max-width: 768px) {
  .ep-label-text {
    font-size: 1.8rem;
  }

  .ep-label-icon {
    font-size: 1.6rem;
  }
}

/* High Resolution Fixes (2K / 4K) */
@media (min-width: 2000px) {
  .hero {
    align-items: flex-end;
  }

  .wooden-sign {
    margin-bottom: 50px !important;
  }

  .ducks-img {
    margin-bottom: -50px !important;
  }
}