/* BOMBRIFT V8.1 — focused official game website.
   All artwork is original project art carried over unchanged from V7. */
:root{
  --bg:#070b1b;--bg2:#0b1027;--panel:#10132c;--panel2:#151234;
  --line:rgba(171,164,237,.20);--text:#fff;--muted:#b9c2dc;
  --purple:#9b4dff;--lilac:#d8a4ff;--yellow:#ffc63c;--max:1400px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
button{font:inherit}
img{max-width:100%;display:block}
svg{width:20px;height:20px;flex:none}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.container{width:min(calc(100% - 80px),var(--max));margin-inline:auto}
section[id]{scroll-margin-top:95px}
.skip-link{position:fixed;z-index:500;top:-100px;left:20px;background:white;color:#111;padding:12px 18px;border-radius:8px;font-weight:800}
.skip-link:focus{top:16px}
a:focus-visible,button:focus-visible{outline:3px solid #ffce55;outline-offset:4px}
.eyebrow{display:block;color:#afa6ec;font-size:12px;font-weight:900;letter-spacing:2.5px;text-transform:uppercase;margin-bottom:16px}
.section{padding:76px 0}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:30px}
.section-heading h2,.game-copy h2,.studio-copy h2,.community-inner h2,.contact-inner h2{margin:0;text-transform:uppercase;font-weight:950;letter-spacing:-.045em;line-height:1.08;font-size:clamp(35px,3.55vw,56px)}
.section-heading>p{font-size:16px;line-height:1.65;color:var(--muted);max-width:370px;margin:0 0 4px}
.accent-lilac{color:#d8a2ff}
.section-footnote{margin:20px 0 0;color:#a6b0ce;font-size:13px;line-height:1.6}
.text-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:900;letter-spacing:.35px;color:#d7a6ff;transition:color .2s,transform .2s}
.text-link:hover{color:#fff;transform:translateX(3px)}
.text-link svg{width:18px;height:18px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:11px;min-height:54px;padding:0 26px;border-radius:999px;font-size:13px;font-weight:900;letter-spacing:.35px;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button svg{width:19px;height:19px}
.button-primary{background:linear-gradient(110deg,#6250ff 0%,#a524ee 100%);color:#fff;box-shadow:0 8px 30px #7e20f04f}
.button-primary:hover{box-shadow:0 11px 35px #8c3bff80}
.button-outline{background:rgba(7,9,23,.8);border:1px solid #b9a0ec8c;color:#fff;box-shadow:0 4px 24px #0005}
.button-outline:hover{background:#1d1744}

/* HEADER */
.site-header{height:88px;position:sticky;top:0;z-index:100;background:rgba(5,9,22,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.site-header.scrolled{box-shadow:0 10px 30px #0007}
.header-inner{height:100%;display:flex;align-items:center;gap:24px}
.brand-cluster{display:flex;align-items:center;gap:17px;flex:none}
.studio-brand{display:grid;place-items:center;width:78px;height:72px}
.studio-brand img{width:78px;height:72px;object-fit:contain}
.brand-divider{height:33px;width:1px;background:#847ca75a}
.game-brand{display:flex;flex-direction:column;gap:0;line-height:1.1}
.game-brand strong{font-size:23px;font-weight:950;letter-spacing:.9px}
.game-brand small{font-size:9px;letter-spacing:1.65px;font-weight:850;color:#a9a6c7;margin-top:5px}
.desktop-nav{display:flex;align-items:center;gap:clamp(12px,1.3vw,22px);margin-left:auto;white-space:nowrap}
.desktop-nav a{font-size:13px;font-weight:750;color:#e4e4f4;transition:color .18s}
.desktop-nav a:hover,.desktop-nav a.active{color:#dfaaff}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:5px}
.discord-header{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(110deg,#624dff,#9229e8);padding:0 19px;border-radius:999px;min-height:43px;font-size:12px;font-weight:900;white-space:nowrap;transition:transform .18s,filter .18s}
.discord-header:hover{transform:translateY(-2px);filter:brightness(1.15)}
.discord-header svg{width:18px;height:18px}
.menu-toggle{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:45px;height:45px;border:1px solid #64577c;background:#17132e;border-radius:12px;color:white;cursor:pointer}
.menu-toggle span{width:21px;height:2px;background:#fff;border-radius:3px}
.menu-backdrop{position:fixed;z-index:110;inset:88px 0 0;background:#02030cc4}
.mobile-menu{display:none}

/* HERO — original BOMBRIFT logo and four original fighters */
.hero{height:660px;position:relative;isolation:isolate;overflow:hidden;background:#150d32}
.hero-background{position:absolute;z-index:-5;inset:-20px;background:url('assets/arena-hero-soft.webp') center 45%/cover no-repeat}
.hero-shade{position:absolute;z-index:-4;inset:0;background:radial-gradient(ellipse 48% 52% at 50% 37%,#7e25ce65 0%,#29145746 60%,transparent 100%),linear-gradient(90deg,#0b092cbb,transparent 25%,transparent 75%,#0b092cbb),linear-gradient(0deg,#070b1b 0%,#070b1b08 27%,#0d0b2a44 100%)}
.hero-orbit{position:absolute;z-index:-3;left:50%;top:36%;transform:translate(-50%,-50%);width:390px;height:390px;border:9px solid #9c36ff30;border-radius:50%;box-shadow:0 0 80px #a420ff77,inset 0 0 75px #a420ff55;filter:blur(2px)}
.hero-character{position:absolute;z-index:-1;object-fit:contain;pointer-events:none;filter:drop-shadow(0 18px 20px #000b)}
.hero-blue{width:clamp(120px,13.5vw,215px);left:10.5%;top:32px;transform:rotate(-12deg)}
.hero-yellow{width:clamp(125px,14.2vw,210px);right:10.5%;top:35px;transform:rotate(11deg)}
.hero-red{width:clamp(195px,24vw,355px);left:max(-1%,calc((100vw - 1560px)/2));bottom:-18px;transform:rotate(-8deg)}
.hero-green{width:clamp(195px,21vw,315px);right:max(-1%,calc((100vw - 1560px)/2));bottom:-18px;transform:rotate(7deg)}
.hero-center{height:100%;position:relative;z-index:3;display:flex;align-items:center;flex-direction:column;text-align:center;padding-top:69px}
.hero-kicker{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:2.1px;font-weight:900;color:#efe4ff;text-shadow:0 3px 9px #000}
.live-dot,.status-dot{width:8px;height:8px;flex:none;display:inline-block;border-radius:50%;background:#ad63ff;box-shadow:0 0 15px #b059ff}
.hero-logo{width:min(65vw,760px);height:315px;object-fit:contain;margin-top:-5px;filter:drop-shadow(0 13px 25px #0009)}
.hero h1{font-size:clamp(25px,2.7vw,39px);letter-spacing:-.02em;line-height:1.12;margin:-15px 0 10px;font-weight:950;text-shadow:0 4px 12px #000}
.hero-center>p{font-size:16px;line-height:1.5;color:#f2eaff;margin:0 0 22px;text-shadow:0 3px 10px #000}
.hero-buttons{display:flex;align-items:center;justify-content:center;gap:12px}
.hero-status{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;font-size:11px;letter-spacing:1.05px;font-weight:850;color:#e1d8fa;text-shadow:0 2px 8px #000}
.hero-status .status-dot{width:7px;height:7px}
.status-sep{color:#a2a3c3}
.hero-art-note{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);width:90%;text-align:center;font-size:9px;letter-spacing:1.1px;color:#c9c3dbaa;text-shadow:0 2px 5px #000}

/* FEATURES */
.features-strip{border-bottom:1px solid var(--line);background:linear-gradient(180deg,#070b1c,#0a0e22)}
.features-grid{display:grid;grid-template-columns:repeat(5,1fr);min-height:112px}
.feature{display:flex;align-items:center;justify-content:center;gap:15px;border-right:1px solid #ffffff12}
.feature:last-child{border-right:0}
.feature svg{width:30px;height:30px;filter:drop-shadow(0 0 10px currentColor)}
.feature span{display:flex;flex-direction:column;gap:0;font-size:12px;font-weight:800;line-height:1.18;text-transform:uppercase}
.feature strong{font-size:15px;font-weight:950}
.feature-orange svg{color:#ff8539}.feature-purple svg{color:#ce52ff}.feature-green svg{color:#45f2ac}.feature-blue svg{color:#7394ff}.feature-yellow svg{color:#ffdb55}

/* GAME */
.game-section{background:radial-gradient(ellipse at 80% 50%,#16133855,transparent 56%)}
.game-grid{display:grid;grid-template-columns:.94fr 1.06fr;gap:64px;align-items:center}
.game-copy h2{font-size:clamp(40px,4vw,63px)}
.game-copy h2 em{font-style:normal;color:var(--yellow)}
.game-copy>p{font-size:17px;line-height:1.78;color:var(--muted);max-width:580px;margin:23px 0 25px}
.game-stats{display:flex;align-items:center;gap:0;margin:22px 0 25px}
.game-stats>div{min-width:120px;padding:0 24px;border-left:1px solid #9a68e366}
.game-stats>div:first-child{padding-left:0;border:0}
.game-stats strong{display:block;font-size:30px;font-weight:950;line-height:1.1;color:#fff}
.game-stats strong small{font-size:13px;color:#c7b7e6}
.game-stats span{display:block;margin-top:6px;color:#aab3d0;font-size:10px;font-weight:850;letter-spacing:1.2px}
.game-tags{display:flex;flex-wrap:wrap;gap:8px}
.game-tags span{border:1px solid #55496f;background:#11122a;border-radius:6px;padding:9px 11px;color:#d5d6eb;font-size:10px;font-weight:850;letter-spacing:.8px}
.game-media{margin:0;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:20px;border:1px solid #61548b;box-shadow:0 20px 55px #0006}
.game-media img{width:100%;height:100%;object-fit:cover}
.game-media:after{content:"";position:absolute;inset:62% 0 0;background:linear-gradient(transparent,#050817bd);pointer-events:none}
.game-media figcaption{position:absolute;z-index:1;left:16px;bottom:18px;padding:8px 11px;background:#080b1bdc;border:1px solid #ffffff3c;border-radius:6px;font-size:10px;letter-spacing:.8px;font-weight:900}
.game-media a{position:absolute;z-index:2;right:17px;bottom:16px;display:grid;place-items:center;width:43px;height:43px;border-radius:50%;border:1px solid #ffffff77;background:#080b1be6;transition:transform .2s}
.game-media a:hover{transform:translateX(3px)}

/* FIGHTERS */
.characters-section{background:linear-gradient(180deg,#080c1f,#0a0e22)}
.fighter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.fighter{position:relative;height:360px;overflow:hidden;border:1px solid #ffffff40;border-radius:20px;isolation:isolate;box-shadow:0 12px 35px #0003;transition:transform .2s,border-color .2s}
.fighter:hover{transform:translateY(-5px);border-color:#d6a5ff}
.fighter-red{background:radial-gradient(ellipse at 48% 40%,#a93348,#4e1025 70%,#140c21)}
.fighter-blue{background:radial-gradient(ellipse at 48% 40%,#3267cf,#11255c 72%,#090f25)}
.fighter-green{background:radial-gradient(ellipse at 48% 40%,#128d4c,#07442f 72%,#071a1b)}
.fighter-yellow{background:radial-gradient(ellipse at 48% 40%,#bd7e17,#663c08 72%,#221407)}
.fighter img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 14px 14px #0008);transition:transform .25s}
.fighter:hover img{transform:scale(1.035)}
.fighter:after{content:"";position:absolute;inset:54% 0 0;background:linear-gradient(transparent,#060814c9);pointer-events:none}
.fighter-caption{position:absolute;z-index:2;bottom:17px;left:19px;right:16px}
.fighter-number{font-size:10px;letter-spacing:1.5px;font-weight:900;color:#e4e0f2}
.fighter-caption h3{font-size:25px;line-height:1.1;margin:4px 0;font-weight:950}
.fighter-caption p{font-size:11px;letter-spacing:.65px;margin:0;font-weight:800;text-transform:uppercase;color:#e3dff0}

/* HOW TO PLAY */
.gameplay-section{background:radial-gradient(ellipse at 30% 0%,#1d123e77,#080b1d 60%)}
.steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.step-card{padding:28px 29px 30px;border-radius:19px;border:1px solid #514674;background:linear-gradient(145deg,#1b153c,#0d1229 72%);min-height:220px}
.step-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}
.step-top span{color:#c8b2ff;font-size:12px;font-weight:900;letter-spacing:1.5px}
.step-top svg{width:37px;height:37px;color:#d4a3ff;filter:drop-shadow(0 0 12px #a54aff88)}
.step-card h3{font-size:21px;line-height:1.2;margin:0 0 11px;font-weight:950}
.step-card p{color:#bdc6dd;font-size:15px;line-height:1.65;margin:0;max-width:370px}

/* RIFT */
.rift-section{background:#080c1e}
.rift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.rift-card{display:flex;align-items:center;gap:22px;padding:25px 22px;border-radius:19px;border:1px solid #55466f;background:linear-gradient(135deg,#191038,#0c1026 80%);min-height:184px}
.rift-icon{display:grid;place-items:center;flex:none;width:85px;height:85px;border-radius:50%;font-size:45px;font-weight:500;line-height:1;border:1px solid #bd79ff66}
.rift-purple{background:radial-gradient(circle,#6e2ed6,#311456 70%);color:#f0c7ff;box-shadow:0 0 28px #9434ef33}
.rift-orange{background:radial-gradient(circle,#7c3c67,#492341 70%);color:#ffd0b1;box-shadow:0 0 28px #ff714c2b}
.rift-pink{background:radial-gradient(circle,#70278e,#39154d 70%);color:#f6bcf4;box-shadow:0 0 28px #ec52ff33}
.rift-number{display:block;color:#bd9fef;font-size:10px;font-weight:900;letter-spacing:1.6px;margin-bottom:7px}
.rift-card h3{font-size:18px;line-height:1.2;margin:0 0 9px;font-weight:950}
.rift-card p{font-size:14px;line-height:1.55;color:#b6bfd9;margin:0}

/* POWERUPS */
.powerups-section{background:linear-gradient(180deg,#0b0d24,#090d1f)}
.power-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.power-card{display:flex;align-items:center;gap:20px;padding:22px 24px;border-radius:18px;border:1px solid #4b426a;background:linear-gradient(145deg,#14152f,#0a0f22);min-height:142px}
.power-symbol{display:grid;place-items:center;flex:none;width:87px;height:87px;border-radius:18px;border:1px solid #67538d;background:radial-gradient(circle at 40% 30%,#3c236c,#17152f 75%);font-size:35px;font-weight:950;line-height:1}
.power-symbol.real{background:radial-gradient(circle,#4d2a32,#121527);border-color:#67577d}
.power-symbol img{width:100%;height:100%;object-fit:contain;padding:8px;filter:drop-shadow(0 0 12px #ff8a3a77)}
.sym-purple{color:#d9a4ff}.sym-green{color:#54e5ac}.sym-blue{color:#8cbeff}.sym-gold{color:#ffcd65}.sym-pink{color:#ff8fc8}
.power-card h3{font-size:17px;font-weight:950;line-height:1.25;margin:0 0 8px}
.power-card p{font-size:14px;color:#b7c0d9;line-height:1.4;margin:0}

/* MEDIA */
.media-section{background:#080c1d}
.media-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px}
.media-card{position:relative;display:block;overflow:hidden;height:305px;padding:0;border:1px solid #635783;border-radius:19px;background:#14132c;color:white;text-align:left;cursor:zoom-in;transition:transform .2s,border-color .2s}
.media-card:hover{transform:translateY(-3px);border-color:#d4a5ff}
.media-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.media-card:hover img{transform:scale(1.04)}
.media-card.lineup-card{background:linear-gradient(140deg,#a9b0d0,#3e315b)}
.media-card.lineup-card img{object-fit:contain;object-position:center center}
.media-card:after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#060918d9);pointer-events:none}
.media-card>span{position:absolute;z-index:2;bottom:15px;left:16px;right:15px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:900;letter-spacing:.5px}
.media-card b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff7a;border-radius:50%;font-size:17px}
.media-note{display:flex;align-items:flex-start;gap:12px;border-top:1px solid #393353;margin-top:24px;padding-top:19px}
.media-note .status-dot{margin-top:6px}
.media-note p{margin:0;font-size:13px;color:#adb7d2;line-height:1.6}
.media-note strong{color:#fff}

/* STUDIO */
.studio-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(100deg,#0d0e23,#11102a)}
.studio-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:40px;align-items:center}
.studio-copy{padding:57px 0}
.studio-copy h2{font-size:clamp(34px,3.4vw,53px)}
.studio-copy>p{font-size:16px;color:#bac3dc;line-height:1.65;max-width:650px;margin:17px 0 22px}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0 27px}
.team-grid>div{padding-left:14px;border-left:3px solid #9856f7}
.team-grid strong{display:block;font-size:13px;font-weight:950;margin-bottom:5px}
.team-grid span{display:block;color:#aab4d0;font-size:12px;line-height:1.45}
.studio-visual{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:335px;overflow:hidden;background:radial-gradient(circle at 50% 47%,#2e1759,#0c0c22 67%);border-left:1px solid #51407255}
.studio-glow{position:absolute;width:280px;height:280px;border:1px solid #aa52ff55;border-radius:50%;box-shadow:0 0 75px #8c27ff44}
.studio-visual img{position:relative;width:min(58%,230px);max-height:220px;object-fit:contain;filter:drop-shadow(0 0 18px #9a43ff77)}
.studio-visual>span{position:relative;margin-top:-2px;font-size:9px;letter-spacing:1.3px;font-weight:900;color:#d7c4f2;text-align:center}

/* COMMUNITY */
.community-section{background:radial-gradient(ellipse at 75% 70%,#6826c780,#241046 48%,#11132e 95%);border-bottom:1px solid #6e4b9a}
.community-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:45px 0}
.community-inner .eyebrow{margin-bottom:8px;color:#d2b7ff}
.community-inner h2{font-size:clamp(27px,3.1vw,43px)}
.community-inner h2 span{color:#ffcf56}
.community-inner p{font-size:15px;color:#d0c9e8;margin:10px 0 0;line-height:1.55}
.community-action{display:flex;align-items:center;flex-direction:column;gap:12px;flex:none}
.community-action .button{min-width:224px}
.community-action>span{font-size:10px;color:#c5b3e7;letter-spacing:1.1px;font-weight:800}

/* CONTACT / FOOTER */
.contact-section{padding:48px 0;border-bottom:1px solid var(--line)}
.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.contact-inner .eyebrow{margin-bottom:9px}
.contact-inner h2{font-size:35px;margin-bottom:12px}
.contact-email{display:inline-flex;align-items:center;gap:7px;color:#ddb8ff;text-decoration:underline;text-underline-offset:5px;font-size:15px;overflow-wrap:anywhere}
.contact-email svg{width:16px;height:16px}
.contact-social{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
.contact-social a{display:inline-flex;align-items:center;gap:8px;padding:12px 14px;border:1px solid #4b3d6c;border-radius:10px;background:#0b0e21;font-size:13px;font-weight:750;transition:border-color .2s,background .2s}
.contact-social a:hover{border-color:#c18bff;background:#171135}
.contact-social svg{width:18px;height:18px}
.contact-social a:last-child{border-color:#837aff;background:#33326844}
.footer{background:#060a17}
.footer-inner{display:flex;align-items:center;gap:17px;min-height:104px;padding:14px 0}
.footer-inner>a img{width:70px;height:70px;object-fit:contain}
.footer-copy{display:flex;flex-direction:column;gap:5px}
.footer-copy strong{font-size:12px;font-weight:900}
.footer-copy small{font-size:11px;color:#a9b0c8;line-height:1.45}
.footer-inner nav{display:flex;gap:21px;margin-left:auto}
.footer-inner nav a{font-size:12px;color:#bec4db;white-space:nowrap}
.footer-inner nav a:hover{color:#fff}

/* MEDIA LIGHTBOX */
.lightbox{position:fixed;max-width:min(96vw,1320px);max-height:96dvh;width:auto;border:1px solid #67508d;border-radius:16px;background:#080b1a;padding:16px;color:white;box-shadow:0 25px 90px #000c}
.lightbox::backdrop{background:#02030de9}
.lightbox img{max-height:80dvh;max-width:calc(96vw - 40px);width:auto;object-fit:contain}
.lightbox p{text-align:center;font-size:14px;color:#d7d1e8;margin:10px 0 2px}
.lightbox button{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:43px;height:43px;border:1px solid #ffffff80;border-radius:50%;background:#090a1cde;color:white;font-size:30px;cursor:pointer}

/* RESPONSIVE */
@media(max-width:1430px){
  .container{width:min(calc(100% - 64px),var(--max))}
  .header-inner{gap:16px}
  .brand-cluster{gap:11px}
  .studio-brand,.studio-brand img{width:70px}
  .game-brand strong{font-size:21px}
  .desktop-nav{gap:13px}
  .desktop-nav a{font-size:12px}
  .discord-header{padding:0 14px}
  .game-grid{gap:42px}
  .rift-card{gap:15px;padding:20px}
  .rift-icon{width:73px;height:73px;font-size:38px}
}
@media(max-width:1230px){
  .desktop-nav{display:none}
  .header-actions{margin-left:auto}
  .menu-toggle{display:flex}
  .mobile-menu{position:fixed;z-index:120;top:88px;right:0;bottom:0;display:flex;flex-direction:column;width:min(430px,100vw);background:#080d20;border-left:1px solid #5c4a83;box-shadow:-15px 0 45px #0009;transform:translateX(104%);visibility:hidden;transition:transform .22s,visibility .22s;overflow-y:auto}
  .mobile-menu.open{transform:translateX(0);visibility:visible}
  .mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}
  .mobile-menu-head strong{font-size:13px;letter-spacing:1.4px;color:#d4b2ff}
  .menu-close{width:43px;height:43px;border:1px solid #7752a8;border-radius:10px;background:#211538;color:white;font-size:30px;cursor:pointer}
  .mobile-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:19px 22px}
  .mobile-links a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:53px;border:1px solid #41375d;border-radius:10px;background:#13132c;font-size:14px;font-weight:850;padding:8px}
  .mobile-links a:hover{border-color:#b07fff;background:#21183c}
  .mobile-menu-bottom{margin-top:auto;padding:20px 22px 25px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:17px}
  .mobile-discord{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(110deg,#6250ff,#a524ee);min-height:48px;border-radius:999px;font-size:13px;font-weight:900}
  .mobile-discord svg{width:19px;height:19px}
  .mobile-menu-bottom>span{text-align:center;font-size:10px;letter-spacing:1.5px;color:#aaa4c7;font-weight:900}
  body.menu-open{overflow:hidden}
  .hero-red{left:-2%}.hero-green{right:-2%}
  .game-stats>div{min-width:105px;padding:0 17px}
  .studio-grid{grid-template-columns:1.3fr .7fr}
}
@media(max-width:960px){
  .container{width:calc(100% - 48px)}
  .section{padding:60px 0}
  .hero{height:640px}
  .hero-logo{width:min(80vw,720px)}
  .hero-red{left:-7%}.hero-green{right:-7%}
  .hero-blue{left:5%}.hero-yellow{right:5%}
  .game-grid{grid-template-columns:1fr;gap:30px}
  .game-copy>p{max-width:740px}
  .game-media{max-width:850px;width:100%}
  .fighter-grid{gap:12px}
  .fighter{height:295px}
  .fighter-caption h3{font-size:21px}
  .steps-grid{gap:12px}
  .step-card{padding:24px 20px}
  .step-card h3{font-size:18px}
  .step-card p{font-size:14px}
  .rift-grid{grid-template-columns:1fr;gap:12px}
  .rift-card{min-height:130px}
  .power-card{padding:17px;gap:14px}
  .power-symbol{width:72px;height:72px}
  .power-card h3{font-size:15px}
  .media-card{height:245px}
  .studio-grid{grid-template-columns:1.1fr .9fr;gap:15px}
  .contact-inner{align-items:flex-start;flex-direction:column;gap:23px}
  .contact-social{justify-content:flex-start}
}
@media(max-width:700px){
  .container{width:calc(100% - 34px)}
  .section{padding:49px 0}
  .section-heading{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
  .section-heading h2,.game-copy h2{font-size:clamp(31px,7.2vw,44px)}
  .section-heading>p{font-size:14px;max-width:100%}
  .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:11px}
  .site-header{height:72px}
  .header-inner{gap:10px}
  .studio-brand,.studio-brand img{width:58px;height:60px}
  .brand-cluster{gap:9px}
  .brand-divider{height:27px}
  .game-brand strong{font-size:18px;letter-spacing:.4px}
  .game-brand small{font-size:7px;letter-spacing:1.1px;margin-top:4px}
  .discord-header{min-height:42px;width:43px;padding:0;border-radius:12px}
  .discord-header svg{width:21px;height:21px}
  .discord-header span{display:none}
  .menu-toggle{width:43px;height:43px}
  .menu-backdrop{inset:72px 0 0}
  .mobile-menu{top:72px;max-height:calc(100dvh - 72px);bottom:auto}
  .hero{height:615px}
  .hero-background{background-position:center}
  .hero-orbit{width:255px;height:255px;top:35%}
  .hero-center{padding-top:123px}
  .hero-kicker{position:absolute;top:92px;left:50%;transform:translateX(-50%);width:max-content;max-width:96%;font-size:8px;letter-spacing:1px;white-space:nowrap}
  .hero-logo{width:min(100vw,530px);height:200px;margin-top:0}
  .hero h1{font-size:clamp(19px,5vw,28px);margin:-6px 0 10px;white-space:nowrap}
  .hero-center>p{font-size:13px;max-width:310px;margin:0 0 19px}
  .hero-buttons{gap:9px}
  .hero-buttons .button{font-size:11px;padding:0 16px;min-height:46px;gap:7px}
  .hero-buttons .button svg{width:16px;height:16px}
  .hero-status{margin-top:17px;font-size:9px;letter-spacing:.5px;gap:6px;flex-wrap:wrap}
  .hero-art-note{bottom:13px;font-size:8px;line-height:1.35}
  .hero-blue{width:100px;left:2%;top:26px}
  .hero-yellow{width:103px;right:1%;top:28px}
  .hero-red{width:200px;left:-50px;bottom:-17px}
  .hero-green{width:195px;right:-51px;bottom:-17px}
  .features-grid{display:flex;align-items:stretch;gap:9px;min-height:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:12px 0}
  .features-grid::-webkit-scrollbar{display:none}
  .feature{flex:0 0 128px;min-height:80px;gap:9px;border:1px solid #393554;border-radius:11px;background:#10132a;scroll-snap-align:start}
  .feature svg{width:25px;height:25px}
  .feature span{font-size:10px}.feature strong{font-size:12px}
  .game-copy>p{font-size:15px;line-height:1.7;margin:18px 0 23px}
  .game-stats>div{min-width:0;flex:1;padding:0 12px}
  .game-stats strong{font-size:25px}
  .game-stats span{font-size:9px;letter-spacing:.6px}
  .game-tags span{font-size:9px;padding:8px}
  .game-media{border-radius:14px}
  .game-media figcaption{font-size:9px}
  .fighter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .fighter{height:clamp(218px,61vw,325px);border-radius:15px}
  .fighter-caption{bottom:12px;left:12px}
  .fighter-caption h3{font-size:20px}
  .fighter-caption p{font-size:9px}
  .steps-grid{grid-template-columns:1fr;gap:11px}
  .step-card{min-height:0;padding:20px 21px}
  .step-top{margin-bottom:10px}
  .step-top svg{width:29px;height:29px}
  .step-card h3{font-size:18px;margin-bottom:7px}
  .step-card p{font-size:14px}
  .rift-card{gap:15px;min-height:0;padding:17px}
  .rift-icon{width:70px;height:70px;font-size:37px}
  .rift-card h3{font-size:16px;margin-bottom:5px}
  .rift-card p{font-size:13px}
  .power-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .power-card{min-height:166px;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:11px;padding:16px 9px;border-radius:14px}
  .power-symbol{width:68px;height:68px;border-radius:14px;font-size:29px}
  .power-card h3{font-size:13px;line-height:1.2;margin-bottom:5px}
  .power-card p{font-size:12px}
  .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .media-card{height:170px;border-radius:14px}
  .media-card:first-child{grid-column:span 2;height:220px}
  .media-card>span{font-size:10px;left:11px;right:11px;bottom:10px}
  .media-card b{width:26px;height:26px;font-size:14px}
  .media-note p{font-size:12px}
  .studio-grid{grid-template-columns:1fr;gap:0}
  .studio-copy{padding:47px 0 36px}
  .studio-copy h2{font-size:clamp(30px,7vw,42px)}
  .studio-copy>p{font-size:14px}
  .team-grid{gap:12px}
  .team-grid>div{padding-left:10px}
  .team-grid strong{font-size:12px}
  .team-grid span{font-size:11px}
  .studio-visual{min-height:215px;border-left:0;border-top:1px solid #55447966}
  .studio-visual img{width:155px;max-height:160px}
  .studio-glow{width:190px;height:190px}
  .studio-visual>span{font-size:8px}
  .community-inner{flex-direction:column;align-items:flex-start;gap:23px;padding:36px 0}
  .community-inner h2{font-size:clamp(28px,6.5vw,38px)}
  .community-inner p{font-size:14px}
  .community-action{align-items:flex-start}
  .contact-section{padding:39px 0}
  .contact-inner h2{font-size:30px}
  .contact-email{font-size:14px}
  .contact-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:9px}
  .contact-social a{justify-content:center;font-size:12px;padding:12px 8px}
  .contact-social a:last-child{grid-column:span 2}
  .footer-inner{flex-wrap:wrap;gap:12px;padding:20px 0}
  .footer-inner>a img{width:60px;height:60px}
  .footer-copy{flex:1}
  .footer-copy strong{font-size:11px}
  .footer-copy small{font-size:10px}
  .footer-inner nav{width:100%;margin:5px 0 0;justify-content:space-between;gap:8px}
  .footer-inner nav a{font-size:11px}
}
@media(max-width:420px){
  .container{width:calc(100% - 30px)}
  .brand-cluster{gap:7px}
  .studio-brand,.studio-brand img{width:53px}
  .game-brand strong{font-size:16px}
  .game-brand small{font-size:6.5px}
  .header-actions{gap:8px}
  .hero{height:608px}
  .hero-center{padding-top:121px}
  .hero-kicker{top:91px;font-size:7.5px}
  .hero-logo{height:184px}
  .hero h1{font-size:19px}
  .hero-center>p{font-size:12px;max-width:280px}
  .hero-buttons .button{font-size:10px;padding:0 12px;min-height:44px}
  .hero-red{width:180px;left:-42px}
  .hero-green{width:178px;right:-42px}
  .hero-blue{width:96px}.hero-yellow{width:98px}
  .game-stats>div{padding:0 9px}
  .game-stats strong{font-size:23px}
  .fighter{height:225px}
  .fighter-caption h3{font-size:18px}
  .fighter-caption p{font-size:8px}
  .media-card:first-child{height:194px}
  .media-card{height:149px}
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:350px){
  .game-brand small{display:none}
  .hero{height:624px}
  .hero h1{font-size:17px}
  .hero-buttons{flex-direction:column}
  .hero-buttons .button{min-width:200px}
  .hero-red{width:157px;left:-42px}
  .hero-green{width:155px;right:-42px}
  .fighter{height:194px}
  .power-card h3{font-size:12px}
  .contact-email{font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Small-screen legibility: status and attribution remain readable above the fighters. */
@media(max-width:700px){
  .hero-kicker{padding:6px 10px;border:1px solid #a67de955;border-radius:999px;background:#0b0b26b8;backdrop-filter:blur(7px);text-shadow:0 1px 4px #000}
  .hero-status{max-width:calc(100vw - 28px);padding:9px 12px;border:1px solid #b68ce94f;border-radius:14px;background:#090b22d9;backdrop-filter:blur(8px);position:relative;z-index:5;line-height:1.45}
  .hero-art-note{background:#090b1b75;border-radius:5px;padding:3px 5px;max-width:300px}
}
@media(max-width:350px){
  .hero-buttons{flex-direction:row;gap:6px}
  .hero-buttons .button{min-width:0;font-size:9px;padding:0 9px;gap:5px;min-height:43px}
  .hero-status{display:none}
}


/* V8.1 — final mobile composition, horizontal-scroll cue and legibility polish.
   The original artwork, content and game branding are unchanged. */
.hero-art-note{
  position:static;transform:none;width:auto;max-width:none;
  margin:0;padding:8px 15px 0;text-align:center;
  font-size:11px;letter-spacing:.8px;line-height:1.45;
  color:#b8b7d3;text-shadow:none;background:transparent;
}
.features-hint{display:none}
.features-grid:focus-visible{outline:2px solid #b88bff;outline-offset:3px;border-radius:8px}
@media(max-width:700px){
  /* Dedicated lower character area: fighters no longer cross the CTA row. */
  .hero{height:704px}
  .hero-red{width:147px;left:-29px;bottom:-18px}
  .hero-green{width:147px;right:-29px;bottom:-18px}
  .hero-art-note{
    max-width:none;margin:0;padding:9px 18px 2px;
    font-size:10.5px;letter-spacing:.55px;line-height:1.5;
    background:transparent;border-radius:0;color:#b9b4d2;
  }
  .features-hint{display:flex;align-items:center;justify-content:center;gap:9px;
    margin:0;padding:0 15px 12px;color:#c6b4ed;
    font-size:11px;letter-spacing:1.05px;font-weight:850;text-align:center;
  }
  .features-hint span{font-size:20px;line-height:1}
  .features-hint.scrolled{display:none}
  .eyebrow{font-size:11px;letter-spacing:1.6px}
  .hero-kicker{font-size:9.5px;letter-spacing:.75px}
  .hero-status{font-size:11px;letter-spacing:.2px}
  .feature span{font-size:11px}
  .feature strong{font-size:12px}
  .game-stats span,.game-tags span{font-size:11px;letter-spacing:.25px}
  .game-media figcaption{font-size:11px}
  .fighter-number,.fighter-caption p{font-size:11px}
  .media-card>span{font-size:11px}
  .studio-visual>span{font-size:11px}
  .community-action>span{font-size:11px}
  .footer-copy strong,.footer-copy small,.footer-inner nav a{font-size:11px}
  .section-footnote,.media-note p{font-size:13px}
  .game-brand small{font-size:9px;letter-spacing:.5px}
}
@media(max-width:420px){
  .hero{height:704px}
  .hero-red{width:140px;left:-29px;bottom:-18px}
  .hero-green{width:136px;right:-29px;bottom:-18px}
  .hero-kicker{font-size:9px}
  .hero-center>p{font-size:13px}
  .hero-buttons .button{font-size:11px;padding:0 12px}
  .game-brand small{font-size:8.5px;letter-spacing:.45px}
  .fighter-caption p{font-size:10.5px}
}
@media(max-width:350px){
  .hero{height:712px}
  .hero-red{width:130px;left:-25px;bottom:-18px}
  .hero-green{width:130px;right:-25px;bottom:-18px}
  .hero-kicker{font-size:8.5px;letter-spacing:.25px}
  .hero-status{display:flex;font-size:10.5px;line-height:1.45;margin-top:15px}
  .hero-buttons .button{font-size:10px;padding:0 9px}
  .hero-center>p{font-size:12px}
  .game-brand small{display:block;font-size:8px;letter-spacing:.1px}
  .fighter-caption p{font-size:10px}
  .power-card h3{font-size:13px}
  .contact-email{font-size:13px}
}


/* V8.2 — mobile-only finishing pass, based on actual iPhone screenshots.
   Keeps approved game/studio artwork, desktop composition, and all site sections. */
@media(max-width:700px){
  /* A compact, self-contained navigation panel; short phones scroll within it. */
  .mobile-menu{
    bottom:auto;
    height:auto;
    max-height:calc(100dvh - 72px);
    overscroll-behavior:contain;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .mobile-menu-head{padding:12px 18px;min-height:62px}
  .mobile-menu-head strong{font-size:12px;letter-spacing:1.2px}
  .menu-close{width:39px;height:39px;font-size:27px}
  .mobile-links{gap:8px;padding:14px 18px}
  .mobile-links a{min-height:45px;padding:8px 6px;font-size:13px;border-radius:9px}
  .mobile-menu-bottom{margin-top:0;gap:10px;padding:14px 18px 17px}
  .mobile-discord{min-height:45px;font-size:12px}
  .mobile-menu-bottom>span{font-size:9px;letter-spacing:1.15px}

  /* Keep the complete shoes visible while preserving CTA / logo hierarchy. */
  .hero-red{width:147px;left:-12px;bottom:2px}
  .hero-green{width:147px;right:-12px;bottom:2px}

  /* Less empty space without squeezing text or image cards. */
  .section{padding-top:42px;padding-bottom:42px}
  .game-section{padding-bottom:35px}
  .characters-section{padding-top:39px;padding-bottom:39px}
  .gameplay-section{padding-top:39px;padding-bottom:39px}
  .rift-section{padding-top:40px;padding-bottom:40px}
  .powerups-section{padding-top:40px;padding-bottom:40px}
  .media-section{padding-top:40px;padding-bottom:40px}
  .section-footnote{margin-top:15px;line-height:1.5}
  .studio-copy{padding-top:40px;padding-bottom:24px}
  .studio-visual{min-height:165px}
  .studio-visual img{width:120px;max-height:123px}
  .studio-glow{width:152px;height:152px}
  .studio-visual>span{font-size:9px;letter-spacing:1.05px;margin-top:0}
  .community-inner{padding-top:33px;padding-bottom:33px}
  .contact-section{padding-top:34px;padding-bottom:34px}
}
@media(max-width:420px){
  .hero-red{width:136px;left:-11px;bottom:3px}
  .hero-green{width:136px;right:-11px;bottom:3px}
}
@media(max-width:350px){
  .hero-red{width:124px;left:-10px;bottom:3px}
  .hero-green{width:124px;right:-10px;bottom:3px}
  .mobile-menu-head{padding:10px 14px;min-height:56px}
  .mobile-links{gap:7px;padding:11px 14px}
  .mobile-links a{min-height:42px;font-size:12px}
  .mobile-menu-bottom{padding:12px 14px 14px}
}

/* V8.3 — fully functional multilingual language picker. */
.lang-picker{position:relative;flex:none;z-index:2}
.lang-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:0 12px;border:1px solid #69568d;border-radius:12px;background:#18122d;color:#f7f1ff;font-weight:900;font-size:12px;letter-spacing:.8px;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}
.lang-trigger:hover,.lang-trigger[aria-expanded="true"]{background:#281a4a;border-color:#bd87ff}
.lang-trigger:focus-visible,.lang-list button:focus-visible{outline:2px solid #dfadff;outline-offset:3px}
.lang-trigger svg{width:17px;height:17px;flex:none}
.lang-caret{font-size:16px;line-height:1;opacity:.8;margin-top:-4px}
.lang-panel{position:absolute;right:0;top:calc(100% + 13px);width:min(334px,calc(100vw - 24px));max-height:min(590px,calc(100dvh - 105px));overflow-y:auto;overscroll-behavior:contain;border:1px solid #7055a2;border-radius:18px;background:#0d0c25;box-shadow:0 18px 55px #000b,0 0 40px #6431a020;padding:14px;z-index:200;-webkit-overflow-scrolling:touch}
.lang-panel[hidden]{display:none!important}
.lang-panel-heading{display:flex;align-items:center;justify-content:space-between;color:#c9a1fa;font-size:12px;letter-spacing:1.6px;font-weight:900;padding:2px 4px 12px;border-bottom:1px solid #6a52814a;margin-bottom:10px}
.lang-selected-code{background:#2c2050;color:#f6ecff;padding:4px 8px;border-radius:7px;letter-spacing:1px}
.lang-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lang-list button{display:flex;align-items:center;gap:7px;min-width:0;min-height:49px;border:1px solid #57466f;border-radius:10px;background:#15112d;color:#f3efff;padding:7px 8px;cursor:pointer;text-align:left;font-size:12px;font-weight:750;transition:border-color .2s,background .2s}
.lang-list button:hover{border-color:#a66dff;background:#251740}
.lang-list button.selected{border-color:#a96cff;background:#382063}
.lang-code{color:#d1aaff;font-size:10px;font-weight:950;min-width:25px;letter-spacing:.5px}
.lang-check{margin-left:auto;opacity:0;color:#d1ffda;font-size:14px}
.lang-list button.selected .lang-check{opacity:1}
@media(max-width:1430px){.lang-trigger{padding:0 9px;gap:5px}}
@media(max-width:700px){
  .header-actions{gap:7px}
  .lang-trigger{min-height:43px;padding:0 9px;font-size:11px;gap:4px}
  .lang-trigger svg{display:none}
  .lang-panel{top:calc(100% + 17px);right:-52px;max-height:calc(100dvh - 93px)}
}
@media(max-width:420px){
  .lang-trigger{padding:0 7px;min-height:42px;font-size:10px}
  .lang-panel{right:-50px}
}
@media(max-width:365px){
  .discord-header{display:none}
  .header-inner{gap:5px}
  .header-actions{gap:6px}
  .lang-panel{right:-50px}
}
/* Arabic copy stays legible without reversing the site's established grid and brand. */
.lang-ar .hero-center>p,.lang-ar .game-copy>p,.lang-ar .section-heading>p,.lang-ar .step-card p,.lang-ar .rift-card p,.lang-ar .power-card p,.lang-ar .section-footnote,.lang-ar .studio-copy>p,.lang-ar .community-inner p,.lang-ar .media-note p{unicode-bidi:plaintext}
.lang-zh .eyebrow{letter-spacing:.6px}

/* Allow translated headings to wrap and long compound words to stay inside cards. */
@media(max-width:700px){
  .lang-translated .hero h1{white-space:normal;max-width:100%;overflow-wrap:break-word;font-size:clamp(15px,4.5vw,25px);line-height:1.2}
  .rift-card{min-width:0}
  .rift-card>div:last-child{min-width:0;max-width:100%}
  .rift-card h3{overflow-wrap:anywhere}
  .feature span,.feature strong{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:700px){.lang-panel{position:fixed;top:80px;right:15px}}
@media(max-width:700px){
 .community-action{width:100%;min-width:0}
 .community-action .button{max-width:100%;min-width:0;white-space:normal;text-align:center}
 .feature{gap:6px;padding:0 5px}
 .feature svg{flex:none}
 .feature span{flex:1;max-width:calc(100% - 31px);min-width:0}
 .feature strong{overflow-wrap:anywhere;word-break:break-word}
}
@media(max-width:700px){.lang-translated .feature strong{font-size:10px;letter-spacing:-.15px}}

@media(max-width:700px){.lang-translated .feature strong{font-size:9px;letter-spacing:-.2px}}

/* Russian and other localized header spacing on compact screens. */
@media(max-width:700px){html[lang="ru"] .header-inner{gap:6px}html[lang="ru"] .header-actions{gap:7px}}
@media(max-width:360px){html[lang="ru"] .lang-trigger .lang-word,html[lang="ru"] .lang-trigger .lang-caret{display:none}html[lang="ru"] .lang-trigger{padding-inline:9px;min-width:38px}}

/* V8.5 — polish long localized labels on compact phones. */
@media(max-width:350px){
  .lang-translated .game-stats span{font-size:10px;letter-spacing:0;overflow-wrap:anywhere}
  .lang-translated .feature strong{font-size:8.5px;overflow-wrap:anywhere;word-break:break-all}
}

/* V8.7 — Mobile hero composition fix.
   The official red/green character images have intrinsic HTML height attributes;
   their old CSS width-only sizing left a 730+px image box (object-fit:contain),
   visually placing the artwork over the hero headline. Set the two artwork
   boxes to their natural aspect ratios and reserve space beneath the CTA/status.
   This intentionally does not affect tablet/desktop composition or assets. */
@media (max-width:700px){
  .hero{height:760px}
  .hero-red,.hero-green{height:auto}
}
@media (max-width:420px){
  .hero{height:735px}
}
@media (max-width:350px){
  .hero{height:724px}
}
@media (max-width:700px){
  /* Keep all four approved fighters in their own artwork zone below the copy. */
  .hero-blue,.hero-yellow{
    height:auto;top:auto;bottom:10px;width:84px;
  }
  .hero-blue{left:27%}
  .hero-yellow{right:27%}
}
@media (max-width:350px){
  .hero-blue,.hero-yellow{width:66px;bottom:9px}
  .hero-blue{left:27%}
  .hero-yellow{right:27%}
}
/* Reserve an extra line for longer translations without touching desktop styles. */
@media (min-width:421px) and (max-width:700px){
  .hero{height:805px}
}
@media (min-width:351px) and (max-width:420px){
  .hero{height:755px}
  .hero-red,.hero-green{width:126px}
}
@media (max-width:350px){
  .hero{height:748px}
  .hero-red,.hero-green{width:118px}
}
@media (min-width:351px) and (max-width:420px){
  .hero{height:767px}
}
/* Extra headroom for long translated branding on narrow phones. */
@media (min-width:351px) and (max-width:390px){
  .header-inner{gap:5px}
  .brand-cluster{gap:5px}
  .studio-brand,.studio-brand img{width:46px;height:54px}
  .game-brand strong{font-size:14px;letter-spacing:.1px}
  .game-brand small{font-size:7px;letter-spacing:0;max-width:107px}
  .header-actions{gap:5px}
  .menu-toggle,.discord-header{width:40px;height:40px}
}

/* V8.8 — Performance, legibility and accessibility fixes (approved visual unchanged). */
.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}
.menu-backdrop[hidden]{display:none!important}
@media(max-width:700px){
 .hero-background{background-position:center 45%}
}
@media(prefers-reduced-transparency:reduce){
 .site-header{backdrop-filter:none}
 .hero-kicker,.hero-status{backdrop-filter:none}
}

/* Keep long translated gallery labels and their zoom icon within narrow cards. */
.media-card>span{gap:6px;overflow-wrap:anywhere;word-break:break-word}
.media-card b{flex:0 0 26px}
@media(max-width:420px){.lang-translated .media-card>span{font-size:9px;letter-spacing:0}}
