/* ============================================================
   Mimoo — responsive layout
   ============================================================ */

/* ---------- Page shell ---------- */
html,
body {
  height: auto !important;
  min-height: 100%;
  overflow-x: clip;
}

#dc-root,
#dc-root > .sc-host {
  height: auto !important;
  min-height: 100%;
}

.mimoo-main {
  overflow-x: clip;
}

.mimoo-header {
  overflow: hidden;
}

/* Dark-theme overrides for dc-runtime loading chrome */
.sc-placeholder {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html.sc-dc-streaming .sc-placeholder::before,
html.sc-dc-streaming .sc-interp.sc-missing::before {
  background: linear-gradient(
    90deg,
    rgba(127, 214, 255, 0) 25%,
    rgba(127, 214, 255, 0.12) 37%,
    rgba(127, 214, 255, 0) 63%
  ) !important;
}

.sc-interp.sc-missing {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ---------- Grids (desktop defaults) ---------- */
.mimoo-grid-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.mimoo-grid-2-asym {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}

.mimoo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mimoo-grid-4-tight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mimoo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mimoo-grid-3-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mimoo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ---------- 3D Isometric How It Works Stage ---------- */
.mimoo-iso-stage {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 48px rgba(2, 132, 199, 0.08);
  padding: 40px 36px 32px;
  margin: 0 auto;
}

.mimoo-iso-header {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 36px;
  margin-bottom: 28px;
}

.mimoo-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.mimoo-stage-badge.is-phone {
  color: #0369a1;
  background: #e0f2fe;
}

.mimoo-stage-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  color: #0f172a;
  margin: 0 0 8px;
}

.mimoo-stage-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.mimoo-iso-arena {
  position: relative;
  background: radial-gradient(circle at 60% 40%, #eff6ff 0%, #f8fafc 55%, #f0fdf4 100%);
  border-radius: 22px;
  border: 1px solid #e0f2fe;
  padding: 44px 32px 36px;
  overflow: hidden;
}

.mimoo-iso-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 32px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}

.mimoo-iso-phone-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.mimoo-iso-phone {
  position: relative;
  width: min(210px, 88%);
  transform: rotateY(16deg) rotateX(10deg) rotateZ(-4deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.mimoo-iso-phone:hover {
  transform: rotateY(8deg) rotateX(5deg) rotateZ(-2deg) translateY(-4px);
}

.mimoo-iso-phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 392 / 850;
  border-radius: 30px;
  overflow: hidden;
  background: #0b1320;
  border: 4px solid #1e293b;
  box-shadow: -14px 18px 36px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.mimoo-iso-phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mimoo-iso-phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.mimoo-iso-phone-shadow {
  position: absolute;
  bottom: -16px;
  left: 8%;
  width: 84%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0) 70%);
  filter: blur(6px);
  z-index: -1;
  transform: rotateZ(-4deg);
}

.mimoo-iso-tv-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mimoo-iso-tv {
  position: relative;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mimoo-iso-tv-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #03283f;
  border: 4px solid #1e293b;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mimoo-iso-tv-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mimoo-iso-tv-bezel-bottom {
  width: 100%;
  height: 4px;
  background: #0f172a;
  border-radius: 0 0 2px 2px;
}

.mimoo-iso-tv-feet {
  position: relative;
  width: 82%;
  height: 14px;
  margin-top: -1px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.mimoo-iso-tv-foot {
  width: 36px;
  height: 13px;
  background: #64748b;
  clip-path: polygon(28% 0%, 72% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.mimoo-iso-tv-foot.left {
  transform: perspective(100px) rotateY(16deg);
}

.mimoo-iso-tv-foot.right {
  transform: perspective(100px) rotateY(-16deg);
}

.mimoo-stage-footer {
  margin-top: 24px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.mimoo-stage-footer-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.4;
  color: #0c4a6e;
  margin: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Guide Split Layout (Image + 3 Steps) ---------- */
.mimoo-guide-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.mimoo-guide-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.2);
  background: #ffffff;
}

.mimoo-guide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mimoo-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mimoo-guide-step-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.04);
}

.mimoo-guide-step-card.is-active-step {
  border: 2px solid #38bdf8;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.12);
}

.mimoo-guide-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mimoo-guide-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  flex: none;
}

.mimoo-guide-step-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
}

.mimoo-guide-step-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.mimoo-guide-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.mimoo-guide-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #0284c7;
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  text-align: center;
}

.mimoo-guide-btn:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.mimoo-guide-btn.is-alt {
  background: #f8fafc;
  color: #0369a1;
  border: 1px solid #cbd5e1;
}

.mimoo-guide-btn.is-alt:hover {
  background: #f1f5f9;
}

/* ---------- APB Showcase (QR + Phone Scan Dynamic) ---------- */
.mimoo-apb-showcase {
  display: grid;
  grid-template-columns: 1.25fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 52px;
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,249,255,0.98) 100%);
  border: 1px solid rgba(2,132,199,0.25);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(2,132,199,0.08);
}
.mimoo-apb-tv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mimoo-apb-tv-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #021a2e;
  border: 3px solid #0f172a;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}
.mimoo-apb-tv-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mimoo-apb-step-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #0284c7;
  background: #e0f2fe;
  padding: 5px 14px;
  border-radius: 999px;
  text-align: center;
}
.mimoo-apb-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mimoo-apb-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16,185,129,0.15);
}
.mimoo-apb-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mimoo-apb-phone-body {
  position: relative;
  width: min(200px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  border: 4px solid #0f172a;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}
.mimoo-apb-camera-view {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mimoo-apb-cam-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) blur(1px);
  transform: scale(1.35);
}
.mimoo-apb-scanner-box {
  position: absolute;
  top: 25%;
  left: 18%;
  right: 18%;
  height: 38%;
  border: 1px dashed rgba(56,189,248,0.6);
  border-radius: 8px;
}
.mimoo-apb-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #38bdf8;
  border-style: solid;
}
.mimoo-apb-corner.top-left { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-top-left-radius: 4px; }
.mimoo-apb-corner.top-right { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-top-right-radius: 4px; }
.mimoo-apb-corner.bottom-left { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; border-bottom-left-radius: 4px; }
.mimoo-apb-corner.bottom-right { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-bottom-right-radius: 4px; }
.mimoo-apb-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  box-shadow: 0 0 8px #38bdf8;
  animation: apbScan 2.2s ease-in-out infinite;
}
@keyframes apbScan {
  0%, 100% { top: 5%; opacity: 0.3; }
  50% { top: 90%; opacity: 1; }
}
.mimoo-apb-toast {
  position: absolute;
  bottom: 12px;
  left: 8px;
  right: 8px;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(56,189,248,0.4);
}
@media (max-width: 767px) {
  .mimoo-apb-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .mimoo-apb-connector {
    transform: rotate(90deg);
    margin: -4px 0;
  }
  .mimoo-apb-phone-body {
    width: 170px;
  }
}

/* ---------- Nav ---------- */
.mimoo-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
}

.mimoo-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mimoo-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  flex: none;
}

.mimoo-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mimoo-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mimoo-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 600px;
}

.mimoo-section {
  padding: 104px 6vw;
}

.mimoo-no-death {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- Tablet (≤1023px) ---------- */
@media (max-width: 1023px) {
  .mimoo-grid-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mimoo-grid-2-asym,
  .mimoo-grid-2,
  .mimoo-grid-dl,
  .mimoo-grid-dl-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mimoo-grid-4,
  .mimoo-grid-4-tight {
    grid-template-columns: repeat(2, 1fr);
  }

  .mimoo-grid-3,
  .mimoo-grid-3-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .mimoo-section {
    padding: 72px 5vw;
  }

  .mimoo-banner {
    height: 480px;
  }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .mimoo-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 10px 14px;
    gap: 0 10px;
    flex-wrap: unset;
  }

  .mimoo-nav-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 8px;
  }

  .mimoo-nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1;
    box-sizing: border-box;
    flex: none;
  }

  .mimoo-nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mimoo-nav.is-open .mimoo-nav-links {
    display: flex;
  }

  .mimoo-nav-brand img:first-child {
    height: 42px;
    width: 42px;
  }

  .mimoo-nav-brand img:last-child {
    height: 60px;
    width: auto;
    max-width: 120px;
  }

  .mimoo-lang-btn {
    font-size: 13px !important;
    padding: 9px 13px !important;
  }

  .mimoo-hero-eyebrow {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }

  .mimoo-header-deco {
    display: none;
  }

  .mimoo-header {
    overflow: visible;
  }

  .mimoo-hero-media {
    will-change: auto !important;
    transform: none !important;
    max-width: 460px;
    margin: 0 auto;
  }

  .mimoo-grid-hero > div:first-child {
    min-width: 0;
  }

  /* Typography scale */
  .mimoo-main h1 {
    font-size: clamp(24px, 6.5vw, 30px) !important;
    line-height: 1.08 !important;
    margin-bottom: 12px !important;
  }

  .mimoo-main h2 {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.12 !important;
  }

  .mimoo-main p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .mimoo-main [style*="font-size:44px"] {
    font-size: 30px !important;
  }

  .mimoo-main [style*="font-size:22px"] {
    font-size: 17px !important;
  }

  .mimoo-main [style*="font-size:20px"] {
    font-size: 16px !important;
  }

  .mimoo-main [style*="font-size:19px"] {
    font-size: 16px !important;
  }

  .mimoo-main [style*="font-size:18px"] {
    font-size: 15px !important;
  }

  .mimoo-main [style*="font-size:17px"] {
    font-size: 14px !important;
  }

  .mimoo-grid-hero a[href="#dl"] {
    padding: 11px 16px !important;
    font-size: 14px !important;
    gap: 7px !important;
  }

  .mimoo-grid-hero a[href="#dl"] i {
    font-size: 17px !important;
  }

  .mimoo-section > div > div[style*="text-align:center"] {
    margin-bottom: 28px !important;
  }

  .mimoo-section > div > div[style*="margin-bottom:64px"],
  .mimoo-section > div > div[style*="margin-bottom:60px"],
  .mimoo-section > div > div[style*="margin-bottom:56px"] {
    margin-bottom: 28px !important;
  }

  .mimoo-main [style*="padding:40px"] {
    padding: 22px 18px !important;
  }

  .mimoo-main [style*="padding:36px 32px"] {
    padding: 20px 16px !important;
  }

  .mimoo-main [style*="padding:30px 22px"],
  .mimoo-main [style*="padding:28px 20px"] {
    padding: 18px 14px !important;
  }

  .mimoo-main [style*="padding:26px"] {
    padding: 18px 14px !important;
  }

  .mimoo-main [style*="padding:36px"][style*="border-radius:24px"] {
    padding: 20px 16px !important;
    margin-top: 28px !important;
  }

  .mimoo-lang-bar {
    justify-content: center;
    padding: 6px 12px !important;
  }

  .mimoo-nav-links a:last-child {
    justify-content: center;
    padding: 9px 14px !important;
    font-size: 13px !important;
  }

  .mimoo-nav-links a:first-child {
    font-size: 13px !important;
  }

  .mimoo-grid-hero {
    padding-top: 12px !important;
    padding-left: var(--gutter-mobile, 16px) !important;
    padding-right: var(--gutter-mobile, 16px) !important;
    padding-bottom: 36px !important;
    gap: 20px;
  }

  .mimoo-hero-stack {
    margin-bottom: 24px !important;
  }

  .mimoo-grid-2-asym > div:last-child > div:first-child {
    width: min(190px, 52vw) !important;
  }

  .mimoo-grid-2,
  .mimoo-grid-dl,
  .mimoo-grid-dl-inner,
  .mimoo-guide-split {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .mimoo-iso-stage {
    padding: 24px 16px 20px !important;
  }

  .mimoo-iso-header {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
  }

  .mimoo-iso-arena {
    padding: 20px 14px 24px !important;
  }

  .mimoo-iso-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .mimoo-iso-phone {
    transform: none !important;
    width: min(190px, 60%) !important;
    margin: 0 auto !important;
  }

  .mimoo-iso-phone-shadow {
    display: none !important;
  }

  .mimoo-guide-btn-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .mimoo-dl-phone-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .mimoo-dl-phone-visual {
    flex: none;
  }

  .mimoo-apb-phone-mini {
    width: 130px;
  }

  .mimoo-grid-3-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mimoo-grid-3,
  .mimoo-grid-4,
  .mimoo-grid-4-tight {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 8px 4px 20px 4px !important;
    margin-left: calc(-1 * var(--gutter-mobile, 16px)) !important;
    margin-right: calc(-1 * var(--gutter-mobile, 16px)) !important;
    padding-left: var(--gutter-mobile, 16px) !important;
    padding-right: var(--gutter-mobile, 16px) !important;
    scrollbar-width: none !important;
  }

  .mimoo-grid-3::-webkit-scrollbar,
  .mimoo-grid-4-tight::-webkit-scrollbar,
  .mimoo-grid-4::-webkit-scrollbar {
    display: none !important;
  }

  .mimoo-grid-3 > div,
  .mimoo-grid-4-tight > div,
  .mimoo-grid-4 > div {
    flex: 0 0 78% !important;
    scroll-snap-align: start !important;
  }

  .mimoo-section {
    padding: 36px var(--gutter-mobile, 16px);
  }

  .mimoo-banner {
    height: auto;
    min-height: 220px;
    aspect-ratio: 3 / 2;
  }

  .mimoo-banner img {
    position: absolute;
    inset: 0;
  }

  .mimoo-banner-content {
    left: var(--gutter-mobile, 16px) !important;
    right: var(--gutter-mobile, 16px) !important;
    bottom: 20px !important;
  }

  .mimoo-banner-content h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    margin-bottom: 8px !important;
  }

  .mimoo-banner-content p {
    font-size: 14px !important;
  }

  .mimoo-no-death {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px !important;
    gap: 12px;
  }

  .mimoo-no-death i {
    font-size: 24px !important;
  }

  .mimoo-footer-inner {
    flex-direction: column;
    gap: 20px !important;
  }

  .mimoo-footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  footer[style*="padding:56px"] {
    padding: 32px 16px 24px !important;
  }
}

/* ---------- Legal pages ---------- */
@media (max-width: 767px) {
  .legal-nav {
    flex-wrap: wrap;
    padding: 16px var(--gutter-mobile, 16px);
    gap: 12px;
  }

  .legal-langs {
    flex-wrap: wrap;
  }

  .legal-main {
    padding: 32px var(--gutter-mobile, 16px) 56px;
  }

  .legal-footer {
    padding: 20px var(--gutter-mobile, 16px) 32px;
  }
}

/* ---------- 3 Pilares de Experiencia Mimoo ---------- */
.mimoo-pillars-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.mimoo-pillar-block {
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid #e2e8f0;
  padding: 32px 28px 36px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.mimoo-pillar-block:hover {
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.09);
}

.mimoo-pillar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.mimoo-pillar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mimoo-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.mimoo-pillar-icon.p1 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(244, 63, 94, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.mimoo-pillar-icon.p2 {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.mimoo-pillar-icon.p3 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.mimoo-pillar-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: #0f172a;
  margin: 0 0 3px;
}

.mimoo-pillar-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.mimoo-pillar-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mimoo-pillar-badge.b1 {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.mimoo-pillar-badge.b2 {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.mimoo-pillar-badge.b3 {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.mimoo-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mimoo-pcard {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.mimoo-pcard:hover {
  background: #ffffff;
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.mimoo-pcard-stage {
  height: 165px;
  position: relative;
  background: radial-gradient(circle at 50% 120%, #0369a1 0%, #082f49 80%, #041624 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mimoo-pcard-stage.stage-screenshot {
  background: #020617;
  padding: 0;
}

.mimoo-stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mimoo-pcard:hover .mimoo-stage-photo {
  transform: scale(1.06);
}

.mimoo-pcard-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.mimoo-pcard-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16.5px;
  color: #0f172a;
  margin: 0 0 8px;
}

.mimoo-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.mimoo-tag.tag-gold { background: #fef3c7; color: #b45309; }
.mimoo-tag.tag-cyan { background: #e0f2fe; color: #0284c7; }
.mimoo-tag.tag-purple { background: #f3e8ff; color: #7e22ce; }
.mimoo-tag.tag-ruby { background: #ffe4e6; color: #e11d48; }
.mimoo-tag.tag-emerald { background: #d1fae5; color: #065f46; }

.mimoo-pcard-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.mimoo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mimoo-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mimoo-chip.is-gold { background: #fef3c7; border-color: #fde68a; color: #b45309; }
.mimoo-chip.is-rainbow { background: linear-gradient(90deg, #fee2e2, #fef3c7, #dcfce7, #e0f2fe, #f3e8ff); border-color: #cbd5e1; color: #334155; font-weight: 700; }
.mimoo-chip.is-emerald { background: #d1fae5; border-color: #a7f3d0; color: #065f46; }
.mimoo-chip.is-ruby { background: #ffe4e6; border-color: #fecdd3; color: #be123c; }
.mimoo-chip.is-violet { background: #f3e8ff; border-color: #e9d5ff; color: #6b21a8; }
.mimoo-chip.is-blue { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; }
.mimoo-chip.is-cyan { background: #cffafe; border-color: #a5f3fc; color: #0e7490; }

/* Visual Stage Elements */
.mimoo-stage-elem {
  pointer-events: none;
  z-index: 2;
}

/* UFO Stage */
.ufo-ship {
  position: absolute;
  top: 10px;
  width: 58px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8));
  animation: floatUFO 3s ease-in-out infinite;
}
.mimoo-ufo-beam {
  position: absolute;
  top: 30px;
  width: 76px;
  height: 120px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.4) 0%, rgba(244, 63, 94, 0.15) 65%, transparent 100%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 1;
}

/* Trident Stage */
.trident-spear {
  position: absolute;
  top: 8px;
  width: 48px;
  height: auto;
  transform: rotate(-15deg);
  filter: drop-shadow(0 0 10px #38bdf8);
  animation: pokeTrident 2.2s ease-in-out infinite;
}
.mimoo-trident-lightning {
  position: absolute;
  top: 40px;
  height: 55px;
  width: 2.5px;
  background: #ffffff;
  box-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
  z-index: 1;
  animation: flashRay 1.5s steps(2, start) infinite;
}

/* Siren Stage */
.stage-siren {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 14px;
}
.siren-figure {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(192, 132, 252, 0.8));
  animation: sirenFloat 3s ease-in-out infinite alternate;
}
.mimoo-siren-notes {
  position: absolute;
  font-size: 18px;
  animation: waveMove 2s linear infinite;
}

/* Mine Stage */
.stage-mine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: radial-gradient(circle at 75% 50%, rgba(244, 63, 94, 0.3), #041624 85%);
}
.mine-bomb {
  width: 54px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.6));
  animation: rotateMine 9s linear infinite;
}
.mimoo-defuse-mock {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}
.mimoo-pin-box {
  display: flex;
  gap: 4px;
}
.mimoo-pin-box span {
  width: 18px;
  height: 24px;
  background: #020617;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  color: #38bdf8;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
}
.mimoo-timer-pill {
  font-size: 9.5px;
  font-weight: 800;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid #f43f5e;
  border-radius: 4px;
  padding: 1px 5px;
}

/* Ball Stage */
.stage-ball {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
}
.mimoo-beach-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(#f43f5e 0deg 60deg, #38bdf8 60deg 120deg, #fbbf24 120deg 180deg, #ffffff 180deg 240deg, #10b981 240deg 300deg, #a855f7 300deg 360deg);
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
  animation: bounceBall 2s ease-in-out infinite alternate;
}

/* Trap Stage */
.stage-trap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.trap-cage {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

/* Shark Stage */
.stage-shark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: radial-gradient(circle at 20% 50%, rgba(244, 63, 94, 0.25), #041624 85%);
}
.shark-predator {
  width: 78px;
  height: auto;
  transform: scaleX(-1);
  animation: sharkPatrol 3.5s ease-in-out infinite alternate;
}
.mimoo-scared-school {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 20px;
  animation: fishFlee 1.2s ease-in-out infinite alternate;
}

/* Whale & Ship Stage */
.stage-whale {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ship-hull {
  position: absolute;
  top: -4px;
  width: 105px;
  height: auto;
  opacity: 0.88;
  animation: shipFloat 4s ease-in-out infinite alternate;
}
.whale-giant {
  width: 90px;
  height: auto;
  filter: blur(1.2px) drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
  opacity: 0.8;
  margin-top: 26px;
  animation: whaleSwim 6s ease-in-out infinite alternate;
}

/* Diver & Phenomena Stage */
.stage-diver {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.25), #041624 85%);
}
.mimoo-aurora-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(56, 189, 248, 0.25), rgba(192, 132, 252, 0.15));
  filter: blur(8px);
  animation: auroraShift 4s ease-in-out infinite alternate;
}
.mimoo-bubbles-float {
  font-size: 20px;
  animation: bubbleRise 2s linear infinite;
  z-index: 2;
}
.diver-guide {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7));
  z-index: 2;
  animation: diverSwim 3s ease-in-out infinite alternate;
}

/* Keyframes */
@keyframes floatUFO { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pokeTrident { 0%, 100% { transform: translateY(0) rotate(-15deg); } 50% { transform: translateY(5px) rotate(-10deg); } }
@keyframes flashRay { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes sirenFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
@keyframes waveMove { 0% { opacity: 0; transform: translateX(-8px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateX(16px); } }
@keyframes rotateMine { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes bounceBall { 0% { transform: translate(0, -12px) rotate(0deg); } 100% { transform: translate(8px, 12px) rotate(180deg); } }
@keyframes sharkPatrol { 0% { transform: scaleX(-1) translateX(0); } 100% { transform: scaleX(-1) translateX(12px); } }
@keyframes fishFlee { 0% { transform: translateX(0); } 100% { transform: translateX(8px) rotate(4deg); } }
@keyframes shipFloat { 0% { transform: translateX(-4px); } 100% { transform: translateX(4px); } }
@keyframes whaleSwim { 0% { transform: translateX(-8px) scaleX(-1); } 100% { transform: translateX(8px) scaleX(-1); } }
@keyframes auroraShift { 0% { opacity: 0.5; } 100% { opacity: 0.85; } }
@keyframes bubbleRise { 0% { transform: translateY(10px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-16px); opacity: 0; } }
@keyframes diverSwim { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-6px) rotate(4deg); } }

@media (max-width: 960px) {
  .mimoo-pillar-grid {
    grid-template-columns: 1fr;
  }
  .mimoo-pillar-block {
    padding: 24px 18px 28px;
  }
}

