/* ---- Self-hosted display fonts ---------------------------------------------------------------
   These were loaded from fonts.googleapis.com until 2026-11-26. That put the single most
   important element on the page -- the CTA label -- behind a third-party CDN: if gstatic is
   slow, blocked (corporate networks, some EU/ISP filters, China) or fails, the button falls
   back to a plain system font and no longer looks like the approved design.
   Hosting them here removes that dependency and one extra DNS+TLS round trip. */
@font-face{font-family:"Lilita One";font-style:normal;font-weight:400;font-display:swap;
  src:url("/fonts/lilitaone-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lilita One";font-style:normal;font-weight:400;font-display:swap;
  src:url("/fonts/lilitaone-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:600;font-display:swap;
  src:url("/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:600;font-display:swap;
  src:url("/fonts/fredoka-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* =================================================================================================
   Gin Rummy Super landing page — design "E" (client-approved 26 Nov 2026), LIVE on "/".
   Built from the layered assets in GIN_LP_E_part1_web, not as a flat image, per the brief:
   headline and CTA are real HTML/CSS, only the scene/logo/coins are artwork.
   Must fit one mobile screen without scrolling.
   Previous design (v3) is backed up in incoming/backup-pre-designE/.
   ================================================================================================= */

:root{
  --bg-dark:#1A0548;
  --bg-dark2:#1B032A;
  --bg-glow:#401553;
  --gold:#FFAF04;
  --gold-lt:#FECF1D;
  --gold-hi:#FFD84A;
  --purple:#8E0CFE;
  --green-lt:#6BF03A;
  --green:#1FA800;
  --green-sh:#0B5E00;
  --cta-rim:#F5C542;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:"Fredoka","Trebuchet MS",system-ui,sans-serif;color:#fff;
  background:var(--bg-dark2);
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}


/* ---- page shell -------------------------------------------------------------------------------
   The background image carries the purple glow; a centred column holds the content. */
.e{
  position:relative;isolation:isolate;
  min-height:100dvh;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;
  padding:1.5vh 4vw 2.5vh;
  background:var(--bg-dark2) url("/img/e-bg-mobile.webp") center/cover no-repeat;
  text-align:center;overflow:clip;
}

/* ---- 1. header: logo left, headline right ---- */
.e-top{
  width:100%;display:flex;align-items:center;gap:3vw;
  justify-content:center;
}
.e-logo{width:24vw;max-width:150px;height:auto;flex:0 0 auto;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.5))}

.e-head{position:relative;display:flex;flex-direction:column;align-items:flex-start;
  font-family:"Lilita One",system-ui,sans-serif;font-weight:400;line-height:1.02;
  text-align:left;letter-spacing:.4px}
.e-h1{font-size:clamp(20px,6.3vw,32px);color:#fff;
  transform:skewX(-7deg);text-shadow:0 3px 0 #2A0A5E,0 5px 10px rgba(0,0,0,.45)}
.e-h2{font-size:clamp(20px,6.3vw,32px);transform:skewX(-7deg);
  background:linear-gradient(var(--gold-hi),#FFAF04);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 3px 0 #2A0A5E) drop-shadow(0 5px 10px rgba(0,0,0,.45))}
/* purple underline swoosh, CSS per the brief */
.e-swoosh{display:block;width:72%;height:4px;margin-top:.5vh;margin-left:12%;
  border-radius:999px;background:linear-gradient(90deg,transparent,var(--purple) 22%,#c77bff 60%,transparent);
  transform:skewX(-7deg) rotate(-1.2deg);filter:drop-shadow(0 1px 3px rgba(142,12,254,.7))}

/* ---- 2. social proof ---- */
.e-stars{margin-top:1.4vh;font-size:clamp(20px,6.4vw,30px);letter-spacing:4px;line-height:1;
  background:linear-gradient(var(--gold-lt),var(--gold));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
.e-proof{margin-top:.5vh;font-weight:600;font-size:clamp(12px,3.7vw,16px);
  color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.55)}

/* ---- 3. table scene: the visual focus ---- */
.e-scene{position:relative;width:78vw;max-width:440px;margin-top:.6vh;flex:0 1 auto;
  display:flex;justify-content:center}
.e-scene::before{content:"";position:absolute;inset:-12% -8%;z-index:-1;
  background:radial-gradient(closest-side,rgba(150,60,220,.35),transparent)}
.e-scene img{width:100%;height:auto;object-fit:contain;
  filter:drop-shadow(0 10px 26px rgba(0,0,0,.5))}

/* ---- 4. CTA (CSS, so it stays sharp) ---- */
.e-cta{
  position:relative;overflow:hidden;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  width:auto;min-width:68vw;max-width:92vw;height:clamp(48px,13.5vw,74px);margin-top:1.4vh;
  border-radius:999px;text-decoration:none;
  font-family:"Lilita One",system-ui,sans-serif;font-weight:400;
  font-size:clamp(23px,7.2vw,40px);letter-spacing:.5px;color:#fff;
  text-shadow:0 3px 0 var(--green-sh),0 5px 10px rgba(0,0,0,.4);
  background:linear-gradient(180deg,var(--green-lt) 0%,#3fc71f 48%,var(--green) 100%);
  border:4px solid var(--cta-rim);
  box-shadow:0 0 26px 6px rgba(107,240,58,.4),0 8px 20px rgba(0,0,0,.5),
             inset 0 3px 0 rgba(255,255,255,.5),inset 0 -5px 10px rgba(11,94,0,.45);
  animation:e-pulse 2.2s ease-in-out infinite;
}
@keyframes e-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
.e-shine{position:absolute;top:-60%;left:-75%;width:45%;height:220%;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.7) 50%,rgba(255,255,255,0));
  transform:rotate(18deg);animation:e-shine 2.9s ease-in-out infinite}
@keyframes e-shine{0%{left:-75%}55%,100%{left:125%}}

.e-note{margin-top:.9vh;font-weight:600;font-size:clamp(11px,3.4vw,15px);
  color:#efe4ff;text-shadow:0 2px 4px rgba(0,0,0,.5)}

/* ---- 5. store badges ---- */
.e-badges{display:flex;gap:3vw;margin-top:1.2vh;align-items:center;justify-content:center}
.e-badge{display:block;width:27vw;max-width:160px}
.e-badge img{width:100%;height:auto;display:block;border-radius:7px;
  box-shadow:0 4px 10px rgba(0,0,0,.45)}

/* ---- legal ---- */
.e-foot{margin-top:1.1vh;font-size:clamp(9px,2.6vw,11px);line-height:1.35;
  color:rgba(255,255,255,.72);text-shadow:0 1px 3px rgba(0,0,0,.6)}
.e-foot p+p{margin-top:2px}

/* ---- 6. decorative coins, behind content ---- */
.e-coin{position:absolute;bottom:-6%;width:20vw;max-width:110px;height:auto;z-index:-1;
  pointer-events:none;opacity:.85}
.e-coin-l{left:-7vw}
.e-coin-r{right:-7vw;transform:scaleX(-1)}

/* ---- desktop ---- */
@media (min-width:820px){
  .e{background-image:url("/img/e-bg-desktop.webp");padding:1.6vh 24px 2vh}
  .e-top{max-width:470px;gap:16px}
  .e-logo{width:clamp(78px,11vh,104px)}
  .e-h1,.e-h2{font-size:clamp(20px,3vh,30px)}
  .e-stars{font-size:clamp(18px,2.6vh,26px);margin-top:1vh}
  .e-proof{font-size:clamp(12px,1.8vh,15px)}
  .e-scene{width:min(46vh,330px);margin-top:.4vh}
  .e-cta{width:auto;min-width:min(42vh,300px);max-width:86vw;height:clamp(44px,6.4vh,58px);
         font-size:clamp(18px,2.9vh,24px);margin-top:1vh}
  .e-note{font-size:clamp(11px,1.7vh,14px)}
  .e-badges{gap:14px;margin-top:1vh}
  .e-badge{width:clamp(104px,15vh,132px)}
  .e-foot{font-size:clamp(9px,1.4vh,11px);margin-top:.9vh}
  .e-coin{width:clamp(90px,14vh,130px)}
}

/* ---- shorter phones: scale the scene down so nothing scrolls ---- */
@media (max-height:740px){
  .e{padding:1vh 4vw 1.2vh}
  .e-logo{width:21vw}
  .e-h1,.e-h2{font-size:clamp(17px,5.4vw,25px)}
  .e-stars{font-size:clamp(17px,5.4vw,24px);margin-top:1vh}
  .e-proof{font-size:clamp(11px,3.3vw,14px)}
  .e-scene{width:66vw}
  .e-cta{height:clamp(44px,12vw,58px)}   /* size stays uniform; see CTA typography above */
  .e-badge{width:25vw}
  .e-foot{font-size:9px}
}
@media (max-height:620px){
  .e-logo{width:18vw}
  .e-h1,.e-h2{font-size:clamp(15px,4.6vw,20px)}
  .e-stars{font-size:16px;margin-top:.6vh}
  .e-proof{font-size:11px}
  .e-scene{width:58vw}
  .e-cta{height:42px;border-width:3px}   /* size from the shared clamp */
  .e-note{font-size:10px}
  .e-badge{width:23vw}
  .e-coin{display:none}
}

@media (prefers-reduced-motion:reduce){
  .e-cta,.e-shine{animation:none}
}

/* Short desktop windows (laptops at 1280x650, 1366x600). The min-width:820px block above
   wins over the max-height mobile tiers, so these need their own rules. */
@media (min-width:820px) and (max-height:720px){
  .e{padding:1vh 24px 1.4vh}
  .e-top{gap:12px}
  .e-logo{width:clamp(62px,10vh,84px)}
  .e-h1,.e-h2{font-size:clamp(17px,2.8vh,24px)}
  .e-swoosh{height:3px}
  .e-stars{font-size:clamp(15px,2.4vh,20px);margin-top:.6vh}
  .e-proof{font-size:clamp(10px,1.6vh,13px)}
  .e-scene{width:min(38vh,250px);margin-top:.2vh}
  .e-cta{width:auto;min-width:min(36vh,250px);max-width:86vw;height:clamp(38px,5.6vh,48px);
         font-size:clamp(16px,2.5vh,21px);margin-top:.7vh;border-width:3px}
  .e-note{font-size:clamp(10px,1.5vh,12px);margin-top:.5vh}
  .e-badges{margin-top:.7vh;gap:10px}
  .e-badge{width:clamp(88px,13vh,110px)}
  .e-foot{font-size:clamp(8px,1.2vh,10px);margin-top:.6vh}
  .e-coin{width:clamp(70px,11vh,96px)}
}

@keyframes pulse-strong {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%      { transform: scale(1.06); filter: brightness(1.12); }
}

/* Policy text sits below the fold-ish content; keep it quiet but legible */
footer {
  margin-top: 8px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  width: 100%;
}
/* Desktop only: the table/cards artwork sits behind the footer there, so the policy
   text needs a scrim to stay readable. On mobile the footer is over plain background. */
.desktop footer {
  padding: 7px 12px 8px;
  border-radius: 12px;
  background: rgba(20, 8, 48, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
footer a { color: inherit; }

/* Desktop: hide the mobile CTA + note, show QR (lp.js adds body.desktop) */
/* Desktop shows the CTA again: it now plays in the browser instead of pointing at a
   store link that loops back here. The QR stays as the "take it with you" option. */
.desktop .cta, .desktop .note { display: flex; }
.desktop .note { display: block; }

.nudge {
  display: inline-block;
  margin: 10px auto 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  animation: nudge-in .35s ease-out;
}

.nudge[hidden] { display: none; }

@keyframes nudge-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

#qr {
  display: none;
  width: clamp(96px, 13vh, 132px);
  margin: 10px auto 0;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}

#qr img, #qr canvas { display: block; width: 100%; height: auto; }

.qrtext {
  display: none;
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}

.exit {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 4, 24, .78);
  padding: 24px;
}

.exit[hidden] { display: none; }

.exit-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #2a166b 0%, #160b3f 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 2px rgba(249, 200, 70, .35);
  animation: nudge-in .25s ease-out;
}

.exit-box h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }

.exit-box p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

.exit-qr {
  width: 236px;
  margin: 0 auto 18px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
}

.exit-qr img, .exit-qr canvas { display: block; margin: 0 auto; }

.exit-badges { display: flex; gap: 12px; justify-content: center; }

.exit-badges img { height: 48px; width: auto; display: block; }

.exit-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.exit-close:hover { background: rgba(255, 255, 255, .22); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about {
  max-width: 420px;
  margin: 0 auto 4px;
  text-align: left;
}

.about > summary {
  display: block;             /* also removes the default marker in Safari */
  list-style: none;
  cursor: pointer;
  text-align: center;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about > summary::-webkit-details-marker { display: none; }

.about > summary::marker { content: ""; }

.about > summary::after { content: " ▾"; font-size: 10px; text-decoration: none; }

.about[open] > summary::after { content: " ▴"; }

.about p {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .7);
  margin: 8px 0 0;
}

.age {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
}

.operator {
  margin: 0 0 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, .75);
}

.disclosure {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .7);
  max-width: 480px;
  margin: 8px auto 0;
}

/* Cookie notice (EU/EEA/UK/CH only) — deliberately minimal: one bottom strip, no overlay,

.cc{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;flex-wrap:wrap;
  align-items:center;justify-content:center;gap:10px;
  padding:9px 14px calc(9px + env(safe-area-inset-bottom));
  background:rgba(16,6,40,.93);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  border-top:1px solid rgba(255,255,255,.14);
  font-family:"Baloo 2","Trebuchet MS",system-ui,sans-serif;
  transform:translateY(100%);transition:transform .22s ease}
.cc.cc-in{transform:translateY(0)}
.cc[hidden]{display:none}
.cc-text{margin:0;font-size:12px;font-weight:500;line-height:1.3;color:rgba(255,255,255,.88)}
.cc-text a{color:#ffd040}
.cc-actions{display:flex;gap:8px;flex:0 0 auto}
.cc-btn{font:inherit;font-size:12px;font-weight:700;line-height:1;cursor:pointer;
  padding:7px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.3);
  background:transparent;color:rgba(255,255,255,.85)}
.cc-btn-ok{background:linear-gradient(#7dff5a,#11a81c);border-color:#ffe66b;color:#06320b}
.cc-btn-ghost:hover{background:rgba(255,255,255,.1)}

.about:not([open]) > *:not(summary){display:none}

.qrtip{position:absolute;z-index:70;pointer-events:auto;
  opacity:0;transform:translateY(6px) scale(.97);transition:opacity .16s ease,transform .16s ease}
.qrtip[hidden]{display:none}
.qrtip.qrtip-in{opacity:1;transform:translateY(0) scale(1)}
.qrtip{transform:translateY(0) scale(.97)}
.qrtip-inner{background:#fff;border-radius:14px;padding:12px 12px 9px;
  box-shadow:0 12px 34px rgba(0,0,0,.45),0 0 0 2px rgba(255,214,70,.65);
  display:flex;flex-direction:column;align-items:center;gap:7px}
.qrtip #qr{display:block;width:142px;height:142px;background:#fff;padding:0;border-radius:6px}
.qrtip #qr img,.qrtip #qr canvas{display:block;width:100%;height:auto}
.qrtip-text{margin:0;max-width:160px;text-align:center;font-size:12px;line-height:1.25;
  font-weight:600;color:#2a0a5e}
/* pointer on the side facing the badge */
.qrtip-arrow{position:absolute;top:50%;transform:translateY(-50%);
  width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}
.qrtip .qrtip-arrow{right:-8px;border-left:9px solid #fff}       /* tip left of badge  */
.qrtip.qrtip-right .qrtip-arrow{right:auto;left:-8px;border-left:0;border-right:9px solid #fff}
@media (prefers-reduced-motion:reduce){.qrtip{transition:none}}


/* =================================================================================================
   Blocks carried over from the v3 live page: idle nudge, QR tooltip, desktop exit modal,
   consent banner, About/legal text. Re-tinted for the design-E palette.
   ================================================================================================= */

:root{--muted:#cdbdf0;--text:#fff}

/* the headline <p> replaces the old .sub; keep legal/footer text readable over the artwork */
.e-foot .about,.e-foot .age,.e-foot .legal,.e-foot .disclosure{text-align:center}
.e-foot .legal a{color:inherit}

/* footer sits over the table artwork on desktop — scrim keeps the policy text legible,
   which the Google Ads review depends on */
.desktop .e-foot{background:rgba(20,8,48,.55);backdrop-filter:blur(3px);
  border-radius:12px;padding:7px 14px;max-width:760px;margin-left:auto;margin-right:auto}

/* CTA nudge state (mobile idle) — bound to the design-E button */
/* Idle nudge: the CTA shifts green -> blue and keeps pulsing. This replaces the old pill that
   appeared below the button; that pill was added to the flow and pushed the store badges down,
   which is what read as the page "jumping". A colour change costs zero layout.
   The blue keeps the same gloss construction as the green so it still reads as the same button:
   light top edge, mid body, dark bottom, gold rim, and a blue glow instead of a green one. */
.e-cta.nudging{
  animation:pulse-strong 1.05s ease-in-out infinite;
  background:linear-gradient(180deg,#5AC8FF 0%,#1E8FE0 48%,#0B5FAF 100%);
  text-shadow:0 3px 0 #073B6F,0 5px 10px rgba(0,0,0,.4);
  box-shadow:0 0 26px 6px rgba(90,200,255,.45),0 8px 20px rgba(0,0,0,.5),
             inset 0 3px 0 rgba(255,255,255,.5),inset 0 -5px 10px rgba(7,59,111,.45);
  transition:background .45s ease,box-shadow .45s ease,text-shadow .45s ease;
}
/* the nudge text is kept for screen readers only; it must never take up space */
.nudge{position:absolute!important;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0}

/* the shine span in the new markup keeps the preview's class name */
.shine{position:absolute;top:-60%;left:-75%;width:45%;height:220%;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.7) 50%,rgba(255,255,255,0));
  transform:rotate(18deg);animation:e-shine 2.9s ease-in-out infinite}

/* badges: keep the design-E sizing but restore the live page's press feedback */
.e-badge{transition:transform .12s ease}
.e-badge:active{transform:scale(.97)}

@media (prefers-reduced-motion:reduce){
  .e-cta,.e-shine,.shine,.e-cta.nudging{animation:none}
}

/* The decorative coins are positioned past the bottom edge (bottom:-6%). On the preview the
   shell clipped them; on the live page they extended the scroll height by ~44px on every
   screen size. Clip at the shell and pin the page to the viewport so nothing can scroll. */
html,body{overflow:hidden}
.e{overflow:clip;max-height:100dvh}

/* ---- interactive card + bubble label ---------------------------------------------------------
   The scene artwork is the designer's original, bubble text included. The 7-of-spades is
   overlaid in HTML, registered exactly over the one in the artwork, so it can spin on tap.
   Position is a percentage of the scene box, measured from the 1601x1926 master. */
.e-scene{position:relative}

.e-card{position:absolute;left:38.91%;top:27.67%;width:23.05%;height:19.89%;
  padding:0;border:0;background:none;cursor:pointer;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  transform-origin:50% 55%;will-change:transform}
.e-card img{display:block;width:100%;height:100%;object-fit:fill}
.e-card:focus{outline:none}

/* one flip per tap; .spin2 is the same move used when taps come in fast, so repeated
   taps keep producing a new spin instead of waiting for the first to finish */
@keyframes e-card-spin{
  0%  {transform:rotate(0) scale(1)}
  35% {transform:rotate(190deg) scale(1.14)}
  70% {transform:rotate(340deg) scale(1.06)}
  100%{transform:rotate(360deg) scale(1)}
}
@keyframes e-card-spin2{
  0%  {transform:rotate(0) scale(1)}
  35% {transform:rotate(-190deg) scale(1.14)}
  70% {transform:rotate(-340deg) scale(1.06)}
  100%{transform:rotate(-360deg) scale(1)}
}
.e-card.spin {animation:e-card-spin  .62s cubic-bezier(.34,1.3,.5,1) 1}
.e-card.spin2{animation:e-card-spin2 .62s cubic-bezier(.34,1.3,.5,1) 1}
/* rapid taps: shorter, snappier, so it feels responsive rather than queued */
.e-card.fast.spin,.e-card.fast.spin2{animation-duration:.42s}

/* little burst behind the card on each tap */
.e-card::after{content:"";position:absolute;inset:-18%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,216,74,.55),transparent 70%);
  opacity:0;pointer-events:none}
.e-card.spin::after,.e-card.spin2::after{animation:e-card-burst .62s ease-out 1}
@keyframes e-card-burst{0%{opacity:.85;transform:scale(.6)}100%{opacity:0;transform:scale(1.35)}}

@media (prefers-reduced-motion:reduce){
  .e-card.spin,.e-card.spin2{animation:none}
  .e-card.spin::after,.e-card.spin2::after{animation:none}
}

/* ---- CTA label fit -------------------------------------------------------------------------
   The translated labels are far longer than the English one ("INSTALL FREE" 12 chars vs
   "INSTALLER GRATUITEMENT" 22). With a fixed button height the text wrapped to two lines and
   was clipped by the pill. Keep it on ONE line and scale the type down per language instead. */
/* ---- CTA typography -------------------------------------------------------------------------
   One type size for every language, rather than a hand-picked size per language. The earlier
   approach ranged from 25px (EN) to 17px (FR) and read as five different buttons: the label is
   the loudest element on the page, so an inconsistent size looks like a mistake.
   24px is the largest size at which the longest label (FR, "INSTALLER GRATUITEMENT") still fits
   one line inside the layout, so it sets the size for all five.
   The pill itself is a fixed width and the text is centred in it, so the button is the same
   shape on every language -- only the word length changes, which is what a reader expects.
   Lilita One has a tall ascender, so a geometrically centred line sits optically low; the
   .14em bottom padding lifts it to the optical centre and keeps the drop shadow off the rim. */
.e-cta{white-space:nowrap;line-height:1;
  font-size:clamp(17px,6.2vw,24px);letter-spacing:.2px;
  padding:0 16px .14em;justify-content:center}

/* desktop labels are shorter ("JOUER MAINTENANT"), and the button is narrower — size per tier */
@media (min-width:820px){
        }
