@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&display=swap');
:root{--green:#28ef22;--deep:#076c0b;--ink:#102117;--glass:rgba(239,250,248,.76);--line:rgba(255,255,255,.86)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#d4ebe3 url(hero.png) center top / 100% auto no-repeat;min-height:100vh}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
.glass{background:linear-gradient(135deg,rgba(255,255,255,.77),rgba(216,239,235,.71));border:2px solid var(--line);box-shadow:inset 0 1px 12px rgba(255,255,255,.85),0 10px 22px rgba(4,69,32,.17);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.topbar{max-width:1460px;min-height:82px;margin:19px auto 0;border-radius:36px;display:flex;align-items:center;justify-content:space-between;padding:9px 18px;gap:12px;position:relative;z-index:3}.nav-left,.nav-right{display:flex;align-items:center;gap:14px}.nav-link,.nav-pill{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:800;white-space:nowrap}.nav-link:first-letter{font-size:24px}.nav-link:hover,.nav-link.selected{color:var(--deep)}.nav-pill{padding:13px 19px;border-radius:40px;min-width:170px;justify-content:center}.nav-pill.active,.neon-button,.play-button{background:linear-gradient(180deg,#a6ff82 0%,#4de927 18%,#058a0e 57%,#17eb18 95%);color:white;text-shadow:0 1px 3px #07500a;border:2px solid #e4ffe4;box-shadow:inset 0 2px 5px #ecffdc,0 0 12px #42ff3d,0 5px 11px rgba(0,79,20,.25);font-weight:900}.brand{display:flex;align-items:center;gap:7px;position:absolute;left:50%;transform:translateX(-50%);font-family:Orbitron,Arial,sans-serif;font-size:clamp(22px,2.4vw,40px);font-weight:900;letter-spacing:-2px;color:#f4ffff;text-shadow:0 2px 2px #16472e,0 4px 3px #314d45,0 0 6px #fff}.brand img{width:67px;height:67px;object-fit:contain}.brand span span,.footer-brand span{color:var(--green);text-shadow:0 1px #054a06,0 0 9px #64ff63}.search{display:flex;align-items:center;background:rgba(255,255,255,.58);border:1px solid white;border-radius:40px;padding:3px 8px 3px 15px;min-width:190px;margin-left:8px}.search input{border:0;background:transparent;outline:0;width:155px}.search button{border:0;background:none;color:green;font-size:34px;line-height:25px}
main{max-width:1460px;margin:auto}.hero{min-height:319px;display:grid;grid-template-columns:1fr 480px;align-items:center;gap:30px;padding:34px 22px 15px}.hero-copy{margin-left:28%;text-align:center;color:white;text-shadow:0 3px 5px #134c31}.eyebrow{font:700 18px Rajdhani,Arial,sans-serif;letter-spacing:.55em;margin:0 0 3px}.hero h1,.page-banner h1{font-family:Orbitron,Arial,sans-serif;font-size:clamp(38px,4.5vw,70px);line-height:1.1;margin:0;font-weight:900;letter-spacing:-4px;color:#f8ffff;text-shadow:0 3px 2px #344c42,0 5px 5px #1b3729,0 0 12px #fff}.hero h1 span{color:#32f325;text-shadow:0 2px 2px #024f08,0 0 16px #20ff00}.hero-sub{font:700 21px Rajdhani,Arial,sans-serif;letter-spacing:.18em;white-space:nowrap;margin:7px auto 16px}.neon-button{border-radius:30px;display:inline-flex;align-items:center;justify-content:space-between;gap:28px;padding:10px 22px;min-width:175px;text-align:center}.neon-button:hover,.play-button:hover,.nav-pill:hover{filter:brightness(1.14)}.hero-button{min-width:290px;font-size:17px}.neon-button span{font-size:24px;font-weight:400;line-height:16px}
.featured{border-radius:24px;padding:15px}.section-label{display:flex;justify-content:space-between;align-items:center;letter-spacing:.15em;font:700 15px Rajdhani,Arial,sans-serif;padding:0 8px 8px}.dots{color:#4ed44b}.featured-inner{border-radius:17px;display:grid;grid-template-columns:42% 1fr;gap:18px;background:rgba(255,255,255,.48);padding:7px;min-height:166px}.featured-inner>img{width:100%;height:166px;object-fit:cover;object-position:15% center;border-radius:12px}.featured-inner h2{font-size:22px;margin:12px 0 4px;text-transform:uppercase}.featured-inner p{font-size:14px;line-height:1.35;margin:0 0 13px}.featured-inner .neon-button{font-size:14px;width:100%;padding:8px 15px}
.dashboard{display:grid;grid-template-columns:41% 1fr;gap:8px}.panel{border-radius:25px;padding:17px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.panel-heading h2{font:900 22px Arial,sans-serif;margin:0;color:#091d13}.soft-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid white;border-radius:25px;background:rgba(255,255,255,.52);padding:7px 14px;font-size:12px;font-weight:700;white-space:nowrap}.soft-button:hover{background:white}.feed-list{background:rgba(255,255,255,.46);border-radius:17px;padding:8px 14px}.feed-item{display:grid;grid-template-columns:162px 1fr;gap:16px;padding:6px 0;border-bottom:1px solid #c5dcd8;min-height:100px}.feed-item:last-child{border:0}.feed-item img{width:162px;height:90px;border-radius:12px;object-fit:cover;object-position:18% center}.feed-item h3{margin:3px 0 3px;font-size:17px}.feed-item p{font-size:14px;line-height:1.3;margin:0 0 5px}.feed-item small{font-size:11px;color:#5b7169}.feed-item:hover h3{color:#087c10}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.game-card{background:rgba(255,255,255,.62);padding:5px;border:1px solid white;border-radius:17px;min-width:0;box-shadow:0 3px 6px #377b6840;transition:transform .15s}.game-card:hover{transform:translateY(-3px)}.game-art{height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;background-position:center;background-size:cover;border-radius:12px 12px 6px 6px;color:white;text-align:center;text-shadow:0 2px 5px black;background-color:#101628}.game-art span{font-size:40px;line-height:1}.game-art strong{font:900 14px Orbitron,Arial,sans-serif;text-shadow:0 2px 4px #000,0 0 9px #000}.theme-blocks{background-image:radial-gradient(circle at 15% 70%,#bd00ff,transparent 32%),repeating-linear-gradient(90deg,#0641c9 0 20px,#011049 22px 42px)}.theme-pac{background-image:radial-gradient(circle,#004c95,#05062f 68%)}.theme-uno{background-image:radial-gradient(circle,#de082d,#24010d 65%)}.theme-invader{background-image:repeating-linear-gradient(90deg,#052416 0 25px,#050d22 26px 49px)}.theme-slots{background-image:radial-gradient(circle,#a20c1c,#19040c)}.theme-cards{background-image:radial-gradient(circle,#04422c,#071d16)}.theme-match{background-image:radial-gradient(circle,#9d22ba,#052857)}.theme-fight{background-image:radial-gradient(circle,#b91515,#101323)}.play-button{display:block;text-align:center;border-radius:40px;line-height:27px;margin:5px 8px 1px;font-size:14px}.sale{border-radius:24px;margin:9px 0 8px;padding:14px 28px;display:flex;align-items:center;gap:20px}.sale-icon{font-size:46px}.sale-copy{flex:1}.sale h2{font:900 29px Orbitron,Arial,sans-serif;color:#08740d;margin:0}.sale p{margin:2px 0;font-size:13px}.sale form{display:flex;gap:16px;align-items:center;flex:1}.sale input{border:1px solid white;border-radius:30px;padding:12px 17px;background:rgba(255,255,255,.6);flex:1;min-width:100px}.sale button{min-width:200px}.footer{max-width:none;display:flex;align-items:center;justify-content:space-between;padding:8px max(3%,calc((100vw - 1460px)/2));gap:12px}.footer-brand{display:flex;align-items:center;font:900 18px Orbitron,Arial,sans-serif}.footer-brand img{width:44px;height:44px}.footer>div:nth-child(2){display:flex;gap:19px;font-size:11px;font-weight:bold}.footer>div:nth-child(2) a+a{border-left:1px solid #687e70;padding-left:19px}.social{display:flex;gap:12px;font-size:25px;font-weight:900;color:#0366e2}.social a:last-child{color:#bb15a9}.footer small{font-size:10px}
.page-banner{margin:26px 0 18px;border-radius:25px;min-height:195px;display:flex;align-items:center;gap:20px;padding:20px 55px}.page-banner img{width:150px;height:150px;object-fit:contain}.page-banner h1{font-size:clamp(35px,4vw,58px)}.page-banner p:last-child{font-size:17px;font-weight:600}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.story-card{border-radius:22px;overflow:hidden}.story-card img{width:100%;height:230px;object-fit:cover}.story-card>div{padding:20px}.story-card h2{margin:5px 0}.story-card p{line-height:1.45}.text-link{font-weight:900;color:#057b0c}.empty{padding:30px}.article{border-radius:24px;max-width:960px;margin:26px auto;padding:30px}.article h1{font:900 clamp(30px,5vw,60px) Orbitron,Arial,sans-serif}.article-date{color:#59746b}.article>img{width:100%;max-height:500px;object-fit:cover;border-radius:18px}.article-body{line-height:1.7;font-size:18px;padding:20px 5px}.arcade-panel{margin-bottom:22px}.arcade-panel:not(.dashboard .arcade-panel) .game-art{height:180px}.music-panel{margin:20px auto 40px;max-width:960px;border-radius:26px;display:grid;grid-template-columns:32% 1fr;padding:20px;gap:25px}.music-art{background:radial-gradient(circle,#72fd63,#075b25);border-radius:20px;display:grid;place-items:center;font-size:130px;color:white}.music-content audio{width:100%;margin:14px 0}.track-list{display:grid;gap:8px}.track{border:1px solid white;border-radius:15px;background:#effff4;padding:11px;text-align:left;font-weight:700}.track:hover,.track.active{background:#76f264}.logo-studio,.contact-form{max-width:850px;margin:20px auto 40px;border-radius:24px;padding:26px;display:grid;gap:15px}.logo-studio canvas{display:block;width:100%;border-radius:12px;border:1px solid #a4eaa3}.contact-form label,.logo-studio label,.editor label,.auth-form label{display:grid;gap:6px;font-weight:700}.contact-form input,.contact-form textarea,.logo-studio input,.editor input,.editor textarea,.editor select,.auth-form input{width:100%;padding:11px;border:1px solid #b3d7c0;border-radius:11px;background:#f8fffc}.flash{max-width:900px;margin:10px auto;padding:10px 18px;border-radius:16px;background:#b6ffac;color:#063b0d;text-align:center;font-weight:700}
.admin-body{background-size:cover;background-attachment:fixed}.admin-shell{max-width:1060px;margin:28px auto;border-radius:26px;padding:25px;min-height:80vh}.admin-head{display:flex;align-items:center;justify-content:space-between}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:22px 0}.admin-tabs a{padding:10px 15px;border-radius:20px;background:#ecfcf1;font-weight:bold}.admin-tabs a.active{background:#19d224;color:white}.editor{max-width:670px;margin-bottom:25px}.editor form,.auth-form form{display:grid;gap:13px}.editor h1,.auth-form h1{font-family:Orbitron,Arial,sans-serif}.auth-form{max-width:450px;margin:80px auto}.admin-row{background:#f7fffa;border:1px solid #d1e4d8;border-radius:14px;margin:8px 0;padding:12px;display:flex;align-items:center;gap:12px;justify-content:space-between}.admin-row div{flex:1;min-width:0}.admin-row small{display:block;overflow:hidden;text-overflow:ellipsis}.admin-row p{white-space:normal}.admin-thumb{width:150px;height:90px;object-fit:cover}.checks{display:flex;gap:20px}.checks label{display:flex;align-items:center}.checks input{width:auto}.delete-button{border:0;border-radius:15px;background:#fce5e5;color:#aa1920;padding:8px 12px;font-weight:bold}.admin-error{background:#ffe1e1;padding:12px;border-radius:12px}
@media(max-width:1250px){.topbar{flex-wrap:wrap;justify-content:center;margin:8px}.brand{order:-2;position:static;transform:none}.nav-left{order:1}.nav-right{order:2}.search{order:3}.hero{grid-template-columns:1fr 370px}.hero-copy{margin-left:14%}.featured-inner{grid-template-columns:37% 1fr}.dashboard{grid-template-columns:42% 1fr}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feed-item{grid-template-columns:110px 1fr}.feed-item img{width:110px}}
@media(max-width:800px){body{background-size:auto 800px;background-position:25% top}.topbar{border-radius:20px}.brand{width:100%;justify-content:center;order:-2}.brand img{width:45px;height:45px}.nav-left,.nav-right{gap:12px}.nav-link,.nav-pill{font-size:11px}.nav-pill{min-width:auto;padding:9px}.search{width:100%;margin:0}.search input{flex:1;width:auto}.hero{display:block;padding:40px 15px 10px;min-height:530px}.hero-copy{margin:110px 0 35px;text-align:center}.hero-sub{white-space:normal}.featured{max-width:500px;margin:auto}.dashboard{grid-template-columns:1fr;padding:0 8px;gap:8px}.feed-item{grid-template-columns:120px 1fr}.feed-item img{width:120px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-art{height:125px}.sale{margin:8px;flex-wrap:wrap}.sale form{flex-basis:100%}.footer{flex-wrap:wrap;justify-content:center}.footer>div:nth-child(2){flex-wrap:wrap;justify-content:center}.page-banner{margin:15px 8px;padding:15px;gap:8px}.page-banner img{width:100px;height:100px}.cards-grid{grid-template-columns:1fr;margin:10px}.music-panel{grid-template-columns:1fr;margin:10px}.music-art{height:160px}.contact-form,.logo-studio,.article{margin:10px}.admin-shell{margin:8px}.arcade-panel:not(.dashboard .arcade-panel) .game-art{height:125px}}
@media(max-width:450px){.nav-left,.nav-right{justify-content:center;flex-wrap:wrap}.brand{font-size:25px}.hero h1{font-size:38px;letter-spacing:-2px}.eyebrow{font-size:13px}.featured-inner{grid-template-columns:100px 1fr;gap:8px}.featured-inner>img{width:100px}.featured-inner h2{font-size:16px;margin:3px 0}.featured-inner p{font-size:12px}.featured-inner .neon-button{min-width:0;font-size:11px;padding:6px}.sale h2{font-size:20px}.sale form{flex-wrap:wrap}.sale button{flex:1}.feed-item{grid-template-columns:100px 1fr}.feed-item img{width:100px}.feed-item p{font-size:12px}.page-banner img{display:none}.page-banner h1{font-size:30px}.admin-row{flex-wrap:wrap}}

/* fix: centered logo overlapped right nav on mid-width desktops */
@media (min-width:901px) and (max-width:1480px){.topbar{justify-content:flex-start}.brand{position:static;transform:none;order:-1;font-size:26px;margin-right:auto}.brand img{width:50px;height:50px}.nav-left,.nav-right{gap:12px}.nav-pill{min-width:0;padding:11px 15px}.search{min-width:150px}.search input{width:110px}}

/* ===== mobile pass v2 ===== */
.menu-toggle{display:none}
html,body{overflow-x:hidden;max-width:100%}
img{max-width:100%}
@media (max-width:768px){
 body{background-size:auto 520px;background-position:30% top}
 .topbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:8px;padding:8px 12px;min-height:60px;border-radius:24px;gap:0}
 .brand{position:static;transform:none;order:0;font-size:24px;letter-spacing:-1px}
 .brand img{width:44px;height:44px}
 .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;order:1;width:46px;height:46px;border-radius:14px;border:2px solid #e4ffe4;background:linear-gradient(180deg,#a6ff82,#058a0e 60%,#17eb18);box-shadow:0 0 10px #42ff3d;padding:0 11px}
 .menu-toggle span{display:block;height:3px;border-radius:2px;background:#fff}
 .topbar .nav-left,.topbar .nav-right,.topbar .search{display:none}
 .topbar.open .nav-left,.topbar.open .nav-right{display:flex;flex-direction:column;align-items:stretch;width:100%;order:2;gap:6px;margin-top:8px}
 .topbar.open .nav-right{margin-top:6px;order:3}
 .topbar.open .search{display:flex;order:4;width:100%;margin:10px 0 4px;min-width:0}
 .topbar.open .search input{width:100%;flex:1}
 .topbar.open .nav-link,.topbar.open .nav-pill{min-height:46px;padding:10px 16px;border-radius:14px;background:rgba(255,255,255,.6);justify-content:flex-start;min-width:0}
 .topbar.open .nav-pill.active{background:linear-gradient(180deg,#a6ff82 0%,#4de927 18%,#058a0e 57%,#17eb18 95%)}
 main{padding:0 10px;max-width:100%}
 .hero{display:block;min-height:0;padding:26px 6px 12px;text-align:center}
 .hero-copy{margin:0 auto;max-width:100%;padding:18px 12px;border-radius:22px;background:rgba(255,255,255,.18);backdrop-filter:blur(3px)}
 .hero h1{font-size:clamp(38px,12vw,64px);letter-spacing:-1px;line-height:1;margin:6px 0}
 .hero .eyebrow{font-size:13px;letter-spacing:5px}
 .hero-sub{font-size:16px;letter-spacing:1px}
 .hero-button{display:flex;justify-content:center;width:100%;min-height:50px;box-sizing:border-box;margin-top:12px}
 .featured,.hero aside{width:auto;max-width:100%;margin:16px 0 0;position:static}
 .featured-inner,.dashboard,.cards-grid{display:grid;grid-template-columns:1fr !important;gap:14px}
 .featured-inner img{width:100%;max-height:200px;object-fit:cover}
 .panel,.sale,.featured,.article,.page-banner,.music-panel{border-radius:20px;padding:16px;margin-left:0;margin-right:0;width:auto}
 .panel-heading{flex-wrap:wrap;gap:8px}
 .panel-heading h2{font-size:20px}
 .feed-item{grid-template-columns:96px 1fr !important;gap:12px}
 .feed-item img{width:96px;height:72px;object-fit:cover}
 .game-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px}
 .game-art{min-height:110px}
 .play-button{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:15px}
 .sale{display:flex;flex-direction:column;align-items:stretch;text-align:center;gap:12px}
 .sale-icon{margin:0 auto}
 .sale form{display:flex;flex-direction:column;gap:10px;width:100%}
 .sale form input,.sale form button{width:100%;min-height:48px;box-sizing:border-box}
 .footer{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:18px 12px;margin:14px 8px;border-radius:20px}
 .footer div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px}
 .footer .social a{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
 /* admin */
 .admin-shell{margin:8px;padding:14px;border-radius:20px;max-width:none}
 .admin-head{flex-wrap:wrap;gap:10px}
 .admin-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;-webkit-overflow-scrolling:touch}
 .admin-tabs a{flex:0 0 auto;min-height:44px;display:flex;align-items:center}
 .admin-body,.editor,.auth-form{display:block;width:100%;max-width:100%}
 .admin-row{display:flex;flex-wrap:wrap;gap:8px}
 .admin-shell input,.admin-shell textarea,.admin-shell select{width:100%;box-sizing:border-box;min-height:44px}
 .admin-shell .neon-button,.admin-shell .delete-button{min-height:44px}
 .admin-shell table{display:block;overflow-x:auto}
}
@media (max-width:430px){
 .brand{font-size:21px}
 .hero h1{font-size:42px}
 .hero-sub{font-size:14px}
 .game-art strong{font-size:13px}
 .game-art{min-height:96px}
 .feed-item{grid-template-columns:80px 1fr !important}
 .feed-item img{width:80px;height:64px}
}
@media (max-width:768px){.topbar{flex-direction:row !important;flex-wrap:wrap !important;justify-content:space-between !important}.brand{width:auto !important;margin:0 !important;flex:0 1 auto;justify-content:flex-start}.menu-toggle{margin-left:auto}}
