:root {
  color-scheme: dark;
  background: #000;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

.stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  width: min(100vw, 150vh);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #000;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 220ms ease-out;
}

.site-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateZ(0);
}

.space-fx,
.light-sweep,
.planet-depth {
  position: absolute;
  pointer-events: none;
}

.space-fx {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.95;
  transform: translate3d(var(--shift-x), var(--shift-y), 48px);
}

.light-sweep {
  z-index: 3;
  width: 22%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 47, 0.95), rgba(255, 255, 255, 0.9), transparent);
  box-shadow: 0 0 14px rgba(255, 190, 42, 0.9), 0 0 30px rgba(255, 94, 48, 0.36);
  opacity: 0;
  transform-origin: center;
  animation: sweep-drift 5.8s linear infinite;
}

.sweep-one {
  left: 19%;
  top: 24%;
  animation-delay: -1s;
}

.sweep-two {
  left: 58%;
  top: 57%;
  width: 17%;
  animation-delay: -3.8s;
}

.planet-depth {
  z-index: 3;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.52;
  mix-blend-mode: screen;
  filter: blur(0.2px);
  transform: translate3d(calc(var(--shift-x) * 0.65), calc(var(--shift-y) * 0.65), 70px);
  animation: planet-pulse 4.8s ease-in-out infinite;
}

.planet-depth::before,
.planet-depth::after {
  position: absolute;
  inset: -7%;
  border-radius: inherit;
  content: "";
}

.planet-depth::before {
  border: 1px solid currentColor;
  opacity: 0.55;
  transform: rotateX(64deg) rotateZ(-18deg) scaleX(1.5);
}

.planet-depth::after {
  background:
    radial-gradient(circle at 32% 27%, rgba(255, 255, 255, 0.55), transparent 8%),
    radial-gradient(circle, currentColor, transparent 56%);
  opacity: 0.18;
  animation: glow-breathe 3.7s ease-in-out infinite;
}

.standup-depth {
  left: 8.2%;
  top: 37.4%;
  width: 18.4%;
  height: 27.6%;
  color: #ffc230;
}

.tv-depth {
  left: 31.6%;
  top: 39.2%;
  width: 17.6%;
  height: 26.4%;
  color: #68c7ff;
  animation-delay: -1.3s;
}

.radio-depth {
  left: 55%;
  top: 39.4%;
  width: 17.6%;
  height: 26.2%;
  color: #ff526b;
  animation-delay: -2.4s;
}

.louis-depth {
  left: 77.8%;
  top: 39.3%;
  width: 17.8%;
  height: 26.4%;
  color: #77e7aa;
  animation-delay: -3.1s;
}

.hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 999px;
  outline: 0;
}

.hotspot:focus-visible {
  box-shadow: 0 0 0 2px #f7b821, 0 0 24px rgba(247, 184, 33, 0.8);
}

.hotspot:hover {
  cursor: pointer;
}

.logo {
  left: 2.2%;
  top: 3.4%;
  width: 18%;
  height: 14.2%;
}

.nav-home {
  left: 34%;
  top: 3.8%;
  width: 4.4%;
  height: 4.8%;
}

.nav-about {
  left: 39.9%;
  top: 3.8%;
  width: 8.2%;
  height: 4.8%;
}

.nav-news {
  left: 49.1%;
  top: 3.8%;
  width: 5.1%;
  height: 4.8%;
}

.nav-shop {
  left: 54.6%;
  top: 3.8%;
  width: 4.7%;
  height: 4.8%;
}

.nav-contact {
  left: 60%;
  top: 3.8%;
  width: 6.6%;
  height: 4.8%;
}

.social-instagram {
  left: 80.5%;
  top: 3.4%;
  width: 2.1%;
  height: 3.4%;
}

.social-youtube {
  left: 83.3%;
  top: 3.4%;
  width: 2.1%;
  height: 3.4%;
}

.social-facebook {
  left: 86.2%;
  top: 3.4%;
  width: 2.1%;
  height: 3.4%;
}

.social-tiktok {
  left: 89%;
  top: 3.4%;
  width: 2.1%;
  height: 3.4%;
}

.social-x {
  left: 92%;
  top: 3.4%;
  width: 2.1%;
  height: 3.4%;
}

.planet-standup {
  left: 5.2%;
  top: 37.1%;
  width: 21.8%;
  height: 36.8%;
}

.planet-tv {
  left: 30.6%;
  top: 38.6%;
  width: 18.5%;
  height: 34%;
}

.planet-radio {
  left: 54.4%;
  top: 38.6%;
  width: 18.3%;
  height: 34%;
}

.planet-louis {
  left: 77%;
  top: 38.7%;
  width: 19%;
  height: 34%;
}

.quick-live {
  left: 5%;
  top: 76.4%;
  width: 20.4%;
  height: 16%;
}

.quick-tv {
  left: 26%;
  top: 76.4%;
  width: 21.2%;
  height: 16%;
}

.quick-radio {
  left: 47.6%;
  top: 76.4%;
  width: 23%;
  height: 16%;
}

.quick-louis {
  left: 71.3%;
  top: 76.4%;
  width: 22.5%;
  height: 16%;
}

.mobile-page {
  display: none;
}

@keyframes sweep-drift {
  0% {
    opacity: 0;
    transform: translate3d(-34%, -18px, 86px) rotate(-11deg) scaleX(0.24);
  }

  18%,
  48% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    transform: translate3d(250%, 34px, 86px) rotate(-11deg) scaleX(1.12);
  }
}

@keyframes planet-pulse {
  0%,
  100% {
    opacity: 0.34;
    box-shadow: 0 0 14px currentColor;
  }

  50% {
    opacity: 0.72;
    box-shadow: 0 0 34px currentColor;
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    transform: scale(0.96);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-aspect-ratio: 3 / 2) {
  body {
    align-items: start;
    overflow: auto;
  }

  .stage {
    width: 100vw;
  }
}

@media (max-width: 760px) {
  body {
    display: block;
    overflow: auto;
  }

  .stage {
    display: none;
  }

  .space-fx,
  .light-sweep,
  .planet-depth {
    display: none;
  }

  .mobile-page {
    position: relative;
    display: block;
    min-height: 100svh;
    overflow: hidden;
    padding: 18px 16px 28px;
    color: #fff;
    background: #000;
  }

  .mobile-page::before,
  .mobile-page::after {
    position: fixed;
    inset: 0;
    content: "";
    pointer-events: none;
  }

  .mobile-page::before {
    background-image: url("istoselida.jpg");
    background-position: center top;
    background-size: cover;
    opacity: 0.36;
  }

  .mobile-page::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82) 42%, #000 88%),
      radial-gradient(circle at 50% 18%, rgba(245, 170, 27, 0.22), transparent 42%);
  }

  .mobile-header,
  .mobile-nav,
  .mobile-hero,
  .mobile-planets,
  .mobile-actions {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-logo {
    width: 136px;
    height: 82px;
    flex: 0 0 auto;
    background-image: url("istoselida.jpg");
    background-position: -12px -15px;
    background-size: 768px 512px;
    background-repeat: no-repeat;
  }

  .mobile-socials {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mobile-socials a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.34);
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
  }

  .mobile-nav a {
    min-width: 0;
    padding: 9px 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: #fff;
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.48);
  }

  .mobile-nav a:first-child {
    color: #f5b521;
    border-color: rgba(245, 181, 33, 0.7);
  }

  .mobile-hero {
    padding: 28px 0 18px;
    text-align: center;
  }

  .mobile-hero p {
    margin: 0;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .mobile-hero p:last-child {
    color: #f5b521;
  }

  .mobile-hero h1 {
    display: flex;
    justify-content: center;
    margin: 3px 0 2px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 3.85rem;
    font-style: italic;
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .mobile-hero h1 span:first-child {
    color: #fff;
    text-shadow: 0 4px 18px rgba(255, 255, 255, 0.28);
  }

  .mobile-hero h1 span:last-child {
    color: #f1ad13;
    text-shadow: 0 4px 22px rgba(241, 173, 19, 0.34);
  }

  .mobile-planets {
    display: grid;
    gap: 12px;
  }

  .mobile-planet {
    position: relative;
    min-height: 172px;
    overflow: hidden;
    padding: 18px 18px 16px 134px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2), #000 56%), url("istoselida.jpg");
    background-repeat: no-repeat;
    box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.04), 0 14px 34px rgba(0, 0, 0, 0.38);
  }

  .mobile-planet::before {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 96px;
    height: 96px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    opacity: 0.82;
    box-shadow: 0 0 26px currentColor;
  }

  .standup-card {
    color: #f5b521;
    background-position: 0 0, -28px -210px;
    background-size: auto, 900px 600px;
  }

  .tv-card {
    color: #6ebeff;
    background-position: 0 0, -250px -220px;
    background-size: auto, 900px 600px;
  }

  .radio-card {
    color: #ff5671;
    background-position: 0 0, -450px -220px;
    background-size: auto, 900px 600px;
  }

  .louis-card {
    color: #72e0aa;
    background-position: 0 0, -650px -220px;
    background-size: auto, 900px 600px;
  }

  .planet-mark {
    position: absolute;
    top: 55px;
    left: 28px;
    width: 76px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
  }

  .mobile-planet strong {
    display: block;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 2.25rem;
    font-style: italic;
    line-height: 0.94;
    text-transform: uppercase;
  }

  .mobile-planet > span:not(.planet-mark) {
    display: block;
    color: currentColor;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .mobile-planet small {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .mobile-planet em {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 11px;
    padding: 0 17px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: currentColor;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.52);
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .mobile-actions a {
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.68);
  }

  .mobile-actions strong,
  .mobile-actions span {
    display: block;
  }

  .mobile-actions strong {
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .mobile-actions span {
    margin-top: 10px;
    color: currentColor;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .live-action {
    color: #f5b521;
  }

  .tv-action {
    color: #6ebeff;
  }

  .radio-action {
    color: #ff5671;
  }

  .louis-action {
    color: #72e0aa;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  .space-fx,
  .planet-depth {
    transform: none;
  }

  .light-sweep,
  .planet-depth,
  .planet-depth::after {
    animation: none;
  }
}

@media (max-width: 360px) {
  .mobile-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mobile-logo {
    width: 122px;
    height: 74px;
    background-position: -11px -14px;
    background-size: 692px 461px;
  }

  .mobile-socials a {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
  }

  .mobile-hero h1 {
    font-size: 3.25rem;
  }

  .mobile-planet {
    padding-left: 118px;
  }

  .mobile-planet::before {
    left: 14px;
    width: 86px;
    height: 86px;
  }

  .planet-mark {
    left: 19px;
  }

  .mobile-planet strong {
    font-size: 1.95rem;
  }
}
