/* =============================================================================
   AUDIO DESIGN STUDIOS - PORTFOLIO PAGE (portfolio.html)
   Page-specific styles for the portfolio page
   ============================================================================= */

@import url('./shared.css');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&display=swap');

/* Portfolio Page Background */
.env-portfolio {
  background-image: url('Photos/bridgetoshinob800.webp');
  background-position: center;
  background-size: cover;
  min-height: 60vh;
  background-repeat: no-repeat;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
  padding: 0 8rem;
  z-index: 5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

@media (min-width: 720px) {
  .env-portfolio {
    background-image: url('Photos/bridgetoshinob1400.webp');
  }
}

@media (min-width: 1200px) {
  .env-portfolio {
    background-image: url('Photos/bridgetoshinob2000.webp');
  }
}

/* Highlights 3-Column Hero Section */
.hero-highlights-3col {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2rem 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 1200px) {
  .hero-highlights-3col {
    padding-bottom: 3rem;
  }
}

.hero-left-highlights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-center-highlights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.hero-center-highlights h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-center-highlights p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hero-right-highlights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.album-cover-centered,
.headshot-wrapper-portrait {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.album-cover-centered img,
.headshot-wrapper-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio Hero 3-Column Layout */
.hero-center-portfolio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.hero-center-portfolio .album-cover {
  width: 200px;
  height: 200px;
}

.hero-center-portfolio .highlights-banner {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-right-portfolio {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlights-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.highlights-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Services & General Sections */

.before-after-playlist-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 4vw;
  max-width: 1600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Portfolio Playlists Container */
.playlists-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (min-width: 1200px) {
  .playlists-section {
    padding: 4rem 2rem;
  }
}

/* Track List */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
  -webkit-overflow-scrolling: touch;
  contain: layout style paint;
}

.track-list::-webkit-scrollbar {
  width: 6px;
}

.track-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb {
  background: rgba(208, 208, 208, 0.3);
  border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb:hover {
  background: rgba(208, 208, 208, 0.5);
}

.playlist-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.playlists-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 600px));
  gap: 3rem;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: center;
  width: 100%;
}

.playlist-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.playlist-card h3 {
  font-size: 1.5rem;
  color: #f4f4ff;
  margin: 0 0 1.5rem 0;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.playlist-card-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.playlist-card-header h3 {
  text-align: center;
  width: 100%;
}

.playlist-album-art {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.playlist-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playlist-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.now-playing-info {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(244, 244, 255, 0.85);
  margin: 0.75rem 0 0.5rem 0;
  min-height: 1.5rem;
  padding: 0 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.playlist-scroll {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.playlist-scroll::-webkit-scrollbar {
  width: 6px;
}

.playlist-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}

.playlist-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.playlist-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Track Items in Playlist */
.track-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  background: rgba(208, 208, 208, 0.1);
  border: 1px solid rgba(208, 208, 208, 0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.track-item:hover {
  background: rgba(208, 208, 208, 0.15);
  border-color: rgba(208, 208, 208, 0.5);
}

.track-item.active {
  background: rgba(208, 208, 208, 0.2);
  border-color: rgba(208, 208, 208, 0.7);
}

.track-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-column: 1 / 2;
}

.track-item-number {
  font-weight: 600;
  color: #e8e8e8;
  min-width: 1.5rem;
}

.track-item-title {
  color: #e8e8e8;
  font-size: 0.95rem;
}

.track-item-progress-wrap,
.track-item-progress-wrap:hover,
.track-item-progress-fill,
.track-item-scrubber,
.track-item-play-btn {
  display: none;
}

.track-item-time {
  font-size: 0.85rem;
  color: rgba(232, 232, 232, 0.8);
  font-family: 'Courier New', monospace;
  grid-column: 3 / 4;
}

/* Now Playing Display */
.playlist-card .now-playing-info {
  text-align: center;
  font-size: 1.1rem;
  color: #d0d0d0;
  margin-bottom: 0.75rem;
  min-height: 1.5rem;
  font-weight: 500;
}

/* Portfolio Player Progress Bar */
.playlist-card .main-player-progress {
  position: relative;
  height: 8px;
  background: rgba(208, 208, 208, 0.2);
  border-radius: 4px;
  margin-bottom: 1rem;
  cursor: pointer;
  overflow: visible;
  transition: none;
}

.playlist-card .main-player-progress:hover {
  transform: none;
  height: 8px;
}

.playlist-card .main-player-progress-fill {
  transition: left 0.2s ease-out;
  pointer-events: none;
  background: linear-gradient(90deg, #d0d0d0, #b8b8b8);
  border-radius: 4px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(208, 208, 208, 0.6);
}

.playlist-card .main-player-scrubber {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(-50%);
  width: 2px;
  height: 300%;
  background: linear-gradient(to bottom, 
    rgba(208, 208, 208, 0.2), 
    rgba(208, 208, 208, 0.8),
    #d0d0d0, 
    #d0d0d0, 
    rgba(208, 208, 208, 0.8),
    rgba(208, 208, 208, 0.2));
  border-radius: 1px;
  box-shadow: 0 0 15px rgba(208, 208, 208, 1),
              0 0 25px rgba(208, 208, 208, 0.5);
  transition: left 0.2s ease-out;
  pointer-events: none;
}

/* Portfolio Player Transport Controls */
.playlist-card .playlist-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.playlist-card .control-btn {
  background: linear-gradient(135deg, rgba(208, 208, 208, 0.15), rgba(208, 208, 208, 0.08));
  border: 1.5px solid rgba(208, 208, 208, 0.3);
  color: #d0d0d0;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
  text-align: center;
  position: relative;
}

.playlist-card .control-btn:hover {
  background: linear-gradient(135deg, rgba(208, 208, 208, 0.25), rgba(208, 208, 208, 0.15));
  border-color: rgba(208, 208, 208, 0.5);
  box-shadow: 0 4px 12px rgba(208, 208, 208, 0.3);
  transform: translateY(-2px);
}

.playlist-card .control-btn:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.playlist-card .control-btn:focus-visible {
  outline: 3px solid rgba(208, 208, 208, 0.4);
  outline-offset: 2px;
}

.playlist-card .control-btn-play {
  padding: 0.85rem 1.15rem;
  font-size: 1.25rem;
  min-width: 56px;
  min-height: 56px;
  background: linear-gradient(135deg, rgba(208, 208, 208, 0.25), rgba(208, 208, 208, 0.15));
}

/* Previous/Back icon - two triangles pointing left */
.playlist-card .control-btn[aria-label*="beginning"]::before,
.playlist-card .control-btn[aria-label*="Back"]::before {
  content: '';
  width: 0;
  height: 0;
  border-right: 8px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.playlist-card .control-btn[aria-label*="beginning"]::after,
.playlist-card .control-btn[aria-label*="Back"]::after {
  content: '';
  width: 0;
  height: 0;
  border-right: 8px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: -2px;
}

/* Next/Forward icon - two triangles pointing right */
.playlist-card .control-btn[aria-label*="Next"]::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.playlist-card .control-btn[aria-label*="Next"]::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: -2px;
}

/* Play icon - triangle pointing right */
.playlist-card .control-btn[aria-label*="Play"]::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 2px;
}

/* Pause icon - two vertical bars */
.playlist-card .control-btn.playing::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-4.5px);
  width: 3px;
  height: 14px;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor;
  border: none;
  margin-left: 0;
}

/* Contact Form Section */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(238, 167, 167, 0.06);
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  color: #08ce18;
  font-size: 0.95rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(8, 206, 24, 0.3);
  outline: none;
}

.contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form button.btn {
  margin-top: 0.5rem;
  cursor: pointer;
}

#contact a,
#contact a:visited {
  color: #d0d0d0;
  text-decoration: underline;
}

#contact a:hover,
#contact a:focus {
  color: #cbcb83;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 1024px) {
  .playlists-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
  }
}

@media (max-width: 800px) {
  .hero,
  .hero-highlights-3col {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-highlights-3col {
    grid-template-rows: auto;
  }

  .hero-left-highlights,
  .hero-center-highlights,
  .hero-right-highlights {
    max-width: 100%;
  }

  /* Hide album cover on small screens */
  .hero-right-highlights {
    display: none;
  }

  .album-cover-centered {
    width: 200px;
    height: 200px;
  }

  .headshot-wrapper-portrait {
    width: 200px;
    height: 200px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-center-portfolio,
  .hero-right-portfolio {
    max-width: 100%;
  }

  .album-cover {
    width: 180px;
    height: 180px;
  }

  .playlist-card {
    flex-direction: column;
  }

  .playlist-album-art {
    width: 160px;
    height: 160px;
  }
}

/* Matrix Animation Section */

@media (max-width: 720px) {
  .banner-title {
    padding: 0 4rem;
  }

  .section,
  .playlists-section {
    padding: 1rem;
  }

  .playlists-container {
    grid-template-columns: 1fr;
  }

  .playlist-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-right-portfolio {
    max-height: 200px;
    height: 200px;
  }

  /* Mobile-optimized track play buttons */
  .track-item-play-btn {
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
    min-width: 38px;
    min-height: 38px;
  }
}

/* =============================================================================
   VU METER AND VOLUME KNOB STYLES (Portfolio Players)
   ============================================================================= */

.portfolio-meter-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: 
    linear-gradient(145deg, rgba(20, 15, 30, 0.95), rgba(15, 8, 20, 0.95)),
    radial-gradient(ellipse at 20% 30%, rgba(30, 30, 30, 0.4) 0%, transparent 40%),
    radial-gradient(ellipse at 75% 60%, rgba(25, 25, 25, 0.5) 0%, transparent 35%),
    radial-gradient(ellipse at 50% 80%, rgba(35, 35, 35, 0.3) 0%, transparent 30%),
    linear-gradient(135deg, #1a1a1a 0%, #150a1a 50%, #1a1520 100%);
  border: 3px solid rgba(208, 208, 208, 0.5);
  border-radius: 8px;
  box-shadow: 
    0 0 30px rgba(208, 208, 208, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    inset 0 -2px 4px rgba(35, 35, 35, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.8);
  position: relative;
}

/* Power Button */
.power-button-container {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.power-button {
  width: 42px;
  height: 42px;
  border: 3px solid #333;
  border-radius: 4px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  box-shadow: 
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d0d0d0;
  font-size: 0.5rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(208, 208, 208, 0.8), 0 0 4px rgba(208, 208, 208, 1);
}

.power-button:hover {
  border-color: #d0d0d0;
  box-shadow: 
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(208, 208, 208, 0.4);
}

.power-button:active {
  transform: translateY(1px);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(208, 208, 208, 0.1);
}

.portfolio-meter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  background: 
    radial-gradient(circle at 15% 20%, rgba(40, 40, 40, 0.4) 0%, transparent 15%),
    radial-gradient(circle at 85% 15%, rgba(35, 35, 35, 0.5) 0%, transparent 12%),
    radial-gradient(circle at 40% 70%, rgba(45, 45, 45, 0.35) 0%, transparent 18%),
    radial-gradient(circle at 70% 85%, rgba(30, 30, 30, 0.45) 0%, transparent 14%),
    radial-gradient(circle at 30% 45%, rgba(40, 40, 40, 0.3) 0%, transparent 16%),
    radial-gradient(circle at 60% 30%, rgba(30, 30, 30, 0.4) 0%, transparent 10%),
    radial-gradient(circle at 25% 80%, rgba(25, 25, 25, 0.35) 0%, transparent 12%),
    radial-gradient(circle at 90% 50%, rgba(30, 30, 30, 0.5) 0%, transparent 11%);
  pointer-events: none;
  opacity: 0.6;
}

.portfolio-meter-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  background: 
    radial-gradient(circle at 35% 25%, rgba(50, 50, 50, 0.15) 0%, transparent 8%),
    radial-gradient(circle at 70% 65%, rgba(42, 42, 42, 0.12) 0%, transparent 7%),
    radial-gradient(circle at 20% 60%, rgba(55, 55, 55, 0.1) 0%, transparent 9%),
    linear-gradient(180deg, rgba(208, 208, 208, 0.05) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}

.portfolio-meter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  margin-bottom: 2rem;
}

.portfolio-meter-display {
  position: relative;
  width: 280px;
  height: 155px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  overflow: hidden;
}

.portfolio-meter-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 100, 0, 0.35) 0%, transparent 2%),
    radial-gradient(circle at 85% 15%, rgba(0, 120, 0, 0.3) 0%, transparent 1.5%),
    radial-gradient(circle at 70% 85%, rgba(0, 80, 0, 0.25) 0%, transparent 2.5%),
    radial-gradient(circle at 30% 90%, rgba(0, 140, 0, 0.33) 0%, transparent 1.8%),
    radial-gradient(circle at 50% 50%, rgba(0, 100, 0, 0.28) 0%, transparent 2%);
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.portfolio-meter-branding {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(160, 160, 160, 0.7);
  text-shadow: 
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 0 4px rgba(208, 208, 208, 0.2);
  text-align: center;
  letter-spacing: 2.5px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  white-space: nowrap;
}

.portfolio-meter-scale {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 80px;
}

.portfolio-meter-scale::before {
  content: '−';
  position: absolute;
  left: -10px;
  top: 20px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #d0d0d0;
  text-shadow: 0 0 4px rgba(208, 208, 208, 0.8);
}

.portfolio-meter-scale::after {
  content: '+';
  position: absolute;
  right: -10px;
  top: 20px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #ff0000;
  text-shadow: 0 0 4px rgba(255, 0, 0, 0.8);
}

.portfolio-meter-vu-line {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, 
    #d0d0d0 0%, 
    #d0d0d0 76.9%, 
    #ff0000 76.9%, 
    #ff0000 100%);
  box-shadow: 0 0 6px rgba(208, 208, 208, 0.5);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  transform: translateY(-10px);
}

.portfolio-meter-tick {
  position: absolute;
  top: 30px;
  height: 7px;
  width: 2px;
  background: #333;
  transform-origin: bottom center;
}

.portfolio-meter-tick.small {
  height: 4px;
  width: 1.5px;
}

.portfolio-meter-label {
  position: absolute;
  top: 5px;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #d0d0d0;
  text-shadow: 0 0 3px rgba(208, 208, 208, 0.6);
  transform: translateX(-50%);
}

.portfolio-meter-label.red {
  color: #ff0000;
  text-shadow: 0 0 3px rgba(255, 0, 0, 0.6);
}

.portfolio-meter-percent-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 76.9%;
  height: 2px;
  background: #d0d0d0;
  box-shadow: 0 0 4px rgba(208, 208, 208, 0.4);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  transform: translateY(-7px);
}

.portfolio-meter-percent-tick {
  position: absolute;
  top: 40px;
  height: 5px;
  width: 1.5px;
  background: #333;
  transform-origin: bottom center;
}

.portfolio-meter-percent-label {
  position: absolute;
  top: 48px;
  font-size: 8px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #d0d0d0;
  text-shadow: 0 0 2px rgba(208, 208, 208, 0.6);
  transform: translateX(-50%);
}

.portfolio-meter-needle {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: 3px;
  height: 120px;
  background: linear-gradient(to top, #d0d0d0, rgba(208, 208, 208, 0.3));
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-35deg);
  transition: none;
  box-shadow: 0 0 10px rgba(208, 208, 208, 0.6);
}

.portfolio-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.portfolio-volume-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  margin-top: -12px;
}

.portfolio-volume-knob-container {
  position: relative;
  width: 85px;
  height: 85px;
}

.portfolio-volume-knob {
  width: 85px;
  height: 85px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 3px solid #555;
  clip-path: polygon(
    50% 15%,
    calc(50% + 25px) 40%,
    calc(50% + 15px) 75%,
    calc(50% - 15px) 75%,
    calc(50% - 25px) 40%
  );
  box-shadow: 
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  transition: transform 0.1s;
  will-change: transform;
}

.portfolio-volume-knob:active {
  transform: scale(0.98);
}

.portfolio-volume-knob::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #d0d0d0, rgba(208, 208, 208, 0.6));
  border-radius: 50%;
  box-shadow: 
    0 0 8px rgba(208, 208, 208, 0.8),
    0 0 4px rgba(208, 208, 208, 1),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.portfolio-volume-knob::after {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: 
    repeating-conic-gradient(
      from 0deg,
      #2a2a2a 0deg 10deg,
      #1a1a1a 10deg 20deg
    ),
    radial-gradient(circle, #333, #0a0a0a);
  border-radius: 50%;
  border: 2px solid rgba(208, 208, 208, 0.5);
  box-shadow: 
    inset 0 2px 3px rgba(0, 0, 0, 0.6),
    inset 0 -1px 2px rgba(255, 255, 255, 0.05),
    0 0 6px rgba(208, 208, 208, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.5);
}

.portfolio-volume-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 8px;
  background: rgba(208, 208, 208, 0.8);
  transform-origin: center 43px;
  pointer-events: none;
}

.portfolio-volume-tick:nth-child(1) {
  transform: translate(-50%, -43px) rotate(180deg);
}

.portfolio-volume-tick:nth-child(2) {
  transform: translate(-50%, -43px) rotate(360deg);
}

.portfolio-volume-tick:nth-child(3) {
  transform: translate(-50%, -43px) rotate(420deg);
}

.portfolio-volume-db-label {
  position: absolute;
  font-size: 0.6rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: rgba(208, 208, 208, 0.9);
  transform-origin: center;
  pointer-events: none;
  text-shadow: 0 0 4px rgba(208, 208, 208, 0.5);
}

.portfolio-volume-db-label:nth-child(4) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50px) rotate(0deg);
}

.portfolio-volume-db-label:nth-child(5) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58px) rotate(0deg);
}

.portfolio-volume-db-label:nth-child(6) {
  top: 50%;
  left: 50%;
  transform: translate(28px, -36px) rotate(0deg);
}

.portfolio-volume-value {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #d0d0d0;
  text-shadow: 0 0 6px rgba(208, 208, 208, 0.6);
}

.portfolio-volume-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(208, 208, 208, 0.7);
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 100%,
    50% 100%,
    50% 90%,
    10% 90%,
    10% 10%,
    90% 10%,
    90% 90%,
    50% 90%,
    50% 100%,
    0% 100%
  );
  mask-image: conic-gradient(
    from 180deg,
    black 0deg,
    black 240deg,
    transparent 240deg,
    transparent 360deg
  );
  -webkit-mask-image: conic-gradient(
    from 180deg,
    black 0deg,
    black 240deg,
    transparent 240deg,
    transparent 360deg
  );
  pointer-events: none;
  box-shadow: 0 0 4px rgba(208, 208, 208, 0.5);
}

.portfolio-volume-arc::before {
  content: none;
}

/* =============================================================================
   LIGHT MODE OVERRIDES - Compose/Portfolio Players
   ============================================================================= */



































