:root {
  --impossible-color: #000000;
  --possible-color: #ff3333;
  --text-secondary: #444;
  --pastel-blue: #e3f2fd;
  --pastel-purple: #f3e5f5;
  --pastel-blue-btn: #b3d2e9;
  --pastel-purple-btn: #e0afe7;
  --text-primary: #2d3748;
  --soft-gray: #f8f9fa;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-purple));
  color: #222;
  overflow-x: hidden;
  min-height: 100vh;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  flex-direction: column;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 120%;
  background-image: url("/assets/img/radio-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.impossible-text {
  color: var(--impossible-color) !important;
  font-weight: bold;
  text-shadow: none !important;
}

.possible-text {
  color: var(--possible-color) !important;
  font-weight: bold;
  text-shadow: none !important;
}

.lead {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.audio-player-container {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.play-button {
  background: #111;
  border: none;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.play-button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.play-button:active {
  transform: translateY(0);
}

#playIcon {
  font-size: 1.8rem;
  margin-left: 2px;
}

#timeDisplay {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.seek-bar-container {
  width: 320px;
  max-width: 90vw;
  height: 16px;
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  user-select: none;
}

.seek-bar {
  width: 100%;
  height: 8px;
  background: #ccc;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 10;
}

.seek-progress {
  height: 100%;
  background: #1da2c4;
  border-radius: 4px 0 0 4px;
  width: 0%;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.event-info {
  max-width: 480px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-left: 5px solid var(--possible-color);
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  position: relative;
}

.event-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='dots' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='10' cy='10' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23dots)'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
  border-radius: inherit;
}

.event-info > * {
  position: relative;
  z-index: 1;
}

.event-info h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--possible-color);
  font-weight: 700;
}

.event-info-details {
  margin: 0.5rem 0;
  line-height: 1.6;
  text-align: left !important;
}

.event-info-details p {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
}

.event-info-details p:last-child {
  border-bottom: none;
}

.comic-section {
  margin-top: 2rem;
  text-align: center;
}

.merged-visual {
  display: block;
  max-width: 480px;
  width: 90%;
  margin: 2rem auto;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.merged-visual:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    padding: 1rem;
  }
  .event-info {
    margin: 1rem;
    padding: 1rem 1.5rem;
  }
  .merged-visual {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .lead {
    font-size: 1rem;
  }
  .seek-bar-container {
    width: 98vw;
    min-width: 0;
  }
}