@font-face {
  font-family: "Nunito";
  src: url("/landing/Nunito-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/landing/Nunito-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #14392a;
  --ink-tile: #1b4633;
  --body: #3f5b4e;
  --cream: #fffaf0;
  --cream-deep: #fbefd9;
  --green: #0f6b49;
  --pink: #f4587a;
  --gold: #ffc947;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --display-font: "Nunito", ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", sans-serif;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand, .button, .stats strong { font-family: var(--display-font); }
.material-symbols-rounded { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; line-height: 1; }

.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: 12px; background: #fff; }
.skip:focus { top: 1rem; }
.content { width: min(100%, 1180px); margin: 0 auto; padding-inline: 24px; }
.band { padding-block: clamp(56px, 6vw, 92px); }

.topbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgb(20 57 42 / 10%); background: rgb(255 250 240 / 92%); backdrop-filter: blur(10px); }
.topbar-inner { max-width: 1180px; min-height: 72px; margin: auto; padding: 14px 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.2px; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; color: var(--cream); background: var(--pink); box-shadow: 0 6px 14px -6px rgb(244 88 122 / 90%); font-family: inherit; font-size: 17px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; font-size: 14.5px; font-weight: 700; }
nav a { color: var(--ink); white-space: nowrap; }
.nav-cta { height: 44px; padding: 0 22px; display: flex; align-items: center; border-radius: 999px; color: var(--cream); background: var(--ink); box-shadow: 0 10px 20px -12px rgb(20 57 42 / 90%); font-family: var(--display-font); font-size: 15.5px; }
.nav-cta:hover { color: var(--cream); }
.language-picker { margin-left: 0; }
.language-picker details { position: relative; }
.language-picker summary { cursor: pointer; padding: 8px 12px; border: 1px solid rgb(20 57 42 / 18%); border-radius: 8px; color: var(--ink); background: var(--cream); font-size: 12px; }
.language-options { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1; min-width: 100%; padding: 4px; border: 1px solid rgb(20 57 42 / 18%); border-radius: 10px; background: var(--cream); box-shadow: 0 12px 24px rgb(20 57 42 / 16%); }
.language-picker a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 12px; }
.language-picker a[aria-current="page"] { color: var(--cream); background: var(--green); }
.legal-topbar .language-picker { margin-left: auto; }

.hero { position: relative; overflow: hidden; background: #bfe3f5 url("/landing/meadow.webp") 52% 68% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(104deg, rgb(255 250 240 / 50%), rgb(255 250 240 / 16%) 46%, transparent 62%); }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: auto; padding: clamp(40px, 4.5vw, 76px) 24px clamp(44px, 5vw, 84px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; gap: clamp(24px, 3vw, 44px); }
.hero-copy { min-width: 0; max-width: 600px; padding: clamp(26px, 3.4vw, 42px); display: flex; flex-direction: column; gap: 22px; border-radius: 38px; background: rgb(255 250 240 / 93%); box-shadow: 0 34px 60px -30px rgb(20 57 42 / 70%); backdrop-filter: blur(8px); }
.trust-badge { width: fit-content; padding: 8px 16px 8px 11px; display: flex; align-items: center; gap: 9px; border-radius: 999px; background: #fff; box-shadow: 0 12px 24px -16px rgb(20 57 42 / 80%); font-size: 13px; font-weight: 800; }
.trust-badge .material-symbols-rounded { color: var(--green); font-size: 20px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); font-weight: 800; line-height: .98; letter-spacing: -1.4px; text-wrap: balance; }
.hero h1 span { display: inline-block; color: var(--green); background: linear-gradient(transparent 64%, var(--gold) 64%, var(--gold) 90%, transparent 90%); }
.hero-lead { max-width: 28em; color: var(--body); font-size: 18.5px; font-weight: 600; line-height: 1.5; text-wrap: pretty; }
.button-row { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px; }
.button { min-height: 60px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; color: var(--cream); box-shadow: 0 14px 26px -18px rgb(20 57 42); font-size: 19px; font-weight: 700; transition: transform 240ms cubic-bezier(.34, 1.56, .64, 1); }
.button:hover { transform: scale(1.055); color: var(--cream); }
.button:active { transform: scale(.93) translateY(2px); }
.button-primary { padding-inline: 30px; background: var(--pink); box-shadow: 0 18px 32px -16px rgb(244 88 122 / 95%); font-size: 21px; }
.button-dark { background: var(--ink); }
.button-light { color: var(--ink); background: var(--cream); }
.button-light:hover { color: var(--ink); }
.button .material-symbols-rounded { font-size: 25px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--body); font-size: 13.5px; font-weight: 800; }
.trust-row b { color: #e8a317; }
.hero-mochi { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; }
.hero-mochi > span { position: absolute; width: 86%; max-width: 440px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 62%) 30%, rgb(255 255 255 / 28%) 54%, transparent 72%); }
.hero-mochi img { position: relative; width: 88%; max-width: 400px; filter: drop-shadow(0 26px 34px rgb(20 57 42 / 40%)); animation: bob 5.5s ease-in-out infinite; }

.marquee { overflow: hidden; padding-block: 15px; color: var(--cream); background: var(--green); }
.marquee-track { width: max-content; display: flex; animation: marquee 34s linear infinite; }
.marquee p { padding-right: 30px; font-family: var(--display-font); font-size: 19px; font-weight: 700; white-space: nowrap; word-spacing: 25px; }
.marquee b { color: var(--gold); }

.games { padding-bottom: clamp(40px, 4vw, 64px); }
.section-intro { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.section-intro > p { max-width: 29em; color: var(--body); font-size: 17.5px; line-height: 1.55; text-wrap: pretty; }
.section-intro h2, .faq h2, .closing h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -1px; text-wrap: balance; }
.games-intro { max-width: 32em; }
.mascot-heading { display: flex; align-items: center; gap: 13px; }
.eyebrow { color: #c2436a; font-size: 13px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.section-mochi { width: clamp(56px, 6.4vw, 78px); height: auto; flex: none; filter: drop-shadow(0 10px 16px rgb(20 57 42 / 26%)); animation: wiggle 5s ease-in-out infinite; }
.wiggle-fast { animation-duration: 4.9s; }
.wiggle-medium { animation-duration: 5.2s; }
.wiggle-slow { animation-duration: 5.5s; }
.wiggle-slowest { animation-duration: 6s; }
.board { position: relative; width: clamp(112px, 13vw, 152px); flex: none; animation: wiggle 4.6s ease-in-out infinite; }
.board img { width: 100%; filter: drop-shadow(0 10px 16px rgb(20 57 42 / 26%)); }
.board > span { position: absolute; inset: 60% 15% 6% 17%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--cream); line-height: 1; rotate: 5deg; }
.board b { font-family: var(--display-font); font-size: clamp(14px, 1.75vw, 21px); font-weight: 800; letter-spacing: -.65px; }
.board small { font-size: clamp(7px, .82vw, 10px); font-weight: 800; letter-spacing: 1.2px; }
.game-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.game-card { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 30px; background: #fff; box-shadow: 0 24px 44px -28px rgb(20 57 42 / 60%); transition: transform 260ms cubic-bezier(.34, 1.56, .64, 1), box-shadow 260ms ease; }
.game-card:hover { transform: scale(1.045) rotate(-.7deg); box-shadow: 0 34px 54px -26px rgb(20 57 42 / 65%); }
.game-card:active { transform: scale(.955) translateY(3px); }
.game-art { position: relative; height: 168px; padding: 20px; display: flex; align-items: center; justify-content: center; background-image: radial-gradient(circle, rgb(255 255 255 / 55%) 2px, transparent 2.2px); background-size: 22px 22px; }
.game-art > img:first-child { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgb(20 57 42 / 26%)); }
.game-art.klondike { background-color: #cfeaf7; }
.game-art.klondike > img:first-child { transform: rotate(-2deg); }
.game-art.spider { background-color: #e6dffa; }
.game-art.spider > img:first-child { transform: rotate(2deg); }
.game-art.freecell { background-color: #fbe3c9; }
.game-art.freecell > img:first-child { transform: rotate(-1.5deg); }
.game-art.tripeaks { background-color: #ffe0ea; }
.game-art.tripeaks > img:first-child { transform: rotate(1.5deg); }
.game-art .emblem { position: absolute; right: 16px; bottom: -22px; width: 52px; height: 52px; padding: 7px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 12px 22px -10px rgb(20 57 42 / 60%); }
.game-copy { flex: 1; padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.game-copy h3 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1; }
.game-copy p { flex: 1; color: var(--body); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.game-copy a, .text-link { font-size: 15px; font-weight: 800; }
.game-copy .rules-link::after { content: ""; position: absolute; inset: 0; }
.game-copy a[href="#get"] { position: relative; z-index: 1; }
.game-card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }

.guarantee { overflow: hidden; color: var(--cream); background: var(--ink) url("/landing/kawaii-pattern.svg") repeat; background-size: 180px 311.769px; }
.guarantee .content { position: relative; }
.guarantee .content::before { content: ""; position: absolute; inset: -100px -20vw; pointer-events: none; background: radial-gradient(70% 60% at 82% 6%, rgb(47 174 134 / 40%), transparent 70%); }
.guarantee .section-intro { position: relative; max-width: 30em; }
.guarantee .eyebrow { color: var(--gold); }
.guarantee-grid { position: relative; margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 22px; }
.guarantee-grid article { min-width: 0; padding: 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid rgb(255 250 240 / 14%); border-radius: 26px; background: var(--ink-tile); }
.guarantee-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: var(--ink); background: var(--gold); font-family: var(--display-font); font-size: 20px; font-weight: 800; }
.guarantee-grid article:nth-child(2) > span { color: var(--cream); background: var(--pink); }
.guarantee-grid article:nth-child(3) > span { background: #8fd3f4; }
.guarantee-grid h3 { font-size: 23px; font-weight: 700; }
.guarantee-grid p { color: #d7e5dc; font-size: 15px; line-height: 1.55; text-wrap: pretty; }

.journey, .faq { background: var(--cream-deep); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; gap: clamp(32px, 4vw, 56px); }
.text-link { margin-top: 2px; font-size: 16px; }
.path-demo { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.map-card { padding: 12px; border: 4px solid #2c2145; border-radius: 30px; background: #fbf1da; box-shadow: 0 24px 44px -28px rgb(20 57 42 / 60%); }
.map-card > div { padding: clamp(14px, 2vw, 22px); display: flex; flex-direction: column; gap: 14px; border: 2px dashed rgb(44 33 69 / 40%); border-radius: 22px; }
.map-card svg { width: 100%; height: auto; display: block; }
.path-status { padding: 10px 16px 10px 10px; display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; border-radius: 999px; color: #2c2145; background: #d7e3ce; font-family: var(--display-font); font-size: clamp(17px, 2.1vw, 21px); font-weight: 800; }
.path-status .material-symbols-rounded { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--cream); font-size: 23px; }
.path-status strong { color: #2f7d52; }
.path-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.path-pills span { padding: 11px 20px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--gold); box-shadow: 0 16px 28px -20px rgb(20 57 42 / 90%); font-family: var(--display-font); font-size: 16px; font-weight: 700; white-space: nowrap; }
.path-pills span:nth-child(2) { background: #8fd3f4; }
.path-pills span:nth-child(3) { color: var(--cream); background: var(--ink); }
.path-pills i { font-size: 21px; }

.decks { padding-bottom: clamp(48px, 5vw, 76px); }
.deck-showcase { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.4vw, 28px); }
.deck-group { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.deck-group > p { color: var(--body); font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; }
.card-fan { width: 100%; padding-top: 8px; display: flex; align-items: flex-start; justify-content: center; }
.card-fan > * { width: 19%; aspect-ratio: 208 / 304; margin-inline: -3.2%; border-radius: 9px; object-fit: contain; filter: drop-shadow(0 12px 20px rgb(20 57 42 / 30%)); transition: transform 260ms cubic-bezier(.34, 1.56, .64, 1), scale 260ms cubic-bezier(.34, 1.56, .64, 1); }
.card-fan > :nth-child(1) { transform: rotate(-22deg) translateY(18px); }
.card-fan > :nth-child(2) { transform: rotate(-11deg) translateY(9px); }
.card-fan > :nth-child(4) { transform: rotate(11deg) translateY(9px); }
.card-fan > :nth-child(5) { transform: rotate(22deg) translateY(18px); }
.four-card-fan > :nth-child(1) { transform: rotate(-18deg) translateY(18px); }
.four-card-fan > :nth-child(2) { transform: rotate(-6deg) translateY(4px); }
.four-card-fan > :nth-child(3) { transform: rotate(6deg) translateY(4px); }
.four-card-fan > :nth-child(4) { transform: rotate(18deg) translateY(14px); }

@media (hover: hover) {
  .card-fan > :hover { z-index: 1; scale: 1.3; }
}

.community { padding-top: clamp(56px, 6vw, 92px); }
.stats { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 18px; }
.stats div { padding: 22px; display: flex; flex-direction: column; border-radius: 26px; background: var(--gold); box-shadow: 0 22px 38px -24px rgb(20 57 42 / 70%); transform: rotate(-2deg); }
.stats div:nth-child(2) { background: #8fd3f4; transform: rotate(1.6deg); }
.stats div:nth-child(3) { background: #ffe0ea; transform: rotate(-1.2deg); }
.stats strong { font-size: 38px; font-weight: 800; line-height: 1; }
.stats span { margin-top: 5px; font-size: 13px; font-weight: 800; }

.faq-inner { max-width: 860px; margin: auto; padding-inline: 24px; }
.faq-heading { margin-bottom: 30px; display: flex; align-items: center; gap: 16px; }
.faq h2 { font-size: clamp(30px, 4vw, 48px); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list article { padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 18px 34px -28px rgb(20 57 42 / 70%); }
.faq-list h3 { margin-bottom: 7px; font-size: 21px; font-weight: 700; }
.faq-list p { color: var(--body); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }

.closing { padding: clamp(56px, 6vw, 96px) 24px clamp(64px, 7vw, 104px); }
.closing > div { max-width: 1180px; margin: auto; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 22px; border-radius: 44px; color: var(--cream); text-align: center; background-color: var(--pink); background-image: radial-gradient(60% 80% at 12% 10%, rgb(255 201 71 / 55%), transparent 70%), radial-gradient(circle, rgb(255 255 255 / 22%) 2px, transparent 2.2px); background-size: 100% 100%, 26px 26px; }
.closing img { width: clamp(140px, 18vw, 196px); margin-bottom: -4px; filter: drop-shadow(0 18px 26px rgb(20 57 42 / 40%)); animation: bob 5.5s ease-in-out infinite; }
.closing h2 { max-width: 20em; font-size: clamp(34px, 5vw, 60px); letter-spacing: -1.2px; }
.closing > div > p { font-size: 19px; font-weight: 700; }
.closing .button-row { justify-content: center; }
.store-button { min-height: 64px; padding-inline: 30px; font-size: 18px; width: 200px; }
.store-icon { width: 25px !important; height: 25px; animation: none !important; margin-bottom: 0px !important; }

footer { color: #d7e5dc; background: var(--ink); }
.footer-inner { max-width: 1180px; margin: auto; padding: 44px 24px 52px; display: flex; justify-content: center; }
.footer-brand { display: flex; align-items: center; flex-direction: column; gap: 7px; text-align: center; }
.footer-title { display: flex; align-items: center; gap: 11px; color: var(--cream); font-family: var(--display-font); font-size: 19px; font-weight: 800; }
.footer-brand img { width: 46px; height: auto; filter: drop-shadow(0 8px 14px rgb(0 0 0 / 40%)); }
.footer-brand p { font-size: 14px; font-weight: 600; }
.footer-links { margin-top: 8px; display: flex; gap: 18px; font-size: 13px; font-weight: 700; }
.footer-links a { color: var(--gold); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--cream); }

.legal-page { color: var(--body); background: var(--cream); }
.legal-topbar { max-width: 860px; min-height: 72px; margin: auto; padding: 18px 24px; display: flex; align-items: center; }
.legal-main { padding: clamp(42px, 6vw, 76px) 24px clamp(64px, 8vw, 104px); border-top: 1px solid rgb(20 57 42 / 10%); background: var(--cream-deep); }
.legal-document { max-width: 760px; margin: auto; padding: clamp(28px, 5vw, 56px); border-radius: 30px; background: #fff; box-shadow: 0 24px 50px -34px rgb(20 57 42 / 55%); }
.legal-document h1, .legal-document h2, .legal-document h3 { color: var(--ink); font-family: inherit; }
.legal-document h1 { margin: 8px 0 4px; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -1px; }
.legal-document h2 { margin: 2.2rem 0 .7rem; font-size: 23px; line-height: 1.25; }
.legal-document h3 { margin: 1.4rem 0 .45rem; font-size: 17px; }
.legal-document p, .legal-document li { font-size: 16px; line-height: 1.7; }
.legal-document p + p { margin-top: 1rem; }
.legal-document ul { margin: .4rem 0 1rem; padding-left: 1.4rem; }
.legal-document li + li { margin-top: .55rem; }
.rules-goal { margin-top: 1.5rem; font-size: 19px !important; font-weight: 800; color: var(--ink); }
.rules-preview { display: block; width: 100%; height: auto; margin: 1.5rem auto; border-radius: 20px; }
.rules-steps { margin: 1.2rem 0; padding-left: 1.5rem; }
.rules-steps li + li { margin-top: .75rem; }
.rules-variation { margin: 1.5rem 0; }
.legal-document a { text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { margin-bottom: 2rem !important; color: #6e7f76; font-size: 14px !important; font-weight: 700; }
.legal-address { margin-top: .5rem !important; }
.legal-footer { min-height: 100px; padding: 28px 24px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 14px; font-weight: 700; }
.legal-footer a { color: var(--gold); }

@keyframes wiggle { 0%, 100% { transform: rotate(-3.5deg); } 50% { transform: rotate(3.5deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .topbar nav:not(.language-picker) { width: 100%; margin-left: 0; }
  .topbar nav:not(.language-picker) a:not(.nav-cta) { display: none; }
  .legal-topbar { flex-wrap: wrap; gap: 12px; }
  .nav-cta { margin-left: auto; position: absolute; right: 24px; top: 14px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-mochi { order: 2; }
  .hero-mochi img { width: min(72%, 320px); }
  .game-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

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