/* Benjamin Jonson Feature Block — Premium Profile Panel */

#bj-feature {
  position: relative;
  z-index: 2;
  max-width: 1152px;
  margin: -40px auto 0;
  padding: 0 24px;
}

.bj-card {
  background: linear-gradient(135deg, rgba(11, 20, 14, 0.45), rgba(8, 16, 12, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 48px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.bj-layout {
  display: flex;
  gap: 48px;
  align-items: center;
}

/* Image column */
.bj-image-col {
  flex-shrink: 0;
  width: 280px;
}

.bj-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.3s ease;
}

.bj-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@keyframes bj-orange-pulse {
  0%, 100% {
    box-shadow:
      0 0 40px rgba(200, 56, 3, 0.5),
      0 0 80px rgba(200, 56, 3, 0.35),
      0 0 120px rgba(200, 56, 3, 0.2),
      0 0 180px rgba(200, 56, 3, 0.1);
    border-color: rgba(200, 56, 3, 0.6);
    opacity: 0.5;
  }
  50% {
    box-shadow:
      0 0 60px rgba(200, 56, 3, 0.8),
      0 0 110px rgba(200, 56, 3, 0.55),
      0 0 160px rgba(200, 56, 3, 0.35),
      0 0 220px rgba(200, 56, 3, 0.2);
    border-color: rgba(200, 56, 3, 0.9);
    opacity: 1;
  }
}

.bj-glow {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 3px solid transparent;
  pointer-events: none;
  transition: border-color 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
}

.bj-glow.bj-glow-active {
  border-color: rgba(200, 56, 3, 0.6);
  animation: bj-orange-pulse 1.4s ease-in-out infinite;
}

/* Vibing animation — subtle head bob */
@keyframes bj-vibe {
  0%   { transform: translateY(0)    rotate(0deg); }
  15%  { transform: translateY(-2px) rotate(-0.5deg); }
  30%  { transform: translateY(0)    rotate(0deg); }
  45%  { transform: translateY(-3px) rotate(0.5deg); }
  60%  { transform: translateY(0)    rotate(0deg); }
  75%  { transform: translateY(-2px) rotate(-0.3deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

.bj-image-wrapper.bj-vibing {
  animation: bj-vibe 1.6s ease-in-out infinite;
}

/* Content column */
.bj-content-col {
  flex: 1;
  min-width: 0;
}

.bj-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 215, 0, 0.6);
  margin-bottom: 8px;
}

.bj-name {
  font-family: 'Libre Baskerville', 'Hoefler Text', 'Georgia', serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 4px;
  line-height: 1.2;
}

.bj-title {
  font-family: 'Libre Baskerville', 'Hoefler Text', 'Georgia', serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: rgba(0, 166, 81, 0.7);
  margin-bottom: 16px;
}

.bj-role {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.bj-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.bj-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.bj-bullets li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.5;
}

.bj-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 166, 81, 0.5);
}

.bj-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 16px 0;
}

.bj-principle {
  font-family: 'Libre Baskerville', 'Hoefler Text', 'Georgia', serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 215, 0, 0.7);
  line-height: 1.6;
  padding: 4px 0;
}

/* Audio Player */
.bj-player {
  margin-top: 4px;
}

.bj-player-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.bj-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bj-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.bj-play-btn:hover {
  background: rgba(0, 166, 81, 0.15);
  border-color: rgba(0, 166, 81, 0.4);
  color: rgba(255, 255, 255, 0.95);
}

.bj-progress-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.bj-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(161, 80%, 30%), hsl(51, 100%, 50%));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.bj-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}

/* Spotify shout-out card */
.bj-spotify-card {
  display: block;
  margin: 20px auto 0;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.bj-spotify-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.bj-spotify-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.bj-spotify-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bj-spotify-info {
  flex: 1;
  min-width: 0;
}

.bj-spotify-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.bj-spotify-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bj-spotify-artist {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bj-spotify-btn {
  flex-shrink: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.bj-spotify-card:hover .bj-spotify-btn {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .bj-spotify-card {
    margin: 16px 0 0;
    max-width: 100%;
  }
  .bj-spotify-inner {
    padding: 12px;
    gap: 10px;
  }
  .bj-spotify-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .bj-spotify-title {
    font-size: 14px;
  }
  .bj-spotify-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #bj-feature {
    margin-top: -20px;
    padding: 0 16px;
  }

  .bj-card {
    padding: 28px 20px;
  }

  .bj-layout {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .bj-image-col {
    width: 200px;
  }

  .bj-content-col {
    text-align: center;
  }

  .bj-name {
    font-size: 28px;
  }

  .bj-bullets {
    text-align: left;
  }

  .bj-player-controls {
    width: 100%;
  }

  .bj-progress-wrap {
    min-width: 0;
  }

  .bj-time {
    font-size: 12px;
    min-width: 70px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bj-image-wrapper.bj-vibing {
    animation: none;
  }
}
