:root {
  --bg-0: #02070a;
  --bg-1: #02131a;
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --text: #ffffff;
  --glass-brd: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.65);
}

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

/* Typography & base */
body {
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 120% -10%, #032e38 0%, transparent 60%),
    radial-gradient(900px 600px at -20% 110%, #05445a 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(transparent 96%, rgba(6, 182, 212, 0.2) 97%) 0 0/100% 40px,
    linear-gradient(90deg, transparent 96%, rgba(6, 182, 212, 0.2) 97%) 0 0/40px 100%;
  mask: radial-gradient(ellipse at center, #000 60%, transparent 100%);
  opacity: 0.3;
  will-change: opacity, filter;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; filter: drop-shadow(0 0 6px rgba(6,182,212,0.35)); }
}

nav {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: rgba(3, 20, 25, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-brd);
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

nav .logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(6,182,212,0.45);
}

.music-player { display: flex; align-items: center; gap: 12px; }
.song-title { font-weight: 600; font-size: 0.95rem; color: #22d3ee; text-shadow: 0 0 6px rgba(6,182,212,0.6); }

/* Classic round play button */
.music-btn {
  background: var(--accent);
  border: none;
  color: #001519;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(6,182,212,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.music-btn:hover {
  background: var(--accent-2);
  box-shadow: 0 0 20px rgba(34,211,238,0.6);
  transform: scale(1.06);
}
.music-btn svg { fill: #001519; pointer-events: none; }

.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  flex-wrap: wrap;
  width: min(1200px, 100%);
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 420px;
  min-height: 520px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(6,182,212,0.6);
}

.card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,0.08); display: block; }

.card-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem; }

/* Title with gradient */
.card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  background: linear-gradient(180deg, #e0fdff 0%, #a4f1fa 40%, #06b6d4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(6,182,212,0.25));
}

/* Clean white description */
.card p {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(255,255,255,0.15);
}

.btn {
  align-self: center;
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #001519;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  will-change: transform;
}
.btn:hover {
  background: var(--accent-2);
  box-shadow: 0 0 15px var(--accent-2);
  transform: translateY(-1px);
}

footer {
  text-align: center;
  padding: 0.8rem;
  font-size: 0.85rem;
  color: #9fdce4;
  background: rgba(3,20,25,0.35);
  border-top: 1px solid var(--glass-brd);
}

/* Reveal animation (IntersectionObserver adds .in) */
.reveal { opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* SOON card & glow */
.soon-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 500px;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(0,255,255,0.2), rgba(0,0,0,0.8));
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.2), inset 0 0 40px rgba(0,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.soon-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0,255,255,0.15), transparent 60%);
  animation: rotateGlow 6s linear infinite;
  will-change: transform;
}
@keyframes rotateGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.soon-text {
  position: relative;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 8px;
  color: #00ffff;
  text-shadow: 0 0 20px #00ffff, 0 0 60px rgba(0,255,255,0.8);
  animation: glowPulse 2s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { text-shadow: 0 0 10px #00ffff, 0 0 40px rgba(0,255,255,0.6); opacity: 0.8; }
  to { text-shadow: 0 0 25px #00ffff, 0 0 80px rgba(0,255,255,1); opacity: 1; }
}

@media (max-width: 950px) {
  .card { width: 90%; max-width: 420px; min-height: auto; }
  nav { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .grid { opacity: 0.2; }
}