:root {
  --primary-color: #e75243;
  --secondary-color: #6f7fb1;
  --background: #000;
  --text-colour: #fff;
}

@font-face {
  font-family: "Helvetica Com";
  src:
    url("/assets/Helvetica Com Black Condensed.woff2") format("woff2"),
    url("/assets/Helvetica Com Black Condensed.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Com";
  src:
    url("/assets/Helvetica Com Light Condensed.woff2") format("woff2"),
    url("/assets/Helvetica Com Light Condensed.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Helvetica Com", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--background);
  color: var(--text-colour);
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: 1.5rem;
  line-height: 120%;
}

@media (min-width: 1025px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    font-size: 2rem;
  }
}

main {
  padding: 0px 30px;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

.text-red {
  color: var(--primary-color);
  font-weight: 900;
}

.text-blue {
  color: var(--secondary-color);
  font-weight: 900;
}

#spacer {
  height: calc(100vh - 200px);
}

#logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 675px;
  z-index: 100;
}

#radio-logos-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  z-index: -1;
}

#radio-logos {
  width: 100%;
  height: auto;
  display: block;
}

#info {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 15vh;
}

.event-details {
  margin-bottom: 80px;
}

@media (max-width: 1024px) {
  .event-details {
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  #info {
    text-align: left;
    margin-bottom: 30px;
  }

  #logos {
    justify-content: flex-start;
  }

  #learn-more {
    display: inline-flex;
    margin-bottom: 80px;
    margin-top: 60px;
  }
}

@media (max-width: 1024px) {
  #logo {
    width: 350px;
    max-width: calc(100vw - 60px);
  }

  #radio-logos-wrapper {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90vh;
    width: auto;
  }

  #radio-logos {
    width: auto;
    height: 100%;
  }

  #spacer {
    height: 100vh;
  }
}

#learn-more {
  border: var(--text-colour) 1px solid;
  padding: 0.75rem 1rem 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-colour);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1;
  font-weight: 900;
}

#learn-more:hover {
  background-color: var(--text-colour);
  color: var(--background);
}

#logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#logos img {
  max-height: 23px;
  width: auto;
}

#down-arrow {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  z-index: 100;
}

/* LIVE SECTION */
#live-logo {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 165px;
  z-index: 100;
}

@media (min-width: 1025px) {
  #live-logo {
    width: 206px;
  }

  #down-arrow {
    display: none;
  }
}

#live-section {
  max-width: 700px;
  margin: 80px auto 60px;
}

@media (min-width: 1025px) {
  #live-section {
    max-width: 1140px;
  }
}

/* Mobile Header - visible only on mobile/tablet */
.live-header-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1;
}

@media (min-width: 1025px) {
  .live-header-mobile {
    display: none;
  }
}

/* Desktop Header - visible only on desktop */
.live-header-desktop {
  display: none;
}

@media (min-width: 1025px) {
  .live-header-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1;
  }
}

#live-status,
#live-status-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
}

#live-dot,
#live-dot-desktop {
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  border-radius: 50%;
  animation: blink 1s infinite;
  flex-shrink: 0;
  margin-bottom: 8px;
}

/* Mobile Location - visible only on mobile */
.live-location-mobile {
  display: block;
  margin-top: 20px;
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 1025px) {
  .live-location-mobile {
    display: none;
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

#video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #000;
  overflow: hidden;
}

@media (min-width: 1025px) {
  #video-container {
    aspect-ratio: 16 / 9;
  }
}

/* Hide default Mux controls */
#mux-player::part(bottom) {
  display: none;
}

#mux-player {
  width: 100%;
  height: 100%;
  --controls: none;
  --media-object-fit: cover;
  --media-object-position: center;
}

#mux-player::part(media) {
  object-fit: cover;
}

mux-player video {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}

/* Custom controls */
#custom-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.control-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 0px;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.control-btn:active {
  transform: scale(0.95);
}

.control-btn svg {
  width: 24px;
  height: 24px;
}
