/* AV Games Studio homepage — responsive standalone styling */
:root{color-scheme:dark;--bg:#090f20;--surface:#121c33;--surface2:#192540;--text:#f5f7ff;--muted:#b3c0d5;--stroke:#2b3853;--pink:#ff4f91;--purple:#a884ff;--cyan:#66e8f5;--radius:20px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit}
a:focus-visible,summary:focus-visible{outline:3px solid var(--cyan);outline-offset:4px;border-radius:4px}
img{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.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}
.skip-link{position:absolute;z-index:20;top:-80px;left:16px;background:#fff;color:#101629;padding:10px 16px;border-radius:6px}
.skip-link:focus{top:12px}
.site-header{background:#0c1429f5;border-bottom:1px solid #24314b;position:relative;z-index:10}
.header-inner{min-height:86px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.studio-logo{display:flex;align-items:center;gap:11px;text-decoration:none;white-space:nowrap;font-size:1.09rem;font-weight:650;letter-spacing:.01em}
.studio-logo strong{color:var(--pink)}
.logo-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#ff4f91,#963bf2);color:white;font-size:.9rem;font-weight:900;box-shadow:0 8px 26px #f94d844a}
.desktop-nav{display:flex;align-items:center;gap:30px}
.desktop-nav a,.mobile-menu a{text-decoration:none;color:#d9e2f4;font-weight:600;font-size:.9rem}
.desktop-nav a:hover,.mobile-menu a:hover{color:#ff7fac}
.mobile-menu{display:none}
.hero{position:relative;overflow:hidden;padding:78px 0 88px;background:radial-gradient(ellipse at 80% 45%,#34306072 0,transparent 48%),linear-gradient(135deg,#0d162d,#0a1021 68%)}
.hero-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 70%,#0d77802c,transparent 37%)}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:76px}
.eyebrow,.section-kicker{font-size:.74rem;color:var(--cyan);font-weight:800;letter-spacing:.16em}
.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--cyan);margin-right:6px}
.hero h1{font-size:clamp(3.2rem,6.2vw,5.5rem);line-height:1.06;letter-spacing:-.055em;margin:22px 0 24px}
.gradient-text{background:linear-gradient(100deg,#ff639c 15%,#bd8cff 80%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero-copy>p:not(.hero-footnote){max-width:520px;color:var(--muted);font-size:1.12rem}
.hero-actions,.game-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:30px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 22px;border-radius:11px;font-weight:750;text-decoration:none;transition:transform .2s ease,background .2s ease}
.button:hover{transform:translateY(-2px)}
.button.primary{background:linear-gradient(110deg,#f74385,#a13fee);color:white;box-shadow:0 8px 26px #d3377935}
.button.secondary{background:#ffffff0a;border:1px solid #5e6982;color:var(--text)}
.hero-footnote{font-size:.87rem;color:#a2b2ca;margin-top:26px}
.hero-footnote strong{color:#e4ebfa}
.hero-art{display:block;position:relative;padding:14px;background:linear-gradient(145deg,#3f426b,#202744);border:1px solid #67729a70;border-radius:26px;text-decoration:none;box-shadow:0 28px 80px #0008;max-width:490px;width:100%;justify-self:center;transform:rotate(2deg);transition:transform .2s}
.hero-art:hover{transform:rotate(0deg) translateY(-4px)}
.hero-art img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:15px}
.hero-art-label{position:absolute;top:-16px;right:18px;padding:6px 13px;border-radius:100px;background:#ffcb64;color:#33210b;font-size:.7rem;letter-spacing:.08em;font-weight:900;z-index:1}
.hero-art-caption{display:flex;gap:13px;align-items:center;padding:13px 7px 3px;font-size:1.45rem;font-weight:850}
.hero-art-caption span{font-size:.78rem;color:#c1cae1;font-weight:500}
.games-section{padding:90px 0 100px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:32px}
.section-head h2{margin:8px 0 0;font-size:clamp(2rem,3.5vw,2.8rem);letter-spacing:-.04em;line-height:1.15}
.section-head>p{max-width:380px;color:var(--muted);margin:0}
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.game-card{min-width:0;overflow:hidden;background:linear-gradient(145deg,#17223c,#111a30);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:0 12px 36px #00000020}
.game-card-featured{display:grid;grid-template-columns:40% 60%;min-height:340px}
.game-image{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;background:linear-gradient(145deg,#111a2d,#263550)}
.game-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .3s}
.game-image:hover img{transform:scale(1.045)}
.game-details{min-width:0;padding:28px;display:flex;flex-direction:column;align-items:flex-start}
.status{display:inline-block;border-radius:100px;padding:6px 11px;font-weight:850;letter-spacing:.055em;font-size:.66rem;line-height:1.3}
.status-live{background:#144d46;color:#90f5d2}
.status-upcoming{background:#35264e;color:#dab5ff}
.status-maintenance{background:#343b4c;color:#c9d2e2}
.game-details h3{font-size:clamp(1.5rem,2.5vw,2.05rem);line-height:1.18;letter-spacing:-.025em;margin:17px 0 5px}
.game-type{color:#d2a9ff;font-size:.88rem;font-weight:700;margin:0 0 13px}
.game-details>p:not(.game-type){color:var(--muted);font-size:.94rem;margin:0 0 18px}
.game-actions{margin-top:auto;margin-bottom:14px}
.game-actions .button{font-size:.88rem;padding:10px 15px;min-height:44px}
.text-link{color:#fe88b8;font-weight:750;font-size:.9rem;text-decoration:none}
.text-link:hover{text-decoration:underline}
.game-legal{display:flex;gap:16px;flex-wrap:wrap;font-size:.77rem;color:#aebad0;margin-top:auto}
.game-legal a:hover{color:white}
.secondary-header{margin:52px 0 20px}
.secondary-header h3{font-size:1.55rem;margin:5px 0 0;letter-spacing:-.02em}
.compact-card{display:grid;grid-template-columns:34% 66%;min-height:245px}
.compact-card .game-details{padding:24px}
.compact-card .game-details h3{font-size:1.45rem}
.compact-card .game-details>p:not(.game-type){font-size:.88rem}
.compact-card .game-details>.text-link{margin-top:auto;margin-bottom:13px}
.compact-card .game-legal{margin-top:0}
.about-section{background:#101a30;border-block:1px solid var(--stroke);padding:78px 0}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}
.about-grid h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em;line-height:1.2;margin:12px 0}
.about-grid p{color:var(--muted);font-size:1.06rem;margin-top:0}
.site-footer{padding:65px 0 25px;background:#080e1e}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:50px}
.footer-grid>div{display:flex;align-items:flex-start;flex-direction:column;gap:9px}
.footer-brand{text-decoration:none;font-size:1.2rem;font-weight:850}
.footer-grid h2{font-size:.92rem;margin:0 0 8px}
.footer-grid p,.footer-grid a:not(.footer-brand){margin:0;color:var(--muted);font-size:.88rem}
.footer-grid a:hover{color:#fff}
.copyright{margin-top:50px;padding-top:23px;border-top:1px solid var(--stroke);font-size:.8rem;color:#93a0b6}
@media(max-width:1080px){
 .hero-grid{gap:35px}
 .game-card-featured{grid-template-columns:1fr}
 .game-card-featured .game-image{height:260px}
 .game-card-featured .game-details{min-height:325px}
 .compact-card{grid-template-columns:38% 62%}
}
@media(max-width:720px){
 .container{width:min(100% - 32px,540px)}
 .header-inner{min-height:72px}
 .studio-logo{font-size:1rem}
 .logo-icon{width:37px;height:37px}
 .desktop-nav{display:none}
 .mobile-menu{display:block;position:relative}
 .mobile-menu summary{cursor:pointer;list-style:none;border:1px solid #53617a;padding:7px 12px;border-radius:8px;color:var(--text);font-weight:650;font-size:.9rem}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .mobile-menu summary span{margin-left:6px}
 .mobile-menu nav{position:absolute;right:0;top:48px;min-width:220px;padding:12px;background:#17213a;border:1px solid var(--stroke);border-radius:12px;box-shadow:0 16px 30px #0007;display:flex;flex-direction:column;gap:0}
 .mobile-menu nav a{padding:10px;border-radius:7px}
 .mobile-menu nav a:hover{background:#ffffff10}
 .hero{padding:56px 0 62px}
 .hero-grid{grid-template-columns:1fr;gap:46px}
 .hero h1{font-size:clamp(2.7rem,11vw,4rem);margin:15px 0 20px}
 .hero-copy>p:not(.hero-footnote){font-size:1.02rem}
 .hero-art{max-width:390px;transform:none}
 .hero-art:hover{transform:translateY(-3px)}
 .hero-actions{gap:10px}
 .games-section{padding:58px 0 65px}
 .section-head{display:block}
 .section-head>p{margin-top:12px}
 .game-grid{grid-template-columns:1fr;gap:19px}
 .game-card-featured{grid-template-columns:1fr}
 .game-card-featured .game-image{height:auto;aspect-ratio:1/1}
 .game-card-featured .game-details{min-height:0;padding:24px}
 .game-details h3{font-size:1.65rem}
 .game-actions{margin-top:16px}
 .secondary-header{margin-top:44px}
 .compact-card{grid-template-columns:35% 65%;min-height:210px}
 .compact-card .game-details{padding:18px}
 .compact-card .game-details h3{font-size:1.3rem}
 .about-section{padding:55px 0}
 .about-grid{grid-template-columns:1fr;gap:15px}
 .footer-grid{grid-template-columns:1fr 1fr;gap:34px}
 .footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:430px){
 .compact-card{grid-template-columns:1fr}
 .compact-card .game-image{aspect-ratio:4/3}
 .compact-card .game-image img{object-position:center center}
 .compact-card .game-details{padding:20px}
 .footer-grid{grid-template-columns:1fr}
 .footer-grid>div:first-child{grid-column:auto}
 .hero-actions .button{flex:0 1 auto}
 .game-card-featured .game-image{aspect-ratio:1/1}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.footer-legal{padding-top:24px}.footer-legal a{font-size:.94rem;color:#ff94c2;font-weight:700}.footer-legal a:hover{color:#fff}

/* Studio artwork in hero: brand-focused, not a second 56 card game tile. */
.hero-studio-art{transform:none;cursor:default}
.hero-studio-art:hover{transform:none}
.hero-studio-art img{object-fit:contain;width:100%;height:auto}

/* Release fix: keep small screens inside the viewport even when intrinsic grid/flex sizes grow. */
html,body{max-width:100%;overflow-x:clip}
.hero-grid,.hero-copy,.hero-studio-art,.header-inner,.studio-logo,.mobile-menu{min-width:0}
.hero-copy{overflow-wrap:break-word}
.hero-actions .button{max-width:100%;text-align:center;white-space:normal}
@media(max-width:720px){
 .hero-grid{grid-template-columns:minmax(0,1fr)}
 .header-inner{gap:10px}
 .studio-logo{white-space:normal;line-height:1.2;flex:1 1 auto}
 .mobile-menu{flex:0 0 auto}
 .hero-actions{width:100%;align-items:stretch}
 .hero-actions .button{flex:1 1 100%;width:100%}
 .hero-art-label{right:12px;max-width:calc(100% - 24px);text-align:center}
 .hero-art-caption{flex-wrap:wrap;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .container{width:calc(100% - 24px)}
 .studio-logo{font-size:.9rem}
 .hero h1{font-size:clamp(2.35rem,11vw,3.2rem)}
}

/* Mobile release blocker: enforce a single-column hero and prevent clipped controls. */
@media (max-width:720px){
 .site-header,.hero,.games-section,.about-section,.site-footer{width:100%;max-width:100%}
 .header-inner{flex-wrap:wrap}
 .studio-logo{overflow-wrap:anywhere}
 .hero .container.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);width:calc(100% - 48px);max-width:540px;margin-inline:auto}
 .hero-copy{width:100%;min-width:0;max-width:100%}
 .hero-copy>p{width:100%;max-width:100%;overflow-wrap:anywhere}
 .hero-actions{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px;max-width:100%}
 .hero-actions>.button{display:flex;flex:0 0 auto;width:100%;min-width:0;max-width:100%;padding-inline:12px;white-space:normal;overflow-wrap:anywhere}
 .hero-art{max-width:100%;min-width:0}
 .hero-art-label{font-size:.62rem;letter-spacing:.04em;white-space:normal}
}
