/* ==========================================================
   TOCOTACA DESIGN SYSTEM & MAIN STYLESHEET
   Play · Create · Learn · Together
   ========================================================== */

:root {
  /* Brand Palette */
  --yellow: #FFB703;
  --coral: #FF6868;
  --mint: #7DCDB5;
  --sky: #4D96FF;
  --lav: #A78BFA;
  --pink: #FFD6E0;

  /* Neutrals */
  --ink: #2B2A4A;
  --ink-soft: #5A5878;
  --ink-muted: #8E8CA8;
  --bg: #FFFDF8;
  --card: #FFFFFF;

  /* Pastel Card & Accent Backgrounds */
  --sun-bg: #FFF3D6;
  --sky-bg: #E8F2FF;
  --mint-bg: #E4F7F0;
  --pink-bg: #FFF0F4;
  --lav-bg: #F1EBFF;
  --orange-bg: #FFF1E4;

  /* Geometry & Shadows */
  --radius: 28px;
  --radius-sm: 16px;
  --radius-lg: 36px;
  --shadow-sm: 0 4px 14px rgba(43, 42, 74, 0.06);
  --shadow: 0 10px 30px rgba(43, 42, 74, 0.09);
  --shadow-lg: 0 20px 46px rgba(43, 42, 74, 0.13);
  --shadow-3d: 0 7px 0;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.wrap {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section {
  position: relative;
}

/* Section Headings */
.sec-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 40px;
}

.sec-head .kicker,
.kicker {
  display: inline-block;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.sec-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 10px;
  line-height: 1.15;
}

.sec-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================
   BUTTONS (Playful 3D tactile buttons)
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  user-select: none;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

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

.btn-sun {
  background: var(--yellow);
  color: #4A3200;
  box-shadow: 0 7px 0 #E09E00;
}

.btn-sun:active {
  box-shadow: 0 2px 0 #E09E00;
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 7px 0 #D94F4F;
}

.btn-coral:active {
  box-shadow: 0 2px 0 #D94F4F;
}

.btn-sky {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 7px 0 #3574D4;
}

.btn-sky:active {
  box-shadow: 0 2px 0 #3574D4;
}

.btn-pink {
  background: #FF6FA5;
  color: #fff;
  box-shadow: 0 7px 0 #D8487E;
}

.btn-pink:active {
  box-shadow: 0 2px 0 #D8487E;
}

.btn-teal {
  background: #2EC4B6;
  color: #fff;
  box-shadow: 0 7px 0 #1B958A;
}

.btn-teal:active {
  box-shadow: 0 2px 0 #1B958A;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 7px 0 #E7E2D6;
  border: 2px solid #F1EAD9;
}

.btn-ghost:active {
  box-shadow: 0 2px 0 #E7E2D6;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.92rem;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.15);
}

.btn-sm:active {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

/* Slogan Badges */
.slogan {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.slogan span {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 8px rgba(43, 42, 74, 0.1);
}

.slogan .s1 {
  background: var(--coral);
}

.slogan .s2 {
  background: var(--sky);
}

.slogan .s3 {
  background: #3DBE96;
}

.slogan .s4 {
  background: var(--lav);
}

/* ==========================================================
   REUSABLE HEADER & NAVIGATION
   ========================================================== */
#site-header,
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid #FFE9B8;
  transition: all 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.03) rotate(-1deg);
}

.logo img.wordmark {
  height: 46px;
  width: auto;
}

.menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}

.menu a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.menu a:hover {
  background: var(--sun-bg);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu a.active {
  background: var(--sun-bg);
  color: #4A3200;
  box-shadow: inset 0 -2px 0 var(--yellow);
}

.lang-toggle {
  display: flex;
  background: #F3EFE3;
  border-radius: 999px;
  padding: 3px;
  flex: none;
}

.lang-toggle button {
  border: none;
  background: transparent;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lang-toggle button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(43, 42, 74, 0.14);
}

.burger {
  display: none;
  margin-left: auto;
  background: var(--sun-bg);
  border: 2px solid #FFE4A0;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease;
}

.burger:hover {
  background: #FFE4A0;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  padding: 56px 0 96px;
  background: linear-gradient(180deg, #DFF1FF 0%, #FFF6E3 78%, var(--bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.05;
  margin: 16px 0 16px;
}

.hero p.lead {
  color: var(--ink-soft);
  font-size: 1.14rem;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 470px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-art {
  position: relative;
}

.hero-art .frame {
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  transform: rotate(1.2deg);
  transition: transform 0.3s ease;
}

.hero-art:hover .frame {
  transform: rotate(0deg) scale(1.01);
}

.hero-art .house-logo {
  position: absolute;
  left: -26px;
  bottom: -30px;
  width: clamp(110px, 26%, 168px);
  filter: drop-shadow(0 14px 18px rgba(43, 42, 74, 0.22));
  animation: bob 3.6s ease-in-out infinite;
  z-index: 3;
}

/* Floating animated decorations */
.floaty {
  position: absolute;
  pointer-events: none;
  animation: floaty 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(43, 42, 74, 0.12));
}

@keyframes floaty {

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

  50% {
    transform: translateY(-14px) rotate(var(--r, 0deg));
  }
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0.88;
  z-index: 1;
  animation: drift linear infinite;
  box-shadow: 0 6px 16px rgba(43, 42, 74, 0.04);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud::before {
  width: 46%;
  height: 170%;
  left: 14%;
  top: -70%;
}

.cloud::after {
  width: 32%;
  height: 120%;
  right: 14%;
  top: -45%;
}

@keyframes drift {
  from {
    transform: translateX(-18vw);
  }

  to {
    transform: translateX(118vw);
  }
}

@keyframes bob {

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

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

/* Hero Letter-by-letter wave FX */
.hero h1 .word {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 .ltw {
  display: inline-block;
  animation: heroWave 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms);
}

.hero h1 .lt {
  display: inline-block;
  animation: heroIn 0.7s cubic-bezier(0.34, 1.8, 0.5, 1) both;
  animation-delay: calc(var(--i) * 45ms);
}

@keyframes heroIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.55) rotate(-8deg);
  }

  60% {
    opacity: 1;
    transform: translateY(-7px) scale(1.1) rotate(2deg);
  }

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

@keyframes heroWave {

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

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

.hero h1 .word-brand {
  position: relative;
}

.hero h1 .word-brand .lt {
  text-shadow: 0 2px 0 #fff, 0 5px 12px rgba(43, 42, 74, 0.14);
}

.hero h1 .word-brand::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.16em;
  height: 0.16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M1 5 Q 4 1, 7 5 T 13 5 T 19 5 T 25 5' fill='none' stroke='%23FFB703' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 24px 8px;
}

/* Word Rotator */
.rotator {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  margin: 0 0 12px;
  color: var(--ink);
}

.rot-word {
  display: inline-block;
}

.rot-word.out {
  animation: rotOut 0.24s ease both;
}

.rot-word.in {
  animation: rotIn 0.45s cubic-bezier(0.34, 1.8, 0.5, 1) both;
}

@keyframes rotOut {
  to {
    transform: translateY(-14px) scale(0.8);
    opacity: 0;
  }
}

@keyframes rotIn {
  0% {
    transform: translateY(16px) scale(0.7);
    opacity: 0;
  }

  60% {
    transform: translateY(-4px) scale(1.12);
    opacity: 1;
  }

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

/* ==========================================================
   CHARACTERS SECTION
   ========================================================== */
#characters {
  background: var(--bg);
}

.chars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.char-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 14px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
}

.char-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #FFF2D1;
}

.char-card .stage {
  border-radius: 20px;
  height: 188px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.char-card .stage img {
  height: 176px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.16s ease;
  filter: drop-shadow(0 8px 10px rgba(43, 42, 74, 0.18));
}

.char-card:hover .stage img {
  transform: scale(1.06) rotate(-1.5deg);
}

.char-card h3 {
  margin: 2px 0 2px;
  font-size: 1.35rem;
}

.char-card .role {
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.char-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 5px 0 12px;
  min-height: 42px;
}

.poses {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.poses button {
  border: 2px solid #EFE9DA;
  background: #FFFDF6;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.poses button:hover {
  transform: translateY(-2px);
  border-color: #D8D2C2;
}

.poses button.on {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(43, 42, 74, 0.15);
}

/* ==========================================================
   VIDEOS SECTION
   ========================================================== */
#videos {
  background: linear-gradient(180deg, var(--pink-bg) 0%, var(--bg) 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.player {
  background: #17142B;
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 3px solid #2B284B;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.player video,
.player iframe {
  width: 100%;
  border-radius: 20px;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  outline: none;
  border: 0;
}

.player .cap {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 8px 4px;
  color: #fff;
}

.player .cap img {
  width: 42px;
  height: 42px;
  flex: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.player .cap b {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.player .cap span {
  display: block;
  color: #B9B6D9;
  font-size: 0.82rem;
  font-weight: 700;
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FF0000;
  color: #fff;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 0 #B80000;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
}

.yt-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.yt-btn:active {
  box-shadow: 0 2px 0 #B80000;
  transform: translateY(1px);
}

/* YouTube Action Bar & Floating Badge */
.player-screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.yt-floating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 24, 49, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.yt-floating-badge:hover {
  transform: scale(1.05);
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.yt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 8px 6px;
}

/* YouTube Fullscreen Theater Modal */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 12, 30, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 4%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.yt-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.yt-modal-container {
  background: #17142B;
  border: 3px solid #3F3C68;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  width: min(1080px, 100%);
  max-height: 94vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: scale(0.93) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.yt-modal.open .yt-modal-container {
  transform: scale(1) translateY(0);
}

.yt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #2B284B;
  color: #fff;
}

.yt-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-modal-close {
  background: #2B284B;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.yt-modal-close .close-icon {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease;
}

.yt-modal-close .close-text {
  letter-spacing: 0.02em;
}

.yt-modal-close:hover {
  background: #FF5A4E;
  border-color: #FF5A4E;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 90, 78, 0.45);
}

.yt-modal-close:hover .close-icon {
  transform: rotate(90deg);
}

.yt-modal-close:active {
  transform: scale(0.97);
}

.yt-modal-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.yt-modal-close-footer {
  color: #FFB5B5 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.05);
}

.yt-modal-close-footer:hover {
  background: #FF5A4E !important;
  border-color: #FF5A4E !important;
  color: #fff !important;
}

.yt-modal-body {
  padding: 16px 20px;
}

.yt-modal-body video,
.yt-modal-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000;
  display: block;
  border: 0;
}

.yt-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 24px 20px;
  border-top: 1px solid #2B284B;
}

.ep-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 535px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 10px 8px 4px;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #FFB703 rgba(43, 42, 74, 0.08);
}

.ep-list::-webkit-scrollbar {
  width: 7px;
}

.ep-list::-webkit-scrollbar-track {
  background: rgba(43, 42, 74, 0.06);
  border-radius: 999px;
}

.ep-list::-webkit-scrollbar-thumb {
  background: #FFB703;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ep-list::-webkit-scrollbar-thumb:hover {
  background: #FF9F1C;
}

.ep {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

a.ep:hover,
.ep:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #FFE4A0;
}

.ep.is-active,
.ep:has(.now) {
  border-color: #FFB703;
  background: #FFFDF5;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.22);
}

.ep img {
  width: 112px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  flex: none;
}

.ep b {
  font-family: "Baloo 2", sans-serif;
  font-size: 0.98rem;
  line-height: 1.3;
  display: block;
}

.ep span.sub {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.soon {
  margin-left: auto;
  flex: none;
  background: var(--lav-bg);
  color: #6D4FD0;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.now {
  margin-left: auto;
  flex: none;
  background: #FFE3E3;
  color: #C24343;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ==========================================================
   STORY TEASER (Home page)
   ========================================================== */
.teaser {
  background: var(--sun-bg);
  border-radius: var(--radius-lg);
  padding: 36px 42px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow);
  border: 3px solid #FFE4A0;
}

.teaser-house {
  width: 120px;
  flex: none;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgba(43, 42, 74, 0.18));
}

.teaser-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.teaser-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1.02rem;
}

.teaser .btn {
  flex: none;
}

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
#about {
  background: linear-gradient(180deg, var(--sun-bg) 0%, var(--bg) 100%);
  padding-top: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about-art {
  position: relative;
  text-align: center;
}

.about-art .house {
  width: min(340px, 80%);
  margin: 0 auto;
  animation: bob 4.2s ease-in-out infinite;
  filter: drop-shadow(0 16px 22px rgba(43, 42, 74, 0.16));
}

.about-art .mini-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.about-art .mini-row img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 4px 6px rgba(43, 42, 74, 0.1));
}

.about-art .mini-row img:hover {
  transform: translateY(-6px) rotate(-3deg) scale(1.1);
}

.about-copy .kicker {
  background: var(--sun-bg);
  color: #B87700;
  border: 1px solid #FFE4A0;
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin: 0 0 16px;
  line-height: 1.15;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.about-copy .sign {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 8px;
}

.about-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.about-perks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #F1EAD9;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.about-perks span:hover {
  transform: translateY(-2px);
  border-color: #E6DCBF;
}

.about-perks img {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ==========================================================
   TOCOTACA ECOSYSTEM SECTION
   ========================================================== */
.ecosystem {
  background: linear-gradient(180deg, var(--bg) 0%, #FFFDF5 100%);
  padding: 80px 0;
  position: relative;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.eco-card {
  background: #fff;
  border-radius: 32px;
  padding: 16px 16px 24px;
  box-shadow: 0 10px 28px rgba(43, 42, 74, 0.07);
  border: 2.5px solid #F0EBE0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}

.eco-card--pink {
  border-color: #FFD5E2;
}

.eco-card--teal {
  border-color: #C8F4EE;
}

.eco-card--sky {
  border-color: #D3E6FD;
}

.eco-card--pink:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(255, 77, 109, 0.18);
  border-color: #FF4D6D;
}

.eco-card--teal:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(14, 159, 144, 0.18);
  border-color: #0E9F90;
}

.eco-card--sky:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(28, 116, 204, 0.18);
  border-color: #1C74CC;
}

.eco-stage {
  width: 100%;
  height: 170px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.eco-card--pink .eco-stage {
  background: linear-gradient(180deg, #FFE8F0 0%, #FFF4F7 100%);
}

.eco-card--teal .eco-stage {
  background: linear-gradient(180deg, #DDF8F3 0%, #F0FCFA 100%);
}

.eco-card--sky .eco-stage {
  background: linear-gradient(180deg, #E2F0FF 0%, #F3F8FF 100%);
}

.eco-stage img {
  height: 135px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(43, 42, 74, 0.14));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom center;
}

.eco-card:hover .eco-stage img {
  transform: scale(1.1) translateY(-4px);
}

.eco-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.eco-card--pink .eco-badge {
  color: #E0355B;
}

.eco-card--teal .eco-badge {
  color: #0C8578;
}

.eco-card--sky .eco-badge {
  color: #155FA8;
}

.eco-body {
  padding: 16px 8px 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eco-title {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.25;
}

.eco-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 14px;
  flex-grow: 1;
}

.eco-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.eco-pills span {
  font-family: "Baloo 2", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  line-height: 1.3;
}

.eco-card--pink .eco-pills span {
  background: #FFF0F5;
  color: #C7254A;
  border: 1px solid #FFD3DF;
}

.eco-card--teal .eco-pills span {
  background: #E8FAF8;
  color: #0A7367;
  border: 1px solid #BFEFE8;
}

.eco-card--sky .eco-pills span {
  background: #EEF6FF;
  color: #125596;
  border: 1px solid #CCE3FC;
}

.eco-action {
  margin-top: auto;
}

.eco-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 20px;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
  box-sizing: border-box;
}

.eco-card--pink .eco-btn {
  background: #FF4D6D;
  color: #fff;
  box-shadow: 0 6px 0 #D63353;
}

.eco-card--pink .eco-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #D63353;
}

.eco-card--pink .eco-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #D63353;
}

.eco-card--teal .eco-btn {
  background: #0E9F90;
  color: #fff;
  box-shadow: 0 6px 0 #0A7D71;
}

.eco-card--teal .eco-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #0A7D71;
}

.eco-card--teal .eco-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0A7D71;
}

.eco-card--sky .eco-btn {
  background: #1C74CC;
  color: #fff;
  box-shadow: 0 6px 0 #135BA3;
}

.eco-card--sky .eco-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #135BA3;
}

.eco-card--sky .eco-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #135BA3;
}

/* ==========================================================
   HOMEPAGE ECOSYSTEM & GOOGLE PLAY APPS SECTION
   ========================================================== */
.eco-home {
  background: linear-gradient(180deg, #FFFDF8 0%, #FFF8EA 40%, #FFFDF8 100%);
  padding: 76px 0 68px;
  position: relative;
  border-bottom: 2.5px dashed #F1E6D0;
}

/* Featured Google Play Developer Hero Banner */
.eco-hero-card {
  background: linear-gradient(135deg, #161A30 0%, #2B2A4A 100%);
  color: #fff;
  border-radius: 32px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
  box-shadow: 0 16px 36px rgba(43, 42, 74, 0.16);
  position: relative;
  overflow: hidden;
  border: 3px solid #FFE4A0;
}

.eco-hero-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.eco-hero-art {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-hero-art img {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: #fff;
  padding: 8px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eco-hero-card:hover .eco-hero-art img {
  transform: scale(1.08) rotate(-3deg);
}

.eco-hero-content {
  flex-grow: 1;
}

.eco-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFD34D;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.eco-hero-content h3 {
  font-family: "Baloo 2", sans-serif;
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin: 0 0 8px;
  line-height: 1.25;
}

.eco-hero-content p {
  color: #D9D7F2;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 620px;
}

.eco-hero-content .eco-pills {
  margin-bottom: 0;
}

.eco-hero-content .eco-pills span {
  background: rgba(255, 255, 255, 0.1);
  color: #FFE4A0;
  border: 1px solid rgba(255, 228, 160, 0.3);
}

.eco-hero-action {
  flex-shrink: 0;
}

.btn-chplay {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 16px;
  border: 2px solid #555;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-chplay:hover {
  background: #111;
  border-color: #00875A;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 135, 90, 0.4);
  color: #fff;
}

.btn-chplay div {
  text-align: left;
  line-height: 1.15;
}

.btn-chplay small {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #BBB;
  display: block;
  font-weight: 700;
}

.btn-chplay strong {
  font-size: 1.05rem;
  font-family: "Baloo 2", sans-serif;
}

/* 4-Item Responsive Grid */
.eco-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.eco-card-app {
  background: #fff;
  border-radius: 28px;
  padding: 16px 16px 22px;
  box-shadow: 0 8px 24px rgba(43, 42, 74, 0.06);
  border: 2.5px solid #F1EAD9;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}

.eco-card-app:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(43, 42, 74, 0.12);
}

.eco-card-app.theme-purple {
  border-color: #E2DAFC;
}
.eco-card-app.theme-purple:hover {
  border-color: #8C65FF;
}

.eco-card-app.theme-yellow {
  border-color: #FFE6A8;
}
.eco-card-app.theme-yellow:hover {
  border-color: #FFB703;
}

.eco-card-app.theme-pink {
  border-color: #FFD5E2;
}
.eco-card-app.theme-pink:hover {
  border-color: #FF4D6D;
}

.eco-card-app.theme-teal {
  border-color: #C8F4EE;
}
.eco-card-app.theme-teal:hover {
  border-color: #0E9F90;
}

.eco-app-stage {
  width: 100%;
  height: 145px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.theme-purple .eco-app-stage {
  background: linear-gradient(180deg, #F0EBFF 0%, #F8F5FF 100%);
}
.theme-yellow .eco-app-stage {
  background: linear-gradient(180deg, #FFF6DD 0%, #FFFCF2 100%);
}
.theme-pink .eco-app-stage {
  background: linear-gradient(180deg, #FFE8F0 0%, #FFF4F7 100%);
}
.theme-teal .eco-app-stage {
  background: linear-gradient(180deg, #DDF8F3 0%, #F0FCFA 100%);
}

.eco-app-stage img {
  width: 95px;
  height: 95px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(43, 42, 74, 0.16);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #fff;
}

.eco-card-app:hover .eco-app-stage img {
  transform: scale(1.1) rotate(-3deg);
}

.theme-purple .eco-badge {
  color: #6C47FF;
}
.theme-yellow .eco-badge {
  color: #B87700;
}

.eco-card-app .eco-title {
  font-size: 1.25rem;
  margin: 12px 0 6px;
}

.eco-card-app .eco-desc {
  font-size: 0.88rem;
  margin: 0 0 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.theme-purple .eco-pills span {
  background: #F1EBFF;
  color: #5E35B1;
  border: 1px solid #D8C7FF;
}

.theme-yellow .eco-pills span {
  background: #FFF8E7;
  color: #A36B00;
  border: 1px solid #FFE6A8;
}

.theme-purple .eco-btn {
  background: #7C4DFF;
  color: #fff;
  box-shadow: 0 6px 0 #5E35B1;
}
.theme-purple .eco-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #5E35B1;
}
.theme-purple .eco-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #5E35B1;
}

.theme-yellow .eco-btn {
  background: #FFB703;
  color: #2B2A4A;
  box-shadow: 0 6px 0 #D49600;
}
.theme-yellow .eco-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #D49600;
}
.theme-yellow .eco-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #D49600;
}

@media (max-width: 1020px) {
  .eco-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-hero-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }
  .eco-hero-content p {
    margin: 0 auto 14px;
  }
  .eco-hero-content .eco-pills {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .eco-home-grid {
    grid-template-columns: 1fr;
  }
  .eco-hero-card {
    padding: 24px 18px;
  }
  .btn-chplay {
    width: 100%;
    justify-content: center;
  }
}

/* Meet the five on About page */
.meet {
  background: var(--pink-bg);
}

.meet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.meet-card {
  background: #fff;
  border-radius: 24px;
  padding: 16px 10px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  display: block;
  border: 2px solid transparent;
}

.meet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #FFDEE8;
}

.meet-card .mstage {
  border-radius: 16px;
  height: 132px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  margin-bottom: 8px;
}

.meet-card .mstage img {
  height: 124px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.meet-card:hover .mstage img {
  transform: scale(1.08);
}

.meet-card b {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.08rem;
  display: block;
}

.meet-card span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.slogan-row {
  text-align: center;
  padding: 54px 0 64px;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
#contact {
  background: linear-gradient(180deg, var(--sun-bg) 0%, var(--bg) 100%);
  padding-top: 60px;
}

.socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  border: 2px solid #F1EAD9;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #FFE4A0;
}

.socials svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Contact Form Card */
.form-card {
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  padding: 38px;
  max-width: 600px;
  margin: 0 auto;
  border: 3px solid #FFE9B8;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 7px;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  padding: 14px 18px;
  border: 3px solid #F1EAD9;
  border-radius: 16px;
  background: #FFFDF6;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.2);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-card .send-row {
  text-align: center;
  margin-top: 8px;
}

.thanks {
  text-align: center;
  padding: 10px 4px;
}

.thanks img {
  width: 128px;
  margin: 0 auto 14px;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 16px rgba(43, 42, 74, 0.18));
}

.thanks h3 {
  font-size: 1.65rem;
  margin: 0 0 8px;
}

.thanks p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 auto 22px;
  max-width: 420px;
}

[hidden] {
  display: none !important;
}

/* FAQ on Contact Page */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.faq-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  border: 2px solid #F1EAD9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #FFE4A0;
}

.faq-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.faq-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================
   REUSABLE FOOTER
   ========================================================== */
#site-footer,
footer {
  background: #2B2A4A;
  color: #D9D7F2;
  margin-top: 20px;
}

.foot {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 48px 0 12px;
  flex-wrap: wrap;
}

.foot .fbrand {
  max-width: 320px;
  margin-right: auto;
}

.foot .fbrand img.wordmark {
  height: 52px;
  width: auto;
  background: #fff;
  border-radius: 14px;
  padding: 6px 12px;
}

.foot p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #A9A6CC;
  margin: 12px 0 0;
}

.foot h4 {
  font-family: "Baloo 2", sans-serif;
  color: #fff;
  margin: 4px 0 14px;
  font-size: 1.05rem;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.foot ul a {
  color: #A9A6CC;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.foot ul a:hover {
  color: #FFD34D;
  transform: translateX(2px);
}

.foot-bar {
  border-top: 1px solid #43416E;
  margin-top: 32px;
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #A9A6CC;
  font-weight: 700;
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  .floaty,
  .cloud,
  .hero-art .house-logo,
  .about-art .house,
  .teaser-house,
  .ltw,
  .lt,
  .rot-word,
  .thanks img {
    animation: none !important;
  }

  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================== */
@media (max-width: 1020px) {
  .chars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .player {
    position: static;
  }

  .ep-list {
    max-height: 480px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .about-copy .about-perks {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

@media (max-width: 820px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 5%;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid #FFE9B8;
    margin-left: 0;
    gap: 6px;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px 16px;
  }

  header .nav {
    position: relative;
  }

  .burger {
    display: grid;
    place-items: center;
    margin-left: 10px;
  }

  .nav .btn-cta {
    display: none;
  }

  .lang-toggle {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  section {
    padding: 56px 0;
  }

  .eco-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-perks {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-art .house-logo {
    left: -6px;
    bottom: -20px;
  }

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

  .char-card .stage {
    height: 150px;
  }

  .char-card .stage img {
    height: 140px;
  }

  .teaser {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }

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

  .meet-grid .meet-card:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
  }

  .logo img.wordmark {
    height: 38px;
  }

  .form-card {
    padding: 24px 18px;
  }
}

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

/* ==========================================================
   LEGAL & POLICY PAGES (Privacy Policy & Terms of Use)
   ========================================================== */
.legal-page {
  padding: 40px 0 90px;
}

.legal-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.legal-header h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  margin: 12px 0 14px;
  line-height: 1.2;
}

.legal-lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.legal-meta .badge {
  background: var(--sky-bg);
  color: var(--sky);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(77, 150, 255, 0.25);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-meta .badge.badge-play {
  background: #EAF8F2;
  color: #1B8354;
  border-color: #BBEBDC;
}

.legal-lang-switch {
  display: inline-flex;
  background: #F1EAD9;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-top: 20px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.legal-lang-btn {
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-lang-btn.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(43, 42, 74, 0.12);
}

.legal-lang-btn:hover:not(.active) {
  color: var(--ink);
}

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Quick Summary Box / Callout */
.legal-summary {
  background: #fff;
  border: 2px solid #E8EFF8;
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}

.legal-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.legal-summary>p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0 0 18px;
  line-height: 1.6;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.summary-item {
  background: var(--bg);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #F1EAD9;
}

.summary-item.allow {
  border-left: 4px solid var(--mint);
  background: #F4FAF7;
}

.summary-item.block {
  border-left: 4px solid var(--coral);
  background: #FFF7F7;
}

.summary-item.notice {
  border-left: 4px solid var(--sky);
  background: #F4F8FF;
}

.summary-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Table of Contents */
.legal-toc {
  background: var(--sun-bg);
  border: 2px solid #FFE4A0;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}

.legal-toc h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #8C5B00;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px 20px;
}

.legal-toc li a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.91rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.legal-toc li a:hover {
  color: var(--coral);
  text-decoration: underline;
  transform: translateX(2px);
}

/* Main Content Body */
.legal-content {
  background: #fff;
  border: 2px solid #F1EAD9;
  border-radius: var(--radius);
  padding: 44px 50px;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px dashed #E5DEC9;
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 100px;
}

.legal-section h2 .sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--sun-bg);
  color: #B87700;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
}

.legal-section h3 {
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: var(--ink);
}

.legal-section p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
  margin: 0 0 14px;
}

.legal-section ul,
.legal-section ol {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section strong {
  color: var(--ink);
}

/* Data Table */
.legal-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-sm);
  border: 1px solid #E8EFF8;
  background: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.legal-table th {
  background: #F7FAFC;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid #E2E8F0;
  white-space: nowrap;
}

.legal-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #EDF2F7;
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.55;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table code {
  background: #EDF2F7;
  color: #2D3748;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.legal-alert {
  background: var(--pink-bg);
  border: 1px solid #FFD6E0;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
}

.legal-alert.success {
  background: var(--mint-bg);
  border-color: #BBEBDC;
  border-left-color: var(--mint);
}

.legal-alert.info {
  background: var(--sky-bg);
  border-color: #CCE4FF;
  border-left-color: var(--sky);
}

.legal-alert.warning {
  background: var(--sun-bg);
  border-color: #FFE4A0;
  border-left-color: var(--yellow);
}

.legal-alert p {
  margin: 0;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.6;
}

.legal-contact-box {
  background: var(--lav-bg);
  border: 2px solid #DCD1FA;
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-top: 24px;
}

.legal-contact-box h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-contact-box p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.legal-contact-box a.contact-link {
  color: #5833EA;
  font-weight: 800;
  text-decoration: underline;
}

/* Bilingual switcher display rules */
[data-legal-lang="vi"] .content-en {
  display: none !important;
}

[data-legal-lang="en"] .content-vi {
  display: none !important;
}

@media (max-width: 720px) {
  .legal-content {
    padding: 28px 20px;
  }

  .legal-summary {
    padding: 22px 18px;
  }

  .legal-toc {
    padding: 18px 16px;
  }

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

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-section h2 {
    font-size: 1.25rem;
  }
}

@media print {

  #site-header,
  #site-footer,
  .legal-lang-switch,
  .legal-toc,
  .btn-cta,
  .lang-toggle,
  .foot-bar {
    display: none !important;
  }

  .legal-content {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .legal-summary {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}