/* EXOLAND INDEX V8 — visual refinements, mobile-first app feel, arcade thumb controls */
:root{--v8-electric:#53e8ff;--v8-violet:#ab68ff;--v8-orange:#ff9337;--v8-ink:#06112d}
html{scroll-behavior:smooth;scroll-padding-top:82px}
body{background:radial-gradient(ellipse at 78% 32%,#2a1d6640,transparent 35%),radial-gradient(ellipse at 8% 10%,#1646844b,transparent 35%),#050c21}
::selection{color:#061027;background:#8ef5ff}
:where(a,button,input):focus-visible{outline:2px solid #91f8ff!important;outline-offset:4px}
.header{box-shadow:0 10px 34px #01051fc7;border-bottom:1px solid #559cfd50;backdrop-filter:blur(22px)}
.header::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:linear-gradient(90deg,transparent,#55e5ff80,#a34cff80,transparent);pointer-events:none}
.brand img{background:#e72924;border-radius:50%;box-shadow:0 0 0 1px #fff5,0 0 26px #ff403e45}
.desktop-menu a{transition:color .2s,text-shadow .2s}.desktop-menu a:hover{color:#e9f8ff;text-shadow:0 0 15px #71d7ff96}
.join-btn,.cta-hot{background:linear-gradient(112deg,#ff9d26,#ff5736 36%,#dc30d4 74%,#7035ed);border:1px solid #ffcb6b;box-shadow:0 0 25px #df44ff43,0 12px 28px #08102099, inset 0 1px 0 #fff6}
.join-btn:hover,.cta-hot:hover{box-shadow:0 0 34px #e14aff80,0 14px 32px #000b1c}
.hero{border-bottom:1px solid #2dacf9;box-shadow:inset 0 -55px 80px #08133770}
.hero::after{content:"";position:absolute;z-index:0;left:0;right:0;bottom:0;height:115px;pointer-events:none;background:linear-gradient(0deg,#14206062,transparent)}
.hero-art{filter:drop-shadow(0 0 32px #7d4dff50) saturate(1.14) contrast(1.04);transition:filter .45s ease}
.hero h1{text-shadow:0 10px 28px #070f429c,0 0 32px #67a9ff66}
.hero-kicker{letter-spacing:2px}
.hero-actions .cta{position:relative;overflow:hidden;transition:transform .23s,box-shadow .23s}
.hero-actions .cta::after{content:"";position:absolute;top:-60%;left:-75%;width:43%;height:230%;transform:rotate(29deg);background:linear-gradient(90deg,transparent,#fff5,transparent);transition:left .5s;pointer-events:none}
.hero-actions .cta:hover::after{left:135%}
.features{position:relative;z-index:1}
.feature{position:relative;overflow:hidden;background:linear-gradient(165deg,#112455,#081634 80%);box-shadow:inset 0 1px 0 #b4f5ff20,0 0 18px #007aff24;border-color:#338ef16b}
.feature::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;background:linear-gradient(90deg,transparent,#54edff99,transparent);opacity:.6}
.feature:hover{border-color:#6aecff;transform:translateY(-4px);box-shadow:0 12px 26px #03102a,0 0 22px #38cfff5e}
.feature:hover .icon{transform:translateY(-3px) scale(1.07)}
.feature .icon{transition:transform .25s;filter:drop-shadow(0 0 10px #00ccff86)}
.ginette{box-shadow:0 20px 55px #07082dba,0 0 26px #832cff38;isolation:isolate}
.ginette-body p{max-width:470px}
.ginette-body .cta{box-shadow:0 0 24px #287dff61}
.portfolio-card{box-shadow:0 8px 22px #000e3270}
.portfolio-card img{transition:transform .5s ease,filter .35s ease;filter:contrast(1.04) saturate(1.12)}
.portfolio-card:hover img{transform:scale(1.06);filter:contrast(1.08) saturate(1.18)}
.portfolio-card:focus-visible{outline:3px solid #67e8ff}
.arcade{border-color:#715affaa;box-shadow:0 10px 45px #030729,0 0 34px #6248ff2c}
.arcade-image img{object-fit:contain!important;filter:saturate(1.14) contrast(1.07)}
.arcade-image:hover{filter:brightness(1.08)}
.arcade-copy h2{text-shadow:0 3px 12px #021239,0 0 20px #d85aff35}
.arcade-live{opacity:1!important;background:#03172fcf;box-shadow:0 0 15px #24d5ff35}
.ecosystem{position:relative}
.footer{border-top:1px solid #527ff65a}
.socials a{display:grid;place-items:center;width:34px;height:34px;border:1px solid #8db3ff23;border-radius:11px;background:#0b1a3778;transition:color .2s,transform .2s,box-shadow .2s}
.socials a:hover{box-shadow:0 0 20px #5dcfff3b;transform:translateY(-3px)}
.socials .icon{height:20px;width:20px}
.cookie-banner{border-color:#658fea72;box-shadow:0 16px 48px #000d30ce,0 0 14px #2f9cfc27}
.cookie-actions button{transition:filter .2s,transform .2s}.cookie-actions button:hover{filter:brightness(1.14)}

/* Game client: theater-like frame, readable HUD, no cropped icons */
.arcade-dialog{width:min(980px,calc(100% - 22px));border-color:#6d95ff;background:linear-gradient(160deg,#0c1640,#040b21 77%);box-shadow:0 30px 100px #000c,0 0 35px #5157ff50}
.arcade-modal-inner{padding:clamp(14px,2vw,24px)}
.arcade-dialog-top{padding-bottom:2px}
.arcade-dialog-top h2{color:#f7fbff;text-shadow:0 0 20px #824dff72}
.arcade-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:2px 0 10px;padding:0}
.arcade-stats>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid #68a0e638;border-radius:8px;background:#0b1a3da8;font-size:10px;font-weight:850;letter-spacing:.8px;padding:6px 4px;min-width:0}
.arcade-stats strong{font-size:clamp(17px,2.7vw,23px);color:#f5fdff;margin:0;letter-spacing:.2px;font-variant-numeric:tabular-nums}
.arcade-stats>span:nth-child(2) strong{color:#ff5a82}
.arcade-stats>span:nth-child(3) strong{color:#d9a1ff}
.arcade-stats>span:nth-child(5) strong{color:#ffce7d}
.game-frame{border:2px solid #4df1ff;border-radius:15px;position:relative;isolation:isolate;box-shadow:0 0 0 4px #1f54e729,0 0 27px #28c8ff4a,0 0 40px #713aff33,inset 0 0 22px #3489ff3d;background:#060e25}
.game-frame::before{content:"";position:absolute;inset:4px;z-index:2;pointer-events:none;border-radius:11px;border:1px solid #7ff6ff1c}
.game-frame::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,#52f3ffb0,transparent 13%,transparent 87%,#cd60ffb0);mask-image:linear-gradient(to bottom,#000,transparent 17%,transparent 83%,#000);opacity:.38}
.game-frame canvas{background:#040b20;image-rendering:auto;touch-action:none}
.game-overlay{z-index:3;background:radial-gradient(ellipse at 48% 48%,#0c1e4ebf,#060b23f4 85%);backdrop-filter:blur(3px)}
.game-overlay-kicker{font-size:11px;letter-spacing:2.2px;color:#8feeff}
.game-overlay strong{font-size:clamp(34px,5.7vw,61px);letter-spacing:-.05em;text-shadow:0 5px 22px #6a43ff,0 0 28px #df56ff50}
.game-overlay p{color:#dbe9ff;max-width:440px;line-height:1.55}
.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 4px 4px;color:#97cbe3;font-size:11px}
.game-control-cluster{display:flex;gap:9px}
.game-control{border-color:#6594e15e;background:linear-gradient(#0f2550,#061739);min-height:37px;border-radius:9px;transition:filter .2s}
.game-control:hover{filter:brightness(1.15)}
.game-control:disabled{opacity:.4}
.game-touch-hint{display:none}
.touch-controls{display:flex;justify-content:space-between;gap:12px;margin-top:14px}
.touch-steering,.touch-actions{display:flex;flex-direction:column;gap:7px;min-width:0}
.touch-control-title{font:800 10px Rajdhani,sans-serif;letter-spacing:1.5px;color:#9bd5f5;display:flex;gap:7px;align-items:center}
.touch-control-title small{color:#6389ad;font-size:9px;letter-spacing:.5px;margin-left:auto}
.touch-led{width:6px;height:6px;border-radius:50%;background:#36e4ff;box-shadow:0 0 10px #36e4ff;flex:none}.touch-led.hot{background:#ff6676;box-shadow:0 0 10px #ff6676}
.touch-steering-buttons,.touch-action-buttons{display:flex;gap:9px}
.touch-controls button{position:relative;user-select:none;-webkit-user-select:none;touch-action:none;min-height:65px;min-width:78px;border-radius:16px;box-shadow:inset 0 1px 1px #c8faff28,0 8px 20px #0006;transition:background .13s,transform .13s,box-shadow .13s}
.touch-controls button img,.touch-controls button .icon{width:28px;height:28px;filter:drop-shadow(0 0 7px #69b8ff7a)}
.touch-controls button:active{box-shadow:0 0 23px #21ceff80, inset 0 0 19px #35afff36;transform:scale(.96)}
.touch-controls #gameFire{background:radial-gradient(circle at 50% 5%,#ff897f,#a12194 63%,#3f126b);border:2px solid #ff9eaa;box-shadow:0 0 16px #e84bdc70,inset 0 1px 1px #fff7}
.touch-controls #gameFire:active{box-shadow:0 0 27px #fa58c6,inset 0 0 20px #ffbdd75a}
.touch-controls #gamePulse{border-color:#ae8cfa;background:linear-gradient(155deg,#322470,#141543)}
.touch-controls #gamePulse.charged{animation:v8Charged 1.5s ease-in-out infinite;box-shadow:0 0 19px #d579ff80}
@keyframes v8Charged{50%{box-shadow:0 0 27px #d579ffdd}}
.game-privacy-note{color:#879fbe!important}
.game-announcer{color:#b4ecff}

@media(hover:hover) and (pointer:fine){.touch-controls{display:none}.game-touch-hint{display:none}}
@media(max-width:850px){
  .game-frame{border-radius:12px}
  .game-frame canvas{max-width:100%}
  .arcade-stats{gap:5px}
  .touch-controls button{min-width:70px}
}
@media(max-width:600px){
  html{scroll-padding-top:67px}
  .header{background:linear-gradient(180deg,#06132eef,#0b1c45e6);border-bottom-color:#5ac4ff66}
  .header-shell{gap:8px}
  .join-btn{min-width:0;font-size:10px}
  .brand{letter-spacing:-1px}
  .hero{height:clamp(660px,177vw,754px);background:radial-gradient(ellipse at 50% 20%,#224c8c,transparent 56%),linear-gradient(180deg,#07173b,#091d4d 76%,#081332)}
  .hero-sky{height:32%;opacity:.9}
  .hero-shimmer{background:linear-gradient(to bottom,#04133738,#0819418a 37%,transparent 60%)}
  .hero-content{padding-top:36px}
  .hero-copy{padding:10px 0;background:linear-gradient(90deg,#081f4b33,transparent)}
  .hero h1{font-size:clamp(54px,13.4vw,78px)}
  .hero h2{max-width:360px;font-size:clamp(18px,4.2vw,28px)}
  .hero p{font-size:13.5px;line-height:1.62}
  .hero-art{height:clamp(360px,104vw,465px);bottom:-8px;max-width:100%;background-size:cover;background-position:center bottom;mask-image:linear-gradient(to bottom,transparent 0%,#000 15%,#000 98%,transparent);filter:saturate(1.12) contrast(1.03) drop-shadow(0 14px 25px #01092487)}
  .features{gap:10px;padding-top:17px}
  .feature{min-height:103px;border-radius:14px}
  .feature strong{font-size:clamp(9px,2.5vw,11px);letter-spacing:.06px}
  .feature .icon{width:32px;height:32px}
  .ginette{min-height:545px;border-radius:17px}
  .ginette-body{padding:0 22px 23px}
  .ginette-mark{font-size:clamp(36px,10vw,47px)}
  .ginette-body p{font-size:12.5px;line-height:1.55}
  .portfolio{margin-top:32px}
  .portfolio-track{scroll-padding-left:7px;grid-auto-columns:82%;gap:11px;padding-left:5px;padding-right:5px}
  .portfolio-card{height:294px;border-radius:15px}
  .portfolio-card img{object-fit:cover;object-position:center top}
  .portfolio-card strong{font-size:30px}
  .arcade{margin-top:30px;border-radius:17px;padding:8px}
  .arcade-image{border-radius:12px}
  .arcade-copy{padding:24px 15px 29px}
  .arcade-copy h2{font-size:48px}
  .arcade-copy .cta{min-height:54px;border-radius:13px}
  .arcade-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:6px 0 9px}
  .arcade-stats>span{padding:4px 2px;min-height:40px;font-size:9px}
  .arcade-stats strong{font-size:16px}
  .arcade-dialog{width:calc(100vw - 10px);max-height:98dvh;border-radius:13px}
  .arcade-modal-inner{padding:10px 11px 12px;max-height:96dvh;overflow:auto}
  .arcade-dialog-top h2{font-size:23px}
  .game-frame{aspect-ratio:720/930;max-height:none;border-radius:11px}
  .game-frame canvas{object-fit:fill}
  .game-bottom{justify-content:space-between;gap:8px;margin-top:9px;padding:0 2px;font-size:9px}
  .game-keyboard-hint{display:none}
  .game-touch-hint{display:inline;font-size:9px;color:#a8e6ff;line-height:1.3;max-width:165px}
  .game-control-cluster{gap:5px;margin-left:auto}
  .game-control{min-height:35px;padding:6px 8px;font-size:9px}
  .game-control .icon{width:14px;height:14px}
  .touch-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:11px 8px 9px;margin-top:10px;border:1px solid #456dcb59;border-radius:15px;background:linear-gradient(135deg,#0b214b,#0d1535)}
  .touch-steering,.touch-actions{min-width:0}
  .touch-control-title{font-size:9px;letter-spacing:.9px}
  .touch-control-title small{font-size:8px}
  .touch-steering-buttons,.touch-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .touch-controls button{min-width:0;min-height:66px;border-radius:13px;gap:2px;font-size:9px;padding:4px 0}
  .touch-controls button img,.touch-controls button .icon{width:26px;height:26px}
  .touch-controls #gameFire{border-width:2px}
  .game-overlay{padding:16px 22px}
  .game-overlay strong{font-size:clamp(32px,8.5vw,46px)}
  .game-overlay p{font-size:12px;max-width:325px;line-height:1.55}
  .game-privacy-note{font-size:9px!important;line-height:1.45}
  .mobile-dock{border-radius:18px;border-color:#59aafea1;box-shadow:0 12px 45px #02091bdc,0 0 28px #495dff42}
  .mobile-dock .dock-play>span{box-shadow:0 0 25px #bb5aff78}
  .socials{gap:8px;flex-wrap:wrap}
  .socials a{width:30px;height:30px;border-radius:9px}
  .socials .icon{width:18px;height:18px}
  .footer-brand{font-size:clamp(22px,7vw,29px)}
  .cookie-banner{border-radius:15px}
}
@media(max-width:375px){
  .hero{height:665px}
  .hero-art{height:360px}
  .brand{font-size:23px}
  .header-shell{gap:5px}
  .join-btn{font-size:9px;padding:8px 10px}
  .touch-control-title{font-size:8px}
  .touch-controls{gap:7px;padding:9px 6px}
  .touch-controls button{min-height:59px}
  .game-touch-hint{display:none}
  .game-bottom{justify-content:center}
}
@media(max-height:720px) and (max-width:600px){
  .arcade-modal-inner{overflow-y:auto}
  .game-frame{max-height:43dvh}
  .game-frame canvas{object-fit:contain}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

@media(max-height:720px) and (max-width:600px){
 .arcade-stats>span{min-height:36px;padding:2px}
 .touch-controls{margin-top:7px;padding:7px 6px 6px}
 .touch-controls button{min-height:55px}
 .arcade-dialog-top h2{margin-bottom:5px}
 .game-privacy-note{display:none}
}
