/* ===================================================================
   THE NEPALI COMMENT — GAMES ARCADE (hub landing page)
   Neon arcade look to match the games. Self-contained, no assets.
   =================================================================== */

:root {
  --bg: #070011;
  --card: #0e0820;
  --pink: #ff2e9a;
  --cyan: #00e5ff;
  --green: #39ff14;
  --purple: #b026ff;
  --yellow: #ffd400;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, #2a0a4d 0%, transparent 60%),
    radial-gradient(900px 500px at 88% 18%, #12013a 0%, transparent 55%),
    var(--bg);
  color: #fff;
  font-family: 'Trebuchet MS', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* faint neon grid backdrop, fading toward the bottom */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(#7b2ff7 1px, transparent 1px),
    linear-gradient(90deg, #7b2ff7 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 64px 20px 26px;
}
.eyebrow {
  letter-spacing: 6px;
  font-size: 13px;
  font-weight: bold;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}
.title {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: clamp(46px, 12vw, 104px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin: 10px 0 6px;
  color: var(--pink);
  text-shadow: 0 0 22px rgba(255, 46, 154, 0.55), 4px 4px 0 #000;
}
.title span {
  display: block;
  color: var(--green);
  text-shadow: 0 0 22px rgba(57, 255, 20, 0.5), 4px 4px 0 #000;
}
.tagline {
  color: #cdb9ff;
  font-size: clamp(14px, 3.5vw, 18px);
}

/* ---------- Games grid ---------- */
.games-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 18px 50px;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* ---------- Card ---------- */
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid #2a1b4d;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.game-card:not(.game-card--soon):hover,
.game-card:not(.game-card--soon):focus-visible {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--pink);
  box-shadow: 0 16px 42px -12px rgba(255, 46, 154, 0.6), 0 0 0 1px rgba(255, 46, 154, 0.35);
  outline: none;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb-emoji {
  font-size: clamp(46px, 9vw, 70px);
  filter: drop-shadow(0 4px 14px #000);
}
.thumb-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Brain Rot Runner thumbnail: neon scene + ground line */
.thumb--brr {
  background:
    radial-gradient(120% 120% at 30% 18%, rgba(255, 46, 154, 0.35), transparent 55%),
    radial-gradient(120% 120% at 82% 92%, rgba(0, 229, 255, 0.35), transparent 55%),
    linear-gradient(135deg, #1a0b2e, #2a0a4d);
}
.thumb--brr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16%;
  height: 3px;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.thumb--soon  { background: linear-gradient(135deg, #15102a, #0d0820); }
.thumb--soon2 { background: linear-gradient(135deg, #101a2a, #0d0820); }

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-title {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}
.card-desc {
  color: #a99fc4;
  font-size: 14px;
  flex: 1;
}
.play-btn {
  margin-top: 10px;
  align-self: flex-start;
  font-family: Impact, sans-serif;
  letter-spacing: 1px;
  font-size: 15px;
  color: #06210a;
  background: var(--green);
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.35);
}

/* Coming-soon placeholder cards */
.game-card--soon { opacity: 0.6; border-style: dashed; cursor: default; }
.play-btn--soon { background: #2a2440; color: #9b8fc2; box-shadow: none; }

/* ---------- Footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 20px 50px;
  color: #8b7fb0;
  font-size: 14px;
}
.foot-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--cyan);
  text-decoration: none;
}
.foot-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .hero { padding-top: 46px; }
}
