:root {
  --bg: #0b0f1a;
  --bg-accent: #0f1524;
  --text: #e6eefc;
  --muted: #9bb0d1;
  --brand: #6cf0ff;
  --brand-2: #8a7bff;
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg-accent));
  overflow: hidden;
}

.vf-header {
  position: fixed;
  inset: 16px 16px auto 16px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 16px;
  z-index: 20;
}
.vf-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.vf-logo { width: 72px; height: 72px; object-fit: contain; }
.vf-name { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.vf-nav { display: flex; gap: 8px; }
.nav-btn, .cta { 
  background: transparent; color: var(--text); border: 1px solid var(--border); 
  padding: 10px 14px; border-radius: 12px; cursor: pointer; 
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
}
.nav-btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.3); }
.cta.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #051018; border: none; font-weight: 700; }
.cta.primary:hover { filter: brightness(1.05); }

.vf-track { 
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: row; 
  overflow-x: auto; overflow-y: hidden; 
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.vf-pane { 
  min-width: 100vw; height: 100vh; 
  scroll-snap-align: start; position: relative; 
  padding: 120px 8vw 56px; display: grid; place-items: center; 
}
.vf-pane.hero { 
  background: url('Backdrop-profile.png'),
              radial-gradient(1000px 600px at 10% -10%, rgba(108,240,255,0.15), transparent 60%),
              radial-gradient(800px 500px at 90% 110%, rgba(138,123,255,0.15), transparent 60%);
  background-size: cover, auto, auto; 
  background-position: center center, center, center; 
  background-repeat: no-repeat, no-repeat, no-repeat; 
}
.vf-pane:not(.hero) {
  background: url('background.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.vf-pane.contact { padding: 90px 6vw 36px; }
.vf-pane .content { max-width: 1100px; width: min(90vw, 1100px); }

.hero h1 { font-size: clamp(40px, 8vw, 108px); margin: 0 0 12px; line-height: .95; letter-spacing: -1px; }
.hero h1 span:nth-child(1){ color: var(--brand); }
.hero h1 span:nth-child(2){ color: var(--text); }
.hero h1 span:nth-child(3){ color: var(--brand-2); }
.tag { color: var(--muted); font-size: clamp(14px, 2.2vw, 18px); max-width: 58ch; }
.cta-row { margin-top: 24px; display: flex; gap: 12px; }

.decor.orbs::before, .decor.orbs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .4;
  pointer-events: none;
}
.decor.orbs::before { width: 320px; height: 320px; background: var(--brand); left: -80px; top: 40%; }
.decor.orbs::after { width: 280px; height: 280px; background: var(--brand-2); right: -60px; top: 20%; }

.games .cards { display: grid; grid-template-columns: repeat(3, minmax(280px, 1fr)); gap: 18px; margin-top: 12px; }
.games .cards.compact { grid-template-columns: repeat(2, minmax(280px, 1fr)); max-width: 1000px; margin: 12px auto 0; align-items: center; justify-items: center; column-gap: 18px; row-gap: 12px; }
.card.grid { display: grid; grid-template-columns: minmax(160px, 0.9fr) 1fr; align-items: start; gap: 12px; width: 100%; }
.card { background: var(--glass); border: 1px solid var(--border); padding: 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.25) inset, 0 0 0 1px rgba(255,255,255,0.03); }
.game-box { width: clamp(160px, 22vw, 300px); height: clamp(160px, 22vw, 300px); max-width: 100%; border-radius: 14px; background: rgba(0,0,0,0.3); display: grid; place-items: center; margin: 0 auto 6px; border: 1px solid var(--border); }
.games .card p { margin: 6px 0 0; font-size: clamp(13px, 1.6vw, 15px); }
.game-logo { width: 90%; height: 90%; object-fit: contain; display: block; }
.card h3 { margin: 4px 0 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { background: rgba(255,255,255,0.08); border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; font-size: 12px; }

.studio .feature-list { display: grid; gap: 10px; background: var(--glass); border: 1px solid var(--border); padding: 18px; border-radius: 16px; }

.tech .tech-grid { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 14px; }
.tech-item { background: var(--glass); border: 1px solid var(--border); padding: 16px; border-radius: 14px; display: grid; gap: 6px; }
.tech-item span { font-weight: 700; }
.tech-item small { color: var(--muted); }

.careers .roles { display: grid; gap: 10px; margin: 12px 0; }
.careers .hint { color: var(--muted); }

.contact .contact-form { display: grid; gap: 12px; }
.contact input, .contact textarea { 
  background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border);
  padding: 12px 14px; border-radius: 12px; outline: none; width: 100%; 
}
.contact input:focus, .contact textarea:focus { border-color: rgba(255,255,255,0.3); }
.contact .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: grid; gap: 6px; }
.form-actions { display: flex; align-items: center; gap: 12px; }
.form-status { min-height: 20px; color: var(--muted); }

.dot-nav { position: fixed; top: 50%; left: 16px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 15; }
.dot-nav button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.10); cursor: pointer; padding: 0; color: var(--text); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.dot-nav button.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #051018; border: none; box-shadow: 0 0 0 4px rgba(108,240,255,0.15); }

@media (max-width: 900px) {
  .vf-header { inset: 10px 10px auto 10px; height: 58px; }
  .vf-pane { padding: 100px 6vw 72px; }
  .games .cards { grid-template-columns: 1fr; }
  .games .cards.compact { grid-template-columns: 1fr; max-width: 680px; }
  .card.grid { grid-template-columns: 1fr; }
  .tech .tech-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .tech .tech-grid { grid-template-columns: 1fr; }
  .dot-nav { bottom: 14px; }
}

/* Contact form: reduce visual size */
.contact .content { max-width: 640px; }
.contact .contact-form { max-width: 460px; margin: 0 auto; }
.contact .contact-form input, .contact .contact-form textarea { padding: 10px 12px; font-size: 14px; }
.contact textarea { min-height: 96px; }

@media (max-height: 760px) {
  .vf-pane.contact { padding: 72px 6vw 24px; }
  .contact .contact-form { max-width: 420px; }
  .contact textarea { min-height: 72px; }
}


