html, body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

body {
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.container {
  position: relative;
  min-height: calc(100vh - 200px);
  margin-bottom: 200px;
  overflow: visible;
  z-index: 2;
  background: transparent;
}

.cosmic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #000000;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.main-image {
  position: relative;
  z-index: 2;
  width: calc(100% - 20px);
  height: auto;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  background: transparent;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.logo-button-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.logo {
  margin-bottom: 10px;
  display: block;
  cursor: pointer;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  z-index: 20;
  opacity: 0;
  transition: all 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.modal.open {
  width: 80%;
  height: 80%;
  opacity: 1;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: 30;
}

.close-button {
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 14px;
  margin-top: 10px;
}

.footer {
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  height: 60px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
  position: fixed;
  bottom: 100px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  padding: 10px;
  z-index: 998;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.poster-container {
  position: relative;
  margin: 2rem auto;
  width: min(90%, 1200px);
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.poster-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 80%
  );
  filter: blur(50px);
  animation: glow 4s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.poster {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.9), /* Intense inner glow */
              0 0 12px rgba(255, 215, 0, 0.7); /* Subtle outer glow */
  z-index: 2;
}

.poster img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  border: 3px solid rgba(255, 215, 0, 0.8);
}

.track-name-background {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 8vw;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: scrollText 20s linear infinite;
}

.image-container {
  border: 3px solid rgba(255, 215, 0, 0.8);
  border-radius: 10px;
  width: 90%; /* Adjust for mobile */
  max-width: 50vh;
  margin: 0 auto;
  box-sizing: border-box;
}

.background-container {
  width: 100%;
  min-height: 100vh;
  padding: 0.5rem 0;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}


    .event-schedule-section {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 20px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 10px;
        border: 1px solid #ffd700;
        color: #ffffff;
    }

    #countdown {
        margin-bottom: 2rem;
    }

    .countdown-display {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 1rem;
    }

    @media (max-width: 768px) {
        .event-schedule-section {
            margin: 1rem;
            padding: 1rem;
        }
        
        .countdown-display {
            gap: 1rem;
        }
    }


@keyframes glow {
  from {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.main-content {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000000;
}

#cosmic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .poster-container {
    margin: 1rem auto;
    width: 95%;
  }

  .footer-tagline {
    bottom: 80px;
    font-size: 0.8rem;
  }

  .image-container {
    width: 95%;
    margin-top: 20px;
  }
}

/* Landscape Mode */
@media (orientation: landscape) and (max-height: 600px) {
  .main-content {
    min-height: 150vh;
    padding-bottom: 150px;
  }

  .poster-container {
    margin-top: 2rem;
    width: min(80%, 1000px);
  }

  .footer-tagline {
    position: absolute;
    bottom: 120px;
  }
}

/* High Resolution Screens */
@media (min-width: 1920px) {
  .poster-container {
    width: min(70%, 1400px);
  }
}
