/* ===========================================================
   JOEHOE — HYPERSPACE EDITION
   thin type, deep 3D, heavy motion
   =========================================================== */
:root {
  --bg: #04030a;
  --fg: #ece9f7;
  --muted: #8c85a8;
  --lime: #b6ff2e;
  --pink: #ff2ec4;
  --cyan: #22e7ff;
  --violet: #8b5bff;
  --edge: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.035);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -0.02em; }
b, strong { font-weight: 400; }

.joehoe { position: relative; isolation: isolate; }

/* ---------- ambient ---------- */
.aurora {
  position: fixed; inset: -25vh -15vw; z-index: -3; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 15% 10%, rgba(182,255,46,.16), transparent 60%),
    radial-gradient(45vw 45vw at 85% 6%, rgba(255,46,196,.18), transparent 60%),
    radial-gradient(50vw 50vw at 50% 95%, rgba(34,231,255,.14), transparent 60%),
    var(--bg);
  filter: blur(14px) saturate(140%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.03); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.09); }
}
.scanlines {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.vignette {
  position: fixed; inset: 0; z-index: 58; pointer-events: none;
  background: radial-gradient(120vw 90vh at 50% 40%, transparent 45%, rgba(0,0,0,.75) 100%);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 4vw, 44px);
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(4,3,10,.85), rgba(4,3,10,.25));
  border-bottom: 1px solid var(--edge);
}
.brand { display: flex; align-items: center; gap: 10px; letter-spacing: .38em; font-size: 13px; }
.brand .logo { width: 26px; height: 26px; filter: drop-shadow(0 0 10px rgba(182,255,46,.6)); animation: spinY 9s linear infinite; }
@keyframes spinY { to { transform: rotateY(360deg); } }
.navlinks { display: flex; gap: 26px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.navlinks a { position: relative; padding: 4px 0; transition: color .25s; }
.navlinks a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--lime), var(--cyan)); transition: width .35s cubic-bezier(.2,.8,.2,1);
}
.navlinks a:hover { color: var(--fg); }
.navlinks a:hover::after { width: 100%; }
@media (max-width: 780px) { .navlinks { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid rgba(182,255,46,.45);
  background: linear-gradient(120deg, rgba(182,255,46,.16), rgba(34,231,255,.1));
  box-shadow: 0 0 0 0 rgba(182,255,46,.4);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 0 32px -6px rgba(182,255,46,.6); border-color: rgba(182,255,46,.9); }
.btn.ghost { border-color: rgba(255,255,255,.16); background: var(--glass); }
.btn.ghost:hover { box-shadow: 0 0 28px -8px rgba(34,231,255,.6); border-color: rgba(34,231,255,.7); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 8vh clamp(16px, 5vw, 60px) 12vh; overflow: hidden;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.heroContent { position: relative; text-align: center; max-width: 900px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px;
  border-radius: 999px; border: 1px solid var(--edge); background: var(--glass);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

.hero h1 {
  margin: 26px 0 18px;
  font-size: clamp(46px, 11vw, 132px);
  line-height: .92;
  font-weight: 200;
  letter-spacing: -0.045em;
}
.hero h1 .word { display: inline-block; }
.shine {
  background: linear-gradient(100deg, var(--lime), var(--cyan) 35%, var(--pink) 65%, var(--lime));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 300% 0; } }
.hero p {
  max-width: 560px; margin: 0 auto; color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7;
}
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 40px; }
.stats { display: flex; gap: 42px; justify-content: center; flex-wrap: wrap; color: var(--muted); }
.stats div { display: grid; gap: 4px; }
.stats b { font-size: 30px; font-weight: 200; color: var(--fg); font-variant-numeric: tabular-nums; }
.stats span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }

.scrollHint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
  display: grid; justify-items: center; gap: 8px;
}
.scrollHint i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); animation: fall 1.8s ease-in-out infinite; }
@keyframes fall { 0% { opacity: 0; transform: scaleY(.2); } 40% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px) rotateX(8deg); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--edge);
  background: linear-gradient(90deg, rgba(139,91,255,.09), rgba(34,231,255,.06));
  padding: 14px 0; transform: rotate(-1.1deg) scale(1.03);
}
.marquee > div { display: flex; gap: 46px; width: max-content; animation: slide 34s linear infinite; }
.marquee i {
  font-style: normal; font-size: 12px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- filter bar ---------- */
.bar { position: sticky; top: 57px; z-index: 40; backdrop-filter: blur(14px); background: rgba(4,3,10,.72); border-bottom: 1px solid var(--edge); }
.barInner { display: flex; gap: 16px; align-items: center; padding: 12px clamp(16px, 4vw, 44px); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); background: var(--glass); border: 1px solid var(--edge);
  transition: transform .2s, color .2s, border-color .2s, box-shadow .3s;
}
.chip:hover { transform: translateY(-2px); color: var(--fg); }
.chip.active { color: #04030a; background: linear-gradient(120deg, var(--lime), var(--cyan)); border-color: transparent; box-shadow: 0 0 24px -6px rgba(182,255,46,.7); }
.searchWrap input {
  width: clamp(140px, 22vw, 240px); padding: 10px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--edge); color: var(--fg);
  font: inherit; font-size: 13px; outline: none; transition: border-color .3s, box-shadow .3s;
}
.searchWrap input:focus { border-color: rgba(34,231,255,.6); box-shadow: 0 0 26px -8px rgba(34,231,255,.8); }

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vw, 100px) clamp(16px, 4vw, 44px); }
.wrap h2 { font-size: clamp(26px, 4.2vw, 46px); }
.sectionSub { color: var(--muted); font-size: 13px; letter-spacing: .1em; margin-top: 10px; }
.lime { color: var(--lime); }
.pink { color: var(--pink); }

/* ---------- game grid ---------- */
.games {
  display: grid; gap: 18px; margin-top: 38px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  perspective: 1400px;
}
.card {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px;
  overflow: hidden; border: 1px solid var(--edge); background: #0b0918;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .4s;
  animation: pop .6s cubic-bezier(.2,.8,.2,1) backwards;
}
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.94); } }
.card:hover { border-color: rgba(182,255,46,.5); box-shadow: 0 30px 60px -30px rgba(139,91,255,.9), 0 0 40px -18px rgba(34,231,255,.6); }
.card .art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 200; letter-spacing: -.04em; color: rgba(255,255,255,.9); text-shadow: 0 0 30px rgba(0,0,0,.4); }
.card .art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 8px); }
.card .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,3,10,.94) 12%, rgba(4,3,10,.25) 55%, transparent); }
.card .sheen {
  position: absolute; inset: -40%; opacity: 0; transition: opacity .4s;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
  transform: translateX(-30%);
}
.card:hover .sheen { opacity: 1; animation: sweep 1.1s ease forwards; }
@keyframes sweep { to { transform: translateX(30%); } }
.card .tag, .card .hot {
  position: absolute; top: 12px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
  transform: translateZ(40px);
}
.card .tag { left: 12px; background: rgba(255,255,255,.1); border: 1px solid var(--edge); color: var(--fg); }
.card .hot { right: 12px; background: linear-gradient(120deg, var(--pink), var(--violet)); color: #fff; box-shadow: 0 0 22px -4px var(--pink); }
.card .title {
  position: absolute; left: 16px; right: 16px; bottom: 16px; font-size: 15px;
  transform: translateZ(48px); display: grid; gap: 6px;
}
.card .play { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--lime); opacity: 0; transform: translateY(6px); transition: .35s; }
.card:hover .play { opacity: 1; transform: none; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; letter-spacing: .1em; }

/* ---------- about ---------- */
.about { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.kicker { color: var(--cyan); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.about p { color: var(--muted); line-height: 1.75; }
.features { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; perspective: 900px; }
.feature {
  padding: 22px; border-radius: 16px; border: 1px solid var(--edge); background: var(--glass);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s;
}
.feature:hover { transform: translateY(-6px) rotateX(6deg) rotateY(-4deg); border-color: rgba(34,231,255,.4); box-shadow: 0 24px 44px -28px rgba(34,231,255,.9); }
.feature b { display: block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.feature p { margin: 8px 0 0; font-size: 13px; }

footer {
  text-align: center; padding: 50px 20px; border-top: 1px solid var(--edge);
  color: var(--muted); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.logoImg{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(182,255,46,.6));}
.card .art{overflow:hidden;padding:0}.card .art img{width:100%;height:100%;object-fit:cover;display:block}.card .art::after{pointer-events:none}
