.luckydecide-page { --bg: #fffaf5; --surface: #fffaf5; --primary: #f16b67; --primary-ink: #a94740; --ink: #292722; --muted: #756a62; background: var(--bg); }
.luckydecide-page .container { width: min(1120px, calc(100% - 64px)); }
.luckydecide-page header { background: rgb(255 250 245 / 78%); }
.luckydecide-page .menu-toggle { border: 0; background: transparent; padding: 8px; }
.luckydecide-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.luckydecide-page a:focus-visible, .luckydecide-page summary:focus-visible, .luckydecide-page button:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 5px; }
.luckydecide-page em { font-style: normal; color: var(--primary); }
.ld-hero { padding: 0; }
.ld-breadcrumb { display: flex; gap: 12px; padding-top: 24px; color: var(--muted); font-size: .8rem; }
.ld-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; min-height: 560px; padding-block: 24px 32px; }
.ld-identity { display: flex; align-items: center; gap: 16px; }
.ld-identity img { border-radius: 16px; }
.ld-identity strong { display: block; font-size: 1.6rem; line-height: 1.3; }
.ld-identity span { display: block; color: var(--muted); font-size: .98rem; margin-top: 3px; }
.ld-hero h1 { font-size: clamp(2.6rem, 4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.38; margin-top: 34px; }
.ld-lead { max-width: 400px; margin-top: 22px; color: var(--muted); font-size: 1.04rem; line-height: 1.9; }
.ld-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ld-store { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 11px 18px; border-radius: 28px; border: 1px solid transparent; background: #c94f4a; color: #fff; font-size: .87rem; font-weight: 650; white-space: nowrap; }
.ld-store i { font-size: 1.25rem; }
.ld-store--secondary { border-color: #c9aca0; background: transparent; color: var(--ink); }
.ld-store--secondary i { color: #4b846d; }
.ld-store:hover { background: var(--primary-ink); color: #fff; }
/* Source UI, real transparent bezel and enlarged wheel remain independent layers. */
.ld-hero-visual { position: relative; isolation: isolate; width: min(100%, 470px); justify-self: center; display: grid; place-items: center; padding-block: 12px; }
.ld-hero-backdrop { position: absolute; left: 50%; top: 46%; width: 120%; height: 120%; transform: translate(-50%, -50%); object-fit: contain; opacity: .55; pointer-events: none; z-index: 0; }
.ld-hero-device { position: relative; z-index: 1; width: 280px; max-width: 74%; aspect-ratio: 1350 / 2760; filter: drop-shadow(0 10px 20px rgb(61 39 27 / 6%)); }
.ld-hero-screen { position: absolute; inset: 0; mask: url('/img/apps/snapscan/iphone-18-pro-screen-mask.webp') center / 100% 100% no-repeat; }
.ld-hero-screen img { position: absolute; left: 5.333333%; top: 2.5%; width: 89.333333%; height: 95%; object-fit: fill; }
.ld-hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ld-hero-screen img, .ld-hero-wheel { filter: saturate(.85) brightness(1.02); }
.ld-hero-wheel { position: absolute; width: 121.68%; max-width: none; height: auto; left: 50%; top: 27.173%; transform: translateX(-50%); clip-path: ellipse(49.7% 49.7% at 50% 50%); }
.ld-scenarios { display: flex; justify-content: space-evenly; gap: 24px; padding: 22px 32px; background: #fffdf9; border: 1px solid #eadfd4; border-radius: 24px; }
.ld-scenarios li { display: flex; align-items: center; gap: 15px; font-size: 1.05rem; }
.ld-scenarios i { color: #a45e49; font-size: 1.35rem; }
.ld-scenarios li + li { border-left: 1px solid #dcc5b8; padding-left: 40px; }
.ld-section { padding-block: 36px; }
.ld-style { margin-top: 24px; padding-block: 40px; background: #f3ede5; border-block: 1px solid #e9e0d6; }
.ld-section h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); line-height: 1.4; letter-spacing: -.035em; }
.ld-style-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
.ld-copy > p { max-width: 460px; margin-top: 22px; font-size: 1rem; color: var(--muted); line-height: 1.9; }
.ld-features { display: flex; gap: 30px; margin-top: 34px; }
.ld-features li { display: flex; flex-direction: column; gap: 12px; align-items: center; font-size: .85rem; }
.ld-features i { color: var(--primary); font-size: 1.6rem; }
.ld-themes { width: 100%; max-width: 460px; justify-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ld-theme { min-width: 0; }
.ld-theme a { display: block; border: 1px solid rgb(255 255 255 / 85%); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 18px rgb(68 48 32 / 5%); cursor: zoom-in; }
.ld-theme img { display: block; width: 100%; height: auto; }
.ld-theme figcaption { margin-top: 9px; text-align: center; color: var(--muted); font-size: .8rem; }
.ld-play { background: #fffaf5; }
.ld-play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 32px; align-items: end; }
.ld-finger-art { width: 100%; max-width: 420px; justify-self: center; }
.ld-play-copy { min-width: 0; }
.ld-finger-art img { width: 100%; height: auto; display: block; }
.ld-tool-description { display: flex; gap: 18px; margin-top: 0; }
.ld-tool-description > i { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #ffe6dc; color: #b64c45; font-size: 1.5rem; }
.ld-tool-description + .ld-tool-description { margin-top: 24px; }
.ld-tool-description + .ld-tool-description > i { background: #ece4f6; color: #705296; }
.ld-tool-description h3 { font-size: 1.2rem; }
.ld-tool-description p { color: var(--muted); line-height: 1.9; font-size: .95rem; margin-top: 10px; }
.ld-dice-crop { height: 270px; overflow: hidden; margin-top: 24px; border-radius: 24px 24px 0 0; }
.ld-dice-crop .ld-phone { width: 100%; max-width: 300px; margin: 0 auto; }
.ld-phone { display: block; width: 100%; cursor: zoom-in; border-radius: 18% / 8.7%; overflow: hidden; }
.ld-phone img { display: block; width: 100%; height: auto; }
.ld-more { background: #edf2ed; border-block: 1px solid #e0e7de; }
.ld-more-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 32px 34px; }
.ld-mini-tool { display: grid; grid-template-columns: minmax(0, 172px) minmax(0, 1fr); gap: 22px; align-items: center; min-width: 0; }
.ld-mini-tool h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.ld-mini-tool h2::after { content: ''; display: block; width: 35px; height: 3px; background: var(--primary); margin-top: 17px; }
.ld-mini-tool p { max-width: 200px; color: var(--muted); margin-top: 20px; font-size: .95rem; line-height: 1.9; }
.ld-faq { padding-top: 36px; padding-bottom: 40px; }
.ld-faq h2 { font-size: 1.85rem; }
.ld-faq-list { margin-top: 20px; }
.ld-faq details { border-bottom: 1px solid var(--line); }
.ld-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 8px; list-style: none; cursor: pointer; font-size: .98rem; font-weight: 550; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary i { color: var(--primary-ink); font-size: .75rem; flex-shrink: 0; }
.ld-faq details[open] summary i { transform: rotate(180deg); }
.ld-faq details p { max-width: 850px; color: var(--muted); line-height: 1.9; font-size: .94rem; padding: 0 8px 22px; }
.ld-final { padding: 36px 24px; border-radius: 32px; background: #f8e8df; border: 1px solid #efdbd0; box-shadow: 0 10px 28px rgb(104 61 43 / 4%); text-align: center; margin-bottom: 48px; }
.ld-final .ld-identity, .ld-final .ld-actions { justify-content: center; }
.ld-final .ld-identity { text-align: left; }
.ld-final .ld-actions { margin-top: 24px; }
.ld-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ld-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--primary-ink); font-size: .9rem; }
.ld-footer-links { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 24px; font-size: .85rem; color: var(--muted); }
.ld-copyright { color: var(--muted); font-size: .75rem; margin-top: 26px; }
@media (max-width: 1100px) { .ld-style-grid { gap: 40px; } .ld-store { padding-inline: 15px; } .ld-hero h1 { font-size: 3rem; } .ld-features { gap: 20px; } .ld-more-panel { gap: 24px; padding: 30px 24px; } .ld-mini-tool { gap: 16px; } }
@media (max-width: 899px) { .ld-hero-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 38px; } .ld-hero-copy { max-width: 560px; } .ld-hero-visual { width: min(100%, 430px); } .ld-hero-backdrop { width: 108%; height: 108%; } .ld-hero h1 { font-size: 3.3rem; } .ld-style-grid { gap: 30px; } .ld-scenarios { gap: 18px; padding-inline: 24px; } .ld-scenarios li { font-size: .92rem; } .ld-scenarios li + li { padding-left: 22px; } .ld-play-grid { gap: 28px; } .ld-dice-crop { height: 250px; } .ld-more-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px; } .ld-mini-tool { grid-template-columns: 172px minmax(0, 1fr); gap: 32px; } .ld-mini-tool h2 { font-size: 1.8rem; } .ld-features { flex-wrap: wrap; } }
@media (max-width: 639px) { .ld-hero-backdrop { width: 100%; height: 100%; } .luckydecide-page .container { width: calc(100% - 40px); } .ld-breadcrumb { padding-top: 18px; } .ld-hero-grid { padding-top: 30px; } .ld-identity img { width: 54px; height: 54px; border-radius: 13px; } .ld-identity strong { font-size: 1.4rem; } .ld-hero h1 { margin-top: 28px; font-size: clamp(2.2rem, 9vw, 3rem); } .ld-lead { font-size: .98rem; } .ld-actions { gap: 10px; margin-top: 24px; } .ld-store { font-size: .8rem; padding-inline: 14px; } .ld-scenarios { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 12px; border-radius: 20px; } .ld-scenarios li { min-width: 0; flex-direction: column; gap: 6px; font-size: .75rem; white-space: nowrap; } .ld-scenarios i { font-size: 1.1rem; } .ld-scenarios li + li { border: 0; padding-left: 0; } .ld-section { padding-block: 24px; } .ld-style { margin-top: 20px; padding-block: 28px; } .ld-style-grid, .ld-play-grid { grid-template-columns: 1fr; gap: 28px; } .ld-section h2 { font-size: 1.9rem; } .ld-copy > p { font-size: .95rem; } .ld-features { justify-content: space-between; gap: 16px; margin-top: 26px; } .ld-themes { gap: 12px; } .ld-theme a { border-radius: 16px; } .ld-play-grid { margin-top: 24px; gap: 24px; } .ld-finger-art { max-width: 320px; margin-inline: auto; } .ld-dice-crop { height: 250px; margin-top: 24px; } .ld-dice-crop .ld-phone { width: 100%; max-width: 280px; } .ld-more-panel { padding: 24px 18px; gap: 28px; } .ld-mini-tool { grid-template-columns: 1fr 1fr; gap: 18px; } .ld-mini-tool h2 { font-size: 1.3rem; } .ld-mini-tool p { font-size: .85rem; margin-top: 16px; } .ld-faq { padding-top: 24px; padding-bottom: 32px; } .ld-final { padding: 28px 12px; border-radius: 24px; margin-bottom: 40px; } .ld-final .ld-actions { gap: 10px; } .ld-final .ld-store { padding-inline: 12px; } }
