* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: Georgia, serif;
}

.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
}

.background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%),
    linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%);
  pointer-events: none;
}

.enter-hotspot {
  position: absolute;
  left: 35%;
  top: 35%;
  width: 30%;
  height: 45%;
  z-index: 5;
  cursor: pointer;
  text-decoration: none;
}

.enter-hotspot:hover {
  box-shadow: 0 0 55px rgba(212,175,55,.35);
  border-radius: 40px;
}

.scene-message {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 6;
  color: #d4af37;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(212,175,55,.5);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 1rem;
  letter-spacing: .08em;
  text-shadow: 0 0 12px #000;
}

.sound-button {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 10;
  background: rgba(0,0,0,.55);
  color: #d4af37;
  border: 1px solid rgba(212,175,55,.65);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: Georgia, serif;
  cursor: pointer;
}

.sound-button:hover {
  background: rgba(212,175,55,.18);
}

@media (max-width: 800px) {
  .scene-message {
    bottom: 22px;
    width: calc(100% - 40px);
    text-align: center;
    font-size: .85rem;
  }

  .sound-button {
    top: 14px;
    right: 14px;
  }
}
.audio-control{

    position:fixed;

    right:30px;
    bottom:30px;

    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 22px;

    border:2px solid rgba(255,210,90,.8);

    border-radius:50px;

    background:rgba(10,10,18,.65);

    backdrop-filter:blur(12px);

    color:#ffd66a;

    font-family:Arial,sans-serif;
    font-size:17px;

    cursor:pointer;

    box-shadow:
        0 0 15px rgba(255,210,90,.35),
        0 0 35px rgba(255,210,90,.18);

    animation:pulseGlow 2.8s infinite;

    transition:.3s;
}

.audio-control:hover{

    transform:scale(1.05);

    box-shadow:
        0 0 25px gold,
        0 0 50px gold;
}

.speaker-icon{

    font-size:24px;
}

.audio-on{

    color:#7CFF7C;

    border-color:#7CFF7C;

    box-shadow:
        0 0 18px #7CFF7C,
        0 0 40px #7CFF7C;

    animation:none;
}

@keyframes pulseGlow{

    0%{

        box-shadow:
        0 0 8px rgba(255,210,90,.3);
    }

    50%{

        box-shadow:
        0 0 28px rgba(255,210,90,.9);
    }

    100%{

        box-shadow:
        0 0 8px rgba(255,210,90,.3);
    }

}
.portal-hotspot {
  position: absolute;
  display: block;
  z-index: 25;
  cursor: pointer;
  text-decoration: none;

  clip-path: polygon(
  10% 0%,
  92% 0%,
  100% 9%,
  96% 92%,
  88% 100%,
  12% 100%,
  4% 92%,
  0% 9%
);
}

.portal-hotspot:hover {
  background: rgba(80, 200, 255, .08);
  border: 2px solid rgba(130, 230, 255, .75);
  box-shadow:
    inset 0 0 22px rgba(120, 220, 255, .18),
    0 0 18px rgba(120, 220, 255, .75),
    0 0 45px rgba(120, 220, 255, .45);
}

.portal-faroffworld {
  left: 1.7%;
  top: 17.5%;
  width: 12.4%;
  height: 50.5%;
}

.screen-fade {
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity .45s ease;
}

.screen-fade.active {
  opacity: 1;
}
