* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-image: url('../images/pean_logistics.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.countdown-wrapper {
  background-color: rgba(94, 83, 83, 0.6);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #e3f2fd, #bbdefb, #90caf9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.time-block {
  min-width: 120px;
}

.time {
  font-size: 3.5rem;
  font-weight: 700;
  color: #bbdefb;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.label {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 400;
}

input[type="email"] {
  padding: 15px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  width: 300px;
  outline: none;
}

input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

button {
  padding: 15px 30px;
  background: linear-gradient(45deg, #42a5f5, #1976d2);
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #1976d2, #0d47a1);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .time {
    font-size: 2.5rem;
    padding: 15px;
    min-width: 80px;
  }
  
  .time-block {
    min-width: 90px;
  }
}

/* Updated Music Player Styles */
.music-player-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.music-player {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 500px;
  width: 100%;
}

.play-button {
  background: linear-gradient(45deg, #42a5f5, #1976d2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.play-button:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #1976d2, #0d47a1);
}

.volume-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-grow: 1;
}

.mute-button {
  color: #bbdefb;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 5px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.mute-button:hover {
  color: #e3f2fd;
  transform: translateY(0);
  box-shadow: none;
}

.volume-controls input[type="range"] {
  width: 100%;
  accent-color: #bbdefb;
}

.player-label {
  color: #bbdefb;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.music-note {
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.status-text {
  color: rgba(187, 222, 251, 0.8);
  font-size: 10px;
  font-weight: 400;
  text-align: center;
}

/* Now Playing Text Styles */
.now-playing-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-top: 15px;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes songChange {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.9; }
}

.song-change {
  animation: songChange 1s ease-in-out;
}

/* External Music Service Buttons */
.external-service-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.spotify-button {
  background: #1DB954;
}

.youtube-button {
  background: #FF0000;
}

.service-button:hover {
  transform: scale(1.1);
}

.service-button i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .music-player {
    flex-direction: column;
    padding: 1.2rem;
    gap: 0.8rem;
    max-width: 90%;
  }
  
  .volume-controls {
    width: 100%;
    justify-content: center;
  }
  
  .now-playing-text {
    max-width: 90%;
    font-size: 0.9rem;
  }
  
  .external-service-buttons {
    margin-top: 10px;
  }
  
  .service-button {
    width: 35px;
    height: 35px;
  }
}