/* Measured against Chillgame: desktop navigation, 720px mobile menu, 2px rules. */
html{overflow-x:clip}
body{padding-top:63px}
html:has(dialog[open]){overflow:hidden}
.header{position:fixed;inset:0 0 auto;height:63px;border:0;backdrop-filter:none;background-color:#372347;background-image:linear-gradient(96deg,#a885dd8c,#a885dd42 46%,#a8eddb1f);box-shadow:0 10px 30px -16px #000e;z-index:50}
.header::after{content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--gradient);opacity:.85;pointer-events:none}
.header-inner{height:63px;width:calc(100% - 72px);display:grid;grid-template-columns:1fr auto 1fr;gap:16px}
.header .brand{font-size:18px;justify-self:start}
.header .brand img{width:28px;height:28px}
.desktop-nav{display:flex;justify-self:center;margin:0;gap:clamp(20px,3.5vw,48px);font-size:15px;letter-spacing:.01em}
.desktop-nav a{padding:0;color:var(--text)}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--purple)}
.desktop-nav a::after{left:0;right:0;bottom:-6px;height:2px;background:linear-gradient(90deg,transparent,var(--purple),transparent);transform:scaleX(0);transition:transform .2s}
.desktop-nav a:hover::after,.desktop-nav a.active::after{transform:scaleX(1)}
.header-actions{justify-self:end;margin:0;gap:10px}
.header-actions .icon-button{width:38px;height:38px}
.header-actions .button-small{font-size:14px;padding:9px 18px}
.header-actions .menu-toggle{display:none}

/* The reference has gradient outlines, not a flat border, on these surfaces. */
.welcome-pill{position:relative;border-color:transparent;padding:8px 16px;font-size:14px;letter-spacing:.01em;margin-bottom:14px}
.welcome-pill::before,.hero-stage::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--gradient);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);pointer-events:none}
.welcome-pill::before{opacity:.75}
.hero-stage{aspect-ratio:16/9;border-color:transparent;box-shadow:0 30px 70px -30px #08040de6,0 0 60px -20px #a885dd8c}
.hero-stage::after{padding:1.5px;z-index:4}
.hero-slide{opacity:0;pointer-events:none;transition:opacity .8s ease-in-out}
.hero-slide.is-active{opacity:1;pointer-events:auto}
.hero-slide.is-active .scene-link{animation:none}
.hero-controls{height:auto;min-height:30px;padding:14px 0 0}
.slide-tabs{height:auto;gap:8px}
.slide-tabs button{width:8px;height:8px;position:relative}
.slide-tabs button::before{content:"";position:absolute;inset:-10px}
.slide-tabs button:focus-visible{outline-offset:7px}
.hero-route{font-size:12px}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:18px;border-top-color:#c5a7ff38}
.stat-chip{padding:10px 12px;gap:10px}
.stat-chip>span{width:34px;height:34px}
.stat-chip>div{min-width:0}
.stat-chip strong{font-size:23px}
.stat-chip:last-child strong{font-size:18px}
.stat-chip small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.72}
.filter-group>span{font-size:13px;font-weight:700;letter-spacing:.04em}
.filter-chip[aria-pressed=true]{background:var(--purple);border-color:var(--purple);color:#251432;box-shadow:none}
.filter-chip:hover{color:var(--purple);border-color:var(--purple)}
.filter-chip[aria-pressed=true]:hover{color:#251432}
.catalog-card:hover>.button-primary{background-position:100% 50%;box-shadow:0 12px 30px -8px #a885ddf2}
.catalog-rail:not(.is-filtered) .catalog-card{user-select:none}

/* Same footer hierarchy and separators; destinations belong to this platform. */
.footer{display:block;padding:44px 10% 0;background-color:#21162e;background-image:radial-gradient(80vmax 50vmax at 8% 130%,#a885dd57,transparent 62%),radial-gradient(60vmax 40vmax at 92% 140%,#a8eddb24,transparent 62%)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr));gap:28px}
.footer-brand{min-width:0}
.footer .brand{font-size:24px}
.footer .footer-brand p{font-size:13px;line-height:1.8;max-width:290px}
.footer-column h3{font-size:12px;font-weight:800;letter-spacing:.08em;margin:4px 0 16px;color:var(--text)}
.footer-column nav{display:flex;flex-direction:column;align-items:start;gap:11px}
.footer-column a,.footer-column button{font:inherit;font-size:12px;color:#c7b4d9;text-align:left;overflow-wrap:anywhere;text-decoration:none;transition:color .15s,translate .15s}
.footer-column a:hover,.footer-column button:hover{color:var(--purple);translate:3px 0}
.footer-column button{padding:0;border:0;background:none;cursor:pointer}
.footer-qr{margin:32px 0 0;padding-top:26px;border-top:1px solid #c5a7ff38;display:flex;justify-content:space-between;flex-wrap:wrap;gap:22px}
.footer-qr-site{display:flex;align-items:center;gap:16px;min-width:0}
.footer-qr img{width:84px;height:84px;flex:none;box-shadow:0 18px 40px -22px #000d}
.footer-qr b{font-size:18px;margin:0 0 4px}
.footer-qr-site span{font-size:12.5px}
.footer-qr button{font-size:13px;border:1px solid #c5a7ff44;padding:11px 16px;border-radius:999px;margin:0}
.footer-qr button:hover{background:#c5a7ff18}
.footer-legal{margin-top:24px;padding:18px 0 90px;border-top:1px solid #c5a7ff38;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footer-legal span{font-size:12.5px;font-weight:600;color:#ac96bf}

@media(max-width:1100px){
  .header-inner{width:calc(100% - 40px);gap:12px}
  .desktop-nav{display:flex;font-size:13px;gap:18px}
  .header-actions{gap:8px}
  .header-actions .button-small{font-size:12px;padding-inline:13px}
}
@media(720px < width < 940px){
  .header-inner{width:calc(100% - 32px);gap:10px}
  .header-guide{display:none}
  .desktop-nav{font-size:12px;gap:12px}
  .header-actions .icon-button{width:34px;height:34px}
  .header-actions .button-small{font-size:11px;padding-inline:11px}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{max-width:620px}
  .hero-banners{width:100%;max-width:640px;margin:24px auto 0}
  .hero-stats{max-width:580px}
  .hero-route{font-size:11px}
}
@media(max-width:919px){
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:720px){
  .header,.header-inner{height:62px}
  body{padding-top:62px}
  .header-inner{width:calc(100% - 32px);grid-template-columns:auto 1fr;gap:10px}
  .desktop-nav,.header-guide,.header-actions #account-link{display:none}
  .header-actions .menu-toggle{display:inline-grid}
  .header-actions{gap:8px}
  .header-actions .icon-button{width:38px;height:38px}
  .header .brand{font-size:18px}
  .header .brand img{width:28px;height:28px}
  .hero-grid{grid-template-columns:1fr}
  .welcome-pill{font-size:13px;padding:8px 14px}
  .hero-stage{aspect-ratio:16/9}
  .hero-controls{height:auto;padding:14px 0 0;min-height:30px}
  .slide-tabs{gap:8px;height:auto}
  .slide-tabs button{width:8px;height:8px}
  .hero-route{font-size:10px;gap:7px}
  .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
  .stat-chip{padding:10px;gap:9px}
  .stat-chip>span{width:32px;height:32px}
  .stat-chip strong{font-size:23px}
  .stat-chip:last-child strong{font-size:18px}
  .stat-chip small{font-size:11px}
  .filter-group>span{font-size:12px}
  .footer{padding:36px 20px 0}
  .footer-qr{justify-content:center;text-align:center}
  .footer-qr-site{flex-direction:column;text-align:center}
  .footer-qr b{font-size:18px}
  .footer-legal{justify-content:center;text-align:center;padding-bottom:112px}
}
@media(max-width:559px){.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}}
@media(max-width:520px){
  .hero-stats{grid-template-columns:1fr;gap:10px}
  .stat-chip{padding:10px 12px}
  .stat-chip:last-child strong{font-size:23px}
}

/* Reference pulse phases, hover pause, rocket ignition and mobile legibility. */
.floating-help{animation:float-pulse 4s ease-in-out infinite,magic-shift 6s linear infinite}
.floating-help:hover{transform:translateY(-3px) scale(1.04);animation-play-state:paused}
.floating-join:hover{transform:translateY(-3px) scale(1.03);animation-play-state:paused}
.floating-join::after{inset:0;border:0;border-radius:inherit;animation:partner-ring 5s ease-in-out infinite}
.floating-join:hover::after{animation-play-state:paused}
@keyframes float-pulse{
  0%,70%,100%{box-shadow:0 10px 30px -8px #c5a7ff99,0 0 0 0 #c5a7ff80;transform:scale(1)}
  82%{box-shadow:0 10px 30px -8px #c5a7ff99,0 0 0 14px #c5a7ff00;transform:scale(1.06)}
  88%{transform:scale(1)}
}
@keyframes partner-pulse{0%,72%,100%{transform:scale(1)}84%{transform:scale(1.03)}90%{transform:scale(1)}}
@keyframes partner-ring{0%,72%,100%{box-shadow:0 0 0 0 #a8eddb73}84%{box-shadow:0 0 0 12px transparent}}
.rocket-flame{opacity:0;transition:opacity .12s}
.is-ignite .rocket-flame,.is-flight .rocket-flame{opacity:1}
.rocket-top.is-ignite .rocket{animation:rocket-shake .09s linear infinite}
.rocket-top.is-flight .rocket{animation:rocket-shake .13s linear infinite}
.rocket-smoke i{width:18px;height:18px;left:calc(50% - 9px);bottom:18px;background:radial-gradient(circle at 40% 35%,#ffffffd9,#c5a7ff80 55%,#c5a7ff00 72%);animation:rocket-puff .85s ease-out infinite}
.rocket-smoke i:nth-child(1){animation-delay:0s;--puff-x:-9px}
.rocket-smoke i:nth-child(2){animation-delay:.14s;left:calc(50% - 9px);--puff-x:7px}
.rocket-smoke i:nth-child(3){animation-delay:.28s;left:calc(50% - 9px);--puff-x:-4px}
.rocket-smoke i:nth-child(4){animation-delay:.42s;left:calc(50% - 9px);--puff-x:11px}
.rocket-smoke i:nth-child(5){animation-delay:.56s;left:calc(50% - 9px);--puff-x:-12px}
.rocket-smoke i:nth-child(6){animation-delay:.7s;left:calc(50% - 9px);--puff-x:3px}
@keyframes rocket-shake{0%,100%{transform:translate(-1px,0) rotate(-1.4deg)}25%{transform:translate(1.5px,1px) rotate(1.4deg)}50%{transform:translate(-1.5px,-1px) rotate(-1deg)}75%{transform:translate(1px,1px) rotate(1.2deg)}}
@keyframes rocket-puff{from{opacity:.95;transform:translate(0) scale(.3)}to{opacity:0;transform:translate(var(--puff-x,0),52px) scale(2.4)}}
@media(width > 720px){.header-actions #account-link{display:inline-flex}}
@media(max-width:720px){
  .hero-description{font-size:16px;line-height:1.5}
  .hero-actions{gap:20px;align-items:flex-start;flex-direction:column}
  .hero-actions .hero-cta{font-size:18px;padding:19px 32px;min-height:56px}
  .hero-actions .text-link{font-size:15px}
  .hero-route{font-size:12px;display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;max-width:390px}
  .hero-route>span,.hero-route>b{min-width:0}
  .floating-help{width:46px;height:46px;padding:14px;font-size:0;gap:0;border-radius:999px}
  .floating-help>span{display:block;font-size:18px;line-height:1}
  .floating-join{max-width:none;width:56px;height:56px;padding:12px;justify-content:center;border-radius:999px}
  .floating-join img{width:30px;height:30px}
  .floating-join>span{display:none}
  .floating-help:active,.floating-join:active{transform:scale(.96)}
  .form input,.form textarea,.form select,.search-field input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.floating-help:hover,.floating-join:hover{transform:none}}
:root.effects-off .floating-help:hover,:root.effects-off .floating-join:hover{transform:none}
.auth-layout{display:grid;grid-template-columns:minmax(0,450px) minmax(0,1fr);gap:clamp(32px,5vw,64px);align-items:center;margin-top:30px}
.auth-layout .auth-card{margin:0;max-width:none}
.account-benefits h2{font-size:38px;margin:0 0 30px}
.account-benefits ul{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:25px}
.account-benefits li{display:flex;align-items:flex-start;gap:15px}
.account-benefits li>span{display:grid;place-items:center;flex:none;width:38px;height:38px;background:var(--gradient);border-radius:12px;color:#251432;font-size:23px;box-shadow:0 8px 20px -8px #a885dd99}
.account-benefits h3{font-size:16px;margin:0 0 6px}
.account-benefits p{font-size:14px;color:#cab9db;line-height:1.5;margin:0}
.form input,.form textarea,.form select{font-size:16px}
@media(width < 900px){.auth-layout{grid-template-columns:1fr;max-width:550px}.account-benefits{padding:10px 4px 0}.account-benefits h2{font-size:30px}.account-benefits ul{gap:20px}}
@keyframes modal-rise{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
.search-dialog::backdrop,.room-dialog::backdrop{backdrop-filter:blur(8px);animation:scrim-in .18s ease both}
.help-dialog::backdrop{backdrop-filter:blur(6px);animation:scrim-in .22s ease both}
@keyframes status-pulse{0%,100%{box-shadow:0 0 0 0 #a8eddb73}50%{box-shadow:0 0 0 10px #a8eddb00}}
.click-sparks{margin:0;padding:0;max-width:none;max-height:none;outline:0;overflow:hidden}
