@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&display=swap");
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Nunito", ui-rounded, system-ui, sans-serif; color: #5a1846; -webkit-font-smoothing: antialiased;
  background: #ffd6ec url("/assets/candyland.svg") center top / cover fixed no-repeat;
}
a { color: inherit; text-decoration: none; }

.lp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: linear-gradient(180deg, rgb(255 255 255 / 0.78), rgb(255 255 255 / 0.5)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgb(160 40 110 / 0.12); }
.lp-logo .wm { --wm-size: clamp(24px, 6.4vw, 34px); }
.lp-acts { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 0.75); box-shadow: inset 0 0 0 2px rgb(255 160 210 / 0.6); }
.lp-btn { padding: 9px 16px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .03em; box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.15), 0 4px 10px rgb(0 0 0 / 0.12); }
.lp-btn--blue { background: linear-gradient(180deg, #6fd0ff, #2a9bf0); }
.lp-btn--pink { background: linear-gradient(180deg, #ff8acb, #ff3f9b); }

.lp { width: min(480px, 100%); margin: 0 auto; padding: 16px 14px 30px; display: grid; justify-items: center; gap: 14px; }
.lp-title { margin: 6px 0 0; text-align: center; font-family: "Baloo 2", "Nunito", sans-serif; font-size: clamp(22px, 6.2vw, 30px); font-weight: 800; line-height: 1.05; color: #fff; letter-spacing: .01em;
  text-shadow: 0 3px 0 #8a1f63, 2px 0 0 #8a1f63, -2px 0 0 #8a1f63, 0 -2px 0 #8a1f63, 0 6px 14px rgb(138 31 99 / 0.4); }
.lp-title .y { color: #ffd21e; } .lp-title .g { color: #5ee05e; }

.lp-game { position: relative; width: 100%; padding-top: 20px; }
.lp-online { position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #2a0f3a; color: #fff; font-weight: 900; font-size: 17px; white-space: nowrap; box-shadow: 0 0 0 3px #ff7fd0, 0 8px 18px rgb(80 10 70 / 0.35); }
.lp-online svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; }
.lp-online b { color: #ff9be0; }
.lp-phone { padding: 30px 10px 12px; border-radius: 30px; background: linear-gradient(180deg, rgb(255 220 240 / 0.95), rgb(255 200 230 / 0.92)); box-shadow: 0 0 0 4px #ff8fd6, 0 0 0 8px rgb(140 220 255 / 0.9), 0 24px 50px rgb(140 30 100 / 0.35); }
.lp-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 16px; background: #2a0f3a; color: #fff; }
.lp-hud div { display: grid; text-align: center; }
.lp-hud small { font-size: 9px; font-weight: 800; opacity: .7; letter-spacing: .08em; }
.lp-hud b { font-size: 13px; }
.lp-hud strong { font-size: clamp(20px, 6vw, 26px); color: #5ee05e; font-weight: 900; text-shadow: 0 0 12px rgb(94 224 94 / 0.4); }
.lp-bar { height: 7px; margin: 8px 18px 0; border-radius: 99px; background: rgb(42 15 58 / 0.2); overflow: hidden; }
.lp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #5ee05e, #ffd21e); transition: width .4s; }
.lp-moves { display: table; margin: 8px auto 6px; padding: 4px 12px; border-radius: 999px; background: #2a0f3a; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.lp-moves b { color: #ffd21e; font-size: 13px; }
.lp-board { position: relative; width: 100%; aspect-ratio: 1; }
.lp-board canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.lp-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none; }
.lp-badges li, .lp-badges a { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px; border-radius: 14px; background: rgb(255 255 255 / 0.88); font-size: 11.5px; font-weight: 800; color: #4a1a40; text-align: center; box-shadow: 0 4px 12px rgb(140 30 100 / 0.12); }
.lp-badges a { padding: 0; background: none; box-shadow: none; }
.lp-badges .ok { color: #2fb84f; } .lp-badges .play { color: #2fb84f; } .lp-badges .zap { color: #ffb21e; }

.lp-cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; border-radius: 22px; color: #fff; font-family: "Baloo 2", "Nunito", sans-serif; font-size: clamp(22px, 6vw, 28px); font-weight: 800; letter-spacing: .03em;
  background: linear-gradient(180deg, #ff8fd0, #ff3f9b 55%, #e0207f); box-shadow: inset 0 -5px 0 rgb(120 10 70 / 0.35), inset 0 3px 0 rgb(255 255 255 / 0.35), 0 12px 26px rgb(220 30 130 / 0.45); text-shadow: 0 2px 0 rgb(120 10 70 / 0.45); animation: lp-pulse 1.8s ease-in-out infinite; }
@keyframes lp-pulse { 50% { transform: scale(1.025); } }
.lp-login { color: #fff; font-weight: 800; text-shadow: 0 1px 3px rgb(120 10 70 / 0.6); }

.lp-how { width: 100%; margin-top: 10px; padding: 18px 14px; border-radius: 24px; background: rgb(255 255 255 / 0.88); text-align: center; box-shadow: 0 10px 30px rgb(140 30 100 / 0.15); }
.lp-how h2 { margin: 0 0 12px; font-family: "Baloo 2", "Nunito", sans-serif; color: #c0157e; font-size: 24px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-steps article { padding: 10px 6px; border-radius: 16px; background: #fff0f8; }
.lp-steps b { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 4px; border-radius: 50%; background: #ff4fa6; color: #fff; }
.lp-steps h3 { margin: 0 0 4px; font-size: 15px; color: #5a1846; }
.lp-steps p { margin: 0; font-size: 12px; color: #7a4a6e; line-height: 1.35; }

.lp-foot { display: grid; justify-items: center; gap: 10px; padding: 24px 14px 34px; background: linear-gradient(180deg, transparent, rgb(80 20 60 / 0.6)); color: #fff; text-align: center; }
.lp-foot .wm { --wm-size: 26px; }
.lp-foot nav { display: flex; gap: 16px; font-weight: 800; font-size: 14px; }
.lp-foot small { opacity: .85; font-size: 12px; line-height: 1.5; }
