/* JMI Hub homepage surgery: cleaner public homepage without replacing style.css */

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 255, 204, 0.14), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(255, 0, 255, 0.11), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(107, 183, 255, 0.08), transparent 34%),
    #020408;
}

nav {
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

nav a {
  border-radius: 999px;
  padding: 8px 10px;
}

nav a:hover {
  background: rgba(0, 255, 204, 0.07);
}

.jmi-clean-hero {
  min-height: calc(100vh - 120px);
  padding-top: 120px;
  overflow: hidden;
}

#jmiHomeParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

.jmi-clean-hero .hero-copy {
  position: relative;
  z-index: 2;
}

.jmi-clean-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  text-transform: none;
}

.jmi-clean-hero p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.jmi-clean-hero-panel {
  min-height: 360px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(2, 4, 8, 0.78)),
    radial-gradient(circle at center, rgba(0, 255, 204, 0.16), transparent 52%);
}

.jmi-clean-hero-panel h3 {
  margin: 12px 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: #fff;
}

.jmi-clean-hero-panel p {
  margin-bottom: 88px;
}

.jmi-orb {
  width: 138px;
  height: 138px;
  border-radius: 999px;
  margin: 0 auto 18px;
  background:
    radial-gradient(circle at 35% 25%, #ffffff, rgba(0,255,204,0.88) 22%, rgba(107,183,255,0.42) 48%, rgba(255,0,255,0.18) 72%, transparent);
  box-shadow:
    0 0 36px rgba(0, 255, 204, 0.48),
    0 0 80px rgba(107, 183, 255, 0.22);
  animation: jmiOrbFloat 5.5s ease-in-out infinite;
}

@keyframes jmiOrbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

#games .card,
#account .card {
  border-color: rgba(0, 255, 204, 0.12);
}

#games .card:hover,
#account .card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 204, 0.34);
  box-shadow: 0 20px 60px rgba(0, 255, 204, 0.10);
}

.footer-clean a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 768px) {
  .jmi-clean-hero {
    min-height: auto;
    padding-top: 100px;
  }

  .jmi-clean-hero-panel {
    min-height: 280px;
  }

  .jmi-clean-hero-panel p {
    margin-bottom: 70px;
  }
}
