@font-face{font-family:Rubik;src:url('assets/Rubik-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Rubik;src:url('assets/Rubik-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Rubik;src:url('assets/Rubik-ExtraBold.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--navy:#0c2942;--text:#4f576b;--yellow:#ffdf32;--yellow-base:#d7a900;--blue:#1b6dc1;--blue-base:#164f8b;--teal:#0ca388}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#fff url('assets/home_background.webp') center top/1100px auto repeat;color:var(--text);font-family:Rubik,system-ui,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%;height:auto}h1,h2,h3{color:var(--navy);font-weight:800;line-height:1.15;margin:0}p{margin:14px 0 0}a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:6px}.wrap{max-width:1280px;margin:auto;padding-inline:36px}.skip{position:fixed;left:16px;top:-100px;z-index:5;background:white;padding:12px}.skip:focus{top:12px}.header{background:#fff;border-bottom:5px solid var(--teal)}.nav{display:flex;align-items:center;gap:30px;min-height:94px}.brand{width:238px;margin-right:auto;flex-shrink:0}.nav-links{display:flex;gap:28px;font-weight:800;color:var(--navy)}.language{border:0;background:none;font-weight:800;color:var(--navy);cursor:pointer;min-height:44px;white-space:nowrap}.language span{color:#9aa7b7;margin:0 5px}.pill{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:18px 32px;border:0;border-radius:100px;background:var(--yellow);box-shadow:0 7px 0 var(--yellow-base);color:var(--navy);font-size:23px;font-weight:800;line-height:1.2;min-height:60px;transition:transform .12s,box-shadow .12s;text-align:center}.pill:hover{filter:brightness(1.03)}.pill:active{transform:translateY(6px);box-shadow:0 1px 0 var(--yellow-base)}.pill.small{font-size:19px;min-height:46px;padding:12px 28px}.pill.blue{background:var(--blue);color:white;box-shadow:0 7px 0 var(--blue-base);min-width:260px}.pill.blue:active{box-shadow:0 1px 0 var(--blue-base)}.hero{display:grid;grid-template-columns:47% 53%;align-items:center;padding-block:48px 54px;min-height:650px}.hero-copy{position:relative;z-index:1}.hero-logo{width:370px;height:225px;object-fit:contain;margin:0 auto 24px 12px}h1{font-size:clamp(29px,3vw,40px);letter-spacing:-1px}.tagline{font-size:19px}.actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:28px 0 22px}.store{display:inline-flex;align-items:center;border-radius:10px;flex-shrink:0}.store img{width:200px;height:auto}.store:hover{filter:brightness(1.08)}.availability{display:flex;gap:15px;align-items:center;font-size:14px}.availability span:first-child{border-radius:30px;background:#e7ecf3;padding:3px 12px;font-weight:700}.preview{position:relative;min-height:480px;isolation:isolate}.sunburst{position:absolute;inset:-5% -4%;z-index:-1;background:repeating-conic-gradient(from 5deg,#ffdf3260 0deg 12deg,#ffdf321c 12deg 24deg);mask-image:radial-gradient(ellipse,#000 20%,transparent 70%)}.campaign-shot{position:absolute;top:10%;left:0;width:91%;transform:rotate(-3deg);filter:drop-shadow(0 14px 16px #0c294225)}.game-shot{position:absolute;right:-2%;bottom:5%;width:96%;transform:rotate(2deg);filter:drop-shadow(0 14px 16px #0c294225)}.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;scroll-margin-top:24px}.feature{border:1px solid #e7ecf3;border-radius:28px;padding:24px;background:#ffffffed;box-shadow:0 5px 0 #e1e5eb,0 6px 16px #0c294212}.feature>img,.cards{height:160px;width:100%;object-fit:contain;margin-bottom:24px}.feature .world{object-fit:cover;border-radius:18px}.feature h2{font-size:27px}.feature p{font-size:17px}.cards{display:flex;align-items:center;justify-content:center;padding-top:8px}.cards span{font-weight:700;background:#fff;color:#e32637;border:2px solid #c9ceda;border-radius:13px;box-shadow:0 4px 0 #dbe0e7;font-size:38px;line-height:1.2;padding:8px 18px;width:90px;height:130px;transform:rotate(-13deg);margin-right:-10px}.cards span:nth-child(2){transform:translateY(-8px);color:var(--navy);z-index:1}.cards span:nth-child(3){transform:rotate(13deg)}.about{padding:68px 20px 40px}.about:before{content:'';display:block;width:105px;height:8px;background:var(--yellow);border-radius:9px;margin-bottom:22px}.about h2{font-size:clamp(28px,3vw,38px)}.about p{font-size:20px;max-width:1080px}.text-link{display:inline-block;color:var(--blue);font-size:21px;font-weight:800;margin-top:14px}.text-link:hover{text-decoration:underline}.rules{background:#f2f7fc;border-radius:28px;padding:32px;margin:0 0 40px}.rules h2{font-size:27px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:26px}.step{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--yellow);color:var(--navy);font-weight:800;margin-bottom:14px}.steps h3{font-size:19px}.steps p{font-size:15px}.rule-note{font-size:14px}.final-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--yellow);border-radius:40px;padding:34px 44px;margin:12px 0 32px}.final-cta h2{font-size:clamp(28px,3vw,39px)}
@media(min-width:1500px){.hero{min-height:690px}.preview{min-height:510px}}
@media(max-width:1000px){.nav{gap:18px}.nav-links{gap:18px;font-size:15px}.brand{width:195px}.hero{grid-template-columns:1fr 1fr}.preview{min-height:370px}.hero-logo{width:290px;height:180px}.actions{gap:16px}.pill{font-size:19px;padding:17px 24px}.feature{padding:20px}.feature h2{font-size:23px}.feature p{font-size:16px}}
@media(max-width:720px){.wrap{padding-inline:20px}.nav{min-height:78px;gap:12px;flex-wrap:wrap;padding-block:12px}.brand{width:160px}.nav-links{order:4;width:100%;justify-content:center}.nav>.pill{display:none}.language{margin-left:auto}.hero{grid-template-columns:1fr;min-height:0;padding-block:28px 32px;text-align:center}.hero-logo{height:190px;width:330px;margin:0 auto 24px}h1{font-size:32px}.tagline{font-size:17px}.actions,.availability{justify-content:center}.preview{min-height:340px;margin-top:26px}.campaign-shot{width:88%;left:2%;top:2%}.game-shot{width:92%;right:0;bottom:0}.features{grid-template-columns:1fr;gap:22px}.feature{padding:24px}.feature>img,.cards{height:170px}.feature h2{font-size:26px}.about{padding:46px 0 32px}.about p{font-size:18px}.steps{grid-template-columns:1fr;gap:24px}.rules{padding:24px}.final-cta{flex-direction:column;text-align:center;padding:30px 20px;border-radius:28px}.final-cta .pill{min-width:220px}.preview .sunburst{inset:-10% 0}}
@media(max-width:400px){h1{font-size:28px}.preview{min-height:260px}.brand{width:145px}.hero-logo{height:170px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pill{transition:none}}

/* Studio-style footer, with game branding kept foremost. */
.site-footer{background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 88px);margin-top:24px;padding:108px 0 30px;color:var(--text)}
.footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:48px;padding-bottom:48px}
.footer-game-logo{width:245px;height:auto;margin-bottom:6px}.footer-brand p{font-size:14px;line-height:1.5;max-width:280px;margin:0 0 22px}
.studio-credit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.studio-label{font-size:12px;white-space:nowrap}.footer-studio-logo{width:140px;height:auto}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.footer-column h2{font-size:20px;margin:4px 0 12px}.footer-column a{font-size:16px;min-height:30px}.footer-column a:hover,.footer-legal a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.footer-column .footer-email{display:inline-flex;align-items:center;gap:12px;background:#f0f2f7;border-radius:18px;padding:13px 17px;min-height:50px;color:var(--navy);font-weight:700}.footer-help{font-size:14px;line-height:1.7;margin-top:4px;max-width:220px}
.footer-bottom{border-top:1px solid #dce1e9;padding-top:28px;text-align:center;font-size:14px}.footer-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 30px}.footer-bottom p{margin-top:22px}
/* Full-width contact card on desktop as well as mobile. */
.footer-grid>.footer-column:last-child{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px 32px;background:#f5f7fa;border-radius:28px;padding:28px 32px}
.footer-grid>.footer-column:last-child h2{margin:0}
.footer-column .footer-email{grid-column:2;grid-row:1 / 3;background:white;box-shadow:0 4px 0 #dfe5ee;white-space:nowrap;padding:16px 24px;transition:transform .12s,box-shadow .12s}
.footer-column .footer-email:active{transform:translateY(3px);box-shadow:0 1px 0 #dfe5ee}
.footer-help{grid-column:1;grid-row:2;max-width:none;margin:0;font-size:15px}
@media(prefers-reduced-motion:reduce){.footer-column .footer-email{transition:none}}
/* Switch before the brand/credit gets squeezed into a narrow column. */
@media(max-width:1000px){
  .site-footer{margin-top:16px;padding-top:92px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;padding-bottom:28px;max-width:640px;margin-inline:auto}
  .footer-brand{grid-column:1 / -1;text-align:center;padding-bottom:22px;border-bottom:1px solid #edf0f5}
  .footer-game-logo{width:230px;margin:0 auto 6px}
  .footer-brand p{max-width:340px;margin:0 auto 18px;font-size:14px}
  .studio-credit{justify-content:center;flex-wrap:nowrap;gap:10px}
  .footer-studio-logo{width:125px}
  .footer-column{gap:4px;min-width:0}
  .footer-column h2{font-size:18px;margin:0 0 10px}
  .footer-column a{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
  .footer-grid>.footer-column:last-child{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px;border-radius:22px;background:#f5f7fa;padding:22px}
  .footer-grid>.footer-column:last-child h2{margin:0}
  .footer-column .footer-email{grid-column:2;grid-row:1 / 3;background:white;box-shadow:0 3px 0 #dfe5ee;white-space:nowrap}
  .footer-help{grid-column:1;grid-row:2;max-width:360px;margin:0;font-size:13px;line-height:1.6}
  .footer-bottom{max-width:640px;margin:auto;padding-top:20px;font-size:12px}
  .footer-legal{gap:0 20px}
  .footer-legal a{display:inline-flex;align-items:center;min-height:44px}
  .footer-bottom p{margin-top:14px}
}
@media(max-width:420px){
  .footer-game-logo{width:215px}
  .footer-grid{gap:24px 18px}
  .footer-grid>.footer-column:last-child{grid-template-columns:1fr;padding:20px;gap:12px}
  .footer-column .footer-email{grid-column:1;grid-row:3;justify-self:start}
  .footer-help{grid-column:1;grid-row:2}
  .footer-legal{flex-direction:column;align-items:center}
}

/* Instant depression; minimum tap feedback is released by landing.js. */
.pill:active,.pill.is-pressed{transform:translateY(6px);box-shadow:0 1px 0 var(--yellow-base);transition:none}
.pill.blue:active,.pill.blue.is-pressed{box-shadow:0 1px 0 var(--blue-base)}
.footer-column .footer-email:active,.footer-column .footer-email.is-pressed{transform:translateY(3px);box-shadow:0 1px 0 #dfe5ee;transition:none}

/* Keep browser-only availability attached to its own call to action. */
.actions{align-items:flex-start}
.browser-action{display:flex;flex-direction:column;align-items:flex-start;gap:16px;max-width:100%}
.browser-action .availability{margin:0;flex-wrap:wrap;gap:8px 12px}
@media(max-width:720px){.browser-action{align-items:center}}

@media(max-width:1000px){
  .footer-grid>nav.footer-column{align-items:center;text-align:center}
  .footer-grid>nav.footer-column a{justify-content:center}
}

/* Progressive disclosure on phones; navigation remains visible without JavaScript. */
.menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:#f0f3f7;color:var(--navy);cursor:pointer;flex-shrink:0}
@media(max-width:720px){
 .nav.menu-ready{position:relative;flex-wrap:nowrap;gap:10px}
 .menu-ready .brand{min-width:0;flex-shrink:1}
 .menu-ready .language{font-size:14px;padding-inline:0}
 .menu-ready .menu-toggle{display:flex}
 .menu-ready .nav-links{display:none;position:absolute;top:calc(100% + 8px);right:0;width:min(280px,100%);padding:12px;flex-direction:column;gap:4px;background:white;border:1px solid #e5e9ef;border-radius:20px;box-shadow:0 10px 28px #0c294222;z-index:20}
 .menu-ready.menu-open .nav-links{display:flex}
 .menu-ready .nav-links a{display:flex;align-items:center;min-height:48px;padding:10px 16px;border-radius:12px}
 .menu-ready .nav-links a:hover{background:#f0f3f7}
}
