﻿html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #02040a;
}

.composition {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #02040a url("assets/universe-background-layer.png") center / cover no-repeat;
}

.copyright {
  position: absolute;
  right: 0;
  bottom: 2.1vh;
  left: 0;
  z-index: 3;
  margin: 0;
  padding: 0 16px;
  color: rgba(190, 194, 206, 0.76);
  font: 400 clamp(10px, 1.1vw, 14px) / 1.25 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.universe-logo,
.universe-logo-halo {
  position: absolute;
  top: clamp(-24px, -2.4vh, -14px);
  left: 50%;
  display: block;
  width: min(86vw, 100vh);
  max-width: 1240px;
  height: auto;
  pointer-events: none;
  transform: translateX(-50%);
}

.universe-logo {
  z-index: 2;
  filter:
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 24px rgba(255, 198, 225, 0.18));
}

.universe-logo-halo {
  z-index: 1;
  opacity: 0.78;
  filter: blur(1px);
}

.portal-frame {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 7vh, 78px);
  z-index: 2;
  width: min(86vw, 1140px);
  aspect-ratio: 1448 / 410;
  transform: translateX(-50%);
}

.hotspots {
  position: absolute;
  inset: 0;
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: 20px;
  outline: 0;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

.hotspot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  filter: brightness(1) contrast(1) saturate(1);
  transition:
    filter 240ms ease,
    box-shadow 240ms ease;
}

.hotspot:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75), 0 0 32px rgba(255, 170, 215, 0.75);
}

.hotspot:hover,
.hotspot:focus-visible {
  transform: translateY(-5px) scale(1.025);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.34));
}

.hotspot:hover img,
.hotspot:focus-visible img {
  filter: brightness(1.28) contrast(1.08) saturate(1.12);
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.26),
    0 0 48px rgba(255, 157, 207, 0.16);
}

.hotspot:active {
  transform: translateY(-2px) scale(1.01);
}

.hotspot.is-activated img {
  animation: card-activate 520ms ease-out;
}

.hotspot--music {
  left: 4.7%;
  top: 3.5%;
  width: 17.13%;
  height: 91%;
}

.hotspot--production {
  left: 23%;
  top: 3.5%;
  width: 16.92%;
  height: 91%;
}

.hotspot--club {
  left: 40.88%;
  top: -1.5%;
  width: 17.82%;
  height: 96%;
}

.hotspot--ai {
  left: 59.81%;
  top: 3.5%;
  width: 16.85%;
  height: 91%;
}

.hotspot--academy {
  left: 77.76%;
  top: 3.5%;
  width: 17.2%;
  height: 91%;
}

@media (max-aspect-ratio: 4 / 3) {
  .universe-logo {
    top: clamp(-8px, 1.8vh, 18px);
    width: min(96vw, 70vh);
  }

  .universe-logo-halo {
    top: clamp(-8px, 1.8vh, 18px);
    width: min(96vw, 70vh);
  }

  .portal-frame {
    bottom: clamp(48px, 8vh, 86px);
    width: min(96vw, 88vh);
  }
}

@keyframes card-activate {
  0% {
    filter: brightness(1.56) contrast(1.12) saturate(1.18);
  }

  100% {
    filter: brightness(1.28) contrast(1.08) saturate(1.12);
  }
}
