@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&display=swap');

body {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background-color: #0a0a0a;
  color: #eee;
  scroll-behavior: smooth;
  overflow-x: hidden; 
}

/* Animated background */
#particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0a0a0a;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 100;
  border-bottom: 1px solid #111;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.nav-logo {
  height: 55px; 
  flex-shrink: 0;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex: 1;
}

.navbar a {
  text-decoration: none;
  color: #eee;
  font-weight: 500;
  font-size: 1.05rem; 
  transition: 0.3s;
}

.navbar a:hover {
  color: #1db954; 
}

/* Sections */
.section {
  min-height: auto;
  padding: 90px 20px 60px;
  text-align: center;
}

.dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #0f0f0f, #000 70%);
  animation: darkFlow 25s ease-in-out infinite alternate;
}

@keyframes backgroundMove {
  0% {
    background: radial-gradient(circle at 20% 20%, #101010, #000 75%);
  }
  25% {
    background: radial-gradient(circle at 80% 30%, #0d0d0d, #000 70%);
  }
  50% {
    background: radial-gradient(circle at 60% 80%, #0b0b0b, #000 65%);
  }
  75% {
    background: radial-gradient(circle at 30% 70%, #131313, #000 70%);
  }
  100% {
    background: radial-gradient(circle at 50% 50%, #101010, #000 75%);
  }
}

.section h2 {
  color: #1db954;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  
}

@media (min-width: 1024px) {
  .section h2 {
    font-size: 2.5rem;   
  }
}

.section p {
  max-width: 700px;
  margin: 0 auto 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: #1db954;
  color: #000;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.btn:hover {
  background: #17a447;
}

/* Updates */
.album-cover {
  width: 250px;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Events */
.next-event {
  text-align: center;
  margin-bottom: 40px;
}

.next-event img {
  width: 320px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.next-event img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
  cursor: pointer;
}

.next-event .event-info {
  margin-top: 10px;
}

.next-event h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #1db954; 
}

.next-event p {
  font-size: 1rem;
  color: #ccc;
}

/* Lightbox for next event */
#eventLightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

#eventLightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(29, 185, 84, 0.5);
  animation: zoomIn 0.4s ease;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Past Events */
.past-title {
  text-align: center;
  margin: 20px 0 10px;
  font-size: 1.3rem;
  color: #1db954;
}

.past-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.past-events img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.past-events img:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Botón "View All Events" */
.center-btn {
  display: flex ;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}

#showMoreBtn {
background: #1db954;
  border: none;
  color: #000;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

#showMoreBtn:hover {
  background: #18a44b;
}

#showMoreGalleryBtn {
background: #1db954;
  border: none;
  color: #000;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

#showMoreGalleryBtn:hover {
  background: #18a44b;
}

/* Modal general */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 900;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
  overflow: auto;
  scroll-behavior: smooth;
}

.modal-content {
  background: transparent;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 2rem;
  color: #1db954;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: #fff;
}


/* Modal con todos los eventos */
.all-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  max-width: 900px;
}

.all-events img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.2s;
}

.all-events img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Fondo modal  */
#allEventsModal.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Responsive */
@media (max-width: 768px) {
  .next-event img {
    width: 240px;
  }
  .past-events {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* Band */
.band-photo {
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  margin: 20px 0;
}

.members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.member {
  background: #222;
  padding: 10px 15px;
  border-radius: 6px;
  color: #eee;
  text-decoration: none;
  transition: 0.3s;
}

.member:hover {
  background: #1db954;
  color: #000;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  justify-content: center;
  max-width: 600px;        
  margin: 25px auto 0 auto; 
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;     
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Full gallery modal */
.all-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: auto;
}

.all-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.all-gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(29, 185, 84, 0.5);
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery {
    max-width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* Discography */
.albums {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.albums img {
  width: 160px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.albums img:hover {
  transform: scale(1.05);
}

.albums-scroll {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #1db954 #111;

  /*importante: que use todo el ancho disponible */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  /*margen interno para que el primer y último álbum no se corten */
  padding: 20px 40px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
}

/* Mobile: scroll horizontal */
@media (max-width: 900px) {
  .albums-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 10px; 
    padding-right: 10px; 
  }
.album-card {
    scroll-snap-align: center;
  }
}

.albums-scroll::before,
.albums-scroll::after {
  content: "";
  flex: 0 0 1px;
}

.albums-scroll::-webkit-scrollbar {
  height: 6px;
}
.albums-scroll::-webkit-scrollbar-thumb {
  background: #1db954;
  border-radius: 10px;
}

.album-card {
background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 230px;
  flex-shrink: 0;
  text-align: center;
  padding-bottom: 10px;
  scroll-snap-align: start;
}

.album-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(29,185,84,0.6);
}

.album-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.album-img img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.album-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.2);
}

.recording-info {
  font-size: 0.75rem;
  color: #888;
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}

@media (max-width: 768px) {
  .album-card {
    width: 200px;
    padding-bottom: 8px;
  }

  .album-text h3 {
    font-size: 0.9rem;
  }

  .album-text p {
    font-size: 0.75rem;
  }

  .recording-info {
    font-size: 0.7rem;
  }
}

#discography {
  overflow: visible;
}

/* Spotify overlay */
.overlay {
  display:none;
}

.overlay img {
  width: 40px;
  height: 40px;
  filter: invert(1);
}

.album-card:hover .overlay {
  opacity: 1;
}

.album-text {
  margin-top: 10px;
  color: #ddd;
}

.album-text h3 {
  color: #1db954;
  font-size: 1rem;
  margin-bottom: 6px;
}

.album-text h3 span {
  color: #aaa;
  font-weight: normal;
}

.album-text p {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 768px) {
  .albums-scroll {
    gap: 15px;
  }

  .album-card {
    width: 180px;
  }

  .album-text h3 {
    font-size: 0.9rem;
  }

  .album-text p {
    font-size: 0.75rem;
  }
}

/* Merch */
.merch-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.merch-item {
  background: #111;
  padding: 35px;
  border-radius: 10px;
  width: 300px;
}

.merch-item img {
  width: 100%;
  border-radius: 8px;
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-form input, 
.contact-form textarea {
  width: 90%;
  max-width: 400px;
  padding: 10px;
  border: none;
  border-radius: 6px;
}

.contact-form button {
  cursor: pointer;
}

.section a[href^="mailto:"] {
  color: #fff; /* correo visible */
  font-weight: 500;
  text-decoration: none;
  font-style: italic;
  font-size: large;
}
.section a[href^="mailto:"]:hover {
  color: #1db954;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0 10px;
  background: transparent;
  position: relative;
  color: #ccc;
  z-index: 1;
}

/* Redes (Footer) */
.footer .socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;              
  margin-bottom: 12px;
}

.footer .socials a {
  width: 80px;            
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0d0d0d;       
  transition: background 0.3s ease;
}

.footer .socials a:hover {
  background: #444;       
}

.footer .socials img {
  width: 130%;            
  height: 120%;
  object-fit: contain;
  transition: transform 0.3s;
}

.footer .socials a:hover img {
  transform: scale(1.05); 
}

.footer #contador {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
  display: none !important; 
  display: block;
}

.footer .version {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 5px;
}

/* Biography section */
.biography {
  margin-top: 80px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  text-align: justify;
  line-height: 1.8;
  font-size: 1rem;
  color: #ddd;
  position: relative;
  overflow: hidden;
}

/* Title styling */
.biography h2 {
  color: #1db954;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

/* Green underline animation */
.biography h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  background-color: #1db954;
  transform: translateX(-50%);
  animation: underlineGrow 1.2s ease forwards 0.8s;
  border-radius: 2px;
}

/* Paragraph fade animation */
.bio-content p {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.8s ease forwards;
}

.bio-content p:nth-child(1) { animation-delay: 0.5s; }
.bio-content p:nth-child(2) { animation-delay: 0.8s; }
.bio-content p:nth-child(3) { animation-delay: 1.1s; }
.bio-content p:nth-child(4) { animation-delay: 1.4s; }

/* Subtle first-line indent */
.bio-content p {
  text-indent: 20px;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 60px; }
}

/* Responsive */
@media (max-width: 768px) {
  .biography {
    font-size: 0.9rem;
    padding: 10px;
  }

  .biography h2 {
    font-size: 1.6rem;
  }

  .bio-content p {
    text-indent: 10px;
  }
}

/* Fade-up animation for sections */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar ul {
    gap: 12px;
  }

  .navbar a {
    font-size: 1rem;
  }

  .section {
    padding-top: 100px;
  }
}

/* --- MOBILE FIXES: horizontal scroll + better lightbox layout --- */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 90vh;
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .all-events,
  .all-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
  }

  .all-events img,
  .all-gallery img {
    flex: 0 0 auto;
    width: 80vw;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* Lightbox images (responsive & centered) */
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(29, 185, 84, 0.5);
  object-fit: contain;
  animation: zoomIn 0.4s ease;
}

/* Discography horizontal scroll improvements */
.albums-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
}

.album-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

/* --- Custom green scrollbar theme with glow animation --- */
.all-events::-webkit-scrollbar,
.all-gallery::-webkit-scrollbar,
.albums-scroll::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.all-events::-webkit-scrollbar-thumb,
.all-gallery::-webkit-scrollbar-thumb,
.albums-scroll::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
  background: #1db954;
  border-radius: 10px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 6px rgba(29, 185, 84, 0.2); 
}

.all-events::-webkit-scrollbar-thumb:hover,
.all-gallery::-webkit-scrollbar-thumb:hover,
.albums-scroll::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #1ed760; /* brighter green */
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.6);
}

/* Animate scrollbar glow when scrolling */
@keyframes glowPulse {
  0% { box-shadow: 0 0 6px rgba(29, 185, 84, 0.2); }
  50% { box-shadow: 0 0 14px rgba(29, 185, 84, 0.6); }
  100% { box-shadow: 0 0 6px rgba(29, 185, 84, 0.2); }
}

.all-events::-webkit-scrollbar-thumb:active,
.all-gallery::-webkit-scrollbar-thumb:active,
.albums-scroll::-webkit-scrollbar-thumb:active,
.modal-content::-webkit-scrollbar-thumb:active {
  animation: glowPulse 0.8s ease-in-out infinite;
}

/* Firefox compatibility */
.all-events,
.all-gallery,
.albums-scroll,
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #1db954 rgba(255, 255, 255, 0.05);
}

/* --- Fix: Discography horizontal scroll max-width --- */
@media (min-width: 1025px) {
  .albums-scroll {
    justify-content: center;    
    overflow-x: visible;         
    padding: 20px 0;             
    max-width: 1200px;         
    margin: 0 auto;       
  }
}

@media (max-width: 1024px) {
  .albums-scroll {
    justify-content: flex-start; 
    overflow-x: auto;
    padding: 20px 40px;  
  }
}

/* --- Merch Section Scrollable Style --- */

/* Subtitle under Merch title */
/* Unified Merch subtitles style */
.merch-subtitle {
  text-align: center;
  color: #ccc;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

#merch {
  background: radial-gradient(circle at 30% 40%, #0f0f0f, #000 80%);
  padding: 100px 20px 80px;
  overflow: hidden;
}

#merch h2 {
  color: #1db954;
  font-size: 2.2rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* Top section */
.merch-top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  overflow: hidden; /* prevent scrollbars */
}

/* Bottom scroll (albums) */
.merch-scroll {
 display: flex;
  gap: 25px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;  /* inertia on iOS */
  scrollbar-width: thin;
  scrollbar-color: #1db954 #111;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  /* internal padding so first/last don't get clipped */
  padding: 20px 40px;

  /* remove if you truly want no snap; keep to match discography */
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

/* invisible buffers on both ends (prevents cutting) */
.merch-scroll::before,
.merch-scroll::after {
  content: "";
  flex: 0 0 20px;
}

/* Match scrollbar to Discography */
.merch-scroll::-webkit-scrollbar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.merch-scroll::-webkit-scrollbar-thumb {
  background: #1db954;
  border-radius: 10px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 6px rgba(29, 185, 84, 0.2);
}

.merch-scroll::-webkit-scrollbar-thumb:hover {
  background: #1ed760;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.6);
}

.merch-scroll::-webkit-scrollbar-thumb:active {
  animation: glowPulse 0.8s ease-in-out infinite;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 6px rgba(29, 185, 84, 0.2); }
  50% { box-shadow: 0 0 14px rgba(29, 185, 84, 0.6); }
  100% { box-shadow: 0 0 6px rgba(29, 185, 84, 0.2); }
}

.merch-scroll {
  scrollbar-width: thin;
  scrollbar-color: #1db954 rgba(255, 255, 255, 0.05);
}

/* Cards */
.merch-card {
  flex: 0 0 auto;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 230px;
  text-align: center;
  scroll-snap-align: center;
  padding-bottom: 10px;
}

.merch-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(29,185,84,0.6);
  z-index: 2; /* avoids clipping */
}

.merch-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.merch-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.2);
}

.merch-card p {
  margin: 10px;
  color: #eee;
  font-size: 0.85rem;
  line-height: 1.4;
}

.merch-card strong {
  color: #1db954;
}

.merch-card .btn {
  display: inline-block;
  margin-top: 5px;
  padding: 7px 20px;
  border-radius: 25px;
  font-weight: 600;
  background: #1db954;
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.merch-card .btn:hover {
  background: #19a84a;
  transform: scale(1.05);
}

/* Large screens: two rows, no horizontal scroll */
@media (min-width: 1025px) {
  .merch-scroll {
    justify-content: center;
    overflow-x: visible;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Mobile: horizontal scroll for both sections */
@media (max-width: 1024px) {
  .merch-top {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .merch-card {
    width: 200px;
    flex-shrink: 0;
  }

  .merch-card img {
    height: 190px;
  }
}

/* --- Merch refinements --- */
/* Fix: remove unwanted scrollbars in merch-top */
.merch-top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  overflow: hidden; /* prevent scrollbars */
}

/* On mobile: allow smooth horizontal scroll only if needed */
@media (max-width: 1024px) {
  .merch-top {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden; 
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .merch-card {
    scroll-snap-align: center;
  }

  .merch-top::-webkit-scrollbar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .merch-top::-webkit-scrollbar-thumb {
    background: #1db954;
    border-radius: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 6px rgba(29, 185, 84, 0.2);
  }

  .merch-top::-webkit-scrollbar-thumb:hover {
    background: #1ed760;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.6);
  }
}

/* Fix: image stays still, only card scales */
.merch-card:hover img {
  transform: none;
  filter: brightness(1.1);
}

/* --- Hover clipping fixes for Merch --- */

/* 1 Top section cards (Cosmopack + Shirt) */
.merch-top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
  overflow: visible; 
  padding: 20px 0; 
}

/* even in mobile scroll mode, the hover doesn’t clip */
@media (max-width: 1024px) {
  .merch-top {
  flex-wrap: wrap;      
    overflow: visible;     
    padding: 20px 0;
  }

/* hide any accidental scrollbar in WebKit */
  .merch-top::-webkit-scrollbar {
    display: none;
  }
}

/* 2 Album scroll row */
.merch-scroll {
  overflow-x: auto;
  overflow-y: visible; 
  padding: 20px 40px; 
}

/* invisible spacers so first and last card don't get cut */
.merch-scroll::before,
.merch-scroll::after {
  content: "";
  flex: 0 0 10px; /* adds a small buffer */
}

/* scaled cards appear fully above others */
.merch-card:hover {
  position: relative;
  z-index: 5;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(29,185,84,0.6);
}

/* Slightly tone down hover to avoid overlapping too much */
@media (max-width: 768px) {
  .merch-card:hover {
    transform: scale(1.03);
  }
}

/* --- Disabled button --- */
.btn.disabled {
  background-color: #2f2f2f;      
  color: #ffffff;                
  cursor: not-allowed;
  opacity: 1;                     
  text-decoration: none;
  border: 1px solid #1db954;      
  font-weight: 500;               
  letter-spacing: 0.5px;          
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.disabled:hover {
  transform: scale(1.02);  
  box-shadow: 0 0 8px rgba(29, 185, 84, 0.4);
}
