:root {
  --bg-image: url("");
  --debug-enabled: 1;
  /* set to 1 to show debug UI */
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  background-color: #000000;
  background-repeat: repeat-x, repeat-x;
  background-size: contain, cover;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  isolation: isolate;
  overflow: hidden;
}

.image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  max-width: 2500px;
  width: 100%;
  margin: 0 auto;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}

.hotspot {
  position: absolute;
  border: none;
  cursor: pointer;
  background: transparent;
  /* invisible by default */
  z-index: 3;
}

body.debug .hotspot {
  background: rgba(255, 0, 0, 0.3);
  outline: 2px dashed rgba(255, 0, 0, 0.6);
}

.card {
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px 24px;
  width: min(92vw, 560px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  display: none;
}

.title {
  font-size: clamp(22px, 5vw, 34px);
  margin: 0 0 8px;
}

.subtitle {
  opacity: 0.9;
  margin: 0 0 16px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.btn:active {
  transform: translateY(1px);
}

/* Debug toggle button */
.debug-toggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
  cursor: pointer;
  z-index: 100;
  -webkit-tap-highlight-color: transparent;
  display: none;
  /* hidden by default */
}

body.debug-enabled .debug-toggle {
  display: block;
}

.overlay-img {
  position: absolute;
  pointer-events: none;
  /* so clicks pass through */
  z-index: 2;
}

#radioglow {
  display: none;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.text-label {
  position: absolute;
  font-weight: bold;
  font-size: 20px;
  white-space: nowrap;
  /* keep text on one line */
  color: #c5b9ee;
}

#player {
  display: none !important;
}

#radiodial {}

#radio {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

#jquery_jplayer_1,
#jp_container_1 {
  display: none
}

.ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.ticker span {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

#ticker-text {
  display: none;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.bg,
.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* stack order */
.layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg {
  z-index: 1;
  object-fit: cover;
  object-position: 50% 35%;
}

.layer-1 {
  object-fit: cover;
  object-position: 50% 35%;
  z-index: 1;
}

.layer-2 {
  background-image: url("../images/cloud_01.png");
  background-repeat: repeat;
  background-size: auto;
  width: 1697px;
  height: 286px;
  z-index: 2;
  animation: fadeScroll 300s linear infinite;

}

.layer-3 {
  background-image: url("../images/cloud_02.png");
  background-repeat: repeat;
  background-size: auto;
  width: 1700px;
  height: 348px;
  z-index: 3;
  animation: fadeScroll 350s linear infinite;
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-2%, 1%);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes scroll_clouds {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.layer-2,
.layer-3 {
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 15%,
      black 85%,
      transparent);

  mask-image: linear-gradient(to right,
      transparent,
      black 15%,
      black 85%,
      transparent);
}

@keyframes fadeScroll {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  2% {
    opacity: .94;
  }

  98% {
    opacity: .94;
  }

  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}