/* Design tokens, base, buttons, header/nav and footer copied from the main site's styles.css

   (read-only source: gbw v8/styles.css). Update by hand if the brand look changes. */

.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;
  --color-price: #1189ca;

  /* For highlighting or special elements */
  --font-heading: 'Fredoka', ui-rounded, 'SF Pro Rounded', 'Nunito', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Quicksand', ui-rounded, 'SF Pro Rounded', 'Nunito', 'Segoe UI', system-ui, -apple-system, 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;
  }
}

@media (max-width: 600px) {
  .gb-h2 {
    font-size: 2.1rem !important;
    -webkit-text-stroke: 8px var(--stroke-color, #ffffff);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 400px) {
  .gb-h2 {
    font-size: 1.75rem !important;
    -webkit-text-stroke: 6px var(--stroke-color, #ffffff);
    letter-spacing: 0.2px;
  }
}

.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;
  width: auto;
  max-width: none;
  object-fit: contain;

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

header.scrolled .logo img {
  height: 80px;
  width: auto;
  max-width: none;
  object-fit: contain;

  /* 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-adasia {
  display: flex;
  align-items: center;
}

.nav-adasia img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
}

.nav-adasia:hover img {
  transform: scale(1.2);
}

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

  .nav-menu.active .nav-adasia img {
    width: 44px;
    height: 44px;
  }
}

.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;
}


.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;
  }

  .logo img {
    height: 100px;
    width: auto;
    max-width: none;
    object-fit: contain;
  }

  header.scrolled .logo img {
    height: 80px;
    width: auto;
    max-width: none;
    object-fit: contain;
  }

  .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;
  }
}

.new-badge {
  position: absolute;
  background: linear-gradient(135deg, #ffd54f, #ff8f00);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 999px;
  border: 2px solid var(--color-white);
  box-shadow: 0 6px 14px rgba(255, 143, 0, 0.4);
  z-index: 12;
  pointer-events: none;
  transform: rotate(-8deg);
  animation: new-badge-pop 1.8s ease-in-out infinite;
}

.new-badge-thumb {
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  font-size: 0.7rem;
}

@keyframes new-badge-pop {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .new-badge { animation: none; }
}

/* Mobile menu link styles (main site, lines 961-983) */
.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);
}

