/* AAA portal responsive and interaction pass */
:root{--aaa-gold:#d5b579;--aaa-line:#c8a56a55}
.hero{min-height:clamp(650px,86vh,900px);text-align:center}
.hero-inner{display:flex;flex-direction:column;align-items:center;padding-block:clamp(100px,17vh,170px)}
.hero .eyebrow{justify-content:center}
.hero .eyebrow:after{content:"";width:36px;height:1px;background:var(--gold)}
.hero h1{font-size:clamp(5rem,13vw,10.5rem);letter-spacing:.16em;margin-inline:0}
.hero-sub{letter-spacing:.42em}
.hero p{max-width:680px;margin-inline:auto}
.hero-actions{justify-content:center}
.hero:before{animation:hero-breath 24s ease-in-out infinite alternate}
.hero:after{background:radial-gradient(ellipse at 50% 48%,#d0a76512 0%,transparent 46%),radial-gradient(ellipse at 50% 100%,#090a0d 0%,transparent 62%)}
@keyframes hero-breath{from{transform:scale(1);filter:saturate(.72) brightness(.76)}to{transform:scale(1.045);filter:saturate(.9) brightness(.94)}}
.menu-toggle{display:none}
.roadmap-card{display:grid;grid-template-columns:100px 1fr;gap:28px;align-items:center;padding:clamp(26px,5vw,54px);border:1px solid #c9a56d88;background:radial-gradient(ellipse at 12% 50%,#c9a56d17,transparent 48%),linear-gradient(135deg,#1b1b1b,#0c1013 72%);box-shadow:0 25px 70px #0006}
.roadmap-emblem{width:88px;height:88px;border:1px solid #d7b77b99;border-radius:50%;display:grid;place-items:center;color:#e7cb91;font-size:2.6rem;box-shadow:0 0 0 10px #c9a56d0d,0 0 42px #c9a56d18}
.roadmap-copy h3{font-size:clamp(1.8rem,4vw,2.7rem);margin:8px 0 10px;color:#f0dfbf}
.roadmap-copy>p{max-width:760px;color:var(--muted);margin:0}
.roadmap-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
.roadmap-link{font-size:.7rem;letter-spacing:.12em;color:var(--gold2);text-decoration:none}
.roadmap-link:hover{text-decoration:underline}
#downloads .download-feature{display:block}
#downloads .release-side{display:none}
#downloads .platforms{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px}
.game-source-gallery figure{cursor:zoom-in;min-height:300px;outline-offset:4px}
.game-source-gallery img{min-height:300px}
.game-source-gallery figure:first-child{min-height:390px}
.game-source-gallery figure:first-child img{min-height:390px}
.lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:clamp(18px,4vw,60px);background:#030507f2;backdrop-filter:blur(18px);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s}
.lightbox.is-open{opacity:1;visibility:visible}
.lightbox img{max-width:min(94vw,1500px);max-height:88vh;object-fit:contain;box-shadow:0 24px 90px #000b}
.lightbox-close{position:absolute;right:22px;top:16px;width:48px;height:48px;border:1px solid #d8b87588;border-radius:50%;background:#17191f;color:#f2dfbb;font-size:2rem;line-height:1;cursor:pointer}
body.lightbox-open{overflow:hidden}
@media(max-width:850px){
 .grid.three,.myth-grid,.character-grid{grid-template-columns:1fr!important}
 .grid.three>* ,.myth-grid>* ,.character-grid>*{width:100%;min-width:0}
 .panel,.myth-card,.character-card{padding:26px}
 .myth-card{min-height:290px}
 .character-card{min-height:0}
 .game-source-gallery{grid-template-columns:1fr}
 .game-source-gallery figure,.game-source-gallery figure:first-child{grid-column:auto;min-height:0;aspect-ratio:16/10}
 .game-source-gallery img,.game-source-gallery figure:first-child img{min-height:0;height:100%;aspect-ratio:16/10}
}
@media(max-width:768px){
 header{height:70px;min-height:70px}
 .head{height:70px;min-height:70px;padding:0;align-items:center;flex-direction:row;gap:12px;position:relative}
 .brand img{width:132px;height:54px}
 .menu-toggle{display:flex;width:46px;height:44px;flex:0 0 46px;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid #c9a56d8c;background:#141518;color:#f0dfbf;cursor:pointer}
 .menu-toggle span{width:19px;height:2px;background:#e3c58d;transition:transform .2s,opacity .2s}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(8px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-8px) rotate(-45deg)}
 .nav{position:absolute;top:calc(100% + 1px);left:-14px;right:-14px;width:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 14px 16px;background:#090b0ff5;border:1px solid #c9a56d55;border-top:0;box-shadow:0 24px 36px #000b;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s;overflow:visible;z-index:40}
 .nav.is-open{opacity:1;visibility:visible;transform:translateY(0)}
 .nav a{padding:13px 10px;font-size:.78rem;border-bottom:1px solid #ffffff12}
 .nav a:last-child{border-bottom:0}
 .nav .nav-download{text-align:center;margin-top:10px}
 .hero{min-height:680px}
 .hero-inner{padding:100px 0 90px}
 .hero h1{font-size:clamp(4.2rem,15vw,7rem);letter-spacing:.1em}
 .hero-sub{letter-spacing:.2em}
 .hero p{font-size:1.02rem}
 .roadmap-card{grid-template-columns:1fr;gap:18px}
 .roadmap-emblem{width:66px;height:66px;font-size:2rem}
 #downloads .platforms{grid-template-columns:1fr}
}
@media(max-width:480px){
 .wrap{width:calc(100% - 32px)}
 .hero{min-height:630px}
 .hero h1{font-size:clamp(3.5rem,15vw,5rem);letter-spacing:.08em}
 .hero-sub{font-size:.72rem;letter-spacing:.16em}
 .hero-actions{width:100%;display:grid;grid-template-columns:1fr}
 .hero-actions .btn{width:100%}
 .grid.three>* ,.myth-grid>* ,.character-grid>*{padding:23px}
 .game-source-gallery figure,.game-source-gallery figure:first-child{aspect-ratio:4/3}
 .game-source-gallery img,.game-source-gallery figure:first-child img{aspect-ratio:4/3}
 .lightbox{padding:12px}
 .lightbox img{max-width:100%;max-height:82vh}
 .lightbox-close{right:12px;top:12px}
}
@media(prefers-reduced-motion:reduce){.hero:before{animation:none}.lightbox,.menu-toggle span{transition:none}}
