body {
    margin: 0; height: 100vh; background: #000; color: #eee;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
    user-select: none; touch-action: manipulation;
  }.
  
nav { background:#1c1c1c; padding:1rem 0; }
nav ul { list-style:none; text-align:center; }
nav ul li { display:inline; margin:0 0.6rem;}
nav ul li a { color:#fff; text-decoration:none; text-transform: uppercase; font-size:0.8rem; }
nav ul li a:hover { color:#b2202a; }  
  
  h1 { margin: 0; padding: 0; font-size: 1.3em; color: #eee; }
  h2 { margin: 0; padding: 0; font-size: 1.2em;}
  h3 { margin: 0 auto; font-size: 1em; text-align: center;}
  
  a.bottomnav {color: #ccc; font-weight: normal; font-size: 1em; text-transform: none; text-decoration: none;}
  a.pbottom {color: #27d; font-weight: normal; text-decoration: underline;}
  a.pbottom:hover {font-weight: bold;}
  
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;  /* Forces exactly 3 equal columns */
    gap: 20px;                           /* Space between items; adjust as needed */
    justify-items: center;               /* Centers each item within its column */
    max-width: 1200px;                   /* Optional: Limit total width for larger screens */
    margin: 0 auto;                      /* Centers the entire grid on the page */
    padding: 20px;                       /* Optional symmetric padding */
}

.product {
    width: 100%;                         /* Ensures item fills its grid cell */
    text-align: center;                  /* Centers image/text inside the item */
	 border-radius:25px;
}

.product img {
    max-width: 100%;                     /* Makes images responsive within their column */
    height: auto;
    display: block;
    margin: 0 auto;                      /* Extra centering for the image itself */
}

.product:hover { transform:translateY(-8px); }

.product h3 { padding:0.5rem; font-size:1rem; min-height:20px; }


  .controls {
    display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  }

  /* Text button (Track 1) */
  .text-btn {
    padding: 10px; font-size: 12px; background: transparent;
    color: #ccc; border: 2px solid #ccc; border-radius: 14px;
    cursor: pointer; box-shadow: 0 0 25px #aaa; transition: all 0.3s;
  }
  .text-btn:hover, .text-btn.active { background: #ccc; color: #000; transform: scale(1.02); }

  /* Image1 buttons */
  .img-btn {
    width: 100px; height: 169px;
    background-size: cover; background-position: center;
    cursor: pointer;
    transition: all 0.35s ease;
  }
  .img-btn:hover { transform: scale(1.02); }

  /* Active = lit image + glowing border */
  .img-btn.active {
    transform: scale(1.10);
  }
  
  
    /* Image2 buttons */
  .img2-btn {
    width: 135px; height: 169px;
    background-size: cover; background-position: center;
    cursor: pointer;
    transition: all 0.35s ease;
  }
  .img2-btn:hover { transform: scale(1.02); }

  /* Active = lit image + glowing border */
  .img2-btn.active {
    transform: scale(1.10);
  }
  
  

  .volume-control {color: #ccc;
    display: flex; align-items: center; gap: 15px; padding: 15px 30px;
    background: #111; border: 2px solid #ccc; border-radius: 15px;
    box-shadow: 0 0 25px rgba(255,255,255,0.3);
  }
  label { font-size: 12px; }
  input[type="range"] {
    -webkit-appearance: none; width: 160px; height: 8px;
    background: #333; border-radius: 4px;
    background: linear-gradient(to right, #aaa 0%, #aaa var(--value,100%), #333 var(--value,100%), #333 100%);
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px;
    background: #aaa; border-radius: 50%; box-shadow: 0 0 25px #aaa;
  }
  #volumeValue { min-width: 50px; font-size: 18px; }
  .status { font-size: 24px; opacity: 0.9; text-align: center; font-style: italic; letter-spacing: 0px;}
  
  .footer a {color: #ccc;}
  
  /* Recording Details Popup – Tonehall style */
.recording-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}
.recording-popup:target {
    display: flex;
}
.recording-content {
    background: #111;
    border: 2px solid #aaa;
    padding: 30px 40px;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 30px rgba(175,50,50,0.4);
    color: #eee;
    font-family: 'Courier New', monospace;
}
.recording-content h3 {
    margin-top: 0;
	font-size: 1.2em;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 8px rgba(50,50,175,0.6);
}
.close-popup {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 32px;
    color: #b2202a;
    text-decoration: none;
    font-weight: bold;
}
.close-popup:hover { color: #fff; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }