:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --kicker: rgba(255, 255, 255, 0.65);
  --font-sans: "Inter", "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Background Video
   ========================================================================== */
.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  z-index: 0;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* Hero Top-to-Bottom Blur Gradient Overlay */
.hero-blur-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(480px, 75vh, 760px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 100%
  );
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 25%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 25%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px clamp(18px, 4.5vw, 64px);
  z-index: 100;
  pointer-events: auto;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Scrolled pure glass blur background without dark tint */
.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1;
  text-align: center;
  transition: color 0.35s ease, opacity 0.2s ease, transform 0.2s ease, text-shadow 0.35s ease;
}

.nav-logo-mark {
  width: clamp(24px, 2.2vw, 28px);
  height: clamp(24px, 2.2vw, 28px);
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-logo:hover .nav-logo-mark {
  transform: scale(1.08) rotate(-4deg);
}

/* When scrolled over dark background, switch to crisp white */
.navbar.is-scrolled .brand-logo {
  color: #FFFFFF;
  text-shadow: none;
}

/* When approaching or inside the footer (light paper background), switch back to black */
.navbar.is-over-footer .brand-logo {
  color: #000000 !important;
  text-shadow: none;
}

.navbar.is-scrolled.is-over-footer {
  background: rgba(241, 241, 238, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.brand-logo:hover {
  opacity: 0.82;
  transform: scale(1.02);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #000000;
  border: 1px solid #000000;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.btn-nav:hover {
  background: #242426;
  border-color: #242426;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-nav:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-nav-know-more {
  justify-self: start;
}

.btn-nav-download {
  justify-self: end;
}

.nav-download-label-short {
  display: none;
}

/* ==========================================================================
   Page & Sections
   ========================================================================== */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
}

.section-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(86px, 12vh, 128px);
  overflow: hidden;
  box-sizing: border-box;
}

.sparkle-burst-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 95;
  will-change: transform;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 5;
  pointer-events: auto;
  max-width: 820px;
  padding: 0 20px;
}

.hero-kicker {
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600;
  color: #262626;
  letter-spacing: -0.01em;
  margin-bottom: clamp(12px, 1.8vh, 18px);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #000000;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.hero-title .title-line {
  display: block;
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 16.5px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  max-width: 580px;
  margin-bottom: clamp(20px, 3vh, 30px);
}

.hero-cta-wrap {
  margin-bottom: clamp(14px, 2vh, 20px);
}

.btn-hero-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #17171a;
  background-image: radial-gradient(
    140px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 140, 90, 0.18) 0%,
    transparent 70%
  );
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 999px;
  text-decoration: none;
  isolation: isolate;
  will-change: transform;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Layer 1: Diffuse Ambient Magnetic Glow Halo */
.btn-hero-download::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: radial-gradient(
    160px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 120, 70, 0.65) 0%,
    rgba(255, 80, 40, 0.3) 45%,
    transparent 75%
  );
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
  opacity: var(--glow-opacity, 0.65);
  transition: opacity 0.2s ease;
}

/* Layer 2: Magnetic Razor Rim Highlight */
.btn-hero-download::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 999px;
  padding: 1.5px;
  background: radial-gradient(
    140px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 150, 95, 1) 0%,
    rgba(255, 100, 60, 0.75) 30%,
    rgba(255, 75, 45, 0.3) 60%,
    rgba(255, 255, 255, 0.12) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.btn-hero-download:hover {
  background-color: #202025;
}

/* ==========================================================================
   Creepo Interactive Stage & Character (Two-tier transform hierarchy)
   ========================================================================== */
.creepo-stage {
  position: absolute;
  bottom: -3%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(380px, 55vh, 640px);
  height: clamp(380px, 55vh, 640px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  perspective: 1200px;
  z-index: 3;
  user-select: none;
}

/* ==========================================================================
   Companion Cloud Speech Bubbles
   ========================================================================== */
.companion-cloud-bubble {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  opacity: 0;
  transform: scale(0.65) translateY(14px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.26s cubic-bezier(0.34, 1.45, 0.64, 1);
  will-change: opacity, transform;
}

.cloud-bubble-wisp {
  left: -54%;
  top: 6%;
  width: clamp(200px, 24vw, 245px);
  height: clamp(120px, 15vw, 145px);
  transform-origin: 85% 95%;
}

.cloud-bubble-lumi {
  right: -54%;
  top: 6%;
  width: clamp(200px, 24vw, 245px);
  height: clamp(120px, 15vw, 145px);
  transform-origin: 15% 95%;
}

.companion-cloud-bubble.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.cloud-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
}

.cloud-bg-path {
  fill: #ffffff;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.5;
}

.cloud-content {
  position: absolute;
  top: 15%;
  left: 12%;
  right: 14%;
  bottom: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cloud-bubble-lumi .cloud-content {
  left: 14%;
  right: 12%;
}

.cloud-text {
  font-family: inherit;
  font-size: clamp(12px, 1.3vw, 13.5px);
  font-weight: 600;
  line-height: 1.35;
  color: #111114;
  letter-spacing: -0.015em;
  margin: 0;
  user-select: none;
}

/* ==========================================================================
   Companions: Wisp & Lumi (Tucked behind Creepo, leaning outward)
   ========================================================================== */
.companion-wrap {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  transform-style: preserve-3d;
  outline: none;
}

.companion-wisp {
  left: -38%;
  bottom: 0%;
  width: 86%;
  height: 86%;
  z-index: 2;
  transform-origin: 75% 85%;
  transform: perspective(1200px) rotateZ(calc(-16deg + var(--wisp-tilt-z, 0deg))) rotateY(var(--wisp-tilt-y, 0deg)) rotateX(var(--wisp-tilt-x, 0deg));
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6));
  transition: filter 0.35s ease;
}

.companion-wisp.patting {
  filter: drop-shadow(0 20px 40px rgba(56, 189, 248, 0.45)) drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6));
}

.companion-lumi {
  right: -39%;
  bottom: 0%;
  width: 92%;
  height: 92%;
  z-index: 2;
  transform-origin: 25% 85%;
  transform: perspective(1200px) rotateZ(calc(16deg + var(--lumi-tilt-z, 0deg))) rotateY(var(--lumi-tilt-y, 0deg)) rotateX(var(--lumi-tilt-x, 0deg));
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6));
  transition: filter 0.35s ease;
}

.companion-lumi.patting {
  filter: drop-shadow(0 20px 40px rgba(251, 191, 36, 0.45)) drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6));
}

.companion-rig {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center bottom;
  will-change: transform;
  transform: translateY(var(--comp-bounce-y, 0px)) scale(var(--comp-scale-x, 1), var(--comp-scale-y, 1));
}

.companion-body {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.companion-face-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.pupil-track {
  will-change: transform;
}

/* Eyes: Instant crisp switch with spring pop, zero fade blur, zero jump */
.eye-arc {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transform-box: fill-box;
  transform-origin: center center;
  transition: transform 0.18s cubic-bezier(0.34, 1.4, 0.64, 1);
  pointer-events: none;
}

.eye-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transform-box: fill-box;
  transform-origin: center center;
  pointer-events: none;
}

.companion-wrap.patting .eye-open {
  opacity: 0;
  visibility: hidden;
}

.companion-wrap.patting .eye-arc {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Mouths: Smooth jaw-drop opening, zero pop, zero jumping */
.mouth-normal {
  opacity: 1;
  transform: scale(1);
  transform-box: fill-box;
  transform-origin: center top;
  transition: opacity 0.12s ease-out, transform 0.14s ease-out;
  pointer-events: none;
}

.mouth-happy {
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0.2) scaleX(0.85);
  transform-box: fill-box;
  transform-origin: center top;
  transition: opacity 0.14s ease-out, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.companion-wrap.patting .mouth-normal {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

.companion-wrap.patting .mouth-happy {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mouth-hopeful {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transform-box: fill-box;
  transform-origin: center center;
  transition: opacity 0.15s ease-out, transform 0.2s cubic-bezier(0.34, 1.5, 0.64, 1);
  pointer-events: none;
}

.companion-wrap.hopeful .mouth-normal,
.companion-wrap.hopeful .mouth-happy {
  opacity: 0 !important;
  visibility: hidden !important;
}

.companion-wrap.hopeful .mouth-hopeful {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
}

/* Layer 1: 3D Perspective Orientation (Continuous, non-blocking) */
.creepo-character {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 5;
  transform-style: preserve-3d;
  will-change: transform;
  transform-origin: center bottom;
  transform: perspective(1200px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg)) rotateZ(var(--tilt-z, 0deg));
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.65));
  cursor: pointer;
  outline: none;
  transition: filter 0.4s ease;
}

.creepo-character.patting {
  filter: drop-shadow(0 24px 48px rgba(255, 60, 60, 0.28)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.65));
}

/* Layer 2: Physics Animation Rig (Squash, stretch, bounce, wiggle) */
.creepo-rig {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center bottom;
  will-change: transform;
  transform: translateY(var(--bounce-y, 0px)) scale(var(--scale-x, 1), var(--scale-y, 1)) rotateZ(var(--wiggle-z, 0deg));
}

.creepo-body {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Playful Cheek Blush Glows */
.blush-glow {
  position: absolute;
  width: 17%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 95, 135, 0.7) 0%, rgba(255, 95, 135, 0) 70%);
  pointer-events: none;
  opacity: 0.35;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: screen;
  filter: blur(6px);
  will-change: opacity, transform;
}

.blush-left {
  left: 8.5%;
  top: 57.5%;
}

.blush-right {
  right: 8.5%;
  top: 57.5%;
}

.creepo-character.patting .blush-glow {
  opacity: 0.85;
  transform: scale(1.2);
}

/* Layer 3: Smiling Mouths (Normal Smile & Hover Open Smile) */
.creepo-mouth-wrap {
  position: absolute;
  left: 38.0859%;
  top: 56.4453%;
  width: 24.0234%;
  height: 17.3828%;
  pointer-events: none;
  z-index: 2;
}

.creepo-mouth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.creepo-mouth-normal {
  opacity: 1;
  transform: scale(1);
  transform-origin: center top;
  transition: opacity 0.12s ease-out, transform 0.14s ease-out;
}

.creepo-mouth-open {
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0.25) scaleX(0.85);
  transform-origin: center top;
  transition: opacity 0.14s ease-out, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.creepo-mouth-hopeful {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.65);
  transform-origin: center center;
  transition: opacity 0.15s ease-out, transform 0.22s cubic-bezier(0.34, 1.5, 0.64, 1);
}

/* Layer 4: Open Glossy Eyes (Cursor Tracking & Sparkling Hopeful State) */
.creepo-eye {
  position: absolute;
  width: 22.4609%;
  height: 22.4609%;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  opacity: 1;
}

.creepo-eye-left {
  left: 16.2109%;
  top: 39.5508%;
}

.creepo-eye-right {
  left: 63.3789%;
  top: 39.4531%;
}

.eye-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.16s ease-out, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.eye-img-normal {
  opacity: 1;
  transform: scale(1);
}

.eye-img-sparkle {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.75);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.65));
}

/* Layer 5: Closed Happy Arc Eyes (Patting Reaction) */
.creepo-arc-eye {
  position: absolute;
  width: 22.4609%;
  height: 22.4609%;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.75);
  transition: transform 0.18s cubic-bezier(0.34, 1.4, 0.64, 1);
  will-change: transform;
}

.creepo-arc-left {
  left: 16.2109%;
  top: 39.5508%;
}

.creepo-arc-right {
  left: 63.3789%;
  top: 39.4531%;
}

.arc-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* Layer 6: Golden Hopeful Sparkle Stars (Anime Shin-chan reference) */
.creepo-sparkles {
  position: absolute;
  right: 5%;
  top: 13%;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.3) translateY(14px);
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.sparkle-star {
  position: absolute;
  transform-origin: center center;
  filter: drop-shadow(0 0 8px rgba(255, 222, 69, 0.95)) drop-shadow(0 0 18px rgba(255, 190, 20, 0.6));
}

.sparkle-star-1 {
  width: 44px;
  height: 44px;
  top: 44px;
  left: 50px;
  animation: starTwinkle1 1.4s ease-in-out infinite alternate;
}

.sparkle-star-2 {
  width: 28px;
  height: 28px;
  top: 8px;
  left: 80px;
  animation: starTwinkle2 1.25s ease-in-out infinite alternate 0.2s;
}

.sparkle-star-3 {
  width: 22px;
  height: 22px;
  top: 16px;
  left: 14px;
  animation: starTwinkle3 1.55s ease-in-out infinite alternate 0.45s;
}

@keyframes starTwinkle1 {
  0% { transform: scale(0.88) rotate(-8deg); filter: drop-shadow(0 0 6px rgba(255, 222, 69, 0.8)); }
  100% { transform: scale(1.2) rotate(14deg); filter: drop-shadow(0 0 18px rgba(255, 240, 120, 1)); }
}

@keyframes starTwinkle2 {
  0% { transform: scale(0.82) rotate(10deg); }
  100% { transform: scale(1.24) rotate(-14deg); }
}

@keyframes starTwinkle3 {
  0% { transform: scale(1.15) rotate(0deg); }
  100% { transform: scale(0.78) rotate(18deg); }
}

/* Patting Interaction: Eyes switch & Mouth opens into happy smile */
.creepo-character.patting:not(.hopeful) .creepo-eye {
  opacity: 0;
  visibility: hidden;
}

.creepo-character.patting:not(.hopeful) .creepo-arc-eye {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.creepo-character.patting:not(.hopeful) .creepo-mouth-normal {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

.creepo-character.patting:not(.hopeful) .creepo-mouth-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Hopeful State (Hovering Download Buttons): Innocent Hope Face with Sparkling Eyes & Shin-chan Mouth */
.creepo-character.hopeful .creepo-mouth-normal,
.creepo-character.hopeful .creepo-mouth-open {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.8) !important;
}

.creepo-character.hopeful .creepo-mouth-hopeful {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.28) !important;
}

.creepo-character.hopeful .eye-img-normal {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.85) !important;
}

.creepo-character.hopeful .eye-img-sparkle {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.08) !important;
}

.creepo-character.hopeful .creepo-arc-eye {
  opacity: 0 !important;
  visibility: hidden !important;
}

.creepo-character.hopeful .creepo-sparkles {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.creepo-character.hopeful .blush-glow {
  opacity: 0.95;
  transform: scale(1.35);
  filter: blur(5px);
  background: radial-gradient(circle, rgba(255, 110, 150, 0.88) 0%, rgba(255, 110, 150, 0) 70%);
}

/* ==========================================================================
   Responsive Layout
   ========================================================================== */
@media (max-width: 600px) {
  .navbar {
    padding: 14px 16px;
    gap: 8px;
  }
  .brand-logo {
    font-size: clamp(20px, 5.5vw, 26px);
    gap: 7px;
  }
  .nav-logo-mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }
  .btn-nav {
    padding: 7px 13px;
    font-size: 11.5px;
    gap: 6px;
  }
  .page {
    padding-top: 80px;
  }
  .creepo-sparkles {
    width: 80px;
    height: 80px;
    right: 2%;
    top: 10%;
  }
  .creepo-stage {
    width: clamp(280px, 46vh, 420px);
    height: clamp(280px, 46vh, 420px);
    bottom: -2%;
  }
  .companion-wisp {
    left: -26%;
    bottom: 0%;
    width: 78%;
    height: 78%;
  }
  .companion-lumi {
    right: -27%;
    bottom: 0%;
    width: 82%;
    height: 82%;
  }
  .cloud-bubble-wisp {
    left: -22%;
    top: -22%;
    width: clamp(155px, 42vw, 190px);
    height: clamp(95px, 25vw, 115px);
  }
  .cloud-bubble-lumi {
    right: -22%;
    top: -22%;
    width: clamp(155px, 42vw, 190px);
    height: clamp(95px, 25vw, 115px);
  }
  .cloud-text {
    font-size: 11px;
    line-height: 1.3;
  }
  .hero-desc br {
    display: none;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 12px 10px;
    gap: 4px;
  }
  .brand-logo {
    font-size: 19px;
    gap: 6px;
  }
  .nav-logo-mark {
    width: 19px;
    height: 19px;
    border-radius: 5px;
  }
  .btn-nav {
    padding: 6px 9px;
    font-size: 10.5px;
  }
  .nav-download-label-full {
    display: none;
  }
  .nav-download-label-short {
    display: inline;
  }
}

/* ==========================================================================
   Section 2: Know More Interactive Showcase
   ========================================================================== */
.section-know-more {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(90px, 12vh, 130px) clamp(20px, 4vw, 60px) clamp(160px, 22vh, 260px);
  overflow: hidden;
  box-sizing: border-box;
  background: #000000;
}

/* Inverted Ambient Video Background (scaleY(-1) ensures seamless black-to-black scroll transition) */
.know-more-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-video-inverted {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(-1);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.85;
}

.know-more-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.75) 18%,
    rgba(0, 0, 0, 0.2) 48%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(241, 241, 238, 0.45) 88%,
    rgba(241, 241, 238, 1) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Faded transitional mist bridge into the pale paper Meadow Footer */
.know-more-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(180px, 28vh, 320px);
  background: linear-gradient(
    to bottom,
    rgba(241, 241, 238, 0) 0%,
    rgba(241, 241, 238, 0.2) 25%,
    rgba(241, 241, 238, 0.6) 55%,
    rgba(241, 241, 238, 0.92) 82%,
    #f1f1ee 100%
  );
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
}

.know-more-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kicker & Heading */
.know-more-kicker {
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.1vw, 13.5px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  user-select: none;
}

.know-more-title {
  font-family: var(--font-sans);
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(32px, 5vh, 56px) 0;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  user-select: none;
}

/* Three-column orbital stage (Left text badges, Center Meditating Ghost, Right text badges) */
.know-more-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.5vw, 50px);
  width: 100%;
}

/* Floating Columns */
.floating-column {
  display: flex;
  flex-direction: column;
}

.floating-left {
  align-items: flex-end;
}

.floating-right {
  align-items: flex-start;
}

/* Circular arc offsets:
   Top items curve inward towards ghost head
   Middle items sit furthest out
   Bottom items curve inward under ghost base
*/
.float-item-1 {
  transform: translateX(clamp(30px, 4vw, 55px));
  margin-bottom: clamp(34px, 6vh, 60px);
}
.float-item-2 {
  transform: translateX(0px);
  margin-bottom: clamp(34px, 6vh, 60px);
}
.float-item-3 {
  transform: translateX(clamp(26px, 3.5vw, 48px));
}

.float-item-4 {
  transform: translateX(calc(-1 * clamp(30px, 4vw, 55px)));
  margin-bottom: clamp(34px, 6vh, 60px);
}
.float-item-5 {
  transform: translateX(0px);
  margin-bottom: clamp(34px, 6vh, 60px);
}
.float-item-6 {
  transform: translateX(calc(-1 * clamp(26px, 3.5vw, 48px)));
}

/* Feature Texts: White text only, no white box background */
.floating-card {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: default;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  will-change: transform;
}

.floating-card:hover {
  opacity: 1;
}

.float-item-1:hover { transform: translateX(clamp(30px, 4vw, 55px)) scale(1.04); }
.float-item-2:hover { transform: translateX(0px) scale(1.04); }
.float-item-3:hover { transform: translateX(clamp(26px, 3.5vw, 48px)) scale(1.04); }
.float-item-4:hover { transform: translateX(calc(-1 * clamp(30px, 4vw, 55px))) scale(1.04); }
.float-item-5:hover { transform: translateX(0px) scale(1.04); }
.float-item-6:hover { transform: translateX(calc(-1 * clamp(26px, 3.5vw, 48px))) scale(1.04); }

.floating-card .card-text {
  font-family: var(--font-sans);
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow: none;
}

/* Center Character Container (Enlarged prominent size) */
.center-character-wrapper {
  position: relative;
  width: clamp(380px, 46vw, 560px);
  height: clamp(380px, 46vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Luminous Floor Aura Glow */
.ghost-aura-glow {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 190, 255, 0.45) 0%, rgba(50, 150, 255, 0.18) 45%, rgba(0, 0, 0, 0) 70%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
  animation: auraPulse 3.8s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { transform: translateX(-50%) scale(0.92); opacity: 0.4; }
  100% { transform: translateX(-50%) scale(1.12); opacity: 0.75; }
}

/* Ghost Float Rig (Transparent container, smooth floating levitation) */
.ghost-float-rig {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: ghostLevitate 4.5s ease-in-out infinite alternate;
  will-change: transform;
}

.meditating-ghost-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 15px 35px rgba(0, 180, 255, 0.28)) drop-shadow(0 0 25px rgba(130, 215, 255, 0.2));
  transition: transform 0.3s ease;
}

@keyframes ghostLevitate {
  0% {
    transform: perspective(900px) rotateX(var(--ghost-tilt-x, 0deg)) rotateY(var(--ghost-tilt-y, 0deg)) translateY(8px) scale(0.985);
  }
  100% {
    transform: perspective(900px) rotateX(var(--ghost-tilt-x, 0deg)) rotateY(var(--ghost-tilt-y, 0deg)) translateY(-14px) scale(1.015);
  }
}

/* Responsive adjustments for Know More section */
@media (max-width: 960px) {
  .section-know-more {
    padding: 70px 20px;
    height: auto;
    min-height: 100vh;
  }
  .know-more-stage {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .floating-left,
  .floating-right {
    align-items: center;
    gap: 16px;
  }
  .float-item-1,
  .float-item-2,
  .float-item-3,
  .float-item-4,
  .float-item-5,
  .float-item-6 {
    transform: none;
    margin-bottom: 12px;
  }
  .floating-card {
    padding: 6px 12px;
  }
  .floating-card .card-text {
    font-size: clamp(16px, 4.2vw, 20px);
    white-space: normal;
    text-align: center;
  }
  .center-character-wrapper {
    order: -1;
    width: clamp(280px, 75vw, 400px);
    height: clamp(280px, 75vw, 400px);
  }
}

/* ==========================================================================
   Section 3: Driftbar Meadow Footer
   ========================================================================== */
.footer {
  --paper: #f1f1ee;
  --ink: #0c0c0c;
  --body: #6f6f6c;
  --muted: #9c9c98;
  --wordmark: #efefeb;
  --mist: #e2e3f1;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --u: min(100vw / 1440, 100vh / 672);
  --u: min(100vw / 1440, 100svh / 672);
  position: relative;
  height: 100vh;
  height: 100svh;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Stage & Looping Video */
.footer__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  transform: translateY(9%);
}

.footer__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--paper) 0%,
    rgb(241 241 238 / .96) 26%,
    rgb(241 241 238 / .72) 44%,
    rgb(241 241 238 / 0) 70%
  );
  pointer-events: none;
}

/* Wordmark, Frosted Glass */
.footer__wordmark {
  position: absolute;
  left: 50%;
  bottom: calc(-2 * var(--u));
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  font-size: calc(360 * var(--u));
  font-weight: 800;
  line-height: 0.74;
  letter-spacing: -0.035em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: rgb(232 234 250 / .4);
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / .78),
    rgb(214 218 246 / .36) 48%,
    rgb(255 255 255 / .62)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 calc(-1 * var(--u)) 0 rgb(255 255 255 / .55))
    drop-shadow(0 0 calc(18 * var(--u)) rgb(190 200 255 / .45));
}

/* Fog */
.footer__fog {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 17%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--mist) 0%,
    rgb(226 227 241 / .6) 30%,
    rgb(226 227 241 / 0) 100%
  );
}

/* Content Container: Even 2-column split (Left & Right) */
.footer__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  justify-content: space-between;
  gap: calc(72 * var(--u));
  width: calc(1440 * var(--u));
  max-width: 100%;
  margin: 0 auto;
  padding: calc(76 * var(--u)) calc(120 * var(--u)) 0 calc(120 * var(--u));
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col-left {
  align-items: flex-start;
  max-width: calc(520 * var(--u));
}

.footer__col-right {
  align-items: flex-start;
  max-width: calc(520 * var(--u));
  padding-top: calc(4 * var(--u));
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--u));
  font-size: calc(19 * var(--u));
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
}

.brand__mark {
  position: relative;
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #000000;
  box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgb(0 0 0 / .2);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.brand__title {
  margin: calc(20 * var(--u)) 0 0 0;
  font-size: calc(26 * var(--u));
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand__copy {
  margin: calc(28 * var(--u)) 0 0 0;
  color: var(--muted);
  font-size: calc(12.5 * var(--u));
  letter-spacing: 0.01em;
}

.brand__text {
  max-width: calc(480 * var(--u));
  margin: 0;
  color: var(--body);
  font-size: calc(14.2 * var(--u));
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.brand__cta-wrap {
  margin-top: calc(22 * var(--u));
}

/* Download Button Fix: Distinct high-contrast white text & icon */
.footer a.brand__cta,
.footer a.brand__cta:link,
.footer a.brand__cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  height: calc(38 * var(--u));
  padding: 0 calc(22 * var(--u));
  border-radius: 999px;
  background: #000000 !important;
  color: #ffffff !important;
  font-family: var(--font);
  font-size: calc(12.8 * var(--u));
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
  user-select: none;
  cursor: pointer;
}

.footer a.brand__cta:hover {
  background: #242426 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.footer a.brand__cta svg {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  fill: #ffffff !important;
  color: #ffffff !important;
  flex-shrink: 0;
}

.footer a.brand__cta span {
  color: #ffffff !important;
  font-size: inherit;
  font-weight: inherit;
}

.brand__by {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  margin: calc(21 * var(--u)) 0 0 0;
  font-size: calc(11.8 * var(--u));
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand__heart {
  font-size: 0.95em;
  line-height: 1;
  display: inline-block;
}

.brand__author {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  margin-left: calc(5 * var(--u));
}

.brand__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(23 * var(--u));
  height: calc(23 * var(--u));
  border-radius: 50%;
  background: #e3e3e0;
  overflow: hidden;
  flex-shrink: 0;
}

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

.brand__status {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 * var(--u));
  margin: calc(16 * var(--u)) 0 0 0;
  list-style: none;
  padding: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  height: calc(25 * var(--u));
  padding: 0 calc(10 * var(--u));
  border: 1px solid rgb(12 12 12 / .12);
  border-radius: 999px;
  background: rgb(255 255 255 / .55);
  font-size: calc(10.8 * var(--u));
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}

.chip svg {
  width: calc(11 * var(--u));
  height: calc(11 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.chip__dot {
  display: inline-block;
  width: calc(6 * var(--u));
  height: calc(6 * var(--u));
  border-radius: 50%;
  background: #2fb36a;
  box-shadow: 0 0 0 calc(2.5 * var(--u)) rgb(47 179 106 / .18);
  flex-shrink: 0;
}

/* Link Columns */
.col {
  display: flex;
  flex-direction: column;
}

.col__title {
  font-size: calc(16 * var(--u));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--ink);
}

.col__list {
  display: grid;
  gap: calc(20.5 * var(--u));
  margin-top: calc(24 * var(--u));
  font-size: calc(13.7 * var(--u));
  line-height: 1.24;
  letter-spacing: 0.022em;
  color: #161616;
  list-style: none;
  padding: 0;
}

.col--menu .col__list {
  gap: calc(15 * var(--u));
  margin-top: calc(21 * var(--u));
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.col__list a {
  transition: opacity 0.2s ease;
  display: inline-block;
}

.col__list a:hover {
  opacity: 0.55;
}

/* Tablet (768–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer {
    --u: min(100vw / 1040, 100svh / 672);
  }
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: calc(44 * var(--u));
    width: calc(1040 * var(--u));
    padding: calc(64 * var(--u)) calc(48 * var(--u)) 0;
  }
  .brand__title {
    font-size: calc(22 * var(--u));
  }
  .brand__text {
    max-width: 100%;
    font-size: calc(13.5 * var(--u));
  }
  .footer__wordmark {
    font-size: calc(270 * var(--u));
    bottom: calc(10 * var(--u));
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .footer {
    --u: 1px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100svh;
  }
  .footer__stage::after {
    background: linear-gradient(
      to bottom,
      var(--paper) 0%,
      rgb(241 241 238 / .95) 50%,
      rgb(241 241 238 / .8) 68%,
      rgb(241 241 238 / 0) 90%
    );
  }
  .footer__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 36px 20px 0;
    margin-bottom: max(34vw, 150px);
  }
  .footer__col-left,
  .footer__col-right {
    max-width: 100%;
  }
  .brand__title {
    font-size: 21px;
    margin-top: 14px;
  }
  .brand__copy {
    margin-top: 16px;
    font-size: 12px;
  }
  .brand__text {
    max-width: 100%;
    font-size: 14px;
  }
  .footer a.brand__cta {
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
  }
  .footer a.brand__cta svg {
    width: 14px;
    height: 14px;
  }
  .footer__wordmark {
    bottom: 5vw;
    font-size: 26vw;
  }
  .footer__fog {
    height: 7%;
  }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  .brand__cta,
  .col__list a {
    transition: none;
  }
}

/* ==========================================================================
   Taggy Download Feedback Toast Notification
   ========================================================================== */
.download-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(30px) scale(0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 110, 150, 0.18);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  max-width: min(92vw, 440px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  user-select: none;
}

.download-toast.is-visible {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.toast-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.2s ease;
}

.toast-close-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.btn-nav-download:active,
.btn-hero-download:active,
.brand__cta:active {
  transform: scale(0.96) !important;
}
