:root{
  --bg:#0f1720;
  --card:#0f2430;
  --accent:#ffcc33;
  --muted:#9fb3bf;
  --glass: rgba(255,255,255,0.03);
  --radius:12px;
  --max-width:1100px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,#05121a 0%, #071826 60%, #071724 100%);
  color:#e6f0f2;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  padding-bottom:40px;
}

.site-header{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:18px;
  max-width:var(--max-width);
  margin:0 auto;
}

.brand{display:flex;align-items:center;gap:12px}
.logo{width:56px;height:56px;object-fit:contain;border-radius:10px;background:var(--glass);padding:8px}
.site-header h1{font-size:18px;margin:0;font-weight:600}

main{max-width:var(--max-width);margin:20px auto;padding:0 18px;}

/* Hero */
.hero{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:28px;
  align-items:center;
  margin-top:10px;
}
@media (max-width:880px){
  .hero{grid-template-columns:1fr; text-align:center}
  .hero-art{order:-1}
}

.hero-content h2{font-size:34px;margin:0 0 8px}
.subtitle{color:var(--muted);margin:0 0 6px}
.short-desc{color:var(--muted);margin:0 0 14px}
.btn{
  padding:10px 14px;border-radius:10px;border:1px solid rgba(255,255,255,0.06);
  background:transparent;color:inherit;cursor:pointer;font-weight:600;margin-right:8px;
}
.btn.primary{
  background:linear-gradient(90deg,var(--accent),#ffb84d);color:#072226;border:none;
  box-shadow:0 6px 18px rgba(255,204,51,0.08);
}
.btn.outline{border:1px solid rgba(255,255,255,0.08);background:transparent}
.hero-art .screenshot{width:100%;border-radius:12px;box-shadow:0 12px 50px rgba(0,0,0,0.6)}
.hero-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Games section */
.games{margin-top:34px}
.games h3{margin:0 0 12px}
.game-card{
  display:flex;
  gap:18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:var(--radius);
  padding:16px;
  align-items:center;
}
@media (max-width:720px){
  .game-card{flex-direction:column;align-items:stretch}
  .game-media img{width:100%}
}

.game-media img{width:280px;border-radius:10px;object-fit:cover}
.game-info h4{margin:0 0 6px}
.game-info .description{color:var(--muted)}
.features{list-style:none;padding:0;margin:12px 0 0;color:var(--muted)}
.features li{margin:6px 0}

/* About */
.about{margin-top:34px;padding:16px;border-radius:12px;background:var(--glass)}
.about-grid{display:flex;gap:18px;align-items:center}
.about-visual img{width:160px;border-radius:10px}

/* Contact */
.contact{margin-top:34px}
.contact-form{display:grid;gap:10px;max-width:600px}
.contact-form label{display:block;color:var(--muted);font-size:13px}
.contact-form input, .contact-form textarea{
  width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.02);color:inherit;
}
.form-actions{display:flex;gap:8px;margin-top:8px}
.small{color:var(--muted);font-size:13px}

/* Juice section */
.juice{margin-top:34px;padding:18px;border-radius:12px;background:linear-gradient(90deg, rgba(255,204,51,0.03), rgba(255,255,255,0.01));border:1px solid rgba(255,204,51,0.06)}
.juice-grid{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.juice-quote blockquote{margin:0;font-style:italic;color:#fff;background:rgba(0,0,0,0.15);padding:12px;border-radius:8px}
.juice-content{max-width:720px}
.juice-text{color:var(--muted);margin:8px 0}
.juice-list{list-style:none;padding:0;color:var(--muted)}
.juice-list li{margin:6px 0;padding-left:12px;position:relative}
.juice-list li:before{content:"•";color:var(--accent);position:absolute;left:0;top:0}

/* Footer */
.site-footer{max-width:var(--max-width);margin:36px auto 0;padding:18px;color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-inner .social a{color:var(--muted);margin-left:12px;text-decoration:none}
.footer-inner .social a:hover{color:var(--accent)}

/* Modal */
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.65);z-index:40}
.modal.hidden{display:none}
.modal-content{background:#071923;padding:18px;border-radius:12px;max-width:760px;width:92%;box-shadow:0 20px 60px rgba(0,0,0,0.6)}
.modal-close{position:absolute;right:18px;top:18px;background:transparent;border:none;color:var(--muted);font-size:24px;cursor:pointer}

#the-word {
  transition: transform 160ms ease, color 160ms ease;
  color: inherit;
  cursor: pointer;
}

#the-word.juice-hit {
  transform: translateY(-4px) scale(1.02);
  color: var(--accent);
}

#the-word.juice-active {
  transform: scale(1.08);
  text-shadow: 0 6px 20px rgba(255,204,51,0.12);
  color: var(--accent);
}

#ni-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: center/cover no-repeat url('Ni.jpg');
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

/* visible state */
#ni-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* hidden state (keeps it out of visual flow) */
#ni-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}


#ni-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: center/cover no-repeat url('Ni.jpg');
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
#ni-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
#ni-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}





