        /* Base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary: #0a0a0a;
            --secondary: #121212;
            --accent: #6699ff;
            --text: #e0e0e0;
            --text-secondary: #aaa;
        }
        
        body {
            display: flex;
    flex-direction: column;
            background-color: var(--primary);
            color: var(--text);
            font-family: 'Courier New', Courier, monospace;
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(40, 40, 55, 0.8) 0%, rgba(10, 10, 15, 0.9) 90%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="n"><feTurbulence baseFrequency="0.7" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23n)" opacity="0.1"/></svg>');
        }
        
        .dev-banner {
            background: rgba(100, 150, 255, 0.15);
            border-bottom: 1px solid var(--accent);
            color: var(--accent);
            text-align: center;
            font-size: 0.95rem;
            padding: 10px 15px;
            font-family: 'Courier New', monospace;
            letter-spacing: 1px;
            position: sticky;
            top: 0;
            z-index: 9999;
            backdrop-filter: blur(4px);
            animation: fadeSlideDown 0.5s ease-out;
          }
          
          .dev-banner span {
            font-weight: bold;
            color: var(--text);
          }
          
          @keyframes fadeSlideDown {
            from {
              opacity: 0;
              transform: translateY(-10px);
            }
            to {
              opacity: 1;
              transform: translateY(0);
            }
          }

        .loading-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 200px;
            color: var(--accent);
        }
        
        .loading-state i {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .error-state {
            color: #ff6b6b;
            text-align: center;
            padding: 2rem;
        }

        .more-button-container {
            text-align: center;
            margin-top: 30px;
        }
        
        .more-button {
            display: inline-block;
            padding: 12px 25px;
            background: rgba(100, 150, 255, 0.2);
            color: var(--accent);
            border: 1px solid var(--accent);
            border-radius: 2px;
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .more-button:hover {
            background: rgba(100, 150, 255, 0.3);
            transform: translateY(-2px);
        }

        .more-button, .back-button {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .more-button:hover, .back-button:hover {
            background: rgba(100, 150, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(100, 150, 255, 0.2);
        }

        .full-releases {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            margin: 40px auto;
        }

        .back-button {
            display: inline-block;
            padding: 10px 20px;
            margin: 20px 0 40px;
            color: var(--accent);
            border: 1px solid var(--accent);
            border-radius: 2px;
            text-decoration: none;
            font-size: 1rem;
            background: rgba(100, 150, 255, 0.1);
        }
        
        .back-button:hover {
            color: var(--text);
            transform: translateX(-5px);
        }
        
        /* For the full releases page */
        .full-releases-page h1 {
            margin-bottom: 10px;
        }

        .format-icon {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 30px;
            background: rgba(20, 20, 30, 0.8);
            border: 1px solid var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.3s ease;
            z-index: 2;
        }

        .release-grid.loading {
            min-height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .release-grid.loading::after {
            content: "Loading releases...";
            color: var(--text-secondary);
            font-style: italic;
        }

        @keyframes flicker {
            0%, 100% { opacity: 1; }
            20%, 60% { opacity: 0.9; }
            40%, 80% { opacity: 0.95; }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            flex: 1;
            position: relative;
            z-index: 2;
        }
        
        /* Header styling */
        header {
            margin: 20px 0 40px;
            text-align: center;
            position: relative;
        }
        
        /* Banner styling - fixed transparent issue */
        .banner {
            width: 100%;
            max-width: 900px;
            height: auto;
            display: block;
            margin: 0 auto 30px;
            /* Remove all glow/border effects: */
            border: none !important;
            box-shadow: none !important;
            filter: none !important;
            /* Ensure clean transparency: */
            background-color: transparent;
            /* Smooth scaling: */
            transition: transform 0.3s ease;
        }
        
        .banner:hover {
            transform: scale(1.01); /* Subtle hover effect */
        }
        
        /* Logo styling - adjusted size */
        .logo {
            width: 180px;
            height: auto;
            display: block;
            margin: 0 auto 20px;
            filter: 
                drop-shadow(0 0 8px rgba(100, 150, 255, 0.3))
                grayscale(30%);
            transition: all 0.5s ease;
            opacity: 0.9;
        }
        
        .logo:hover {
            filter: 
                drop-shadow(0 0 15px rgba(100, 150, 255, 0.5))
                grayscale(10%);
            transform: scale(1.05);
        }
        
        /* Typography */
        h1 {
            font-size: 3.5rem;
            margin: 0.5em 0;
            letter-spacing: 4px;
            text-transform: uppercase;
            font-weight: 300;
            color: #ffffff;
            text-shadow: 0 0 10px rgba(100, 150, 255, 0.3);
            position: relative;
        }
        
        h1::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.5), transparent);
        }
        
        h2 {
            font-size: 2.2rem;
            margin: 1.5em 0 1em;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 300;
            text-align: center;
            color: var(--accent);
            position: relative;
        }
        
        h2::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.5), transparent);
        }
        
        h3 {
            font-size: 1.4rem;
            margin: 0.8em 0 0.5em;
            font-weight: 400;
            color: #ddd;
        }
        
        p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 20px;
            line-height: 1.7;
        }
        
        .tagline {
            font-size: 1.3rem;
            letter-spacing: 2px;
            margin-bottom: 40px;
            color: var(--accent);
        }
        
        main > * {
            margin-bottom: 60px;
        }

        /* Main content styling */
        main {
            text-align: center;
            padding: 20px 0 40px;
            position: relative;
            z-index: 10;
        }
        
        /* About section */
        .about {
            max-width: 800px;
            margin: 50px auto;
            padding: 30px;
            background: rgba(20, 20, 30, 0.3);
            border: 1px solid rgba(100, 150, 255, 0.1);
            border-radius: 2px;
        }

        .about h2 {
            margin-top: 0; /* Removes extra space above "ABOUT US" */
            padding-top: 0;
        }
        
        /* Release section */
        .releases {
            margin: 60px 0;
        }
        
        .release-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); /* tighter cards */
            gap: 24px;
            margin-top: 40px;
            justify-content: center;  /* ← centers the tracks */
          }
          
        
        .release {
            will-change: transform;
            background: rgba(20, 20, 30, 0.5);
            border: 1px solid rgba(100, 150, 255, 0.1);
            padding: 40px 15px 15px; /* was 60px 20px 20px */
            text-align: center;
            position: relative;
            overflow: visible;
            border-radius: 2px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
          }
        
        .release::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }
        
        .release:hover .format-icon {
            background: rgba(100,150,255,0.3);
            transform: translateX(-50%) scale(1.1);
        }
        
        .release:hover::before {
            transform: scaleX(1);
        }
        
        .release img {
            width: 100%;
            height: auto;
            aspect-ratio: 1/1;
            object-fit: cover;
            margin-bottom: 20px;
            filter: grayscale(30%) contrast(110%);
            transition: filter 0.4s ease;
        }
        
        .release:hover img {
            filter: grayscale(0%) contrast(120%);
        }
        .release:hover {
            transform: translateY(-8px) scale(1.04);
            box-shadow: 0 10px 20px rgba(100, 150, 255, 0.15);
          }
          
        
        .release .info {
            padding: 10px 0;
        }
        
        .release .title {
            font-size: 1.3rem;
            color: #fff;
            margin-bottom: 8px;
        }
        
        .release .artist {
            font-size: 1.1rem;
            color: var(--accent);
            margin-bottom: 12px;
        }
        
        .release .catalog {
            font-size: 0.9rem;
            color: #888;
            letter-spacing: 1px;
        }

        .release-grid > .release { will-change: transform; }
          

        /* Artists section */
        .artists {
            margin: 80px 0 40px;
        }
        
        .artist-grid {
            display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This centers all items */
    gap: 20px;
    margin-top: 30px;
        }
        
        .artist {
            flex: 0 0 150px;
            text-align: center;
            padding: 20px 10px;
            transition: all 0.3s ease;
            text-decoration: none; /* remove underline */
            color: inherit;         /* keep text color */
            border-radius: 2px;
          }
        
        .artist:hover {
            background: rgba(30, 30, 45, 0.5);
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 8px 20px rgba(100, 150, 255, 0.1);
          }
        
        .artist img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 1px solid rgba(100, 150, 255, 0.2);
            -webkit-filter: grayscale(30%);
    filter: grayscale(30%);
}
        
        .artist:hover img {
            filter: grayscale(10%);
            transform: scale(1.05);
        }
        
        .artist h3 {
            font-size: 1.2rem;
            margin: 0;
            letter-spacing: 1px;
        }
        
        .artist p {
            font-size: 1rem;
            color: #aaa;
        }
        
        /* Footer styling */
        footer {
            text-align: center;
            padding: 50px 0 30px;
            margin-top: 60px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin: 25px 0 35px;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(100, 150, 255, 0.1);
            color: var(--accent);
            font-size: 1.4rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .social-links a:hover {
            background: rgba(100, 150, 255, 0.3);
            transform: translateY(-5px);
        }
        
        .copyright {
            font-size: 0.95rem;
            color: #666;
            letter-spacing: 1px;
        }
        
        .streaming-links {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 15px;
        }
        
        .streaming-link {
            font-size: 18px;
            transition: all 0.3s ease;
            opacity: 0.7;
            display: inline-flex;
        }
        
        /* Platform colors (forced) */
        .streaming-link.spotify { color: #1DB954 !important; }
        .streaming-link.apple { color: #FC3C44 !important; }
        .streaming-link.youtube { color: #FF0000 !important; }
        
        /* Hover effect */
        .streaming-link:hover {
            opacity: 1;
            transform: translateY(-2px);
            filter: brightness(1.2);
        }
        
        /* Remove any inherited colors */
        .release .streaming-links a {
            color: inherit !important;
        }

        
        
        /* Responsive adjustments */
        @media (max-width: 900px) {
            .banner {
                width: 95%;
            }
            
            h1 {
                font-size: 2.8rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .release-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 20px;
            }
        }
        
            @media (max-width: 600px) {

            main > * {
        margin-bottom: 40px;
    }    
            h1 {
                font-size: 2.2rem;
            }
            
            .tagline {
                font-size: 1.1rem;
            }
            
            .release-grid {
                grid-template-columns: 1fr;
            }
            
            .artist-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        justify-content: center; /* Center the entire grid */
            }
            
            .social-links {
                gap: 15px;
            }
            
            .social-links a {
                width: 45px;
                height: 45px;
                font-size: 1.2rem;
            }


        }

        /* Rain Effect Styles */
        .rain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }
        
        .drop {
            position: absolute;
            bottom: 100%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, var(--accent));
            animation: fall linear infinite;
            will-change: transform;
        }
        
        @keyframes fall {
            to {
                transform: translateY(100vh);
            }
        }

        .artist-pic-wrapper {
            margin-top: 40px; /* spacing from umbrella */
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
          }
          
          .artist-profile-pic {
            width: 180px;
            height: 180px;
            object-fit: cover;
            border-radius: 50%;
            border: 1px solid rgba(100, 150, 255, 0.2);
            filter: grayscale(25%);
            transition: transform 0.3s ease, filter 0.3s ease;
          }
          
          .artist-profile-pic:hover {
            transform: scale(1.05);
            filter: grayscale(0%);
          }

          .artist-releases {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 60px; /* Moved margin-top inside the class */
            overflow: visible;
          }
          
          .release-scroll {
            display: flex;
            justify-content: flex-start;           /* start at the left edge */
            align-items: flex-start;
            gap: 20px;
            overflow-x: auto;
            overflow-y: visible;           /* ← prevents top/bottom clipping */
            padding: 60px 16px 48px;               /* a bit more left space */
            scroll-padding-left: 16px;             /* snap leaves room for first card */
            scroll-snap-type: x mandatory;
            margin: 0 auto;
            max-width: 100%;
          }
          
          
          
          .release-scroll .release { 
            /* was: flex: 0 0 250px; */
            flex: 0 0 clamp(180px, 48vw, 240px);
            scroll-snap-align: start;
          }
          @media (max-width: 600px) {
            .release-scroll {
              max-width: 100vw;
              overflow-x: auto;
              -webkit-overflow-scrolling: touch;
              margin: 0;               /* avoid accidental wider-than-screen containers */
              padding: 40px 12px 32px; /* small safe padding */
            }
          }
          
          /* Never let media exceed screen width */
img, video { max-width: 100%; height: auto; }

/* Break long titles/artist names instead of stretching layout */
.release .title, .release .artist { word-break: break-word; }

          /* Force proper columns on bigger viewports */
@media (min-width: 901px) {
    .releases > .release-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(260px, 1fr));
      gap: 24px;
      align-items: start;
      justify-items: stretch;
    }
  }
  
  @media (min-width: 601px) and (max-width: 900px) {
    .releases > .release-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(260px, 1fr));
      gap: 24px;
    }
  }

  /* === Homepage releases: 4 per row, smaller cards === */
.home .releases .release-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr)); /* 4 columns */
    gap: 16px;
    max-width: 1280px;    /* keeps the row from getting huge */
    margin: 0 auto;       /* centers the whole grid */
    align-items: start;   /* keeps tops aligned when heights differ */
  }
  
  .home .release {
    padding: 16px 12px 12px;   /* tighter cards */
  }
  
  .home .release img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  /* tablet: 3 per row */
  @media (max-width: 1100px) {
    .home .releases .release-grid {
      grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
  }
  
  /* mobile landscape: 2 per row */
  @media (max-width: 800px) {
    .home .releases .release-grid {
      grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
  }
  
  /* mobile: 1 per row */
  @media (max-width: 520px) {
    .home .releases .release-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* === CRT effect (applies to all pages) === */
  .crt-wrap {
    filter: saturate(1.05) contrast(1.02);
  }
  .crt-wrap::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    background:
      repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, rgba(0,0,0,.03) 2px),
      radial-gradient(ellipse at 50% -10%, rgba(255,255,255,.06), transparent 40%),
      radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.35), transparent 60%);
    mix-blend-mode: overlay;
    animation: crt-flicker 7s linear infinite, crt-scan 10s linear infinite;
    opacity: .9;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
  
    /* 1) scanlines  2) slight glare  3) vignette/curvature shading */
    background:
      repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        rgba(0,0,0,0.03) 2px
      ),
      radial-gradient(ellipse at 50% -10%, rgba(255,255,255,0.06), transparent 40%),
      radial-gradient(ellipse at 50% 120%, rgba(0,0,0,0.35), transparent 60%);
  
    mix-blend-mode: overlay;
    animation: crt-flicker 7s linear infinite, crt-scan 10s linear infinite;
    opacity: 0.9;
  }
  
  /* slight RGB bleed on headings/titles */
  h1, h2, .title {
    text-shadow:
      -1px 0 0 rgba(255,0,0,0.12),
       1px 0 0 rgba(0,255,255,0.12),
       0 0 1px rgba(0,0,0,0.25);
  }
  
  /* optional tiny bloom on small text */
  p, .catalog, .artist {
    text-shadow: 0 0 0.5px rgba(255,255,255,0.05);
  }
  
  /* animations */
  @keyframes crt-flicker {
    0%, 100% { opacity: 0.92; }
    5% { opacity: 0.88; }
    50% { opacity: 0.95; }
    55% { opacity: 0.90; }
    70% { opacity: 0.94; }
  }
  
  @keyframes crt-scan {
    0%   { background-position: 0 0, 50% 0, 50% 0; }
    100% { background-position: 0 2px, 50% 0, 50% 0; }
  }

  .release .artist a {
    color: inherit;
    text-decoration: none;
  }
  .release .artist a:hover {
    text-decoration: underline;
  }


/* Top nav */
.site-nav {
    max-width: 1180px;
    margin: 8px auto 0;  
    border-radius: 8px; 
    position: sticky;
    padding-inline: 20px;
    top: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 16px;
    background: rgba(10, 12, 18, 0.6);
    border-bottom: 1px solid rgba(100,150,255,0.15);
    backdrop-filter: blur(6px);
    justify-content: center;  
  }
  
  .site-nav .brand img {
    height: 34px;  /* tweak if needed */
    display: block;
  }
  
  .site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 0;
  }
  
  .site-nav .nav-links a {
    color: var(--text);
    text-decoration: none;
    letter-spacing: .5px;
    padding: 6px 8px;
    border: 1px solid transparent;
    transition: .2s ease;
  }
  
  .site-nav .nav-links a:hover {
    color: var(--accent);
    border-color: rgba(100,150,255,0.25);
    background: rgba(100,150,255,0.08);
  }
  
  .site-nav .nav-links a.active {
    color: var(--accent);
    border-color: rgba(100,150,255,0.35);
    background: rgba(100,150,255,0.12);
  }
  
  /* Mobile */
  .nav-toggle { 
    display: none;
    margin-left: auto;
    font: inherit;
    font-size: 20px;
    color: var(--text);
    background: transparent;
    border: 1px solid rgba(100,150,255,0.25);
    padding: 4px 8px;
    border-radius: 2px;
  }
  @media (max-width: 1240px) {
    .site-nav {
      max-width: none;
      margin: 0;            /* stick to the edges on mobile */
      border-radius: 0;
    }
  }
  /* Featured Artists: 4 per row on home, center last row */
  .home .artists .artist-grid {
    display: grid;
    grid-template-columns: repeat(4, 150px);
    gap: 24px;
    justify-content: center; /* centers the whole grid block */
    justify-items: center;   /* centers items inside each row */
  }
  
  
  .home .artists .artist {
    width: 150px;                       /* ignore old flex-basis */
    flex: none;
  }
  
  /* responsive fallbacks */
  @media (max-width: 1100px) {
    .home .artists .artist-grid { grid-template-columns: repeat(3, 150px); }
  }
  @media (max-width: 800px) {
    .home .artists .artist-grid { grid-template-columns: repeat(2, 150px); }
  }
  @media (max-width: 520px) {
    .home .artists .artist-grid { grid-template-columns: 150px; }
  }

  /* --- Center last row in 4-column featured artist grid on home page --- */

/* 1 item leftover → center it in column 2 */
.home .artists .artist-grid > .artist:nth-last-child(1):nth-child(4n + 1) {
    grid-column: 2;
  }
  
  /* 2 items leftover → place them in columns 2 and 3 */
  .home .artists .artist-grid > .artist:nth-last-child(2):nth-child(4n + 1) {
    grid-column: 2;
  }
  .home .artists .artist-grid > .artist:nth-last-child(2):nth-child(4n + 2) {
    grid-column: 3;
  }
  
  /* 3 leftover → already looks centered enough, no change */

  /* === Audio Player page === */
  .ap-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .ap-controls .ap-btn {
    width: 38px;
    height: 34px;
    line-height: 1;
    padding: 0;
  }

  @media (max-width: 900px) {
    .ap-controls .ap-btn { width: 34px; height: 32px; }
  }


.ap-release-list {
    display: grid;
    gap: 24px;
  }
  
  .ap-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    background: rgba(20,20,30,0.45);
    border: 1px solid rgba(100,150,255,0.12);
    border-radius: 2px;
    padding: 14px;
  }
  
  .ap-left .ap-cover {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid rgba(100,150,255,0.2);
  }
  
  .ap-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 4px;
  }
  
  .ap-meta-line {
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  .ap-meta-line .ap-dot { margin: 0 8px; opacity: .6; }
  
  .ap-tracks {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
  }
  .ap-track {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
  }
  .ap-track .ap-track-title { color: var(--text); }
  .ap-track.ap-empty { color: var(--text-secondary); }
  
  .ap-play {
    padding: 6px 10px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: rgba(100,150,255,0.12);
    border-radius: 2px;
    cursor: pointer;
  }
  .ap-play:hover { background: rgba(100,150,255,0.22); }
  
  /* Bottom mini player */
  .ap-nowbar {
    position: fixed;  /* this makes it float instead of staying in document flow */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;    /* make sure it stays above all other elements */
    background: rgba(10, 12, 18, 0.9);
    border-top: 1px solid rgba(100, 150, 255, 0.25);
    backdrop-filter: blur(6px);
  }
  
  .ap-nowbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 54px 1fr auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
  }
  
  .ap-nowbar img {
    width: 54px; height: 54px; object-fit: cover;
    border: 1px solid rgba(100,150,255,0.2);
  }
  
  .ap-meta .ap-title { font-size: 1rem; color: #fff; line-height: 1.2; }
  .ap-meta .ap-sub   { font-size: .9rem; color: var(--text-secondary); }
  
  .ap-btn {
    width: 44px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(100,150,255,0.35);
    background: rgba(100,150,255,0.12);
    color: var(--text);
    border-radius: 2px; cursor: pointer;
  }
  .ap-btn:hover { background: rgba(100,150,255,0.22); }
  
  .ap-progress {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
  }
  .ap-progress input[type="range"] {
    width: 100%;
    accent-color: #6af;
  }
  
  .ap-vol {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text-secondary);
  }
  .ap-vol input[type="range"] { width: 120px; accent-color: #6af; }
  
  /* Responsive */
  @media (max-width: 900px) {
    .ap-card { grid-template-columns: 110px 1fr; }
  }
  @media (max-width: 720px) {
    .ap-nowbar-inner {
      grid-template-columns: 44px 1fr auto;
      grid-template-areas:
        "c meta play"
        "ctrl ctrl ctrl"
        "prog prog prog"
        "vol  vol  vol";
      row-gap: 6px;
    }
    .ap-nowbar img  { grid-area: c; }
    .ap-meta        { grid-area: meta; }
    .ap-controls    { grid-area: ctrl; justify-content: center; }
    .ap-progress    { grid-area: prog; }
    .ap-vol         { grid-area: vol; }
  }

  :root { --nowbar-h: 84px; }          /* total bar height */

.ap-nowbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--nowbar-h);           /* explicit height for padding calc */
  z-index: 10020;                    /* above everything */
  background: rgba(10,12,18,0.9);
  border-top: 1px solid rgba(100,150,255,0.25);
  backdrop-filter: blur(6px);

  /* slide-in */
  transform: translateY(100%);
  transition: transform .25s ease;
}
.ap-nowbar.is-open { transform: translateY(0); }

/* when the bar is open, push page content up so nothing is hidden */
.player-page.has-nowbar {
  padding-bottom: calc(var(--nowbar-h) + 12px);
}

/* --- Force the audio bar to float on the viewport --- */
:root { --nowbar-h: 84px; }

body.player-page .ap-nowbar {
  position: fixed !important;  /* beat any earlier rule */
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: var(--nowbar-h);
  z-index: 10020 !important;   /* above everything */
  background: rgba(10,12,18,0.9);
  border-top: 1px solid rgba(100,150,255,0.25);
  backdrop-filter: blur(6px);
  transform: translateY(100%);
  transition: transform .25s ease;
}

body.player-page .ap-nowbar.is-open { transform: translateY(0); }

/* give the page room while the bar is visible so content isn't covered */
body.player-page.has-nowbar {
  padding-bottom: calc(var(--nowbar-h) + 12px);
}

.player-page { filter: none !important; }

  
/* Make the mini-player sit above ALL overlays and not blend with them */
:root { --nowbar-h: 84px; }

.player-page .ap-nowbar {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: var(--nowbar-h);
  z-index: 2147483647;     /* absolutely on top */
  isolation: isolate;      /* prevent any ancestor blending/filters */
  background: rgba(10,12,18,0.95);  /* solid-ish backdrop so UI is visible */
  border-top: 1px solid rgba(100,150,255,0.25);
  backdrop-filter: blur(6px);
  transform: translateY(100%);
  transition: transform .25s ease;
}

.player-page .ap-nowbar.is-open { transform: translateY(0); }

/* Make sure text is actually visible */
.player-page .ap-nowbar, 
.player-page .ap-nowbar * {
  color: #e8efff !important;
  mix-blend-mode: normal !important;
}

/* Give the page space while the bar is open so content isn't covered */
.player-page.has-nowbar {
  padding-bottom: calc(var(--nowbar-h) + 12px) !important;
}
/* If your CRT overlay uses body::before, disable it only on the player page */
.player-page::before { display: none !important; }   /* <-- if you still can't see text, keep this */

  
/* Player page must not inherit global CRT filter/overlay */
.player-page { filter: none !important; }
.player-page::before { display: none !important; }   /* hides the scanline/glare layer */

.ap-btn[aria-pressed="true"] { opacity: .9; outline: 1px solid rgba(255,255,255,.25); }
.ap-btn[data-mode="2"]::after { content: "1"; font-size: .7em; margin-left: .15rem; } /* repeat-one badge */

/* Add to style.css */
.ap-release-list {
  margin-top: 30px;
}

.ap-card {
  background: rgba(20, 20, 30, 0.4);
  border: 1px solid rgba(100, 150, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 25px;
}

.ap-left {
  float: left;
  width: 140px;
  margin-right: 20px;
}

.ap-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid rgba(100, 150, 255, 0.2);
}

.ap-right {
  overflow: hidden;
}

.ap-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
}

.ap-meta-line {
  color: #aaa;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.ap-dot {
  display: inline-block;
  margin: 0 8px;
  opacity: 0.6;
}

.ap-tracks {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.ap-track {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ap-track:last-child {
  border-bottom: none;
}

.ap-track-num {
  color: #aaa;
  width: 30px;
  font-size: 0.9rem;
}

.ap-track-title {
  flex-grow: 1;
  color: #e0e0e0;
}

.ap-play {
  background: rgba(100, 150, 255, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 3px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.ap-play:hover {
  background: rgba(100, 150, 255, 0.2);
}

.error-state {
  color: #ff6b6b;
  padding: 30px;
  text-align: center;
  font-size: 1.1rem;
}

/* Add these styles to your existing CSS */

/* Ensure the player slides up */
.ap-nowbar.is-open {
  transform: translateY(0) !important;
}

/* Add padding to body when player is visible */
body.player-page.has-nowbar {
  padding-bottom: 100px !important;
}

/* Mini-player styling */
.ap-nowbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(10, 12, 18, 0.9);
  border-top: 1px solid rgba(100, 150, 255, 0.25);
  backdrop-filter: blur(6px);
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ap-nowbar-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.ap-nowbar img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid rgba(100, 150, 255, 0.2);
}

.ap-meta {
  flex-grow: 1;
}

.ap-title {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 5px;
}

.ap-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ap-controls {
  display: flex;
  gap: 10px;
}

.ap-btn {
  background: rgba(100, 150, 255, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ap-btn:hover {
  background: rgba(100, 150, 255, 0.2);
}

.ap-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.ap-progress input[type="range"] {
  flex-grow: 1;
  accent-color: var(--accent);
}

.ap-vol {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.ap-vol input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

/* --- Mini-player: prevent bottom clipping --- */
:root { --nowbar-h: 84px; } /* keep your baseline */

.player-page .ap-nowbar{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  /* allow it to grow */
  height: auto !important;
  min-height: var(--nowbar-h);

  /* space for iOS home indicator + some breathing room */
  padding: 10px 14px max(12px, env(safe-area-inset-bottom));
  z-index: 2147483647; /* stay above overlays */
  transform: translateY(0); /* shown state */
}

/* push the page up so nothing is hidden behind the bar */
.player-page.has-nowbar{
  padding-bottom: calc(var(--nowbar-h) + env(safe-area-inset-bottom) + 12px) !important;
}

/* Coming Soon badge */
.coming-soon {
  display: inline-block;
  padding: 6px 10px;
  border: 1px dashed var(--accent);
  color: var(--accent);
  letter-spacing: .08em;
  font-size: .9rem;
  opacity: .9;
  border-radius: 2px;
}

/* Center-snap carousel for artist pages */
#artist-releases,
.release-scroll{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;   /* keep start to avoid the left cut-off */
  /* make first/last items able to center */
  scroll-padding-left: 50%;
  scroll-padding-right: 50%;
}

#artist-releases .release,
.release-scroll .release{
  scroll-snap-align: center;     /* the focused card sits centered */
}

/* --- Promo modal --- */
/* --- Promo modal --- */
.promo-modal{
  position: fixed; inset: 0; display: grid; place-items: center; z-index: 9999;
  visibility: hidden; opacity: 0; transition: opacity .22s ease, visibility .22s ease;
}
.promo-modal.is-open{ visibility: visible; opacity: 1; }

.promo-backdrop{ position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }

.promo-content{
  position: relative; width: min(960px, 94vw); max-height: 90vh; overflow: hidden;
  background: rgba(10,12,18,.97);
  border: 1px solid rgba(120,140,255,.25); border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.55);
  transform: translateY(8px) scale(.985);
  transition: transform .22s ease;
}
.promo-modal.is-open .promo-content{ transform: translateY(0) scale(1); }

.promo-header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid rgba(120,140,255,.18);
}
.promo-title{
  margin: 0; font-size: 1rem; letter-spacing: .04em; color: #cbd5ff;
}
.promo-title strong{ color: #97a7ff; font-weight: 600; }
.promo-title em{ font-style: normal; opacity: .85; }

.promo-close{
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; color: #e4e8ff; border: 1px solid rgba(120,140,255,.4);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.promo-close:hover{ background: rgba(120,140,255,.12); }

.promo-body{ padding: 12px; }
#promo-video{
  width: 100%; height: auto; display: block; border-radius: 10px;
  background: #0a0c12; aspect-ratio: 16/9;   /* good fallback with no poster */
}

/* Optional skeleton loader if you add .promo-skel in HTML */
.promo-body{ position: relative; }
.promo-skel{
  position: absolute; inset: 12px; border-radius: 10px;
  background: linear-gradient(90deg,#0a0c12 0%,#111525 50%,#0a0c12 100%);
  background-size: 200% 100%; animation: promoShimmer 1.2s linear infinite;
}
@keyframes promoShimmer{ to { background-position: -200% 0; } }

body.no-scroll{ overflow: hidden; }



  
          
          


          
