:root{
  --bg:#07080c;--surface:#101219;--surface2:#151821;--line:#242936;
  --text:#f5f7fb;--muted:#9ca4b5;--accent:#8b5cf6;--accent2:#a78bfa;
  --danger:#ef4444;--radius:22px;--max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 70% 0%,#1b1230 0,transparent 32%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;max-width:var(--max);margin:auto;padding:0 24px;border-bottom:1px solid transparent}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em}
.brand-mark{width:34px;height:34px;border:2px solid var(--accent2);border-radius:50%;display:grid;place-items:center;font-weight:900;color:var(--accent2)}
nav{display:flex;gap:26px;align-items:center;color:var(--muted);font-size:14px}
nav a:hover{color:#fff}.nav-button{border:1px solid var(--line);padding:9px 14px;border-radius:10px;color:#fff}
.hero{
  max-width:var(--max);
  margin:auto;
  padding:130px 24px 145px;
  position:relative;
  overflow:hidden;

  background-image:
    linear-gradient(
      rgba(7,8,12,0.45),
      rgba(7,8,12,0.80)
    ),
    url("SplashLandscape.png");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero-glow{position:absolute;width:420px;height:420px;background:var(--accent);opacity:.15;filter:blur(110px);right:4%;top:30px;pointer-events:none}
.eyebrow{color:var(--accent2);font-size:12px;font-weight:800;letter-spacing:.18em;margin:0 0 12px}
.hero h1{font-size:clamp(48px,8vw,88px);line-height:.98;letter-spacing:-.055em;margin:0;max-width:850px}
.hero h1 span,.about-section h2 span{color:var(--accent2)}
.hero-copy{color:var(--muted);font-size:18px;max-width:580px;margin:24px 0 32px}
.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:11px;padding:12px 17px;font-weight:750;cursor:pointer}
.primary-button{background:var(--accent);color:white}.primary-button:hover{background:#7c3aed}
.secondary-button{background:var(--surface2);color:#fff;border:1px solid var(--line)}
.danger-button{background:transparent;color:#f87171;border:1px solid #4a2020}
.text-button{border:0;background:none;color:var(--muted);cursor:pointer}
.games-section{max-width:var(--max);margin:auto;padding:70px 24px 120px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.section-heading h2,.about-section h2{font-size:42px;line-height:1.05;letter-spacing:-.04em;margin:0}
.game-count{color:var(--muted);font-size:14px}
.games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:20px}
.game-card{background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;gap:18px;min-height:220px;transition:.2s}
.game-card:hover{transform:translateY(-4px);border-color:#3b4252}
.icon-wrap{width:140px;height:140px;flex:none;border-radius:28px;overflow:hidden;background:#191c25;box-shadow:0 16px 40px #0005}
.icon-wrap img{width:100%;height:100%;object-fit:cover}
.game-info{display:flex;flex-direction:column;min-width:0}
.game-info h3{font-size:23px;margin:3px 0 5px;letter-spacing:-.025em}
.game-info p{color:var(--muted);font-size:14px;margin:0 0 14px}
.game-links{margin-top:auto;display:flex;flex-wrap:wrap;gap:7px}
.game-link{background:#1a1e28;border:1px solid #2b303c;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:750}
.game-link:hover{border-color:var(--accent2)}
.game-link.accent{background:var(--accent);border-color:var(--accent)}
.game-link.outline{background:transparent}
.game-link span{opacity:.7}
.about-section{max-width:var(--max);margin:auto;border-top:1px solid var(--line);padding:95px 24px;display:grid;grid-template-columns:1fr 1fr;gap:70px}
.about-section>p{color:var(--muted);font-size:19px;max-width:500px}
footer{border-top:1px solid var(--line);max-width:100%;padding:28px 24px;display:flex;justify-content:space-between;color:var(--muted);font-size:13px}
footer a:hover{color:#fff}
.hidden{display:none!important}
.empty-state{text-align:center;padding:70px 20px;border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted)}
.empty-state h3{color:#fff;margin:0 0 5px}.empty-icon{font-size:48px;color:var(--accent2)}

.admin-main{max-width:var(--max);margin:auto;padding:70px 24px 100px}
.admin-top{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:28px}
.admin-top h1{font-size:52px;line-height:1;margin:0 0 10px;letter-spacing:-.04em}
.admin-top p{color:var(--muted);margin:0}.admin-actions{display:flex;gap:10px}
.notice{background:#171326;border:1px solid #352b55;padding:15px 18px;border-radius:14px;color:#c8bfdc;font-size:13px;margin-bottom:22px}
.notice code{color:#fff}
.editor-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.editor-header h2{margin:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{display:flex;flex-direction:column;gap:7px;color:#d9deea;font-size:13px;font-weight:700}
label.full{grid-column:1/-1}
input,select{width:100%;background:#0b0d12;border:1px solid #2a303c;border-radius:10px;color:#fff;padding:12px;outline:none}
input:focus,select:focus{border-color:var(--accent)}
small{font-weight:400;color:var(--muted)}
.links-builder{margin:30px 0;border-top:1px solid var(--line);padding-top:24px}
.links-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.links-title h3{margin:0}.links-title p{margin:3px 0 0;color:var(--muted);font-size:13px}
.link-row{display:grid;grid-template-columns:1fr 2fr 130px 40px;gap:8px;margin-bottom:8px}
.remove-link{background:#251315;border:1px solid #4a2020;color:#f87171;border-radius:10px;font-size:20px;cursor:pointer}
.submit-button{margin-top:8px}
.saved-section{margin-top:70px}
.saved-game{display:flex;align-items:center;gap:14px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:9px}
.saved-game img{width:52px;height:52px;object-fit:cover;border-radius:12px;background:#181b23}
.saved-game>div:nth-child(2){display:flex;flex-direction:column}.saved-game span{font-size:12px;color:var(--muted)}
.saved-actions{margin-left:auto;display:flex;gap:7px}
.saved-actions button{padding:8px 11px;font-size:12px}

@media(max-width:700px){
  nav a:not(.nav-button){display:none}.hero{padding-top:90px;padding-bottom:100px}
  .section-heading{align-items:start;flex-direction:column}.games-grid{grid-template-columns:1fr}
  .game-card{flex-direction:column}.icon-wrap{width:100%;height:auto;aspect-ratio:1}
  .about-section{grid-template-columns:1fr;gap:25px}.admin-top{align-items:start;flex-direction:column}
  .admin-actions{width:100%;flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.link-row{grid-template-columns:1fr 1fr 1fr 40px}
  .link-row .link-url{grid-column:1/4}.saved-game{align-items:start}.saved-actions{margin-left:0}
  footer{flex-direction:column;gap:8px}
}
.contact-line{margin-top:22px!important;font-size:15px!important}.contact-line a{color:var(--accent2);font-weight:750}.contact-line a:hover{text-decoration:underline}

.company-logo{width:34px;height:34px;border-radius:10px;object-fit:cover;display:block}.logo-setting-row{display:flex;gap:16px;align-items:center;margin-top:14px}.logo-setting-row>img{width:84px;height:84px;object-fit:cover;border-radius:18px;background:#181b23;border:1px solid var(--line)}.logo-setting-fields{flex:1}.logo-setting-actions{display:flex;gap:8px;margin-top:8px}.company-settings{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}
