:root{
  --bg: #070a10;
  --bg2:#0b0f17;
  --panel:#0f1623;
  --text:#eaf1ff;
  --muted:#9bb0cc;
  --line:#1b2a3f;

  --accent:#66a3ff;
  --accent2:#7cf5c8;

  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;

  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(102,163,255,.18), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(124,245,200,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height:100vh;
}

a{color:inherit}
a:focus-visible{outline:2px solid var(--accent); outline-offset:3px}

.skip-link{
  position:absolute; left:-999px; top:12px;
  background:var(--panel); border:1px solid var(--line);
  padding:10px 12px; border-radius:12px;
}
.skip-link:focus{left:12px; z-index:1000}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,16,.6);
  border-bottom: 1px solid rgba(27,42,63,.55);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-logo{
  height:80px;
  width:auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
}
.nav a:hover{color:var(--text)}

.hero{
  padding:64px 0 34px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:center;
}
.kicker{
  margin:0 0 10px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height:1.05;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
  max-width: 58ch;
}
.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(27,42,63,.9);
  background: rgba(15,22,35,.6);
  color:var(--text);
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(102,163,255,.55) }
.btn.primary{
  background: linear-gradient(90deg, rgba(102,163,255,.95), rgba(124,245,200,.85));
  border-color: transparent;
  color:#061019;
}
.btn.ghost{
  background: rgba(15,22,35,.35);
}

.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(27,42,63,.9);
  background: rgba(15,22,35,.35);
  padding:8px 10px;
  border-radius:999px;
}

.hero-panel{
  display:flex;
  justify-content:flex-end;
}
.panel-card{
  width:100%;
  max-width: 420px;
  border-radius: var(--radius);
  border: 1px solid rgba(27,42,63,.9);
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(102,163,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(15,22,35,.85), rgba(15,22,35,.55));
  padding:22px;
  box-shadow: var(--shadow);
}
.panel-title{
  font-weight:780;
  letter-spacing:.14em;
  font-size:13px;
}
.panel-sub{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
}
.panel-divider{
  height:1px;
  background: rgba(27,42,63,.9);
  margin:16px 0;
}
.panel-lines{
  display:grid;
  gap:10px;
}
.panel-lines span{
  height:10px;
  border-radius:10px;
  background: rgba(155,176,204,.12);
}
.panel-lines span:nth-child(2){width:86%}
.panel-lines span:nth-child(3){width:72%}
.panel-lines span:nth-child(4){width:64%}

.section{
  padding:56px 0;
}
.section.alt{
  background: linear-gradient(180deg, rgba(15,22,35,.25), rgba(15,22,35,.05));
  border-top: 1px solid rgba(27,42,63,.4);
  border-bottom: 1px solid rgba(27,42,63,.4);
}
.section-head h2{
  margin:0;
  font-size:26px;
}
.section-head p{
  margin:8px 0 0;
  color:var(--muted);
}

.game-card{
  margin-top:18px;
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:18px;
  border-radius: var(--radius);
  border:1px solid rgba(27,42,63,.9);
  background: rgba(15,22,35,.5);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.game-art{
  min-height: 280px;
  background:
    radial-gradient(900px 400px at 20% 25%, rgba(102,163,255,.35), transparent 55%),
    radial-gradient(700px 320px at 70% 35%, rgba(124,245,200,.22), transparent 60%),
    linear-gradient(180deg, rgba(7,10,16,.0), rgba(7,10,16,.55));
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-body{
  padding:20px;
}
.game-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.game-body h3{
  margin:0;
  font-size:20px;
}
.tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.tag{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(27,42,63,.9);
  background: rgba(15,22,35,.35);
  padding:7px 10px;
  border-radius:999px;
}
.game-desc{
  margin:14px 0 16px;
  color:var(--muted);
  line-height:1.65;
}
.game-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hint{
  margin:14px 0 0;
  color:var(--muted);
  font-size:13px;
}
.hint a{ color: var(--text); }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin-top:14px;
}
.info-card, .text-block, .career-card, .contact-card{
  border-radius: var(--radius);
  border:1px solid rgba(27,42,63,.9);
  background: rgba(15,22,35,.35);
  padding:18px;
}
.info-card h4, .text-block h4, .contact-card h4{
  margin:0 0 8px;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--muted);
}
.info-card p, .text-block p, .career-card p{
  margin:0;
  line-height:1.65;
  color: var(--text);
}
.text-block p{ color: var(--muted); }

.career-card{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.career-card p{
  max-width: 80ch;
  color: var(--muted);
}

.contact-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.contact-card p{ margin:0; color:var(--muted); line-height:1.65; }
.contact-card a{ color:var(--text); text-decoration:none; border-bottom:1px solid rgba(102,163,255,.35); }

.footer{
  padding:28px 0;
  border-top:1px solid rgba(27,42,63,.55);
  background: rgba(7,10,16,.55);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  flex-wrap:wrap;
}
.footer-brand{
  font-weight:780;
  letter-spacing:.16em;
  font-size:12px;
}
.footer-by{
  letter-spacing:normal;
  font-weight:650;
  color:var(--muted);
}
.footer-note{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
}
.footer-links{
  display:flex;
  gap:14px;
}
.footer-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
}
.footer-links a:hover{ color:var(--text) }

@media (max-width: 880px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-panel{ justify-content:stretch; }
  .game-card{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .nav{ display:none; }
  .brand-logo{ height:32px; }
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}


/* --- Social links (contact card) --- */
.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.social-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(27,42,63,.9);
  background: rgba(15,22,35,.25);
  color: var(--text);
  text-decoration:none;
  font-weight:650;
  font-size:14px;
}
.social-link:hover{
  border-color: rgba(102,163,255,.55);
}
.social-link svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
  opacity:.9;
}
.social-note{
  margin-top:10px;
  color: var(--muted);
  font-size:13px;
  line-height:1.6;
}
