/* ===== Background + Centering ===== */
body {
  font-family: system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 15% 25%, #0a2a3f, transparent 55%),
    radial-gradient(circle at 85% 35%, #0f4c5c, transparent 50%),
    radial-gradient(circle at 50% 80%, #1a1f2b, transparent 60%),
    #02040a;
  color: #e6f0ff;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-height: 100vh;
  padding: 50px 20px;
}

/* ===== Title ===== */
h1 {
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* ===== Table ===== */
table {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0 22px;
  min-width: 520px;
}

table, th, td {
  border: none;
}

/* ===== Header (VERTICALLY ALIGNED) ===== */
th {
  padding: 22px 26px;          /* MATCH td padding */
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  text-align: left;
  vertical-align: middle;     /* KEY FIX */
}

/* ===== Abstract Rows ===== */
tr {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  overflow: hidden;

  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);

  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}

/* Soft abstract glow */
tr::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle, #2dd4ff, #0ea5e9, transparent 70%);
  opacity: 0.28;
  filter: blur(40px);
  transform: rotate(30deg);
}

/* Hover motion */
tr:hover {
  transform: translateY(-10px) rotate(-0.25deg);
  box-shadow: 0 40px 75px rgba(0, 0, 0, 0.8);
}

/* ===== Cells ===== */
td {
  padding: 22px 26px;
  font-size: 1rem;
  vertical-align: middle;     /* KEY FIX */
}

/* Rounded ends */
tr td:first-child {
  border-radius: 22px 0 0 22px;
}

tr td:last-child {
  border-radius: 0 22px 22px 0;
  font-size: 0.9rem;
  opacity: 0.65;
}

/* ===== CENTER GENRE COLUMN ===== */
th:last-child,
td:last-child {
  text-align: center;
}

/* ===== Artist Links ===== */
td a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Abstract highlight instead of underline */
td a::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -6px;
  height: 7px;
  background:
    linear-gradient(90deg, #2dd4ff, #22c55e, #e5f8ff);
  opacity: 0;
  transform: scaleX(0.15);
  transform-origin: left;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  border-radius: 8px;
  z-index: -1;
}

tr:hover td a::after {
  opacity: 0.85;
  transform: scaleX(1);
}