/* ============================================================
   May Trick — Personal Brand Website
   Dark mode · soft gradients · cinematic · mobile-first
   ============================================================ */

/* ============================================================
   DESIGN SYSTEM — MayTrickChannel.com
   Tech + Adventure + Playful + Creator
   Cinematic · global · fun · modern · soft · energetic · premium
   ============================================================ */
:root {
  /* --- Core palette --- */
  --midnight:   #050B14;   /* Primary Dark — Midnight Tech */
  --navy:       #0B1220;   /* Surface Dark — Deep Navy */
  --card:       #111827;   /* Card Dark — Soft Charcoal Navy */
  --teal:       #40DCC2;   /* Primary Teal — Adventure Teal */
  --aqua:       #5EFCE8;   /* Bright Aqua — Glow Aqua */
  --pink:       #FF6FAE;   /* Playful Pink — Mochi Pink */
  --purple:     #8B5CF6;   /* Soft Purple — Creator Purple */
  --white:      #F8FAFC;
  --muted:      #94A3B8;   /* Muted text */

  /* --- Aliases used throughout components --- */
  --midnight-2: var(--navy);
  --purple-deep: #143b4a;
  --bg: var(--midnight);

  /* --- Glass surfaces & borders --- */
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --glass:     rgba(17, 24, 39, 0.55);          /* card glassmorphism */
  --border:        rgba(148, 163, 184, 0.14);
  --border-teal:   rgba(64, 220, 194, 0.32);
  --border-purple: rgba(139, 92, 246, 0.30);

  /* --- Gradients --- */
  --grad-teal:   linear-gradient(135deg, #40DCC2, #5EFCE8);  /* Teal → Aqua */
  --grad-pink:   linear-gradient(135deg, #FF6FAE, #8B5CF6);  /* Pink → Purple */
  --grad-glow:   linear-gradient(135deg, #40DCC2, #8B5CF6, #FF6FAE); /* Tech Adventure Glow */
  --grad-brand:  var(--grad-teal);              /* default brand gradient */

  /* --- Soft glow ambience (teal + pink + purple) --- */
  --grad-soft:
    radial-gradient(1100px 560px at 82% -8%, rgba(64, 220, 194, 0.16), transparent 60%),
    radial-gradient(820px 460px at -8% 18%, rgba(139, 92, 246, 0.14), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(255, 111, 174, 0.10), transparent 60%);

  /* --- Shadows / glows --- */
  --glow-teal:  0 12px 40px rgba(64, 220, 194, 0.28);
  --glow-pink:  0 12px 40px rgba(255, 111, 174, 0.28);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 24px;            /* card corners per design system */
  --radius-sm: 14px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Soft glow-pulse used for accents */
@keyframes glowpulse {
  0%, 100% { box-shadow: 0 0 0 rgba(64, 220, 194, 0.0), var(--shadow-card); }
  50%      { box-shadow: 0 0 28px rgba(64, 220, 194, 0.28), var(--shadow-card); }
}
/* Gentle float */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

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

html { scroll-behavior: smooth; }

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

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }

/* Soft gradient ambience on alternating sections */
.numbers, .animemochi, .videos, .social {
  background:
    var(--grad-soft),
    linear-gradient(180deg, var(--midnight), var(--midnight-2));
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--aqua);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad-teal);
  color: #04221d;
  box-shadow: var(--glow-teal);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(94, 252, 232, 0.4); }
/* Secondary — transparent dark glass with teal border */
.btn--ghost {
  background: rgba(11, 18, 32, 0.5);
  border-color: var(--border-teal);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(64, 220, 194, 0.12);
  box-shadow: var(--glow-teal);
}
.btn--full { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.nav__logo span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.95rem; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover,
.nav__links a:active,
.nav__links a:focus { color: var(--teal); }
.nav__cta {
  padding: 9px 20px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--white) !important;
}
.nav__cta:hover { background: var(--grad-brand); color: #04221d !important; }

/* full-screen backdrop behind the mobile menu (outside .nav so it isn't
   trapped by the nav's backdrop-filter containing block) */
.nav__scrim {
  position: fixed;
  inset: 0;
  z-index: 90;                 /* above page, below the nav (z-index 100) */
  background: rgba(5, 11, 20, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav__scrim.is-shown { opacity: 1; pointer-events: auto; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;          /* anchor content to the bottom-left */
  justify-content: center;
  text-align: left;
  padding: 120px 24px 72px;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  /* Fallback gradient shows while/if no video is present */
  background: linear-gradient(135deg, var(--midnight), var(--purple-deep) 60%, #123a4d);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 80% at 50% 40%, rgba(5, 11, 20, 0.45), rgba(5, 11, 20, 0.88)),
    linear-gradient(180deg, rgba(5, 11, 20, 0.6), rgba(5, 11, 20, 0.95));
}
.hero__content { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--aqua);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 16ch;                 /* tight measure → strong ragged-right */
  overflow-wrap: anywhere;
  background: linear-gradient(120deg, #fff 30%, var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 40px;
}
.hero__cta { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 28px; right: max(24px, calc((100vw - var(--maxw)) / 2));
  width: 26px; height: 42px;
  border: 2px solid var(--border);
  border-radius: 100px;
  display: flex; justify-content: center;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--aqua);
  border-radius: 4px;
  margin-top: 8px;
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   NUMBERS
   ============================================================ */
/* tighter vertical rhythm for this section */
.numbers { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }

/* editorial numbered head (scoped to this section) */
.numbers__head { max-width: 900px; margin: 0 0 clamp(28px, 4vw, 44px); text-align: left; }
.numbers__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 18px;
}
.numbers__num { color: var(--teal); letter-spacing: 0; }
.numbers__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* Bento — varied tile sizes */
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 20px;
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
/* subtle platform icon, top-right */
.stat__icon {
  position: absolute;
  top: 20px; right: 20px;
  width: 22px; height: 22px;
  opacity: 0.14;
  transition: opacity 0.3s;
}
.stat__icon svg { width: 100%; height: 100%; fill: var(--white); display: block; }
.stat--feature .stat__icon { width: 26px; height: 26px; }
.stat:hover .stat__icon { opacity: 0.28; }
.stat:hover { transform: translateY(-6px); border-color: var(--border-teal); background: var(--surface-2); }
/* gentle staggered fade-in so the tiles cascade in as the numbers count up */
.numbers__grid .stat.reveal { transition-duration: 0.8s; }
.numbers__grid .stat:nth-child(2) { transition-delay: 0.08s; }
.numbers__grid .stat:nth-child(3) { transition-delay: 0.16s; }
.numbers__grid .stat:nth-child(4) { transition-delay: 0.24s; }
.numbers__grid .stat:nth-child(5) { transition-delay: 0.32s; }
.numbers__grid .stat:hover { transition-delay: 0s; } /* keep hover snappy */
/* feature tile — big square, number anchored bottom, pink-tinted corner */
.stat--feature {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  background:
    radial-gradient(120% 110% at 0% 0%, rgba(255, 111, 174, 0.12), transparent 55%),
    var(--surface);
  border-color: var(--border-teal);
}
.stat--wide { grid-column: span 2; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat--feature .stat__num { font-size: clamp(3.4rem, 8vw, 6rem); }
@media (max-width: 760px) {
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat--feature { grid-column: span 2; grid-row: span 1; min-height: 200px; }
  .stat--wide { grid-column: span 2; }
}
@media (max-width: 460px) {
  .numbers__grid { grid-template-columns: 1fr; }
  .stat--feature, .stat--wide { grid-column: span 1; }
}
.stat__label { color: var(--muted); font-size: 0.95rem; margin-top: 0; display: block; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
/* Cinematic image — rounded crop, soft teal glow, pink badge */
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border-teal);
  background:
    var(--grad-soft),
    linear-gradient(135deg, var(--purple-deep), #14463c);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(64, 220, 194, 0.18);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Optional pink accent sticker/badge */
.about__badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--grad-pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 9px 16px;
  border-radius: 100px;
  box-shadow: var(--glow-pink);
  animation: floaty 4s ease-in-out infinite;
}
.about__text .eyebrow { color: var(--teal); }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__signoff { color: var(--white); margin-bottom: 16px !important; }
.about__sign {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 22px !important;
}
.about__sign-img { height: 54px; width: auto; }
.about__role { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.02em; margin-bottom: 24px !important; }
.about__text strong { color: var(--white); }
.text-link { color: var(--teal); text-decoration: none; transition: color 0.2s; }
.text-link strong { color: inherit; }
.text-link:hover { color: var(--aqua); }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about__tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--white);
}
.about__tags .chip-icon { width: 18px; height: 18px; object-fit: contain; }
/* larger single-character icons (Travel, Full Stack) */
.about__tags .chip-icon--lg { width: 26px; height: 26px; }
/* multi-character icons — sized by width so each face stays legible */
.about__tags .chip-icon--community { width: 52px; height: auto; }
.about__tags .chip-icon--creativity { width: 34px; height: auto; }
.about__tags .chip-icon--army { width: 30px; height: auto; }

/* ============================================================
   CARDS (AnimeMochi + Community)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
/* Dark glassmorphism cards */
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-purple);
  box-shadow: 0 24px 60px rgba(64, 220, 194, 0.18), var(--shadow-card);
}
.card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--teal);
  transition: transform 0.35s var(--ease), filter 0.35s;
  display: inline-block;
}
.card:hover .card__icon { color: var(--pink); transform: scale(1.08); filter: drop-shadow(0 4px 12px rgba(255, 111, 174, 0.4)); }
/* full-logo banner inside community cards */
.card--link { text-decoration: none; color: inherit; cursor: pointer; }
.card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  margin-bottom: 18px;
  font-size: 2rem; /* emoji fallback */
}
.card__logo img { max-width: 100%; max-height: 88px; object-fit: contain; }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.animemochi__cta { text-align: center; margin-top: 48px; }

/* ============================================================
   ANIMEMOCHI — cute kawaii "mochi" treatment (scoped to .animemochi)
   ============================================================ */
/* full-width kawaii galaxy background image for the Featured Project section */
.animemochi {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  background-color: #262338;                       /* matches the image's dark edges */
  background-image:
    linear-gradient(rgba(5, 11, 20, 0.28), rgba(5, 11, 20, 0.38)),
    url('assets/animemochi-bg.jpg');
  background-size: cover, cover;                    /* fill — no letterbox bands */
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* panel is just a content container over the image */
.animemochi__panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 60px);
}
.animemochi__content { position: relative; z-index: 3; }

/* image supplies the stars now */
/* animated twinkling starfield over the bg image */
.animemochi__stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  /* a tiled layer of stars that slowly drifts across */
  background-image:
    radial-gradient(1.5px 1.5px at 18px 24px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.3px 1.3px at 92px 64px, rgba(205, 238, 255, 0.9), transparent),
    radial-gradient(1.4px 1.4px at 140px 18px, rgba(255, 233, 246, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 50px 110px, rgba(255, 255, 255, 0.85), transparent);
  background-size: 180px 150px;
  background-repeat: repeat;
  animation: starDrift 45s linear infinite;
}
@keyframes starDrift { from { background-position: 0 0; } to { background-position: 180px 150px; } }
.animemochi__stars::before,
.animemochi__stars::after {
  content: "";
  position: absolute;
  inset: 0;
}
.animemochi__stars::before {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 28% 62%, #cdeeff, transparent),
    radial-gradient(1.8px 1.8px at 47% 30%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 66% 72%, #ffe9f6, transparent),
    radial-gradient(1.7px 1.7px at 82% 24%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 60%, #cdeeff, transparent),
    radial-gradient(1.5px 1.5px at 38% 88%, #fff, transparent),
    /* extra stars across the empty upper/left sky */
    radial-gradient(1.5px 1.5px at 6% 10%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 18% 34%, #cdeeff, transparent),
    radial-gradient(1.6px 1.6px at 9% 52%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 24% 22%, #ffe9f6, transparent),
    radial-gradient(1.5px 1.5px at 33% 46%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 42% 14%, #cdeeff, transparent),
    radial-gradient(1.6px 1.6px at 4% 30%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 52% 38%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 15% 68%, #cdeeff, transparent);
  animation: starTwinkle 2.6s ease-in-out infinite;
}
.animemochi__stars::after {
  background-image:
    radial-gradient(1.5px 1.5px at 20% 40%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 55% 14%, #ffe9f6, transparent),
    radial-gradient(1.6px 1.6px at 73% 48%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 8% 78%, #cdeeff, transparent),
    radial-gradient(1.7px 1.7px at 60% 84%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 88% 80%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 33% 10%, #cdeeff, transparent),
    /* extra stars across the empty upper/left sky */
    radial-gradient(1.4px 1.4px at 11% 24%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 27% 8%, #ffe9f6, transparent),
    radial-gradient(1.3px 1.3px at 38% 28%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 6% 64%, #cdeeff, transparent),
    radial-gradient(1.4px 1.4px at 46% 52%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 21% 50%, #cdeeff, transparent),
    radial-gradient(1.5px 1.5px at 50% 20%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 14% 44%, #ffe9f6, transparent);
  animation: starTwinkle 3.8s ease-in-out infinite 0.9s;
}
@keyframes starTwinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* soft, desaturated mint title to match the kawaii galaxy look */
.section__title--candy {
  background: linear-gradient(100deg, #cdeee3, #9fe0d6 50%, #bfe6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Tiny floating mochi characters --- */
.mini-mochi {
  position: absolute; z-index: 2;
  width: clamp(26px, 3vw, 40px);
  aspect-ratio: 1.15 / 1;
  background: linear-gradient(180deg, #ffffff, #ffeef6);
  border-radius: 50% 50% 48% 48% / 58% 58% 42% 42%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3), inset 0 3px 0 rgba(255, 255, 255, 0.85);
}
.mini-mochi i { position: absolute; top: 46%; width: 11%; height: 17%; min-width: 3px; min-height: 4px; background: #3a2b4d; border-radius: 50%; }
.mini-mochi i:nth-child(1) { left: 28%; }
.mini-mochi i:nth-child(2) { right: 28%; }
.mini-mochi::before, .mini-mochi::after {
  content: ''; position: absolute; top: 60%;
  width: 18%; height: 11%; min-width: 5px; min-height: 3px;
  background: rgba(255, 150, 190, 0.7); border-radius: 50%;
}
.mini-mochi::before { left: 14%; }
.mini-mochi::after  { right: 14%; }
.mini-mochi--1 { top: 8%;  left: 4%;  animation: floaty 6s ease-in-out infinite; }
.mini-mochi--2 { top: 18%; right: 5%; animation: floaty 7s ease-in-out infinite 0.6s; }
.mini-mochi--3 { bottom: 10%; left: 7%; animation: floaty 6.5s ease-in-out infinite 0.3s; }
.mini-mochi--4 { bottom: 14%; right: 8%; animation: floaty 7.5s ease-in-out infinite 1s; }

/* --- Mochi mascot (CSS-drawn squishy blob with a kawaii face) --- */
.mochi-mascot {
  width: 86px; height: 72px;
  margin: 0 auto 18px;
  position: relative;
  background: linear-gradient(180deg, #ffffff, #ffe7f1);
  border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35), inset 0 5px 0 rgba(255, 255, 255, 0.85);
  animation: squish 3s ease-in-out infinite;
}
.m-eye {
  position: absolute; top: 34px;
  width: 9px; height: 12px;
  background: #3a2b4d; border-radius: 50%;
}
.m-eye--l { left: 26px; }

/* --- Mochi mascot (CSS-drawn squishy blob with a kawaii face) --- */
.mochi-mascot {
  width: 86px; height: 72px;
  margin: 0 auto 18px;
  position: relative;
  background: linear-gradient(180deg, #ffffff, #ffe7f1);
  border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35), inset 0 5px 0 rgba(255, 255, 255, 0.85);
  animation: squish 3s ease-in-out infinite;
}
.m-eye {
  position: absolute; top: 34px;
  width: 9px; height: 12px;
  background: #3a2b4d; border-radius: 50%;
}
.m-eye--l { left: 26px; }
.m-eye--r { right: 26px; }
.m-cheek {
  position: absolute; top: 45px;
  width: 12px; height: 8px;
  background: rgba(255, 145, 190, 0.7); border-radius: 50%;
  filter: blur(0.4px);
}
.m-cheek--l { left: 16px; }
.m-cheek--r { right: 16px; }
.m-mouth {
  position: absolute; top: 46px; left: 50%;
  width: 12px; height: 6px;
  transform: translateX(-50%);
  border: 2px solid #3a2b4d; border-top: 0;
  border-radius: 0 0 12px 12px;
}
@keyframes squish {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  45%      { transform: translateY(-7px) scale(1.05, 0.95); }
  60%      { transform: translateY(0) scale(0.97, 1.03); }
}

/* --- Pastel "mochi block" cards (override the dark glass cards here) --- */
.animemochi .cards { gap: 22px; }
.animemochi .card {
  border: 0;
  border-radius: 28px;
  background: linear-gradient(165deg, #ffffff 0%, var(--m-color, #ffd3e6) 100%);
  color: #2a2350;
  backdrop-filter: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), inset 0 4px 0 rgba(255, 255, 255, 0.85);
  overflow: visible;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}
/* scattered resting tilt (blends the varying card sizes) + springy hover */
.animemochi .card {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}
/* varied resting angles + cascade delay (per card) */
.animemochi .cards > .card:nth-child(1) { transform: rotate(-3deg);   transition-delay: 0.05s; }
.animemochi .cards > .card:nth-child(2) { transform: rotate(2.2deg);  transition-delay: 0.15s; }
.animemochi .cards > .card:nth-child(3) { transform: rotate(-1.6deg); transition-delay: 0.25s; }
.animemochi .cards > .card:nth-child(4) { transform: rotate(2.8deg);  transition-delay: 0.35s; }
.animemochi .cards > .card:nth-child(5) { transform: rotate(-2.4deg); transition-delay: 0.45s; }
.animemochi .cards > .card:nth-child(6) { transform: rotate(1.6deg);  transition-delay: 0.55s; }
/* lift + straighten + instant on hover (ties nth-child specificity; placed after → wins) */
.animemochi .cards > .card:hover {
  transform: translateY(-14px) scale(1.05) rotate(0deg);
  transition-delay: 0s;
  z-index: 3;
}
.animemochi .card--illustrated:hover img { filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.5)); }
.animemochi .card h3 { color: #241f44; }
.animemochi .card p  { color: rgba(40, 33, 70, 0.72); }
/* icon sits in a little white mochi badge */
.animemochi .card__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14), inset 0 2px 0 rgba(255, 255, 255, 0.9);
}
/* neutralize the global teal→pink icon hover for this section */
.animemochi .card:hover .card__icon { color: inherit; filter: none; transform: rotate(-6deg) scale(1.08); }

/* masonry flow — cards float and pack by their natural size (not a rigid grid) */
.animemochi .cards {
  display: block;
  column-count: 3;
  column-gap: clamp(16px, 2vw, 24px);
}
.animemochi .cards > .card {
  width: 100%;
  margin: 0 0 clamp(16px, 2vw, 24px);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
@media (max-width: 880px) { .animemochi .cards { column-count: 2; } }
@media (max-width: 560px) { .animemochi .cards { column-count: 1; } }

/* fully illustrated cards (image is the whole card) */
.animemochi .card--illustrated {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}
.animemochi .card--illustrated img { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.45)); }

/* pastel card with the illustration overflowing above the top edge + text below */
.animemochi .card--art {
  overflow: visible;
  text-align: left;
  padding-top: 16px;
}
.animemochi .card__art {
  display: block;
  margin: -42px -10px 14px;   /* negative top lets the cat/TV poke above the card */
}
.animemochi .card__art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
}
/* match the Puzzle baked card: text = darkened tone of the card colour + soft emboss */
.animemochi .card--art h3,
.animemochi .card--art p {
  letter-spacing: 0.01em;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
.animemochi .card--art h3 { color: #8c6b79; }                 /* darkened rose */
.animemochi .card--art p  { color: #a3818d; font-weight: 500; }

/* pastel palette per card */
.animemochi .card:nth-of-type(1) { --m-color: #ffd3e6; } /* pink   */
.animemochi .card:nth-of-type(2) { --m-color: #c9f7e8; } /* mint   */
.animemochi .card:nth-of-type(3) { --m-color: #e0d8ff; } /* lilac  */
.animemochi .card:nth-of-type(4) { --m-color: #ffe3c4; } /* peach  */
.animemochi .card:nth-of-type(5) { --m-color: #d2ecff; } /* sky    */
.animemochi .card:nth-of-type(6) { --m-color: #fff2bf; } /* lemon  */

/* --- Cute CTA button (pink candy pill with a bounce) --- */
.btn--mochi {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 32px; border-radius: 100px;
  color: #3a1f33;
  background: linear-gradient(120deg, #ff9ec7, #ffc2dd);
  border: 0; cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 111, 174, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.btn--mochi:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 38px rgba(255, 111, 174, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.7); }

/* --- Floating sweets --- */
.animemochi__sweets { display: none; } /* the background image already has mochi & sweets */
.animemochi__sweets .sweet { position: absolute; opacity: 0.85; font-size: clamp(1.1rem, 2vw, 1.7rem); }
.sweet--1 { top: 18%; left: 6%;  animation: floaty 5.5s ease-in-out infinite; }
.sweet--2 { top: 30%; left: 92%; animation: twinkle 3.4s ease-in-out infinite; }
.sweet--3 { top: 72%; left: 9%;  animation: floaty 7s ease-in-out infinite 0.5s; }
.sweet--4 { top: 14%; left: 78%; animation: twinkle 4s ease-in-out infinite 0.8s; }
.sweet--5 { top: 80%; left: 88%; animation: floaty 6s ease-in-out infinite; }
.sweet--6 { top: 60%; left: 50%; animation: twinkle 3.8s ease-in-out infinite 1.2s; }

/* ============================================================
   TRAVEL
   ============================================================ */
/* ---- Interactive world map ---- */
.worldmap { max-width: 1000px; margin: 0 auto; }
.worldmap__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;            /* equirectangular world = 360:180 */
  border-radius: var(--radius);
  border: 1px solid var(--border-teal);
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 50% -10%, rgba(64, 220, 194, 0.10), transparent 55%),
    radial-gradient(80% 90% at 90% 110%, rgba(139, 92, 246, 0.10), transparent 55%),
    linear-gradient(180deg, #0b1f33, #08172a 55%, #060f1d);
  box-shadow: var(--shadow-card), inset 0 0 90px rgba(7, 18, 33, 0.6),
              inset 0 0 60px rgba(64, 220, 194, 0.05);
}
.worldmap__continents,
.worldmap__grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
/* Real continents map (assets/world-map.svg) — glowing neon coastlines */
.worldmap__continents {
  object-fit: fill;            /* viewBox is 2:1, same as the box → no distortion */
  opacity: 0.96;
  filter: drop-shadow(0 0 4px rgba(94, 252, 232, 0.25));
  pointer-events: none;
}
/* Faint longitude/latitude grid as subtle ocean texture */
.worldmap__grid line { stroke: rgba(148, 163, 184, 0.05); stroke-width: 0.3; }
.worldmap__grid .equator { stroke: rgba(64, 220, 194, 0.12); stroke-width: 0.35; stroke-dasharray: 2 3; }

/* Cute hand-drawn travel route */
.worldmap__routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.worldmap__routes .route {
  fill: none;
  stroke: rgba(94, 252, 232, 0.55);
  stroke-width: 0.7;
  stroke-linecap: round;
  stroke-dasharray: 1.5 3;
  filter: drop-shadow(0 0 2px rgba(94, 252, 232, 0.6));
  animation: routedash 18s linear infinite;
}
@keyframes routedash { to { stroke-dashoffset: -90; } }

/* Cute decorations layer */
.worldmap__decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.decor { position: absolute; user-select: none; }
.decor--plane {
  top: 16%; left: -8%;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  animation: fly 16s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.decor--cloud { font-size: clamp(1.4rem, 3vw, 2.2rem); opacity: 0.65; }
.decor--cloud1 { top: 12%; left: 30%; animation: drift 22s ease-in-out infinite; }
.decor--cloud2 { top: 64%; left: 8%; animation: drift 28s ease-in-out infinite reverse; }
.decor--sparkle { font-size: clamp(0.8rem, 1.6vw, 1.1rem); }
.decor--s1 { top: 24%; left: 62%; animation: twinkle 3.2s ease-in-out infinite; }
.decor--s2 { top: 70%; left: 78%; animation: twinkle 4s ease-in-out infinite 0.6s; }
.decor--s3 { top: 40%; left: 18%; animation: twinkle 3.6s ease-in-out infinite 1.2s; }
.decor--sun { top: 8%; right: 6%; font-size: clamp(1.3rem, 2.6vw, 2rem); animation: floaty 6s ease-in-out infinite; }
.decor--compass { bottom: 7%; left: 4%; font-size: clamp(1.5rem, 3vw, 2.3rem); animation: spinwobble 9s ease-in-out infinite; }

/* Ocean friends */
.decor--bob { font-size: clamp(1.1rem, 2.2vw, 1.7rem); opacity: 0.9; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5)); }
.decor--boat1  { top: 22%; left: 8%;  animation: bobtilt 7s ease-in-out infinite; }
.decor--boat2  { top: 70%; left: 72%; animation: bobtilt 8.5s ease-in-out infinite 0.5s; }
.decor--turtle { top: 86%; left: 18%; animation: bobtilt 9s ease-in-out infinite; }

@keyframes bobtilt {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-5px) rotate(6deg); }
}

/* Swimming whales — patrol left↔right WITHIN an ocean lane and turn around
   (flipping to face their direction of travel) when they reach the coast.
   Lanes are tuned to open water using the map projection: x% = (lng+180)/360*100.
   Two synced animations: swimlane moves `left`; faceflip snaps `transform` at
   each turn (steps(1) so it flips instantly, never squishing through scaleX:0). */
.leaper {
  left: var(--x1, 40%);
  /* width is % of the map (its positioned containing block), so the footprint
     stays proportional to the map at any screen size — matching the lane math. */
  width: clamp(26px, 4.5%, 50px);
  /* swimlane (alternate, period = 2×dur) moves left↔right;
     faceswim (period = 2×dur, in phase) flips facing at each turn. */
  animation:
    swimlane var(--swim-dur, 22s) ease-in-out infinite alternate,
    faceswim calc(var(--swim-dur, 22s) * 2) linear infinite;
  animation-delay: var(--swim-delay, 0s);
}
.leaper__fish {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.55));
  animation: whalebob 4s ease-in-out infinite;
}
.leaper__splash { display: none; } /* no splash while swimming */

/* Animated water spout from the blowhole (~26% from the whale's left).
   Droplets shoot up, spread out, and fade — a continuous misty blow. */
.leaper__spout { position: absolute; left: 26%; top: 0; width: 0; height: 0; z-index: 1; pointer-events: none; }
.leaper__spout i {
  position: absolute;
  left: 0; bottom: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(195, 246, 255, 0.95);
  box-shadow: 0 0 4px rgba(94, 252, 232, 0.85);
  opacity: 0;
  animation: spout 2.4s ease-out infinite;
}
.leaper__spout i:nth-child(1) { --dx: 0px;  --dr: 0.95; animation-delay: 0s; }
.leaper__spout i:nth-child(2) { --dx: -4px; --dr: 0.7;  animation-delay: 0.25s; }
.leaper__spout i:nth-child(3) { --dx: 4px;  --dr: 0.7;  animation-delay: 0.45s; }
.leaper__spout i:nth-child(4) { --dx: -7px; --dr: 0.55; animation-delay: 0.65s; }
.leaper__spout i:nth-child(5) { --dx: 7px;  --dr: 0.55; animation-delay: 0.85s; }
@keyframes spout {
  0%   { transform: translate(0, 0) scale(0.3); opacity: 0; }
  12%  { opacity: 1; }
  55%  { opacity: 0.9; }
  100% { transform: translate(var(--dx, 0), -14px) scale(var(--dr, 0.7)); opacity: 0; }
}

/* The whale art faces left by default; scaleX(-1) faces it right. */
@keyframes swimlane { from { left: var(--x1); } to { left: var(--x2); } }
/* Centered on its (left,top) point; first half of the round trip swims right
   (face right), second half swims left (face left). */
@keyframes faceswim {
  0%, 50%        { transform: translate(-50%, -50%) scaleX(-1); } /* moving right */
  50.001%, 100%  { transform: translate(-50%, -50%) scaleX(1); }  /* moving left */
}
@keyframes whalebob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-5px) rotate(1deg); }
}

/* Ocean lanes — bounds verified clear of land for the whole whale footprint,
   so whales turn around at the coastlines. (top/x are the whale's CENTER.) */
.leaper--whale1   { top: 33%; --x1: 33.0%; --x2: 41.5%; --swim-dur: 17s; --swim-delay: 0s; } /* N. Atlantic */
.leaper--whale2   { top: 60%; --x1: 44.0%; --x2: 49.5%; --swim-dur: 14s; --swim-delay: 3s; } /* S. Atlantic */
.leaper--dolphin1 { top: 56%; --x1: 67.0%; --x2: 74.5%; --swim-dur: 16s; --swim-delay: 6s; } /* Indian Ocean */
.leaper--dolphin2 { top: 40%; --x1: 90.0%; --x2: 98.0%; --swim-dur: 16s; --swim-delay: 2s; } /* W. Pacific */
.leaper--fish1    { top: 66%; --x1: 3.0%;  --x2: 25.0%; --swim-dur: 24s; --swim-delay: 9s; } /* S. Pacific */

@keyframes fly {
  0%   { transform: translate(0, 0) rotate(8deg); }
  50%  { transform: translate(60vw, -10px) rotate(8deg); }
  100% { transform: translate(120vw, 6px) rotate(8deg); }
}
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes spinwobble { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }

.worldmap__pins { position: absolute; inset: 0; }

/* Cute flag map-markers */
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  background: none; border: 0; padding: 0;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.25s var(--ease);
}
.pin:hover, .pin:focus-visible { z-index: 6; outline: none; }
.pin:hover, .pin:focus-visible { transform: translate(-50%, -50%) scale(1.35); }
.pin__marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  font-size: 14px;
  line-height: 1;
  border-radius: 50% 50% 50% 50%;
  background: rgba(248, 250, 252, 0.96);
  border: 2px solid var(--teal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(64, 220, 194, 0.16);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  animation: pinbob 3s ease-in-out infinite;
  animation-delay: var(--bob-delay, 0s);
}
/* little pointer at the bottom of the marker */
.pin__marker::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--teal);
}
.pin:hover .pin__marker,
.pin:focus-visible .pin__marker {
  border-color: var(--pink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(255, 111, 174, 0.22);
  animation-play-state: paused;
}
.pin:hover .pin__marker::after,
.pin:focus-visible .pin__marker::after { border-top-color: var(--pink); }

.pin__label {
  position: absolute;
  bottom: 175%; left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.9);
  background: var(--card);
  border: 1.5px solid var(--border-teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.pin:hover .pin__label,
.pin:focus-visible .pin__label { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

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

.worldmap__hint { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 20px; }
.worldmap__hint #countryCount { font-family: var(--font-display); font-weight: 700; color: var(--teal); }

/* Country bubbles — inspired by Instagram highlights (noscript fallback) */
.travel__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
}
.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 132px;
  background: none;
  border: 0;
  cursor: default;
}
.country-card__bubble {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  background: var(--grad-teal);
  /* dark outline ring like IG highlights */
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 2px rgba(64, 220, 194, 0.35);
  color: #04221d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.country-card__name { display: block; }
.country-card__flag { font-size: 1.5rem; line-height: 1; }
/* Hover: float upward + glow */
.country-card:hover .country-card__bubble {
  transform: translateY(-10px);
  box-shadow: 0 0 0 2px rgba(94, 252, 232, 0.6), 0 18px 40px rgba(64, 220, 194, 0.4);
}

/* ============================================================
   VIDEOS
   ============================================================ */
.videos__filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
}
.chip:hover { color: var(--white); }
.chip--active { background: var(--grad-teal); color: #04221d; border-color: transparent; }

/* ---- Video carousel ---- */
.videos__carousel { position: relative; }
.videos__grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 16px;
  /* hide scrollbar (still scrollable / swipeable) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.videos__grid::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 clamp(280px, 78vw, 360px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.video-card:hover { transform: translateY(-5px); border-color: var(--border-purple); }

/* prev / next buttons */
.carousel__btn {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  z-index: 4;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; line-height: 1;
  color: #04221d;
  background: var(--grad-teal);
  border: 0; border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--glow-teal);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.25s;
}
.carousel__btn:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 14px 32px rgba(94, 252, 232, 0.45); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .video-card { flex-basis: 84vw; }
  .carousel__btn { width: 40px; height: 40px; font-size: 1.4rem; }
  .carousel__btn--prev { left: 0; }
  .carousel__btn--next { right: 0; }
}
.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--midnight-2), var(--purple-deep));
}
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: rgba(255,255,255,0.85);
}
.video-card__body { padding: 18px 20px; }
.video-card__cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--aqua); }
.video-card__title { font-family: var(--font-display); font-size: 1.05rem; margin-top: 6px; }

/* ============================================================
   SOCIAL HUB
   ============================================================ */
.social__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}
.social__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
/* base hover lift; color glow is set per platform below */
.social__card:hover { transform: translateY(-6px); background: var(--surface-2); }

/* teal glow — LinkedIn, YouTube (technology & travel) */
.social__card--teal:hover {
  border-color: rgba(64, 220, 194, 0.5);
  box-shadow: 0 16px 38px rgba(64, 220, 194, 0.18);
}
/* teal + pink glow — Instagram (travel meets creativity) */
.social__card--duo:hover {
  border-color: rgba(124, 227, 191, 0.5);
  box-shadow: -8px 14px 34px rgba(64, 220, 194, 0.16), 8px 16px 34px rgba(255, 111, 174, 0.16);
}
/* pink glow — Facebook (community / creativity) */
.social__card--pink:hover {
  border-color: rgba(255, 111, 174, 0.5);
  box-shadow: 0 16px 38px rgba(255, 111, 174, 0.2);
}
/* AnimeMochi always carries a subtle pink identity */
.social__card--mochi {
  border-color: rgba(255, 111, 174, 0.3);
  box-shadow: 0 0 30px rgba(255, 111, 174, 0.08);
}
/* stronger pink-purple glow — AnimeMochi */
.social__card--mochi:hover {
  border-color: rgba(255, 111, 174, 0.6);
  box-shadow: 0 20px 48px rgba(255, 111, 174, 0.28), 0 8px 30px rgba(139, 92, 246, 0.26);
}
.social__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b9d89, #3fb9a4);  /* softer, calmer teal */
  color: #04221d;
  font-weight: 800;
  font-size: 1.3rem;
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
  overflow: hidden;
}
.social__icon svg { width: 27px; height: 27px; fill: rgba(255, 255, 255, 0.92); }
/* AnimeMochi = creativity → pink/teal gradient circle */
.social__icon--logo { background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 45%, var(--teal) 100%); }
.social__icon--logo img { width: auto; height: 44px; }
/* icon ring glow on hover, colored per platform */
.social__card--teal:hover  .social__icon { box-shadow: 0 0 0 4px rgba(64, 220, 194, 0.2), 0 6px 18px rgba(64, 220, 194, 0.32); }
.social__card--duo:hover   .social__icon { box-shadow: 0 0 0 4px rgba(255, 111, 174, 0.18), 0 6px 18px rgba(64, 220, 194, 0.3); }
.social__card--pink:hover  .social__icon { box-shadow: 0 0 0 4px rgba(255, 111, 174, 0.2), 0 6px 18px rgba(255, 111, 174, 0.32); }
.social__card--mochi:hover .social__icon { box-shadow: 0 0 0 5px rgba(255, 111, 174, 0.22), 0 8px 22px rgba(139, 92, 246, 0.34); }
/* tagline under the title — smaller, lighter, more muted so it doesn't compete */
.social__tagline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.78;
  letter-spacing: 0.01em;
}

.social__name { font-family: var(--font-display); font-weight: 600; }
.social__label { color: var(--white); opacity: 0.82; font-size: 0.85rem; }
.social__count { color: var(--muted); font-size: 0.8rem; }
/* per-platform CTA */
.social__cta {
  margin-top: auto;      /* stick to the bottom so all CTAs align */
  padding-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal);
  transition: color 0.25s, transform 0.25s var(--ease);
}
.social__cta--pink { color: var(--pink); }
.social__card:hover .social__cta { transform: translateX(2px); }
/* CTA shifts pink on the pink-accented cards; teal cards stay teal */
.social__card--duo:hover .social__cta,
.social__card--pink:hover .social__cta,
.social__card--mochi:hover .social__cta { color: var(--pink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; margin-bottom: 8px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(64, 220, 194, 0.18);
}
.field textarea { resize: vertical; }
/* custom dropdown chevron (consistent across browsers / iOS), pinned right-centre */
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}
.field select option { background: var(--midnight-2); }
.contact__status { margin-top: 14px; font-size: 0.92rem; min-height: 1.2em; }
.contact__status.is-ok { color: var(--aqua); }
.contact__status.is-err { color: #ff7a90; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--midnight);                 /* opaque so nothing bleeds through */
  border-top: 1px solid var(--border);
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom));  /* clear iOS home indicator */
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
}
.footer p { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto; }

  .nav__links {
    position: fixed;
    top: 72px;
    right: 16px;
    width: 70%;
    max-width: 320px;
    height: auto;                  /* fits the list */
    z-index: 1;                    /* above the scrim */
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
    background: rgba(8, 13, 26, 0.92);    /* glass, mostly opaque so it stays readable */
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateX(calc(100% + 28px));
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.3s;
  }
  .nav.is-open .nav__links { transform: translateX(0); opacity: 1; }
  .nav__links a { font-size: 1.15rem; padding: 12px 4px; width: 100%; }
  .nav__links a.nav__cta { margin-top: 8px; width: auto; align-self: flex-start; font-size: 1rem; padding: 10px 26px; }
  .nav__toggle { display: flex; z-index: 2; }
  .nav__logo { position: relative; z-index: 2; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero__cta { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
