/* Meow Cat Merge — claymorphism / soft-3D cattery landing
   Palette inspired by in-game cream board, gold CTAs, rose hearts, mint progress */

:root {
  --cream: #f6ebd8;
  --cream-deep: #e8d4bc;
  --panel: #fff8ee;
  --panel-edge: #e6c9a8;
  --ink: #4a3224;
  --ink-soft: #7a5a45;
  --gold: #ffc93c;
  --gold-deep: #e89a12;
  --gold-glow: rgba(255, 201, 60, 0.55);
  --pink: #ff5f7e;
  --pink-soft: #ffd0dc;
  --green: #6bcb77;
  --green-deep: #3d9a4a;
  --wood: #c9a06a;
  --wood-deep: #9a7344;
  --shadow: rgba(90, 55, 30, 0.18);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 76px;
  --ease-pop: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.mcm-body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }

.mcm-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.mcm-skip:focus { left: 1rem; top: 1rem; }

/* ===== Stage backdrop ===== */
.mcm-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #fff6e8 0%, transparent 55%),
    linear-gradient(180deg, #f8efe0 0%, var(--cream) 40%, #f0dfc8 100%);
}
.mcm-stage__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.mcm-stage__glow--a {
  width: 420px; height: 420px;
  top: 8%; left: -8%;
  background: #ffe6a8;
}
.mcm-stage__glow--b {
  width: 380px; height: 380px;
  top: 35%; right: -10%;
  background: #ffc4d4;
}
.mcm-stage__glow--c {
  width: 320px; height: 320px;
  bottom: 10%; left: 30%;
  background: #c8f0d0;
}

.mcm-sparkle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px 4px rgba(255, 220, 120, 0.7);
  animation: mcm-twinkle 3.2s ease-in-out infinite;
}
.mcm-sparkle:nth-child(odd) { animation-delay: 1.1s; }

@keyframes mcm-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ===== Floating dock nav ===== */
.mcm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 1rem 0;
  transition: padding 0.25s var(--ease-out);
}
.mcm-nav.is-scrolled { padding-top: 0.5rem; }

.mcm-dock {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem 0.55rem 0.75rem;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(255, 244, 228, 0.88));
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  box-shadow:
    0 10px 28px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 8px rgba(200, 160, 110, 0.15);
  backdrop-filter: blur(14px);
}

.mcm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.mcm-brand__img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow:
    0 4px 0 var(--wood-deep),
    0 6px 14px rgba(180, 110, 20, 0.35);
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
}
.mcm-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}

.mcm-dock__links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 0.25rem;
}
.mcm-dock__links a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.mcm-dock__links a:hover,
.mcm-dock__links a:focus-visible {
  background: rgba(255, 201, 60, 0.28);
  color: var(--ink);
  outline: none;
}

.mcm-dock__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.mcm-burger {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--panel-edge);
  box-shadow: 0 3px 0 var(--wood);
}
.mcm-burger svg { width: 22px; height: 22px; }

@media (min-width: 860px) {
  .mcm-dock__links { display: flex; }
  .mcm-burger { display: none; }
}

/* Mobile drawer */
@media (max-width: 859px) {
  .mcm-dock__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem; right: 1rem;
    padding: 0.75rem;
    background: var(--panel);
    border: 3px solid #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px var(--shadow);
    z-index: 60;
  }
  .mcm-nav { position: sticky; }
  .mcm-dock { position: relative; }
}

/* ===== Buttons (3D clay / game HUD) ===== */
.mcm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease-pop), box-shadow 0.2s, filter 0.2s;
}
.mcm-btn:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
.mcm-btn:hover { transform: translateY(-2px); }
.mcm-btn:active { transform: translateY(2px); }

.mcm-btn--gold {
  color: #5a3208;
  background: linear-gradient(180deg, #ffe27a 0%, var(--gold) 45%, var(--gold-deep) 100%);
  border: 2px solid #fff3c0;
  box-shadow:
    0 5px 0 #c47810,
    0 10px 18px rgba(200, 120, 20, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
}
.mcm-btn--gold:hover {
  filter: brightness(1.05);
  box-shadow:
    0 6px 0 #c47810,
    0 14px 22px rgba(200, 120, 20, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
}
.mcm-btn--gold:active {
  box-shadow: 0 2px 0 #c47810, inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
.mcm-btn--gold svg { width: 18px; height: 18px; }

.mcm-btn--store {
  min-width: 168px;
  padding: 0.7rem 1.25rem;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, #5a4638 0%, #3a2a20 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 6px 0 #241810,
    0 12px 24px rgba(40, 25, 15, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.mcm-btn--store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.mcm-btn--store small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.02em;
}
.mcm-btn--store svg { width: 26px; height: 26px; flex-shrink: 0; }
.mcm-btn--play {
  background: linear-gradient(180deg, #7ed987 0%, var(--green) 40%, var(--green-deep) 100%);
  color: #14351a;
  border-color: #c8f5ce;
  box-shadow:
    0 6px 0 #2f7a3a,
    0 12px 24px rgba(50, 130, 60, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

/* ===== Hero board ===== */
.mcm-hero {
  padding: 1.5rem 1rem 3rem;
}
.mcm-hero__board {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(255, 252, 245, 0.95), rgba(255, 240, 220, 0.9));
  border: 4px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  box-shadow:
    0 22px 50px var(--shadow),
    inset 0 2px 0 #fff,
    inset 0 -6px 18px rgba(200, 160, 110, 0.12);
  position: relative;
  overflow: hidden;
}

.mcm-track {
  position: relative;
  max-width: 420px;
  height: 14px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(180deg, #d9c4a8, #c9b08e);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 2px 4px rgba(90, 60, 30, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.15rem;
}
.mcm-track__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 52%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fe08f, var(--green));
  box-shadow: 0 0 12px rgba(107, 203, 119, 0.55);
}
.mcm-track__node {
  position: relative;
  z-index: 1;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff6e8, #e8d0b0);
  border: 2px solid #fff;
  box-shadow: 0 3px 0 var(--wood);
  color: var(--ink-soft);
}
.mcm-track__node svg { width: 14px; height: 14px; }
.mcm-track__node.is-done,
.mcm-track__node.is-active {
  background: linear-gradient(160deg, #ffe27a, var(--gold));
  color: #6a3a08;
}
.mcm-track__node.is-active {
  box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.35), 0 3px 0 var(--wood);
}

.mcm-eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mcm-title {
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.mcm-title__line {
  display: block;
  color: var(--ink);
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.7);
}
.mcm-title__line--accent {
  background: linear-gradient(180deg, #ffe27a 10%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #c47810) drop-shadow(0 6px 12px rgba(200, 120, 20, 0.35));
  animation: mcm-title-glow 2.8s ease-in-out infinite;
}

@keyframes mcm-title-glow {
  0%, 100% { filter: drop-shadow(0 3px 0 #c47810) drop-shadow(0 6px 12px rgba(200, 120, 20, 0.3)); }
  50% { filter: drop-shadow(0 3px 0 #c47810) drop-shadow(0 8px 20px rgba(255, 201, 60, 0.65)); }
}

.mcm-lead {
  max-width: 34rem;
  margin: 0 auto 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mcm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

/* Arena: phone + floating pedestals */
.mcm-arena {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem;
}

.mcm-phone {
  position: relative;
  z-index: 2;
  width: min(260px, 68vw);
}
.mcm-phone__bezel {
  position: relative;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #4a382c, #2a1e16);
  box-shadow:
    0 24px 48px rgba(60, 35, 15, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.mcm-phone__notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 36%; height: 10px;
  background: #1a120e;
  border-radius: 999px;
  z-index: 2;
}
.mcm-phone__shot {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: var(--cream-deep);
}
.mcm-phone__glow {
  position: absolute;
  inset: 10% -15% -8%;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.mcm-pedestal {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.mcm-pedestal__disc {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff9ee, #f0dcc0 55%, #d4b48e);
  border: 3px solid #fff;
  box-shadow:
    0 8px 0 #b89260,
    0 14px 22px rgba(120, 80, 40, 0.25),
    inset 0 4px 8px rgba(255, 255, 255, 0.55);
  overflow: hidden;
}
.mcm-pedestal__disc img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.mcm-lvl {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  margin-top: -10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #5a3208;
  background: linear-gradient(180deg, #ffe27a, var(--gold));
  border: 2px solid #fff;
  box-shadow: 0 3px 0 #c47810;
  z-index: 1;
}

.mcm-pedestal--tl { top: 6%; left: 0; }
.mcm-pedestal--tr { top: 10%; right: 0; }
.mcm-pedestal--bl { bottom: 8%; left: 4%; }
.mcm-pedestal--br { bottom: 4%; right: 2%; }

.mcm-pedestal--float {
  animation: mcm-float 4s ease-in-out infinite;
}
.mcm-pedestal--tr { animation-delay: 0.6s; }
.mcm-pedestal--bl { animation-delay: 1.2s; }
.mcm-pedestal--br { animation-delay: 1.8s; }

@keyframes mcm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mcm-merge-hint {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-deep);
  opacity: 0.85;
}
.mcm-merge-hint svg { width: 16px; height: 16px; }
.mcm-merge-hint__orb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffe8a0, var(--gold));
  box-shadow: 0 2px 0 #c47810;
}
.mcm-merge-hint__orb--b { background: linear-gradient(160deg, #ffc0d0, var(--pink)); }
.mcm-merge-hint__orb--c {
  width: 24px; height: 24px;
  background: linear-gradient(160deg, #b8f0c0, var(--green));
}

@media (max-width: 560px) {
  .mcm-pedestal__disc { width: 68px; height: 68px; }
  .mcm-pedestal__disc img { width: 52px; height: 52px; }
  .mcm-arena { min-height: 360px; }
  .mcm-pedestal--tl { left: -2%; }
  .mcm-pedestal--tr { right: -2%; }
}

/* ===== Section shared ===== */
.mcm-section-head {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 0 1rem;
}
.mcm-section-head h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  margin: 0.4rem 0 0.55rem;
}
.mcm-section-lead {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
}
.mcm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  color: #5a3208;
  background: linear-gradient(180deg, #ffe9a8, var(--gold));
  border: 2px solid #fff;
  box-shadow: 0 3px 0 #c47810;
}
.mcm-chip svg { width: 14px; height: 14px; }

/* ===== Features shelf (pedestal grid, not cards) ===== */
.mcm-features {
  padding: 2.5rem 1rem 3.5rem;
}
.mcm-shelf {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.25rem;
  align-items: start;
}
@media (min-width: 800px) {
  .mcm-shelf {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .mcm-feature:nth-child(2),
  .mcm-feature:nth-child(4) {
    margin-top: 2rem;
  }
}

.mcm-feature {
  text-align: center;
  padding: 0.5rem;
}
.mcm-feature__pedestal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}
.mcm-feature__icon {
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow:
    0 10px 0 rgba(150, 110, 60, 0.35),
    0 16px 28px rgba(90, 55, 30, 0.18),
    inset 0 4px 10px rgba(255, 255, 255, 0.5);
  transition: transform 0.25s var(--ease-pop);
}
.mcm-feature:hover .mcm-feature__icon {
  transform: translateY(-6px) scale(1.04);
}
.mcm-feature__icon svg { width: 40px; height: 40px; stroke-width: 2.2; }
.mcm-feature__icon--shot {
  background: linear-gradient(160deg, #fff9ee, #f0dcc0);
  overflow: hidden;
  padding: 0;
}
.mcm-feature__icon--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.mcm-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.mcm-feature p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===== Gallery ===== */
.mcm-gallery {
  padding: 1rem 1rem 3.5rem;
}
.mcm-banner {
  max-width: 920px;
  margin: 0 auto 2rem;
  padding: 0.55rem;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff9f0, #f0dcc4);
  border: 3px solid #fff;
  box-shadow: 0 18px 40px var(--shadow);
  overflow: hidden;
}
.mcm-banner img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}
.mcm-shots {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1rem;
  align-items: flex-end;
}
.mcm-shot {
  margin: 0;
  text-align: center;
  flex: 0 1 160px;
  width: min(42vw, 180px);
}
.mcm-shot__frame {
  padding: 0.5rem;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff9f0, #f0dcc4);
  border: 3px solid #fff;
  box-shadow:
    0 14px 32px var(--shadow),
    inset 0 2px 0 #fff;
  overflow: hidden;
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s;
}
.mcm-shot:hover .mcm-shot__frame {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(90, 55, 30, 0.28);
}
.mcm-shot__frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  background: var(--cream-deep);
}
.mcm-shot figcaption {
  margin-top: 0.65rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===== Download banner ===== */
.mcm-download {
  padding: 1rem 1rem 3.5rem;
}
.mcm-download__banner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 230, 140, 0.55), transparent 55%),
    linear-gradient(180deg, #fff4d8 0%, #ffe8a8 45%, #f5c84a 100%);
  border: 4px solid #fff8e0;
  box-shadow:
    0 0 40px var(--gold-glow),
    0 22px 50px rgba(180, 110, 20, 0.28),
    inset 0 2px 0 #fff;
  overflow: visible;
}
.mcm-download__art {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.mcm-download__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.mcm-download__banner > *:not(.mcm-download__art):not(.mcm-download__deco) {
  position: relative;
  z-index: 1;
}
.mcm-download__title {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  background: linear-gradient(180deg, #fff6c8 10%, #ffe27a 40%, #e89a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 2px 0 #fff)
    drop-shadow(0 4px 0 #c47810)
    drop-shadow(0 10px 20px rgba(200, 120, 20, 0.35));
  margin-bottom: 0.5rem;
}
.mcm-download__banner > p {
  max-width: 28rem;
  margin: 0 auto 1.35rem;
  font-weight: 700;
  color: #6a3a08;
}
.mcm-download__banner .mcm-hero__cta { margin-bottom: 0; }

.mcm-download__deco {
  position: absolute;
  z-index: 2;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 16px rgba(90, 55, 30, 0.2);
  animation: mcm-float 3.6s ease-in-out infinite;
}
.mcm-download__deco svg { width: 30px; height: 30px; }
.mcm-download__deco--coin {
  top: -18px; left: 8%;
  background: linear-gradient(160deg, #ffe27a, var(--gold-deep));
  color: #6a3a08;
}
.mcm-download__deco--heart {
  top: -10px; right: 10%;
  background: linear-gradient(160deg, #ffb0c0, var(--pink));
  color: #fff;
  animation-delay: 0.5s;
}
.mcm-download__deco--gift {
  bottom: -16px; right: 18%;
  background: linear-gradient(160deg, #d8f8de, var(--green));
  color: #1a4a22;
  animation-delay: 1s;
}

@media (max-width: 520px) {
  .mcm-download__deco { width: 48px; height: 48px; }
  .mcm-download__deco svg { width: 22px; height: 22px; }
}

/* ===== FAQ ===== */
.mcm-faq {
  padding: 0 1rem 4rem;
}
.mcm-faq__list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mcm-faq__item {
  background: var(--panel);
  border: 3px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px var(--shadow);
  padding: 0.25rem 0.35rem;
}
.mcm-faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.mcm-faq__item summary::-webkit-details-marker { display: none; }
.mcm-faq__item summary::after {
  content: "+";
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe27a, var(--gold));
  color: #5a3208;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 0 #c47810;
  transition: transform 0.2s;
}
.mcm-faq__item[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.mcm-faq__item p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===== Footer ===== */
.mcm-footer {
  padding: 0 1rem 2.5rem;
}
.mcm-footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, #fff8ee, #f0dcc4);
  border: 3px solid #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 32px var(--shadow);
  display: grid;
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 700px) {
  .mcm-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    text-align: left;
    align-items: center;
  }
  .mcm-footer__copy { grid-column: 1 / -1; text-align: center; }
}
.mcm-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}
@media (min-width: 700px) {
  .mcm-footer__brand { justify-content: flex-start; }
}
.mcm-footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
}
.mcm-footer__brand p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mcm-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  font-weight: 800;
}
@media (min-width: 700px) {
  .mcm-footer__links { justify-content: flex-end; }
}
.mcm-footer__links a {
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.mcm-footer__links a:hover,
.mcm-footer__links a:focus-visible {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
  outline: none;
}
.mcm-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===== Modal ===== */
.mcm-modal[hidden] { display: none; }
.mcm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.mcm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(60, 35, 20, 0.45);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.mcm-modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #fff9f0, #ffe8c8);
  border: 4px solid #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(60, 35, 20, 0.35);
  animation: mcm-modal-in 0.35s var(--ease-pop);
}
@keyframes mcm-modal-in {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.mcm-modal__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--panel-edge);
  box-shadow: 0 2px 0 var(--wood);
}
.mcm-modal__close svg { width: 18px; height: 18px; }
.mcm-modal__icon {
  width: 72px; height: 72px;
  margin: 0 auto 0.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffe27a, var(--gold));
  border: 3px solid #fff;
  box-shadow: 0 6px 0 #c47810;
  overflow: hidden;
  padding: 0;
}
.mcm-modal__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mcm-modal__panel h2 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}
.mcm-modal__panel p {
  margin: 0 0 1.25rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mcm-modal__panel .mcm-btn { min-width: 120px; }

body.mcm-modal-open { overflow: hidden; }
