/* ============================================================
   mssgs - fancy-v2-light home sections.
   Faithful translation of FancyHero / AppWindow / FancyStory /
   FancyGames / FancyEndV2 inline styles into classes.
   ============================================================ */

/* ================= Hero ================= */
.fhero{position:relative;padding-top:148px;text-align:center}
.fhero-inner{position:relative}
.fhero h1{line-height:1!important;font-size:clamp(56px,8.5vw,96px)!important;font-stretch:96%;margin:0 0 18px;color:var(--w-ink)}
.fhero h1 span{display:block}
.fhero h1 .brandline{color:var(--brand)}
/* The CreatorSMP 4 banner above the headline, on /nl and /en while the
   season runs (pages/creatorsmp/creatorsmp-banner.mjs). The tag's little
   grass block is drawn from four squares, not borrowed art. */
.fpromo{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:0 0 26px;padding:6px 18px 6px 6px;border-radius:980px;background:var(--site-card);border:1px solid var(--site-hair);box-shadow:0 8px 24px rgba(31,35,33,.08);color:var(--w-ink2);font-size:14.5px;font-weight:500;line-height:1.35;text-align:left;text-decoration:none;transition:border-color var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-standard)}
.fpromo:hover{border-color:var(--brand);box-shadow:0 10px 28px rgba(31,35,33,.12)}
.fpromo:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--w-focus)}
.fpromo-tag{flex:none;display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 8px;border-radius:980px;background:#1d2a1c;color:#fff;font-size:13px;font-weight:700;letter-spacing:.01em}
.fpromo-blocks{display:grid;grid-template-columns:repeat(2,6px);grid-template-rows:repeat(2,6px);gap:1px}
.fpromo-blocks span{display:block;background:#8a5a33}
.fpromo-blocks span:nth-child(-n+2){background:#6dbb4f}
.fpromo-arrow{flex:none;font-size:12px;color:var(--brand);transition:transform var(--dur-base) var(--ease-standard)}
.fpromo:hover .fpromo-arrow{transform:translateX(3px)}
@media (max-width:600px){
  .fpromo{gap:10px;margin:6px 0 20px;padding:6px 14px 6px 6px;font-size:13.5px}
}
/* A narrow phone: the tag on top, the words under it */
@media (max-width:420px){
  .fpromo{flex-wrap:wrap;justify-content:center;gap:6px 8px;padding:8px 14px 9px;border-radius:18px;text-align:center}
}
@media (prefers-reduced-motion:reduce){.fpromo-arrow{transition:none}.fpromo:hover .fpromo-arrow{transform:none}}
.fhero-sub{font-size:20px;color:var(--w-mut);line-height:1.6;max-width:540px;margin:0 auto 36px}
.fhero-cta{display:flex;flex-direction:column;align-items:center;gap:18px;margin-bottom:70px}
/* The hero's name field and button share one bar, the way the app's own
   inputs carry their send button. */
.fhero-form{display:flex;align-items:center;gap:6px;width:min(540px,100%);padding:6px;background:var(--site-card);border:1px solid var(--site-hair);border-radius:16px;box-shadow:0 12px 32px rgba(31,35,33,.08);transition:border-color var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-standard)}
.fhero-form:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--w-focus),0 12px 32px rgba(31,35,33,.08)}
.fhero-form .input-f{flex:1;min-width:0;border:0;background:transparent;font-size:16px;padding:13px 14px}
.fhero-form .input-f:focus{box-shadow:none}
.fhero-form .btn-f{flex:none}
.fhero-form[hidden]{display:none}
[data-fh-start] .btn-f[aria-busy="true"],.fhero-form .btn-f[aria-busy="true"]{opacity:.7;cursor:progress}

/* The hero's sign-up: the address bar above, then the fine print or an
   error, and once the account exists a card naming it, with the stores. */
.fsignup{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}
.fsignup-fine,.fsignup-error{font-size:13.5px;line-height:1.5;margin:0;max-width:520px}
.fsignup-fine{color:var(--w-mut2)}
.fsignup-error{color:#8f3527}
.fsignup-fine a,.fsignup-error a{color:inherit;text-decoration:underline}
.fsignup-done{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(540px,100%);padding:28px 24px 24px;background:var(--site-card);border:1px solid var(--site-hair);border-radius:20px;box-shadow:0 12px 32px rgba(31,35,33,.08);animation:fsignupIn .35s var(--ease-standard)}
.fsignup-done[hidden],.fsignup-stores .btn-f[hidden]{display:none}
.fsignup-done{scroll-margin:96px 0 16px}
.fsignup-check{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:var(--brand-contrast);font-size:18px;margin-bottom:4px}
.fsignup-title{font-size:22px!important;line-height:1.25;margin:0;color:var(--w-ink)}
.fsignup-title:focus{outline:none}
.fsignup-name{font-family:var(--font-display);font-size:30px;font-weight:700;line-height:1.15;color:var(--brand);margin:0;overflow-wrap:anywhere}
.fsignup-text{font-size:15.5px;line-height:1.55;color:var(--w-mut);margin:4px 0 0}
.fsignup-text b{color:var(--w-ink);font-weight:600;overflow-wrap:anywhere}
.fsignup-stores{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:10px}
.fsignup-web{display:inline-flex;align-items:center;gap:8px;margin-top:4px;font-size:14.5px;color:var(--w-mut);text-decoration:underline}
.fsignup-web:hover{color:var(--w-ink)}
@keyframes fsignupIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.fsignup-done{animation:none}}
.platform-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;font-size:13.5px;color:var(--w-mut2)}
/* The mssgs feed, live, under the sign-up: a fixed-height column (.fs in
   feed.css, pages/feed/feed-ui.mjs renderShowcase), so whatever arrives in it
   never moves the headline or the form above it. */
.fhero-feed{position:relative}
.platform-row i{margin-right:6px}
.platform-row a{color:inherit;text-decoration:none;transition:color 150ms var(--ease-standard)}
.platform-row a:hover{color:var(--w-ink);text-decoration:underline}

/* ================= The app window's frame =================
   The home hero used to hold the desktop app here; the press figures
   (press.css, pages/press/releases/parental-controls-shared.mjs) still draw
   their mockups in this frame: .appwin, .appwin-titlebar, .appwin-dots and
   .appwin-title. The hero's live feed column is .fs in feed.css. */
.appwin{position:relative;border-radius:18px;overflow:hidden;background:#161a1f;box-shadow:0 24px 80px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.07),0 -1px 0 rgba(255,255,255,.12) inset;text-align:left}
.appwin-titlebar{display:flex;align-items:center;gap:10px;padding:11px 16px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.06)}
.appwin-dots{display:flex;gap:6px}
.appwin-dots span{width:11px;height:11px;border-radius:50%}
.appwin-dots span:nth-child(1){background:#ff5f57}
.appwin-dots span:nth-child(2){background:#febc2e}
.appwin-dots span:nth-child(3){background:#28c840}
.appwin-title{font-size:12px;color:rgba(255,255,255,.6);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* One-time shine sweep over the brand line (guarded: without background-clip
   support the transparent text-fill would blank the headline) */
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  /* Keeps the .fadein softIn entrance in the animation list - a lone brandShine
     would override it and leave the line at opacity 0 */
  .fhero h1 .brandline{background:linear-gradient(100deg,var(--brand) 0%,var(--brand) 42%,var(--green-300) 50%,var(--brand) 58%,var(--brand) 100%);background-size:220% 100%;background-position:120% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:softIn .8s var(--ease-standard) var(--d,0s) forwards,brandShine 1.4s var(--ease-standard) 1s forwards}
}
@keyframes brandShine{to{background-position:-60% 0}}

/* ================= Features card ================= */
/* The first of three dark cards (features, games, stickers) that zig-zag down
   the home page: copy on the left, and on the right the features page's
   three real app screens, fanned and standing still, rising above the
   card's top edge. */
.ffeat{padding:130px 0 10px;position:relative}
.fsection-head{text-align:center;max-width:620px;margin:0 auto 60px}
.fsection-head h2{font-size:52px;margin:14px 0 14px;color:var(--w-ink)}
.fsection-head p{font-size:18px;color:var(--w-mut);margin:0}
@media (max-width:860px){.fsection-head h2{font-size:38px}}
.ffeat-card{position:relative;isolation:isolate;display:flex;align-items:center;min-height:500px;padding:52px 56px;border-radius:20px;background:radial-gradient(circle at 22% 50%,rgba(111,211,155,.22),transparent 58%),radial-gradient(circle at 84% 40%,rgba(104,168,218,.14),transparent 50%),#202327;box-shadow:0 18px 44px rgba(20,32,24,.2)}
.ffeat-phones{position:absolute;z-index:1;top:-64px;right:40px;width:min(470px,44%);height:540px;pointer-events:none}
.ffeat-phone{position:absolute;top:0;left:50%;width:236px;margin-left:-118px;padding:6px;border-radius:36px;background:#0c0e11;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 26px 50px rgba(0,0,0,.45);transform-origin:50% 0}
.ffeat-phone img{display:block;width:100%;height:auto;border-radius:30px;background:#16181c}
.ffeat-phone--center{z-index:3}
.ffeat-phone--left{z-index:1;transform:translate(-128px,58px) rotate(-6deg) scale(.86)}
.ffeat-phone--right{z-index:2;transform:translate(128px,58px) rotate(6deg) scale(.86)}
.ffeat-copy{position:relative;z-index:2;max-width:500px}
.ffeat-card h2{font-size:clamp(36px,4.4vw,54px);line-height:1.02;margin:0 0 18px;color:#fff}
.ffeat-card .fstickers-brand b{color:#6fd39b;font-weight:600}
.ffeat-card .fstickers-sub{margin-bottom:22px}
.ffeat-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;margin:0 0 30px;padding:0}
.ffeat-list li{display:flex;align-items:flex-start;gap:10px;font-size:15px;font-weight:600;line-height:1.35;color:rgba(255,255,255,.9)}
.ffeat-list i{flex:none;margin-top:3px;font-size:12px;color:#6fd39b}
.ffeat .morerow{margin-top:70px}
/* Stacked: the three phones sit above the copy, still rising out of the
   card's top edge, smaller and closer together. */
@media (max-width:980px){
  .ffeat{padding-top:120px}
  .ffeat-card{flex-direction:column;align-items:stretch;min-height:0;padding:0 0 32px}
  .ffeat-phones{position:relative;top:auto;right:auto;width:auto;height:clamp(300px,74vw,440px);margin:-70px 0 10px}
  .ffeat-phone{width:clamp(140px,34vw,200px);margin-left:calc(clamp(140px,34vw,200px) / -2);padding:5px;border-radius:28px}
  .ffeat-phone img{border-radius:23px}
  .ffeat-phone--left{transform:translate(-62%,34px) rotate(-6deg) scale(.86)}
  .ffeat-phone--right{transform:translate(62%,34px) rotate(6deg) scale(.86)}
  .ffeat-copy{max-width:none;padding:0 28px}
  .ffeat .morerow{margin-top:44px}
}
@media (max-width:560px){
  .ffeat-copy{padding:0 22px}
  .ffeat-list{grid-template-columns:minmax(0,1fr)}
}

/* "And that's just the start" chip cloud */
.morerow{margin-top:44px;text-align:center}
.morelead{font-size:14px;font-weight:600;color:var(--w-mut2);margin:0 0 18px}
.morechips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:760px;margin:0 auto}
.morechip{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;font-size:13px;font-weight:600;color:var(--w-ink3)}
.morechip i{font-size:12px;color:var(--brand);opacity:.85}

/* ================= Games ================= */
/* The sticker card's twin, mirrored: a dark panel with a warm glow behind the
   copy and a tilted wall of the game icons running off the left edge. It
   borrows the sticker card's brand line, sub, buttons and ghost button. */
.fgames{padding:120px 0 0}
.fgames-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:flex-end;min-height:420px;padding:52px 56px;border-radius:20px;background:radial-gradient(circle at 76% 50%,rgba(230,179,76,.2),transparent 56%),radial-gradient(circle at 18% 50%,rgba(111,211,155,.14),transparent 52%),#202327;box-shadow:0 18px 44px rgba(20,32,24,.2)}
.fgames-wall{position:absolute;z-index:-1;top:50%;left:-40px;width:min(600px,56%);display:grid;grid-template-columns:repeat(3,1fr);gap:22px;transform:translateY(-50%) rotate(6deg);-webkit-mask-image:linear-gradient(270deg,transparent 4%,#000 34%);mask-image:linear-gradient(270deg,transparent 4%,#000 34%)}
.fgames-wall img{display:block;width:100%;height:auto;border-radius:24%;box-shadow:0 10px 26px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.06)}
.fgames-copy{max-width:460px}
/* Petalwar, our own game, under the buttons: the game's picture fills the
   card and fades into the dark on the left, under its tagline and name,
   linking to its page (pages/petalwar/). */
.fgames-feature{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:14px;min-height:112px;margin-top:24px;padding:18px 18px 18px 22px;border-radius:18px;background:#141a17;border:1px solid rgba(255,255,255,.12);color:#fff;text-decoration:none;transition:border-color var(--dur-base) var(--ease-standard)}
.fgames-feature::before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(20,26,23,.96) 0%,rgba(20,26,23,.78) 34%,rgba(20,26,23,.1) 78%,rgba(20,26,23,0) 100%)}
.fgames-feature:hover{border-color:rgba(242,199,107,.45);color:#fff}
.fgames-feature:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(111,211,155,.6)}
.fgames-feature-art{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 62%;transition:transform .6s var(--ease-standard)}
.fgames-feature:hover .fgames-feature-art{transform:scale(1.05)}
.fgames-feature-text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.fgames-feature-text span{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#f2c76b}
.fgames-feature-text b{font-family:var(--font-display);font-size:26px;font-weight:700;line-height:1.05}
.fgames-feature-go{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(14,19,16,.55);border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background var(--dur-base) var(--ease-standard),border-color var(--dur-base) var(--ease-standard)}
.fgames-feature-go i{font-size:13px;color:#f2c76b}
.fgames-feature:hover .fgames-feature-go{background:#f2c76b;border-color:#f2c76b}
.fgames-feature:hover .fgames-feature-go i{color:#2a1f08}
@media (prefers-reduced-motion:reduce){.fgames-feature-art{transition:none}.fgames-feature:hover .fgames-feature-art{transform:none}}
.fgames-card h2{font-size:clamp(36px,4.4vw,54px);line-height:1.02;margin:0 0 18px;color:#fff}

.gameicon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border-radius:10px;background:#1c2333;overflow:hidden}
.gameicon.sm{width:36px;height:36px}
.gameicon img{display:block;width:100%;height:100%;object-fit:cover}

/* ---- /games: the game community cards (pages/community/community-teaser.mjs) ---- */
.gcommunity{padding:70px 0 0}
.gcommunity .fsection-head{margin-bottom:34px;max-width:760px}
.gcommunity .fsection-head h2{line-height:1.06}
.wr-teaser{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;overflow:hidden;border-radius:20px;background:#12161a;color:#fff;text-decoration:none;box-shadow:0 18px 44px rgba(20,32,24,.2);transition:box-shadow var(--dur-slow) var(--ease-standard),transform var(--dur-slow) var(--ease-standard)}
.wr-teaser:hover{box-shadow:0 22px 54px rgba(20,32,24,.3);transform:translateY(-2px)}
.wr-teaser:focus-visible{outline:none;box-shadow:0 0 0 3px var(--w-focus),0 18px 44px rgba(20,32,24,.2)}
.wr-teaser-art{position:relative;min-height:260px}
/* Anchored left so the game's logo in the artwork's corner stays whole */
.wr-teaser-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:0% 50%;display:block}
.wr-teaser--compact .wr-teaser-art img{object-position:var(--art-pos,50% 40%)}
.wr-teaser-art::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,22,26,0) 55%,#12161a)}
.wr-teaser-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:36px 40px 36px 24px}
.wr-teaser-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:980px;background:rgba(111,211,155,.14);border:1px solid rgba(111,211,155,.28);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9fe0b9}
.wr-teaser-kicker i{font-size:11px}
.wr-teaser-title{font-family:var(--font-display);font-size:clamp(26px,2.8vw,36px);font-weight:700;line-height:1.05;letter-spacing:-.03em;color:#fff}
.wr-teaser-title span{display:block;color:#7fd3a0}
.wr-teaser-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0}
.wr-teaser-chips li{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.82)}
.wr-teaser-chips i{color:#7fd3a0;font-size:11px}
.wr-teaser-btn{display:inline-flex;align-items:center;gap:9px;margin-top:4px;padding:12px 20px;border-radius:980px;background:var(--brand);color:var(--brand-contrast);font-size:14.5px;font-weight:600}
.wr-teaser:hover .wr-teaser-btn{background:var(--brand-hover)}
.wr-teaser + .wr-teaser{margin-top:18px}
.wr-teaser-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.wr-teaser--compact{grid-template-columns:minmax(0,1fr)}
.wr-teaser--compact .wr-teaser-art{min-height:0;aspect-ratio:16/8}
.wr-teaser--compact .wr-teaser-art::after{background:linear-gradient(180deg,rgba(18,22,26,0) 45%,#12161a)}
.wr-teaser--compact .wr-teaser-copy{justify-content:flex-start;gap:12px;padding:0 26px 26px}
.wr-teaser--compact .wr-teaser-title{font-size:clamp(22px,2.2vw,28px)}
.wr-teaser--compact .wr-teaser-btn{margin-top:auto}
@media (max-width:760px){
  .wr-teaser{grid-template-columns:minmax(0,1fr)}
  .wr-teaser-art{min-height:0;aspect-ratio:16/8}
  .wr-teaser-art img{object-position:55% 35%}
  .wr-teaser-art::after{background:linear-gradient(180deg,rgba(18,22,26,0) 50%,#12161a)}
  .wr-teaser-copy{padding:6px 22px 26px}
  .wr-teaser-grid{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.wr-teaser{transition:none}.wr-teaser:hover{transform:none}}

/* ================= mssgs stickers ================= */
/* Drawn after mssgs-stickers.com's own share card: a dark panel with a green
   glow and a tilted wall of pack covers running off the right edge. */
.fstickers{padding:30px 0 6px}
.fstickers-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:390px;padding:52px 56px;border-radius:20px;background:radial-gradient(circle at 22% 50%,rgba(111,211,155,.24),transparent 58%),#202327;box-shadow:0 18px 44px rgba(20,32,24,.2)}
.fstickers-wall{position:absolute;z-index:-1;top:50%;right:-60px;width:min(660px,60%);display:grid;grid-template-columns:repeat(5,1fr);gap:4px;transform:translateY(-50%) rotate(-6deg);-webkit-mask-image:linear-gradient(90deg,transparent 8%,#000 38%);mask-image:linear-gradient(90deg,transparent 8%,#000 38%)}
.fstickers-wall img{display:block;width:100%;height:auto}
.fstickers-copy{max-width:460px}
.fstickers-brand{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:19px;font-weight:600;color:#e9ecef}
.fstickers-mark{display:flex}
.fstickers-mark svg{width:20px;height:26px}
.fstickers-brand b{color:#6fd39b;font-weight:600}
.fstickers-card h2{font-size:clamp(36px,4.4vw,54px);line-height:1.02;margin:0 0 18px;color:#fff}
.fstickers-sub{font-size:16px;line-height:1.6;color:rgba(255,255,255,.74);margin:0 0 28px}
.fstickers-domain{white-space:nowrap;color:#fff}
.fstickers-actions{display:flex;gap:12px;flex-wrap:wrap}
.fstickers-actions .btn-f{gap:9px}
.btn-f.fstickers-ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff}
.btn-f.fstickers-ghost:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.32);color:#fff}
.fstickers-actions .btn-f:focus-visible{box-shadow:0 0 0 3px rgba(111,211,155,.6)}
/* Stacked: the wall becomes a band of two rows above the copy, stickers at a
   fixed size running off the right edge (the card clips the rest) */
@media (max-width:900px){
  .fstickers-card{flex-direction:column;align-items:stretch;min-height:0;padding:0 0 32px}
  .fstickers-wall{position:relative;top:auto;right:auto;width:max-content;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:clamp(84px,19vw,120px);margin:calc(-8px - 4.4vw) 0 calc(14px + 4.4vw) -20px;transform:rotate(-5deg);transform-origin:50vw 50%;-webkit-mask-image:none;mask-image:none}
  .fstickers-copy{max-width:none;padding:0 28px}
}
@media (max-width:900px){
  .fgames-card{flex-direction:column;align-items:stretch;min-height:0;padding:0 0 32px}
  .fgames-wall{position:relative;top:auto;left:auto;width:max-content;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:clamp(96px,22vw,132px);gap:14px;margin:calc(-6px - 4.4vw) 0 calc(18px + 4.4vw) -24px;transform:rotate(5deg);transform-origin:50vw 50%;-webkit-mask-image:none;mask-image:none}
  .fgames-copy{max-width:none;padding:0 28px}
}
@media (max-width:560px){
  .fstickers-copy{padding:0 22px}
  .fgames-copy{padding:0 22px}
  .fstickers-actions .btn-f{flex:1 1 auto;justify-content:center}
}

/* ================= For developers ================= */
.fdev{padding:20px 0 10px}
.glass-tile.fdev-panel{display:flex;align-items:center;gap:26px;padding:30px 34px;flex-wrap:wrap}
.fdev-icon{flex:0 0 auto;width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--w-float);color:var(--brand);font-size:22px}
.fdev-body{flex:1 1 320px;min-width:0}
.fdev-body h2{font-size:26px;font-weight:600;letter-spacing:-0.01em;color:var(--w-ink);margin:6px 0 8px}
.fdev-body>p{font-size:15px;color:var(--w-mut);line-height:1.6;margin:0;max-width:640px}
.fdev-actions{flex:0 0 auto;display:flex;gap:12px;flex-wrap:wrap}
.fdev-actions .btn-f{gap:9px}
@media (max-width:720px){
  .glass-tile.fdev-panel{padding:26px 22px;gap:18px}
  .fdev-actions{width:100%}
  /* A label wider than the panel ("Dokumentacija za programere" at 320px)
     takes two lines; the padding keeps a one-line button at its 45px */
  .fdev-actions .btn-f{flex:1 1 auto;justify-content:center;white-space:normal;text-align:center;text-wrap:balance;line-height:1.2;padding-top:12.5px;padding-bottom:12.5px}
}

/* ================= Privacy ================= */
.fprivacy{padding:170px 0 130px;text-align:center;position:relative}
.fprivacy h2{font-size:clamp(48px,6vw,72px);line-height:1.02;margin:18px 0 26px;color:var(--w-ink)}
.fprivacy h2 .brandline{color:var(--brand)}
.fprivacy-sub{font-size:19px;color:var(--w-mut);line-height:1.65;max-width:540px;margin:0 auto}
.trustrow{display:flex;justify-content:center;gap:44px;margin-top:60px;flex-wrap:wrap}
.trustrow .titem{display:flex;gap:12px;align-items:flex-start;text-align:left;max-width:220px}
.trustrow .titem>i{color:var(--brand);font-size:16px;margin-top:4px}
.trustrow .tt{display:block;font-size:15px;font-weight:600;color:var(--w-ink2);margin-bottom:2px}
.trustrow .td{font-size:13.5px;color:var(--w-mut2);line-height:1.5}
/* Stack the trust items on narrow screens so every icon starts at the same
   x - with flex-wrap the wrapped item was centered under the others */
@media (max-width:640px){
  .trustrow{flex-direction:column;align-items:center;gap:34px}
  .trustrow .titem{width:min(100%,260px);max-width:260px}
}

/* ================= CTA ================= */
.fcta{padding:0 0 90px}
.glass-tile.fcta-panel{text-align:center;padding:84px 40px;overflow:hidden}
.fcta-glow{position:absolute;width:620px;height:620px;left:50%;top:-420px;margin-left:-310px;border-radius:50%;background:radial-gradient(circle,var(--w-glow),transparent 62%);filter:blur(60px);pointer-events:none}
/* Chat bubbles above the CTA title — same visual as the LinkedIn banner */
.fcta-bubbles{display:flex;flex-direction:column;gap:14px;width:min(480px,100%);margin:0 auto 30px}
.fcta-bubble{display:flex;align-items:center;gap:12px;align-self:flex-start;background:#fffdf7;border-radius:22px;padding:10px 22px 10px 10px;box-shadow:0 10px 26px rgba(31,35,33,.1);text-align:left}
.fcta-bubble-alt{align-self:flex-end}
.fcta-bubble-av{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;font-weight:700}
.fcta-bubble-txt{display:flex;flex-direction:column;gap:1px}
.fcta-bubble-name{font-size:14px;font-weight:700;color:#33754d}
.fcta-bubble-body{font-size:16px;font-weight:500;color:#20301f}
.fcta-typing{display:flex;align-items:center;gap:4px;padding:0 8px}
.fcta-typing i{width:6px;height:6px;border-radius:50%;background:#8a8f82;animation:typingPulse 1.2s ease-in-out infinite}
.fcta-typing i:nth-child(2){animation-delay:.15s}
.fcta-typing i:nth-child(3){animation-delay:.3s}
@keyframes typingPulse{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
.fcta h2{font-size:clamp(38px,4.5vw,54px);margin:0 0 12px;color:var(--w-ink)}
.fcta-sub{font-size:18px;color:var(--w-mut);margin:0 0 28px}
.fcta-form{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.fcta-form .input-f{width:260px;max-width:100%;text-align:left}
.input-f{padding:13px 16px;font-family:var(--font-sans);font-size:14px;color:var(--site-ink);background:var(--site-card);border:1px solid var(--site-hair);border-radius:8px;outline:none;transition:border-color var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-standard)}
/* Brand-green focus, matching every other focus ring on this page */
.input-f:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--w-focus)}
.input-f::placeholder{color:var(--site-ink-3)}
.fcta .platform-row{margin-bottom:16px}
.fcta-fine{font-size:13.5px;color:var(--w-mut2);margin:0;line-height:1.6}
@media (max-width:560px){.glass-tile.fcta-panel{padding:60px 20px}}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce){
  .fhero h1 .brandline{animation:none;background-position:-60% 0}
}

/* ================= Games page ================= */
.page-hero-f{padding:170px 0 60px;text-align:center}
.page-hero-f h1{font-size:clamp(44px,6.5vw,76px);line-height:1.02;margin:14px 0 18px;color:var(--w-ink)}
.page-hero-sub{font-size:19px;color:var(--w-mut);line-height:1.6;max-width:560px;margin:0 auto}
.gsteps{padding:20px 0 30px}
.gsteps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.glass-tile.gstep{padding:26px;position:relative}
.gstep-num{position:absolute;top:20px;right:22px;font-family:var(--font-display);font-size:34px;font-weight:700;color:var(--w-faint)}
.gstep i{font-size:18px;color:var(--brand)}
.gstep h3{font-size:19px;font-weight:600;margin:12px 0 6px;color:var(--w-ink)}
.gstep p{font-size:14.5px;color:var(--w-mut);line-height:1.55;margin:0}
@media (max-width:820px){.gsteps-grid{grid-template-columns:1fr}}
.ggrid{padding:70px 0 10px}
.ggrid .fsection-head{margin-bottom:40px}
.ggrid-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.glass-tile.gcard{padding:20px;display:flex;gap:16px;align-items:flex-start;text-decoration:none;color:inherit;transition:transform .3s var(--ease-standard),box-shadow .3s var(--ease-standard)}
a.gcard:hover{color:inherit;transform:translateY(-3px);box-shadow:0 14px 34px rgba(31,35,33,.11)}
.gcard-cta{display:inline-flex;align-items:center;gap:7px;margin-top:10px;font-size:13px;font-weight:600;color:var(--green-700)}
.gcard-cta i{font-size:11px;transition:transform .3s var(--ease-standard)}
a.gcard:hover .gcard-cta i{transform:translateX(3px)}
.gcard .gameicon{width:64px;height:64px;border-radius:15px}
.gcard h3{font-size:18px;font-weight:600;margin:0;color:var(--w-ink);display:flex;align-items:center;gap:8px}
.gcard-players{font-size:12.5px;color:var(--w-mut2);display:block;margin:2px 0 6px}
.gcard p{font-size:14.5px;color:var(--w-mut);line-height:1.5;margin:0}
.gnew{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--w-onbrand);background:var(--brand);padding:3px 8px;border-radius:980px}
@media (max-width:720px){.ggrid-cards{grid-template-columns:1fr}}
.ggrid-foot{text-align:center;font-size:13.5px;color:var(--w-mut2);margin:28px 0 0}
.gspot{padding:80px 0 40px}
.glass-tile.gspot-tile{display:flex;gap:26px;align-items:center;padding:40px}
.gspot-tile .gameicon{width:96px;height:96px;border-radius:20px;flex-shrink:0}
.gspot-tile h2{font-size:34px;margin:8px 0 10px;color:var(--w-ink)}
.gspot-tile p{font-size:16px;color:var(--w-mut);line-height:1.6;margin:0;max-width:560px}
@media (max-width:640px){.glass-tile.gspot-tile{flex-direction:column;text-align:center;align-items:center}}
.gmore{display:inline-flex;align-items:center;gap:7px;margin:6px 8px 2px;font-size:13.5px;font-weight:600;color:var(--green-700);text-decoration:none}
.gmore:hover{color:var(--green-800)}
.gmore i{font-size:11px}

/* ---- Mobile section rhythm ---- */
@media (max-width:600px){
  .fhero{padding-top:96px}
  .ffeat{padding:100px 0 10px}
  .fgames{padding:64px 0 0}
  .fprivacy{padding:90px 0 70px}
  .page-hero-f{padding:112px 0 44px}
}

/* ---- Mobile polish pass ----------------------------------------------
   Tighter tile padding, thumb-first hero CTA, calmer type scale and
   vertical rhythm. Scoped to home sections; global primitives untouched. */
@media (max-width:600px){
  /* Breathing room: cut container gutters so tiles can hold more content,
     then trim the tile's own padding (default is a desktop-sized 30px) */
  .fhero .container,.ffeat .container,
  .fgames .container,.fprivacy .container,.fcta .container{padding:0 18px}

  /* Hero: tighter headline, shorter measure, calmer rhythm */
  .fhero h1{font-size:clamp(44px,12.5vw,64px)!important;margin-bottom:14px}
  .fhero-sub{font-size:17px;line-height:1.55;margin-bottom:28px}
  .fhero-cta{gap:16px;margin-bottom:48px}

  /* Thumb-first primary CTA: full-width block, bigger hit target */
  .fhero-form>.btn-f-primary,.fcta-form>.btn-f-primary{width:100%;max-width:360px}
  /* Stack both name forms cleanly: input and button share the same full
     width. 16px text, or iOS zooms the page in on focus. */
  .fhero-form{flex-direction:column;align-items:center;gap:10px;padding:0;background:none;border:0;box-shadow:none}
  .fhero-form:focus-within{box-shadow:none}
  .fcta-form{flex-direction:column}
  .fhero-form .input-f,.fcta-form .input-f{width:100%;max-width:360px;text-align:center;font-size:16px;padding:15px 16px;background:var(--site-card);border:1px solid var(--site-hair);border-radius:12px}
  .fhero-form .input-f:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--w-focus)}
  .fsignup-done{padding:24px 18px 20px}
  .fsignup-stores{width:100%}
  .fsignup-stores .btn-f{flex:1 1 140px}

  /* Platform row: roomier tap targets. Six platforms do not fit one line on
     a phone, so two even rows of three instead of one left hanging. */
  .platform-row{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;justify-items:start;gap:6px 22px;font-size:13px;padding-top:2px}
  .platform-row a{padding:4px 0}

  /* Section heads: lighter type + margin so content isn't pushed down */
  .fsection-head{margin-bottom:38px}
  .fsection-head h2{font-size:clamp(30px,8vw,38px);margin:10px 0}
  .fsection-head p{font-size:16px}

  /* Privacy + CTA headlines scale down a touch for the narrow column */
  .fprivacy h2{margin:14px 0 20px}
  .fprivacy-sub{font-size:17px}
  .trustrow{margin-top:44px}
}

/* Very small phones (SE / 320px): guard against headline overflow */
@media (max-width:380px){
  .fhero h1{font-size:clamp(40px,13vw,52px)!important}
  .fhero .container,.ffeat .container,.fgames .container,
  .fprivacy .container,.fcta .container{padding:0 16px}
}

/* Touch devices: no hover, so give a tactile press response instead */
@media (hover:none){
  .btn-f,.morechip{transition:transform .12s var(--ease-standard),background var(--dur-slow) var(--ease-standard),box-shadow var(--dur-slow) var(--ease-standard),color var(--dur-fast) var(--ease-standard)}
  .btn-f:active{transform:scale(.975)}
}
@media (hover:none) and (prefers-reduced-motion:reduce){
  .btn-f:active{transform:none}
}
