:root {
  color-scheme: dark;
  --bg: #050713; --bg-soft: #080c1c; --surface: #0d1328; --surface-2: #121b35; --surface-3: #172242;
  --text: #f7f9ff; --muted: #9aa7c4; --subtle: #6f7d9d; --line: rgba(154,171,210,.16); --line-strong: rgba(96,221,255,.35);
  --cyan: #45f3ff; --blue: #4e7cff; --purple: #a94dff; --green: #42e6a4; --yellow: #ffd166; --danger: #ff6683;
  --gradient: linear-gradient(135deg,var(--cyan),var(--blue) 54%,var(--purple)); --shadow-sm: 0 8px 28px rgba(0,0,0,.18); --shadow: 0 24px 80px rgba(0,0,0,.38);
  --radius-sm: 10px; --radius: 16px; --radius-lg: 24px; --container: 1240px;
  font-family: Inter,"Segoe UI",Tahoma,Arial,sans-serif;
}
:root[data-theme="light"] { color-scheme: light; --bg:#f5f7fc; --bg-soft:#edf1f9; --surface:#fff; --surface-2:#f0f4fc; --surface-3:#e7edf8; --text:#10162a; --muted:#55627d; --subtle:#74809a; --line:rgba(18,31,63,.12); --line-strong:rgba(45,112,255,.32); --shadow-sm:0 8px 28px rgba(24,44,92,.08); --shadow:0 24px 70px rgba(24,44,92,.14); }
* { box-sizing:border-box; }
html { min-height:100%; scroll-behavior:smooth; background:var(--bg); }
body { min-height:100vh; margin:0; color:var(--text); background:radial-gradient(circle at 8% -8%,rgba(69,243,255,.12),transparent 30rem),radial-gradient(circle at 92% 2%,rgba(169,77,255,.12),transparent 34rem),var(--bg); font-size:16px; line-height:1.75; -webkit-font-smoothing:antialiased; }
body::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.22; background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size:44px 44px; mask-image:linear-gradient(to bottom,#000,transparent 55%); }
a { color:inherit; text-decoration:none; } img { display:block; max-width:100%; } [hidden] { display:none!important; } button,input,textarea,select { font:inherit; }
button,.button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:.45rem; padding:.68rem 1rem; border:0; border-radius:var(--radius-sm); color:#fff; background:var(--gradient); box-shadow:0 10px 26px rgba(78,124,255,.2); font-weight:800; cursor:pointer; transition:transform .18s ease,box-shadow .18s ease,filter .18s ease; }
button:hover,.button:hover { transform:translateY(-1px); box-shadow:0 14px 34px rgba(78,124,255,.28); filter:saturate(1.08); }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid rgba(69,243,255,.7); outline-offset:3px; }
input,textarea,select { width:100%; min-height:46px; padding:.75rem .9rem; color:var(--text); background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius-sm); transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
input::placeholder,textarea::placeholder { color:var(--subtle); } input:focus,textarea:focus,select:focus { border-color:var(--line-strong); box-shadow:0 0 0 4px rgba(69,243,255,.08); background:var(--surface); } textarea { min-height:140px; resize:vertical; }
label { display:grid; gap:.42rem; margin-bottom:1rem; color:var(--muted); font-weight:750; } h1,h2,h3,strong { text-wrap:balance; } h1,h2,h3 { letter-spacing:-.025em; } p { overflow-wrap:anywhere; } code { padding:.12rem .35rem; border-radius:6px; background:var(--surface-3); direction:ltr; }
table { width:100%; border-collapse:collapse; background:var(--surface); } th,td { padding:.85rem; border-bottom:1px solid var(--line); text-align:start; vertical-align:top; } th { color:var(--muted); font-size:.86rem; } tr:last-child td { border-bottom:0; }
.skip-link { position:fixed; inset-inline-start:1rem; top:-100px; z-index:9999; padding:.7rem 1rem; background:var(--text); color:var(--bg); border-radius:0 0 10px 10px; } .skip-link:focus { top:0; }
.site-header { position:sticky; top:0; z-index:100; min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.7rem max(1rem,calc((100vw - var(--container))/2)); border-bottom:1px solid var(--line); background:rgba(5,7,19,.78); backdrop-filter:blur(18px) saturate(1.2); }
:root[data-theme="light"] .site-header { background:rgba(255,255,255,.82); }
.brand,.admin-logo { display:inline-flex; align-items:center; gap:.72rem; min-width:0; font-weight:900; } .brand img { width:166px; height:43px; object-fit:contain; color:var(--text); }
.main-nav { display:flex; align-items:center; gap:.15rem; }
.main-nav>a,.icon-button,.nav-dropdown summary { min-height:42px; display:inline-flex; align-items:center; justify-content:center; padding:.45rem .78rem; border:1px solid transparent; border-radius:var(--radius-sm); color:var(--muted); background:transparent; box-shadow:none; font-weight:750; }
.main-nav>a:hover,.icon-button:hover,.nav-dropdown summary:hover,.nav-dropdown[open] summary { transform:none; color:var(--text); border-color:var(--line); background:var(--surface-2); box-shadow:none; }
.icon-button { width:42px; padding:0; font-size:1.1rem; } .language-link { color:var(--cyan)!important; } .nav-dropdown { position:relative; } .nav-dropdown summary { list-style:none; cursor:pointer; gap:.4rem; } .nav-dropdown summary::-webkit-details-marker { display:none; } .nav-dropdown summary::after { content:"⌄"; font-size:.8em; }
.dropdown-menu { position:absolute; top:calc(100% + .55rem); inset-inline-start:0; z-index:120; width:min(430px,84vw); max-height:min(62vh,560px); display:grid; grid-template-columns:repeat(2,minmax(130px,1fr)); gap:.25rem; padding:.65rem; overflow:auto; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.dropdown-menu a { min-height:40px; padding:.42rem .62rem; border-radius:8px; color:var(--muted); } .dropdown-menu a:hover { color:var(--text); background:var(--surface-2); } .menu-toggle { display:none; }
.page-with-ads { width:min(var(--container),calc(100% - 32px)); margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr); } .page-with-ads main,main { width:100%; min-width:0; } .ad-rail { display:none; min-width:0; overflow:hidden; }
.ad-slot:empty { display:none; } .ad-slot { width:min(100%,970px); max-height:260px; margin:.8rem auto; overflow:hidden; text-align:center; contain:layout paint; } .ad-slot--top { max-height:112px; margin-block:.5rem; } .ad-slot--bottom { max-height:120px; }
.ad-slot iframe,.ad-slot img,.ad-slot video { display:block!important; width:100%!important; max-width:100%!important; max-height:250px!important; margin:auto!important; border:0!important; }
.home-hero { display:grid; grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr); gap:clamp(1.5rem,4vw,4rem); align-items:center; padding:clamp(2.5rem,7vw,5.5rem) 0 3rem; }
.hero-copy { min-width:0; } .eyebrow { margin:0 0 .7rem; color:var(--cyan); font-weight:900; letter-spacing:.02em; } .hero-copy h1 { margin:0; font-size:clamp(2.25rem,4.8vw,4.65rem); line-height:1.02; overflow-wrap:anywhere; }
.hero-copy>p:not(.eyebrow) { max-width:660px; margin:1.1rem 0 0; color:var(--muted); font-size:1.08rem; }
.search-hero { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.65rem; max-width:760px; margin-top:1.5rem; } .search-hero button { min-width:92px; } .search-hero.compact { margin-top:1rem; }
.autocomplete { position:absolute; inset-inline:0; top:calc(100% + .45rem); z-index:80; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); } .autocomplete a { display:flex; align-items:center; gap:.75rem; padding:.65rem; color:var(--muted); } .autocomplete a:hover { color:var(--text); background:var(--surface-2); } .autocomplete img { width:42px; height:56px; object-fit:cover; border-radius:7px; }
.hero-showcase { position:relative; min-width:0; height:clamp(410px,42vw,520px); overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-lg); background:#02040c; box-shadow:var(--shadow); isolation:isolate; }
.hero-showcase::after { content:""; position:absolute; inset:0; z-index:3; pointer-events:none; border-radius:inherit; box-shadow:inset 0 0 0 1px rgba(255,255,255,.05); } .hero-slides,.hero-slide { position:absolute; inset:0; }
.hero-slide { opacity:0; visibility:hidden; pointer-events:none; transition:opacity .45s ease; } .hero-slide.active { opacity:1; visibility:visible; pointer-events:auto; } .hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(1.08); }
.hero-slide::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(90deg,rgba(3,5,14,.98) 8%,rgba(3,5,14,.6) 58%,rgba(3,5,14,.78)); } [dir="rtl"] .hero-slide::before { background:linear-gradient(270deg,rgba(3,5,14,.98) 8%,rgba(3,5,14,.6) 58%,rgba(3,5,14,.78)); }
.hero-slide-content { position:relative; z-index:2; height:100%; display:grid; grid-template-columns:minmax(118px,174px) minmax(0,1fr); gap:1.35rem; align-items:end; padding:2rem 2rem 5.25rem; } .hero-slide-content>div { min-width:0; max-width:620px; }
.hero-cover { width:100%; aspect-ratio:3/4; object-fit:cover; border:1px solid rgba(255,255,255,.2); border-radius:13px; box-shadow:0 18px 44px rgba(0,0,0,.45); }
.hero-slide h2 { margin:0; font-size:clamp(1.65rem,3vw,2.6rem); line-height:1.12; } .hero-slide p:not(.eyebrow) { display:-webkit-box; max-width:650px; margin-block:.8rem; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; color:rgba(247,249,255,.82); } .hero-slide .button { min-height:44px; }
.hero-badges,.card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.42rem; margin:.8rem 0 1rem; } .hero-badges span,.card-meta span { display:inline-flex; min-height:28px; align-items:center; padding:.2rem .52rem; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:rgba(255,255,255,.09); color:#f7f9ff; font-size:.8rem; font-weight:800; }
.hero-controls { position:absolute; z-index:5; inset-inline-end:1rem; bottom:1rem; display:flex; gap:.45rem; } .hero-controls button,.rail-controls button { width:42px; height:42px; min-height:0; padding:0; border:1px solid rgba(255,255,255,.23); border-radius:50%; color:#fff; background:rgba(255,255,255,.1); box-shadow:none; backdrop-filter:blur(10px); }
.hero-controls button:hover,.rail-controls button:hover { transform:translateY(-1px); background:rgba(255,255,255,.18); box-shadow:none; } [dir="rtl"] .hero-controls button,[dir="rtl"] .rail-controls button { transform:scaleX(-1); }
.hero-dots { position:absolute; z-index:5; inset-inline-start:1.35rem; inset-inline-end:7.2rem; bottom:1rem; display:flex; gap:.15rem; } .hero-dots button { width:27px; height:42px; min-height:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.hero-dots button::after { content:""; display:block; width:7px; height:7px; margin:auto; border-radius:99px; background:rgba(255,255,255,.45); transition:width .18s ease,background .18s ease; } .hero-dots button.active::after { width:22px; background:var(--cyan); }
.home-section,.taxonomy-strip,.gallery,.page-head,.content-grid,.requirements,.video-section,.download-section { margin:3rem 0; } .section-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; } .section-actions { display:flex; align-items:center; gap:.65rem; } .view-all { min-height:38px; display:inline-flex; align-items:center; padding:.4rem .78rem; border:1px solid var(--line); border-radius:999px; color:var(--cyan); background:var(--surface-2); font-size:.84rem; font-weight:850; white-space:nowrap; transition:border-color .18s ease,background .18s ease,transform .18s ease; } .view-all:hover { transform:translateY(-1px); border-color:var(--line-strong); background:var(--surface-3); }
.section-head h2,.home-section h2,.taxonomy-strip h2,.gallery h2,.content-grid h2,.video-section h2,.download-section h2 { margin:0; font-size:1.35rem; } .rail-controls { display:flex; gap:.4rem; } .rail-controls button { color:var(--text); border-color:var(--line); background:var(--surface-2); } .rail-controls button:disabled { opacity:.34; cursor:default; transform:none; }
.game-rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(168px,208px); gap:1rem; min-width:0; max-width:100%; padding:.15rem .05rem .9rem; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:inline mandatory; scrollbar-width:thin; scrollbar-color:var(--surface-3) transparent; }
.game-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(174px,1fr)); gap:1rem; } .game-grid.compact { grid-template-columns:repeat(auto-fill,minmax(148px,1fr)); }
.game-card { position:relative; min-width:0; height:100%; display:grid; grid-template-rows:auto auto 1fr; gap:.6rem; align-content:start; padding:.7rem; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(180deg,rgba(255,255,255,.025),transparent),var(--surface); box-shadow:var(--shadow-sm); scroll-snap-align:start; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.game-card:hover { transform:translateY(-5px); border-color:var(--line-strong); box-shadow:var(--shadow); } .game-card img { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:11px; background:var(--surface-2); transition:transform .3s ease; } .game-card:hover img { transform:scale(1.02); }
.game-card strong { display:-webkit-box; overflow:hidden; line-height:1.42; -webkit-box-orient:vertical; -webkit-line-clamp:2; } .card-meta { margin:0; align-self:end; } .card-meta span { min-height:24px; padding:.1rem .42rem; color:var(--muted); border-color:var(--line); background:var(--surface-2); font-size:.72rem; }
.page-head { padding:1.3rem 0 0; } .page-head h1 { margin:.35rem 0 .55rem; font-size:clamp(2rem,4vw,3.25rem); line-height:1.12; overflow-wrap:anywhere; } .page-head>p { max-width:760px; color:var(--muted); }
.breadcrumbs { margin:1rem 0; color:var(--subtle); font-size:.88rem; } .breadcrumbs ol { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; margin:0; padding:0; list-style:none; } .breadcrumbs li { display:inline-flex; align-items:center; min-width:0; } .breadcrumbs a { color:var(--muted); } .breadcrumbs a:hover { color:var(--cyan); } .breadcrumbs [aria-current="page"] { max-width:min(70vw,760px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .breadcrumb-separator { color:var(--subtle); }
.filter-bar { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:.8rem; align-items:end; margin:1.5rem 0 2rem; padding:1rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); } .filter-bar label { margin:0; }
.category-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:.85rem; margin:2rem 0 3rem; } .category-card { min-height:108px; display:grid; gap:.25rem; align-content:center; padding:1rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); transition:transform .18s ease,border-color .18s ease; } .category-card:hover { transform:translateY(-3px); border-color:var(--line-strong); } .category-card span,.muted { color:var(--muted); }
.pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem; margin:2rem 0 3rem; } .pagination a { min-width:40px; min-height:40px; display:inline-grid; place-items:center; padding:.35rem .65rem; border:1px solid var(--line); border-radius:9px; background:var(--surface); } .pagination a.active,.pagination a:hover { border-color:var(--cyan); color:var(--cyan); }
.game-page { padding-bottom:2rem; } .game-hero { position:relative; display:grid; grid-template-columns:minmax(190px,284px) minmax(0,1fr); gap:clamp(1.5rem,4vw,3.25rem); align-items:end; padding:clamp(1.5rem,4vw,3rem); overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(135deg,rgba(69,243,255,.07),transparent 42%,rgba(169,77,255,.07)),var(--surface); box-shadow:var(--shadow); }
.game-hero::after { content:""; position:absolute; width:300px; height:300px; inset-inline-end:-130px; top:-160px; border-radius:50%; background:rgba(169,77,255,.18); filter:blur(70px); pointer-events:none; } .game-hero>* { min-width:0; position:relative; z-index:1; }
.cover { width:100%; aspect-ratio:3/4; object-fit:cover; border:1px solid var(--line); border-radius:17px; box-shadow:var(--shadow); } .game-hero h1 { margin:0; font-size:clamp(2.15rem,5vw,4.25rem); line-height:1.02; overflow-wrap:anywhere; } .game-hero h2 { margin:.5rem 0; color:var(--muted); font-size:1.3rem; }
.rating { width:76px; height:76px; display:grid; place-items:center; margin:1.2rem 0; border:3px solid transparent; border-radius:50%; background:linear-gradient(var(--surface),var(--surface)) padding-box,var(--gradient) border-box; box-shadow:0 0 35px rgba(69,243,255,.16); font-size:1.05rem; font-weight:900; }
.chips { display:flex; flex-wrap:wrap; gap:.5rem; } .chip { display:inline-flex; min-height:36px; align-items:center; padding:.35rem .7rem; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:var(--surface-2); transition:color .18s ease,border-color .18s ease,background .18s ease; } .chip:hover { color:var(--text); border-color:var(--line-strong); background:var(--surface-3); }
.content-grid { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:1.25rem; align-items:start; }
.content-grid>div,.content-grid>aside,.requirements,.download-section,.feedback-form,.panel,.empty,.stat,.install-card,.login-card { padding:clamp(1rem,2.2vw,1.5rem); border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); }
.content-grid>div>h2:first-child,.content-grid>aside>h2:first-child { margin-top:0; } .content-grid>div>p { color:var(--muted); line-height:2; } .content-grid>aside { position:sticky; top:92px; }
.info-list { display:grid; grid-template-columns:110px minmax(0,1fr); gap:.7rem 1rem; margin:0; } .info-list dt { color:var(--muted); } .info-list dd { min-width:0; margin:0; overflow-wrap:anywhere; font-weight:700; }
.requirements { margin:2rem 0 0; box-shadow:none; background:var(--surface-2); } .requirements-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:1rem; } .requirements-card { min-width:0; padding:1rem; border:1px solid var(--line); border-radius:calc(var(--radius) - 4px); background:var(--surface); } .requirements-card h3 { margin-top:0; } .gallery>div { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr)); gap:.85rem; }
.gallery-item,.video-open { display:block; width:100%; aspect-ratio:16/9; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#000; cursor:zoom-in; } .gallery-item img,.video-open img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease,filter .25s ease; } .gallery-item:hover img,.video-open:hover img { transform:scale(1.035); filter:saturate(1.08); }
.video-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:1rem; } .video-card { display:grid; gap:.6rem; min-width:0; padding:.7rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); } .video-open { position:relative; cursor:pointer; } .play-mark { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:58px; height:58px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--gradient); box-shadow:var(--shadow); }
.download-section { background:linear-gradient(135deg,rgba(69,243,255,.06),rgba(169,77,255,.06)),var(--surface); } .download-actions { display:flex; flex-wrap:wrap; gap:.7rem; } .download-button { background:var(--gradient); }
.feedback-section { margin-top:3rem; padding-top:2rem; border-top:1px solid var(--line); } .feedback-summary { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin:1rem 0; } .feedback-average { margin-inline-end:.4rem; font-size:2rem; } .feedback-stars { color:var(--yellow); font-size:1.42rem; white-space:nowrap; }
.feedback-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:1rem; align-items:start; } .feedback-form { display:grid; gap:.7rem; } .feedback-form>label { display:grid; gap:.35rem; } .rating-options { display:flex; flex-wrap:wrap; gap:.45rem; direction:ltr; }
.rating-options label { position:relative; min-width:46px; min-height:42px; display:inline-grid; place-items:center; margin:0; border:1px solid var(--line); border-radius:9px; color:var(--muted); background:var(--surface-2); cursor:pointer; } .rating-options label:hover,.rating-options label:focus-within,.rating-options label:has(input:checked) { color:var(--text); border-color:var(--cyan); background:rgba(69,243,255,.1); } .rating-options input,.feedback-honeypot { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; clip:rect(0 0 0 0); }
.comments-list { margin-top:1.5rem; } .comment-item { padding:1rem 0; border-top:1px solid var(--line); } .comment-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem; color:var(--muted); } .comment-item p { margin:.45rem 0 0; }
.mini-cover { width:86px; aspect-ratio:3/4; object-fit:cover; border-radius:8px; } .compare-table { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); } .prose { max-width:900px; margin-inline:auto; } .page-content { color:var(--muted); font-size:1.03rem; line-height:2; } .page-content h2,.page-content h3 { color:var(--text); margin-top:2rem; }
.contact-panel { max-width:780px; margin:2rem auto 3rem; } .empty { margin:2rem 0; text-align:center; } .notice { padding:.8rem 1rem; border:1px solid rgba(66,230,164,.35); border-radius:var(--radius-sm); color:var(--text); background:rgba(66,230,164,.1); } .alert { padding:.8rem 1rem; border:1px solid rgba(255,102,131,.4); border-radius:var(--radius-sm); color:var(--text); background:rgba(255,102,131,.1); }
.site-footer { width:min(var(--container),calc(100% - 32px)); display:grid; grid-template-columns:1fr auto; gap:1.25rem 2rem; align-items:start; margin:4rem auto 0; padding:2.5rem 0 2rem; border-top:1px solid var(--line); color:var(--muted); } .footer-brand { display:flex; align-items:center; gap:.75rem; color:var(--text); } .footer-brand img { width:46px; height:46px; } .site-footer p { max-width:560px; margin:.55rem 0 0; } .site-footer nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.8rem 1.2rem; } .site-footer nav a:hover { color:var(--cyan); } .site-footer small { grid-column:1/-1; padding-top:1rem; border-top:1px solid var(--line); }
.no-scroll { overflow:hidden; } .media-lightbox { position:fixed; inset:0; z-index:1000; display:none; align-items:center; justify-content:center; padding:1rem; } .media-lightbox.open { display:flex; } .media-lightbox__backdrop { position:absolute; inset:0; background:rgba(1,3,10,.92); backdrop-filter:blur(12px); } .media-lightbox__dialog { position:relative; z-index:1; width:min(1180px,96vw); max-height:calc(100dvh - 2rem); display:grid; gap:.65rem; } .media-lightbox__stage { position:relative; display:grid; place-items:center; min-width:0; } .media-lightbox__content { width:100%; min-height:min(70vh,720px); display:grid; place-items:center; overflow:hidden; border-radius:var(--radius); background:#000; box-shadow:var(--shadow); touch-action:pan-y; } .media-lightbox__image { width:100%; height:100%; max-width:100%; max-height:calc(100dvh - 9rem); object-fit:contain; user-select:none; -webkit-user-drag:none; } .media-lightbox__video { width:100%; max-height:calc(100dvh - 10rem); aspect-ratio:16/9; border:0; } .media-lightbox__close { justify-self:end; width:44px; height:44px; min-height:0; padding:0; border:1px solid rgba(255,255,255,.25); border-radius:50%; color:#fff; background:rgba(255,255,255,.1); box-shadow:none; font-size:1.6rem; } .media-lightbox__nav { position:absolute; top:50%; z-index:3; width:48px; height:48px; min-height:0; padding:0; transform:translateY(-50%); border:1px solid rgba(255,255,255,.28); border-radius:50%; color:#fff; background:rgba(5,7,19,.7); box-shadow:0 10px 30px rgba(0,0,0,.3); backdrop-filter:blur(10px); font-size:1.65rem; } .media-lightbox__nav:hover { transform:translateY(calc(-50% - 1px)); background:rgba(20,28,54,.92); } .media-lightbox__prev { left:.85rem; } .media-lightbox__next { right:.85rem; } .media-lightbox__meta { min-height:30px; display:flex; align-items:center; justify-content:center; gap:.8rem; color:#fff; } .media-lightbox__title { margin:0; color:#fff; text-align:center; font-weight:700; } .media-lightbox__counter { direction:ltr; padding:.15rem .55rem; border:1px solid rgba(255,255,255,.18); border-radius:999px; color:rgba(255,255,255,.75); font-size:.78rem; white-space:nowrap; }
.admin-body { background:var(--bg); } .admin-body main { width:auto; margin:0; } .admin-shell { min-height:100vh; display:grid; grid-template-columns:250px minmax(0,1fr); } .admin-sidebar { position:sticky; top:0; height:100vh; padding:1rem; border-inline-end:1px solid var(--line); background:#070b18; } .admin-logo { color:#fff; font-size:1.1rem; } .admin-logo img { width:42px; height:42px; } .admin-sidebar nav { display:grid; gap:.2rem; margin-top:1.25rem; } .admin-sidebar a { padding:.66rem .75rem; border-radius:9px; color:#9aa7c4; } .admin-sidebar a:hover { color:#fff; background:rgba(255,255,255,.06); }
.admin-logout-form { margin-top:.5rem; } .admin-logout-form button { width:100%; justify-content:flex-start; padding:.66rem .75rem; color:#9aa7c4; background:transparent; border:1px solid transparent; box-shadow:none; } .admin-main { width:min(1220px,100%); padding:clamp(1rem,3vw,2rem); } .stats,.admin-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:1rem; margin:1rem 0; } .stat strong { display:block; font-size:2.2rem; line-height:1; } .panel { margin-bottom:1rem; overflow-x:auto; }
.row-actions { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; } .row-actions button,.row-actions a { min-height:36px; padding:.3rem .55rem; border:1px solid var(--line); border-radius:7px; color:var(--text); background:var(--surface-2); box-shadow:none; } .inline-form { display:inline; } .danger-button { color:#fff; background:rgba(255,102,131,.16); border:1px solid rgba(255,102,131,.42); } .menu-switch { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0; }
.download-manager { margin:1rem 0 2rem; } .download-row { display:grid; grid-template-columns:1fr 1fr minmax(220px,1.5fr) 100px auto auto; gap:.65rem; align-items:end; padding:.8rem 0; border-bottom:1px solid var(--line); } .download-row label { margin:0; } .download-row--new { border-bottom:0; }
.admin-login-shell,.installer { width:100%; min-height:100vh; display:grid; place-items:center; padding:1rem; } .install-card { width:min(720px,100%); } .login-card { width:min(440px,100%); } .login-card img { width:74px; height:74px; margin:0 auto 1rem; } .login-card h1 { margin:0 0 1.25rem; text-align:center; } .login-card button { width:100%; }
.editor-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; padding:.55rem; border:1px solid var(--line); border-bottom:0; border-radius:var(--radius-sm) var(--radius-sm) 0 0; background:var(--surface-2); } .editor-toolbar button { min-width:36px; min-height:34px; padding:.3rem .5rem; border:1px solid var(--line); border-radius:6px; color:var(--text); background:var(--surface); box-shadow:none; } .toolbar-divider { width:1px; height:24px; margin:0 .2rem; background:var(--line); } .rich-editor { min-height:340px; padding:1rem; border:1px solid var(--line); border-radius:0 0 var(--radius-sm) var(--radius-sm); background:var(--surface-2); line-height:1.9; } .rich-editor:focus { outline:3px solid var(--cyan); outline-offset:2px; }
.editor-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; } .short-textarea { min-height:90px; } .code-field { min-height:110px; direction:ltr; text-align:left; font-family:Consolas,monospace; font-size:.85rem; } .check-row { display:flex; align-items:center; gap:.5rem; } .check-row input { width:auto; min-height:0; }
@media (min-width:1580px) { .page-with-ads { width:min(1540px,calc(100% - 32px)); grid-template-columns:130px minmax(0,var(--container)) 130px; gap:1rem; } .ad-rail { display:block; position:sticky; top:88px; max-height:calc(100vh - 100px); } .ad-rail .ad-slot { width:100%; max-height:600px; margin-top:1rem; } .ad-rail .ad-slot iframe,.ad-rail .ad-slot img { max-height:600px!important; } }
@media (max-width:980px) { .home-hero { grid-template-columns:1fr; padding-top:2.5rem; } .hero-copy { max-width:760px; } .content-grid { grid-template-columns:1fr; } .content-grid>aside { position:static; } .admin-shell { grid-template-columns:1fr; } .admin-sidebar { position:static; height:auto; } .admin-sidebar nav { grid-template-columns:repeat(auto-fit,minmax(128px,1fr)); } }
@media (max-width:760px) { body { font-size:15px; } .site-header { min-height:66px; padding:.62rem .8rem; } .brand img { width:142px; height:39px; } .menu-toggle { display:inline-flex; } .main-nav { position:fixed; inset-inline:12px; top:72px; display:none; max-height:calc(100dvh - 84px); flex-direction:column; align-items:stretch; padding:.75rem; overflow-y:auto; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); } .main-nav.open { display:flex; } .main-nav>a,.nav-dropdown summary { width:100%; justify-content:space-between; } .dropdown-menu { position:static; width:100%; grid-template-columns:1fr; max-height:34vh; margin-top:.35rem; box-shadow:none; } .page-with-ads,.site-footer { width:min(100% - 24px,var(--container)); } .ad-slot--top { max-height:90px; }
  .home-hero { gap:1.3rem; padding:2rem 0 1.5rem; } .hero-copy h1 { font-size:clamp(2rem,10vw,3rem); } .hero-showcase { height:380px; } .hero-slide-content { grid-template-columns:1fr; align-items:end; padding:1.25rem 1.25rem 5rem; } .hero-cover { display:none; } .hero-slide h2 { font-size:1.65rem; } .hero-badges span:nth-child(n+4) { display:none; } .hero-slide .button { width:100%; } .search-hero,.filter-bar { grid-template-columns:1fr; } .search-hero button { width:100%; } .game-rail { grid-auto-columns:minmax(146px,42vw); gap:.72rem; } .game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.72rem; } .game-card { padding:.55rem; border-radius:13px; } .game-card img { aspect-ratio:4/5; border-radius:9px; object-position:top center; }
  .game-hero { grid-template-columns:minmax(112px,32vw) minmax(0,1fr); gap:1rem; align-items:center; padding:1rem; } .game-hero .cover { max-height:190px; object-position:top center; } .game-hero h1 { font-size:clamp(1.55rem,7vw,2.2rem); } .game-hero h2 { font-size:1rem; } .game-hero .eyebrow { font-size:.82rem; } .rating { width:58px; height:58px; margin:.7rem 0; font-size:.88rem; } .game-hero .chips { grid-column:1/-1; } .feedback-grid { grid-template-columns:1fr; } .site-footer { grid-template-columns:1fr; } .site-footer nav { justify-content:flex-start; } .site-footer small { grid-column:1; } .editor-fields,.download-row { grid-template-columns:1fr; } .media-lightbox { padding:.45rem; } .media-lightbox__dialog { width:100%; } .media-lightbox__content { min-height:0; height:calc(100dvh - 7.5rem); border-radius:12px; } .media-lightbox__nav { width:42px; height:42px; font-size:1.35rem; } .media-lightbox__prev { left:.4rem; } .media-lightbox__next { right:.4rem; }
}
@media (max-width:430px) { .brand img { width:128px; } .section-head { align-items:flex-start; } .section-actions { gap:.4rem; } .view-all { min-height:34px; padding:.3rem .6rem; font-size:.76rem; } .game-hero { grid-template-columns:104px minmax(0,1fr); border-radius:18px; } .game-hero .chips { display:none; } .hero-showcase { height:350px; border-radius:18px; } .hero-dots { inset-inline-end:6.5rem; } .hero-controls button,.rail-controls button { width:36px; height:36px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
