/* -----------------------------------------------------------------
   JJE DIGITAL HUB — UNIFIED GLASSMORPHISM DESIGN SYSTEM & GRID
   ----------------------------------------------------------------- */

:root {
  --bg: #07040c;
  --bg-card: rgba(20, 12, 32, 0.72);
  --bg-card-hover: rgba(30, 18, 46, 0.85);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-glass-bright: rgba(255, 0, 127, 0.45);

  --accent-pink: #ff007f;
  --accent-violet: #9d4edd;
  --accent-cyan: #00f0ff;
  --accent-gold: #ffb703;
  --accent-green: #00ff88;

  --text-main: #ffffff;
  --text-muted: #a0aec0;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;

  --shadow-3d: 0 16px 36px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  --radius-card: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Noise & Ambient Neon Rays */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
}

.ambient-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.glow-pink {
  top: -150px; left: -100px;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
}

.glow-violet {
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
}

/* Glassmorphic Container Wrapper */
.glass-window {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Hero & Brand Header */
.hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.jje-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-pink) 60%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  text-transform: uppercase;
}

.jje-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  letter-spacing: 0.22em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin: 0.4rem 0 0.8rem;
  font-weight: 700;
}

.jje-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* Audio EQ Visualizer */
.music-eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 28px;
  margin-bottom: 12px;
}

.eq-bar {
  width: 4px;
  background: var(--accent-pink);
  border-radius: 2px;
  animation: eqPulse 1.2s ease-in-out infinite alternate;
}

.bar-1 { height: 40%; animation-delay: 0.1s; }
.bar-2 { height: 80%; animation-delay: 0.3s; }
.bar-3 { height: 55%; animation-delay: 0.2s; }
.bar-4 { height: 100%; animation-delay: 0.5s; }
.bar-5 { height: 70%; animation-delay: 0.4s; }
.bar-6 { height: 90%; animation-delay: 0.25s; }
.bar-7 { height: 45%; animation-delay: 0.15s; }

@keyframes eqPulse {
  0% { height: 20%; opacity: 0.4; }
  100% { height: 100%; opacity: 1; }
}

/* Banner Badge */
.music-hub-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  backdrop-filter: blur(16px);
}

.music-hub-badge {
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.music-hub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Mobile 2-Column & Desktop 4-Column Grid Matrix */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media screen and (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .grid__item--featured {
    grid-column: span 2;
  }
}

/* Glassmorphic Cards & 3D Depth Buttons */
.grid__item {
  position: relative;
  cursor: pointer;
  outline: none;
}

.glass-card {
  height: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-3d);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid__item:hover .glass-card {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-top-color: rgba(255, 0, 127, 0.6);
}

.grid__item:active .glass-card {
  transform: translateY(2px) scale(0.98);
}

.glass-card h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.45;
}

.card-indicator-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent-pink);
  transition: transform 0.3s ease, background 0.3s ease;
}

.grid__item:hover .card-indicator-arrow {
  transform: rotate(-45deg);
  background: var(--accent-pink);
  color: #fff;
}

/* Expanded Content Container */
.grid__item-expanded-content {
  display: none;
  margin-top: 14px;
}

.grid__item.is-expanded .grid__item-expanded-content {
  display: block;
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 0, 127, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.cta-button:active {
  transform: translateY(1px);
}

/* Status Pill */
.pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}
.pill.ok { color: var(--accent-green); border-color: rgba(0, 255, 136, 0.4); }
.pill.bad { color: var(--accent-pink); border-color: rgba(255, 0, 127, 0.4); }

.hidden { display: none !important; }
