@font-face {
  font-family: 'Zrnic';
  src: url('../fonts/zrnic%20rg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

html, body {
  overflow: hidden;
}

body {
  display: flex;
  background: black;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  font-family: "Play", sans-serif;
  margin: 0;
  overflow: hidden;
}

.screen {
  width: 100%;
  padding-top: 75%;
  position: relative;
  max-height: 100vh;
  transform-style: preserve-3d;
  perspective: 400px;
  overflow: visible;
  /* Force 16:9 or similar ratio container on desktop, full on mobile */
}
@media (max-width: 1024px) {
  .screen {
    padding-top: 0;
    height: 100vh;
  }
}

.inner .inner-bg {
  background-image: url(https://res.cloudinary.com/dhpaysqxb/image/upload/v1568580561/nebula_prju57.png);
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transform: translateZ(-30vw) scale(1.4);
  opacity: 0.8;
}
.inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 1%;
  padding-top: 10%;
  transform-style: preserve-3d;
  animation: enter 16s cubic-bezier(1, 0, 0.4, 1) 1 forwards;
}
@media (max-width: 768px) {
  .inner {
    padding-top: 20%;
  }
}

.box-container {
  width: 7.1428571429%;
  padding: 1%;
  position: relative;
  z-index: 100;
  transform-style: preserve-3d;
}
@media (max-width: 768px) {
  .box-container {
    width: 12.5%;
    /* More boxes per row on mobile */
  }
}

.box {
  width: 100%;
  padding-top: 100%;
  position: relative;
  transform-style: preserve-3d;
}

/* We have about 112 boxes in HTML */
.box-container:nth-child(1) .box {
  transform: translateZ(-10vw);
  background-color: rgba(106.837037037, 115.9703703704, 156.562962963, 0.95);
}

.box-container:nth-child(2) .box {
  transform: translateZ(-14vw);
  background-color: rgba(86.8209876543, 94.8765432099, 130.6790123457, 0.95);
}

.box-container:nth-child(3) .box {
  transform: translateZ(-19vw);
  background-color: rgba(72.5703703704, 79.3037037037, 109.2296296296, 0.95);
}

.box-container:nth-child(4) .box {
  transform: translateZ(-7vw);
  background-color: rgba(74.6061728395, 81.5283950617, 112.2938271605, 0.95);
}

.box-container:nth-child(5) .box {
  transform: translateZ(-5vw);
  background-color: rgba(109.9012345679, 118.8456790123, 158.5987654321, 0.95);
}

.box-container:nth-child(6) .box {
  transform: translateZ(-12vw);
  background-color: rgba(134.4148148148, 141.8481481481, 174.8851851852, 0.95);
}

.box-container:nth-child(7) .box {
  transform: translateZ(-18vw);
  background-color: rgba(131.350617284, 138.9728395062, 172.849382716, 0.95);
}

.box-container:nth-child(8) .box {
  transform: translateZ(-11vw);
  background-color: rgba(64.4271604938, 70.4049382716, 96.9728395062, 0.95);
}

.box-container:nth-child(9) .box {
  transform: translateZ(-15vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(10) .box {
  transform: translateZ(-8vw);
  background-color: rgba(131.350617284, 138.9728395062, 172.849382716, 0.95);
}

.box-container:nth-child(11) .box {
  transform: translateZ(-5vw);
  background-color: rgba(116.0296296296, 124.5962962963, 162.6703703704, 0.95);
}

.box-container:nth-child(12) .box {
  transform: translateZ(-15vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(13) .box {
  transform: translateZ(-14vw);
  background-color: rgba(109.9012345679, 118.8456790123, 158.5987654321, 0.95);
}

.box-container:nth-child(14) .box {
  transform: translateZ(-11vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(15) .box {
  transform: translateZ(-18vw);
  background-color: rgba(112.9654320988, 121.7209876543, 160.6345679012, 0.95);
}

.box-container:nth-child(16) .box {
  transform: translateZ(-6vw);
  background-color: rgba(74.6061728395, 81.5283950617, 112.2938271605, 0.95);
}

.box-container:nth-child(17) .box {
  transform: translateZ(-16vw);
  background-color: rgba(106.837037037, 115.9703703704, 156.562962963, 0.95);
}

.box-container:nth-child(18) .box {
  transform: translateZ(-10vw);
  background-color: rgba(21.675308642, 23.6864197531, 32.624691358, 0.95);
}

.box-container:nth-child(19) .box {
  transform: translateZ(-6vw);
  background-color: rgba(122.1580246914, 130.3469135802, 166.7419753086, 0.95);
}

.box-container:nth-child(20) .box {
  transform: translateZ(-16vw);
  background-color: rgba(99.0358024691, 108.224691358, 149.0641975309, 0.95);
}

.box-container:nth-child(21) .box {
  transform: translateZ(-2vw);
  background-color: rgba(42.0333333333, 45.9333333333, 63.2666666667, 0.95);
}

.box-container:nth-child(22) .box {
  transform: translateZ(-13vw);
  background-color: rgba(94.9641975309, 103.775308642, 142.9358024691, 0.95);
}

.box-container:nth-child(23) .box {
  transform: translateZ(-13vw);
  background-color: rgba(94.9641975309, 103.775308642, 142.9358024691, 0.95);
}

.box-container:nth-child(24) .box {
  transform: translateZ(-1vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(25) .box {
  transform: translateZ(-2vw);
  background-color: rgba(50.1765432099, 54.8320987654, 75.5234567901, 0.95);
}

.box-container:nth-child(26) .box {
  transform: translateZ(-16vw);
  background-color: rgba(74.6061728395, 81.5283950617, 112.2938271605, 0.95);
}

.box-container:nth-child(27) .box {
  transform: translateZ(-19vw);
  background-color: rgba(106.837037037, 115.9703703704, 156.562962963, 0.95);
}

.box-container:nth-child(28) .box {
  transform: translateZ(-14vw);
  background-color: rgba(131.350617284, 138.9728395062, 172.849382716, 0.95);
}

.box-container:nth-child(29) .box {
  transform: translateZ(-13vw);
  background-color: rgba(112.9654320988, 121.7209876543, 160.6345679012, 0.95);
}

.box-container:nth-child(30) .box {
  transform: translateZ(-17vw);
  background-color: rgba(35.9259259259, 39.2592592593, 54.0740740741, 0.95);
}

.box-container:nth-child(31) .box {
  transform: translateZ(-12vw);
  background-color: rgba(56.2839506173, 61.5061728395, 84.7160493827, 0.95);
}

.box-container:nth-child(32) .box {
  transform: translateZ(0vw);
  background-color: rgba(33.8901234568, 37.0345679012, 51.0098765432, 0.95);
}

.box-container:nth-child(33) .box {
  transform: translateZ(-18vw);
  background-color: rgba(106.837037037, 115.9703703704, 156.562962963, 0.95);
}

.box-container:nth-child(34) .box {
  transform: translateZ(-6vw);
  background-color: rgba(44.0691358025, 48.1580246914, 66.3308641975, 0.95);
}

.box-container:nth-child(35) .box {
  transform: translateZ(-8vw);
  background-color: rgba(29.8185185185, 32.5851851852, 44.8814814815, 0.95);
}

.box-container:nth-child(36) .box {
  transform: translateZ(-10vw);
  background-color: rgba(23.7111111111, 25.9111111111, 35.6888888889, 0.95);
}

.box-container:nth-child(37) .box {
  transform: translateZ(-19vw);
  background-color: rgba(23.7111111111, 25.9111111111, 35.6888888889, 0.95);
}

.box-container:nth-child(38) .box {
  transform: translateZ(-16vw);
  background-color: rgba(35.9259259259, 39.2592592593, 54.0740740741, 0.95);
}

.box-container:nth-child(39) .box {
  transform: translateZ(-11vw);
  background-color: rgba(62.3913580247, 68.1802469136, 93.9086419753, 0.95);
}

.box-container:nth-child(40) .box {
  transform: translateZ(0vw);
  background-color: rgba(82.749382716, 90.4271604938, 124.550617284, 0.95);
}

.box-container:nth-child(41) .box {
  transform: translateZ(-15vw);
  background-color: rgba(112.9654320988, 121.7209876543, 160.6345679012, 0.95);
}

.box-container:nth-child(42) .box {
  transform: translateZ(-5vw);
  background-color: rgba(29.8185185185, 32.5851851852, 44.8814814815, 0.95);
}

.box-container:nth-child(43) .box {
  transform: translateZ(-17vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(44) .box {
  transform: translateZ(-2vw);
  background-color: rgba(29.8185185185, 32.5851851852, 44.8814814815, 0.95);
}

.box-container:nth-child(45) .box {
  transform: translateZ(-13vw);
  background-color: rgba(42.0333333333, 45.9333333333, 63.2666666667, 0.95);
}

.box-container:nth-child(46) .box {
  transform: translateZ(-8vw);
  background-color: rgba(92.9283950617, 101.550617284, 139.8716049383, 0.95);
}

.box-container:nth-child(47) .box {
  transform: translateZ(-6vw);
  background-color: rgba(86.8209876543, 94.8765432099, 130.6790123457, 0.95);
}

.box-container:nth-child(48) .box {
  transform: translateZ(-9vw);
  background-color: rgba(42.0333333333, 45.9333333333, 63.2666666667, 0.95);
}

.box-container:nth-child(49) .box {
  transform: translateZ(-3vw);
  background-color: rgba(99.0358024691, 108.224691358, 149.0641975309, 0.95);
}

.box-container:nth-child(50) .box {
  transform: translateZ(-19vw);
  background-color: rgba(119.0938271605, 127.4716049383, 164.7061728395, 0.95);
}

.box-container:nth-child(51) .box {
  transform: translateZ(-17vw);
  background-color: rgba(78.6777777778, 85.9777777778, 118.4222222222, 0.95);
}

.box-container:nth-child(52) .box {
  transform: translateZ(-6vw);
  background-color: rgba(119.0938271605, 127.4716049383, 164.7061728395, 0.95);
}

.box-container:nth-child(53) .box {
  transform: translateZ(-1vw);
  background-color: rgba(92.9283950617, 101.550617284, 139.8716049383, 0.95);
}

.box-container:nth-child(54) .box {
  transform: translateZ(-16vw);
  background-color: rgba(90.8925925926, 99.3259259259, 136.8074074074, 0.95);
}

.box-container:nth-child(55) .box {
  transform: translateZ(-13vw);
  background-color: rgba(137.4790123457, 144.7234567901, 176.9209876543, 0.95);
}

.box-container:nth-child(56) .box {
  transform: translateZ(-13vw);
  background-color: rgba(19.6395061728, 21.4617283951, 29.5604938272, 0.95);
}

.box-container:nth-child(57) .box {
  transform: translateZ(-12vw);
  background-color: rgba(29.8185185185, 32.5851851852, 44.8814814815, 0.95);
}

.box-container:nth-child(58) .box {
  transform: translateZ(-18vw);
  background-color: rgba(125.2222222222, 133.2222222222, 168.7777777778, 0.95);
}

.box-container:nth-child(59) .box {
  transform: translateZ(-16vw);
  background-color: rgba(19.6395061728, 21.4617283951, 29.5604938272, 0.95);
}

.box-container:nth-child(60) .box {
  transform: translateZ(0vw);
  background-color: rgba(21.675308642, 23.6864197531, 32.624691358, 0.95);
}

.box-container:nth-child(61) .box {
  transform: translateZ(-14vw);
  background-color: rgba(66.462962963, 72.6296296296, 100.037037037, 0.95);
}

.box-container:nth-child(62) .box {
  transform: translateZ(-3vw);
  background-color: rgba(122.1580246914, 130.3469135802, 166.7419753086, 0.95);
}

.box-container:nth-child(63) .box {
  transform: translateZ(-13vw);
  background-color: rgba(80.7135802469, 88.2024691358, 121.4864197531, 0.95);
}

.box-container:nth-child(64) .box {
  transform: translateZ(-2vw);
  background-color: rgba(37.9617283951, 41.4839506173, 57.1382716049, 0.95);
}

.box-container:nth-child(65) .box {
  transform: translateZ(-2vw);
  background-color: rgba(86.8209876543, 94.8765432099, 130.6790123457, 0.95);
}

.box-container:nth-child(66) .box {
  transform: translateZ(-8vw);
  background-color: rgba(44.0691358025, 48.1580246914, 66.3308641975, 0.95);
}

.box-container:nth-child(67) .box {
  transform: translateZ(-12vw);
  background-color: rgba(103.7728395062, 113.0950617284, 154.5271604938, 0.95);
}

.box-container:nth-child(68) .box {
  transform: translateZ(-2vw);
  background-color: rgba(44.0691358025, 48.1580246914, 66.3308641975, 0.95);
}

.box-container:nth-child(69) .box {
  transform: translateZ(-12vw);
  background-color: rgba(52.212345679, 57.0567901235, 78.587654321, 0.95);
}

.box-container:nth-child(70) .box {
  transform: translateZ(-18vw);
  background-color: rgba(125.2222222222, 133.2222222222, 168.7777777778, 0.95);
}

.box-container:nth-child(71) .box {
  transform: translateZ(-7vw);
  background-color: rgba(92.9283950617, 101.550617284, 139.8716049383, 0.95);
}

.box-container:nth-child(72) .box {
  transform: translateZ(-6vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(73) .box {
  transform: translateZ(0vw);
  background-color: rgba(19.6395061728, 21.4617283951, 29.5604938272, 0.95);
}

.box-container:nth-child(74) .box {
  transform: translateZ(-15vw);
  background-color: rgba(25.7469135802, 28.1358024691, 38.7530864198, 0.95);
}

.box-container:nth-child(75) .box {
  transform: translateZ(-3vw);
  background-color: rgba(84.7851851852, 92.6518518519, 127.6148148148, 0.95);
}

.box-container:nth-child(76) .box {
  transform: translateZ(-10vw);
  background-color: rgba(128.2864197531, 136.0975308642, 170.8135802469, 0.95);
}

.box-container:nth-child(77) .box {
  transform: translateZ(-17vw);
  background-color: rgba(31.8543209877, 34.8098765432, 47.9456790123, 0.95);
}

.box-container:nth-child(78) .box {
  transform: translateZ(-4vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(79) .box {
  transform: translateZ(-7vw);
  background-color: rgba(21.675308642, 23.6864197531, 32.624691358, 0.95);
}

.box-container:nth-child(80) .box {
  transform: translateZ(-11vw);
  background-color: rgba(31.8543209877, 34.8098765432, 47.9456790123, 0.95);
}

.box-container:nth-child(81) .box {
  transform: translateZ(-8vw);
  background-color: rgba(82.749382716, 90.4271604938, 124.550617284, 0.95);
}

.box-container:nth-child(82) .box {
  transform: translateZ(-19vw);
  background-color: rgba(64.4271604938, 70.4049382716, 96.9728395062, 0.95);
}

.box-container:nth-child(83) .box {
  transform: translateZ(-12vw);
  background-color: rgba(103.7728395062, 113.0950617284, 154.5271604938, 0.95);
}

.box-container:nth-child(84) .box {
  transform: translateZ(-7vw);
  background-color: rgba(72.5703703704, 79.3037037037, 109.2296296296, 0.95);
}

.box-container:nth-child(85) .box {
  transform: translateZ(-14vw);
  background-color: rgba(25.7469135802, 28.1358024691, 38.7530864198, 0.95);
}

.box-container:nth-child(86) .box {
  transform: translateZ(-6vw);
  background-color: rgba(137.4790123457, 144.7234567901, 176.9209876543, 0.95);
}

.box-container:nth-child(87) .box {
  transform: translateZ(-7vw);
  background-color: rgba(109.9012345679, 118.8456790123, 158.5987654321, 0.95);
}

.box-container:nth-child(88) .box {
  transform: translateZ(-17vw);
  background-color: rgba(31.8543209877, 34.8098765432, 47.9456790123, 0.95);
}

.box-container:nth-child(89) .box {
  transform: translateZ(-5vw);
  background-color: rgba(131.350617284, 138.9728395062, 172.849382716, 0.95);
}

.box-container:nth-child(90) .box {
  transform: translateZ(-19vw);
  background-color: rgba(90.8925925926, 99.3259259259, 136.8074074074, 0.95);
}

.box-container:nth-child(91) .box {
  transform: translateZ(-18vw);
  background-color: rgba(33.8901234568, 37.0345679012, 51.0098765432, 0.95);
}

.box-container:nth-child(92) .box {
  transform: translateZ(-6vw);
  background-color: rgba(122.1580246914, 130.3469135802, 166.7419753086, 0.95);
}

.box-container:nth-child(93) .box {
  transform: translateZ(-19vw);
  background-color: rgba(109.9012345679, 118.8456790123, 158.5987654321, 0.95);
}

.box-container:nth-child(94) .box {
  transform: translateZ(-15vw);
  background-color: rgba(44.0691358025, 48.1580246914, 66.3308641975, 0.95);
}

.box-container:nth-child(95) .box {
  transform: translateZ(0vw);
  background-color: rgba(35.9259259259, 39.2592592593, 54.0740740741, 0.95);
}

.box-container:nth-child(96) .box {
  transform: translateZ(-6vw);
  background-color: rgba(125.2222222222, 133.2222222222, 168.7777777778, 0.95);
}

.box-container:nth-child(97) .box {
  transform: translateZ(-17vw);
  background-color: rgba(62.3913580247, 68.1802469136, 93.9086419753, 0.95);
}

.box-container:nth-child(98) .box {
  transform: translateZ(-14vw);
  background-color: rgba(78.6777777778, 85.9777777778, 118.4222222222, 0.95);
}

.box-container:nth-child(99) .box {
  transform: translateZ(-14vw);
  background-color: rgba(50.1765432099, 54.8320987654, 75.5234567901, 0.95);
}

.box-container:nth-child(100) .box {
  transform: translateZ(-8vw);
  background-color: rgba(74.6061728395, 81.5283950617, 112.2938271605, 0.95);
}

.box-container:nth-child(101) .box {
  transform: translateZ(-5vw);
  background-color: rgba(106.837037037, 115.9703703704, 156.562962963, 0.95);
}

.box-container:nth-child(102) .box {
  transform: translateZ(-10vw);
  background-color: rgba(94.9641975309, 103.775308642, 142.9358024691, 0.95);
}

.box-container:nth-child(103) .box {
  transform: translateZ(-5vw);
  background-color: rgba(88.8567901235, 97.1012345679, 133.7432098765, 0.95);
}

.box-container:nth-child(104) .box {
  transform: translateZ(-18vw);
  background-color: rgba(82.749382716, 90.4271604938, 124.550617284, 0.95);
}

.box-container:nth-child(105) .box {
  transform: translateZ(-11vw);
  background-color: rgba(54.2481481481, 59.2814814815, 81.6518518519, 0.95);
}

.box-container:nth-child(106) .box {
  transform: translateZ(-6vw);
  background-color: rgba(131.350617284, 138.9728395062, 172.849382716, 0.95);
}

.box-container:nth-child(107) .box {
  transform: translateZ(-18vw);
  background-color: rgba(103.7728395062, 113.0950617284, 154.5271604938, 0.95);
}

.box-container:nth-child(108) .box {
  transform: translateZ(-2vw);
  background-color: rgba(50.1765432099, 54.8320987654, 75.5234567901, 0.95);
}

.box-container:nth-child(109) .box {
  transform: translateZ(-6vw);
  background-color: rgba(54.2481481481, 59.2814814815, 81.6518518519, 0.95);
}

.box-container:nth-child(110) .box {
  transform: translateZ(-14vw);
  background-color: rgba(44.0691358025, 48.1580246914, 66.3308641975, 0.95);
}

.box-container:nth-child(111) .box {
  transform: translateZ(-10vw);
  background-color: rgba(116.0296296296, 124.5962962963, 162.6703703704, 0.95);
}

.box-container:nth-child(112) .box {
  transform: translateZ(-15vw);
  background-color: rgba(25.7469135802, 28.1358024691, 38.7530864198, 0.95);
}

.box-container:nth-child(113) .box {
  transform: translateZ(-14vw);
  background-color: rgba(70.5345679012, 77.0790123457, 106.1654320988, 0.95);
}

.box-container:nth-child(114) .box {
  transform: translateZ(-13vw);
  background-color: rgba(15.5679012346, 17.012345679, 23.4320987654, 0.95);
}

.box-container:nth-child(115) .box {
  transform: translateZ(-7vw);
  background-color: rgba(82.749382716, 90.4271604938, 124.550617284, 0.95);
}

.box-container:nth-child(116) .box {
  transform: translateZ(-9vw);
  background-color: rgba(64.4271604938, 70.4049382716, 96.9728395062, 0.95);
}

.box-container:nth-child(117) .box {
  transform: translateZ(0vw);
  background-color: rgba(103.7728395062, 113.0950617284, 154.5271604938, 0.95);
}

.box-container:nth-child(118) .box {
  transform: translateZ(-16vw);
  background-color: rgba(31.8543209877, 34.8098765432, 47.9456790123, 0.95);
}

.box-container:nth-child(119) .box {
  transform: translateZ(-13vw);
  background-color: rgba(101.0716049383, 110.449382716, 152.1283950617, 0.95);
}

.box-container:nth-child(120) .box {
  transform: translateZ(-2vw);
  background-color: rgba(103.7728395062, 113.0950617284, 154.5271604938, 0.95);
}

.box-container:nth-child(41) .box,
.box-container:nth-child(40) .box,
.box-container:nth-child(47) .box,
.box-container:nth-child(48) .box,
.box-container:nth-child(46) .box,
.box-container:nth-child(95) .box,
.box-container:nth-child(94) .box,
.box-container:nth-child(102) .box,
.box-container:nth-child(101) .box {
  visibility: hidden;
}

.box .top,
.box .bottom,
.box .left,
.box .right {
  position: absolute;
  width: 100%;
  height: 100%;
}

.box .top {
  background: linear-gradient(to top, rgba(155.8641975309, 161.975308642, 189.1358024691, 0.9), rgba(0, 0, 0, 0));
  bottom: 100%;
  left: 0;
  height: 20vw;
  transform-origin: 100% 100%;
  transform: rotateX(90deg);
  box-shadow: inset 0 0 1vw rgba(0, 255, 255, 0.07);
}

.box .bottom {
  background: linear-gradient(to bottom, rgba(101.0716049383, 110.449382716, 152.1283950617, 0.9), rgba(0, 0, 0, 0));
  top: 100%;
  left: 0;
  height: 20vw;
  transform-origin: 0% 0%;
  transform: rotateX(-90deg);
  box-shadow: inset 0 0 1vw rgba(0, 255, 255, 0.07);
}

.box .left {
  background: linear-gradient(to left, rgba(125.2222222222, 133.2222222222, 168.7777777778, 0.9), rgba(0, 0, 0, 0));
  top: 0;
  right: 100%;
  width: 20vw;
  transform-origin: 100% 100%;
  transform: rotateY(-90deg);
  box-shadow: inset 0 0 1vw rgba(0, 255, 255, 0.07);
}

.box .right {
  background: linear-gradient(to right, rgba(125.2222222222, 133.2222222222, 168.7777777778, 0.9), rgba(0, 0, 0, 0));
  top: 0;
  left: 100%;
  width: 20vw;
  transform-origin: 0% 0%;
  transform: rotateY(90deg);
  box-shadow: inset 0 0 1vw rgba(0, 255, 255, 0.07);
}

.screen .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
  font-family: 'Zrnic', 'Play', sans-serif;
  background: transparent;
  z-index: 200;
  animation: content 16s 1 forwards;
}
.screen .content .branding,
.screen .content .copyright {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.screen .content .copyright {
  font-size: min(1.5rem, 4vw);
  text-shadow: black 0px 0px 3px;
  opacity: 0;
  animation: copyright 16s linear 1 forwards;
}
@media (max-width: 768px) {
  .screen .content .copyright {
    font-size: min(1rem, 5vw);
    width: 90%;
  }
}
.screen .content .branding {
  font-size: min(4rem, 8vw);
  top: 40%;
  opacity: 0;
  animation: branding 16s cubic-bezier(0, 0.74, 0.46, 1) 1 forwards;
}
@media (max-width: 768px) {
  .screen .content .branding {
    font-size: min(2.5rem, 10vw);
    white-space: nowrap;
  }
}

@keyframes enter {
  0% {
    transform: rotate(-20deg) scale(1.5);
  }
  60%, 100% {
    transform: rotate(100deg) scale(6);
  }
}
@keyframes copyright {
  0%, 5% {
    opacity: 0;
  }
  10%, 35% {
    opacity: 1;
  }
  40%, 100% {
    opacity: 0;
  }
}
@keyframes content {
  0% {
    background-color: black;
  }
  5%, 43% {
    background: transparent;
  }
  48%, 100% {
    background-color: black;
  }
}
@keyframes branding {
  0%, 64% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(4) scaleY(0.5);
    filter: blur(20px);
    color: transparent;
    text-shadow: none;
  }
  65.5% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scaleX(3) scaleY(0.7);
    filter: blur(12px);
    color: transparent;
    text-shadow: 0 0 30px rgba(50, 50, 255, 0.8), -50px 0 30px rgba(50, 50, 255, 0.6), 50px 0 30px rgba(50, 50, 255, 0.6);
  }
  67% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scaleX(1.5) scaleY(0.9);
    filter: blur(6px);
    color: rgba(100, 100, 255, 0.3);
    text-shadow: 0 0 15px rgba(100, 100, 255, 0.9), -20px 0 20px rgba(50, 50, 255, 0.8), 20px 0 20px rgba(50, 50, 255, 0.8);
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1.05) scaleY(1);
    filter: blur(2px);
    color: rgba(200, 200, 255, 0.8);
    text-shadow: 0 0 8px rgba(150, 150, 255, 1);
  }
  68.5% {
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0px);
    color: #ffffff;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
  }
  93% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0px);
    color: #ffffff;
    text-shadow: none;
  }
  96%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
    filter: blur(15px);
    color: transparent;
    text-shadow: none;
  }
}
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}

.particles span {
  display: block;
  height: 1px;
  width: 1px;
  background: white;
  position: absolute;
}

.particles span:nth-child(1) {
  left: 70%;
  top: 70%;
  box-shadow: 0 0 10px 4px rgba(255, 0, 0, 0.8);
  animation: particle-1 8s cubic-bezier(0, 0.74, 0.46, 1) 1 forwards;
}

.particles span:nth-child(2) {
  left: 70%;
  top: 50%;
  box-shadow: 0 0 10px 4px rgba(0, 128, 0, 0.8);
  animation: particle-2 8s cubic-bezier(0, 0.74, 0.46, 1) 1 forwards;
}

.particles span:nth-child(3) {
  left: 15%;
  top: 75%;
  box-shadow: 0 0 10px 4px rgba(0, 0, 255, 0.8);
  animation: particle-3 8s cubic-bezier(0, 0.74, 0.46, 1) 1 forwards;
}

@keyframes particle-1 {
  0% {
    opacity: 0;
    transform: none;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(-20vw, -20vh, 0);
  }
}
@keyframes particle-2 {
  0% {
    opacity: 0;
    transform: none;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(20vw, -10vh, 0);
  }
}
@keyframes particle-3 {
  0% {
    opacity: 0;
    transform: none;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(-10vw, 30vh, 0);
  }
}
/* =========================================
   PS2 Menu Implementation
   ========================================= */
body.ps2-menu-active .inner,
body.ps2-menu-active .screen > .content,
body.ps2-menu-active .particles,
body.ps2-menu-active .box-container {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s ease-out, visibility 0s 1s;
}
body.ps2-menu-active #ps2-menu {
  opacity: 1;
  transition: opacity 2s ease-in 1s;
  pointer-events: auto;
}
body.ps2-menu-active .screen {
  perspective: 1200px;
  transition: perspective 1.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

#ps2-menu {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 500;
  overflow-y: auto;
  overflow-x: hidden;
  transform-style: preserve-3d;
  font-family: "Play", sans-serif;
}
#ps2-menu::-webkit-scrollbar {
  width: 6px;
}
#ps2-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
#ps2-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 170, 255, 0.4);
  border-radius: 3px;
}
#ps2-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 170, 255, 0.6);
}
#ps2-menu .scene-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: none;
}
@media (max-width: 768px) {
  #ps2-menu .scene-3d {
    left: 0;
    top: 0;
    transform: none;
  }
}
#ps2-menu .stars-ring {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  animation: ring-spin 8s linear infinite;
}
#ps2-menu .stars-ring .orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.9), 0 0 35px 10px rgba(60, 150, 255, 0.8), 0 0 60px 20px rgba(0, 100, 255, 0.4);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
#ps2-menu .stars-ring .orb::after,
#ps2-menu .stars-ring .orb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px 2px rgba(60, 150, 255, 0.5);
  pointer-events: none;
}
/* Desktop trails */
#ps2-menu .stars-ring .orb::before {
  transform: translateZ(-15vw) rotateY(-3deg) translateZ(15vw) scale(0.8);
  opacity: 0.7;
}
#ps2-menu .stars-ring .orb::after {
  transform: translateZ(-15vw) rotateY(-6deg) translateZ(15vw) scale(0.6);
  opacity: 0.4;
}
/* Mobile trails */
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb::before {
    transform: translateZ(-30vw) rotateY(-3deg) translateZ(30vw) scale(0.8);
  }
  #ps2-menu .stars-ring .orb::after {
    transform: translateZ(-30vw) rotateY(-6deg) translateZ(30vw) scale(0.6);
  }
}
#ps2-menu .stars-ring .orb:nth-child(1) {
  transform: rotateY(0deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(1) {
    transform: rotateY(0deg) translateZ(30vw);
  }
}
#ps2-menu .stars-ring .orb:nth-child(2) {
  transform: rotateY(51.4285714286deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(2) {
    transform: rotateY(51.4285714286deg) translateZ(30vw);
  }
}
#ps2-menu .stars-ring .orb:nth-child(3) {
  transform: rotateY(102.8571428571deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(3) {
    transform: rotateY(102.8571428571deg) translateZ(30vw);
  }
}
#ps2-menu .stars-ring .orb:nth-child(4) {
  transform: rotateY(154.2857142857deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(4) {
    transform: rotateY(154.2857142857deg) translateZ(30vw);
  }
}
#ps2-menu .stars-ring .orb:nth-child(5) {
  transform: rotateY(205.7142857143deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(5) {
    transform: rotateY(205.7142857143deg) translateZ(30vw);
  }
}
#ps2-menu .stars-ring .orb:nth-child(6) {
  transform: rotateY(257.1428571429deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(6) {
    transform: rotateY(257.1428571429deg) translateZ(30vw);
  }
}
#ps2-menu .stars-ring .orb:nth-child(7) {
  transform: rotateY(308.5714285714deg) translateZ(15vw);
}
@media (max-width: 768px) {
  #ps2-menu .stars-ring .orb:nth-child(7) {
    transform: rotateY(308.5714285714deg) translateZ(30vw);
  }
}
#ps2-menu .menu-text {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 10;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: visible;
}
@media (max-width: 768px) {
  #ps2-menu .menu-text {
    top: auto;
    bottom: 10%;
    right: 0;
    left: 0;
    width: 100%;
    text-align: center;
    transform: none;
  }
}
#ps2-menu .menu-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}
#ps2-menu .menu-text .menu-item {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 3rem;
  font-weight: bold;
  color: #666;
  margin: 10px 0;
  padding: 4px 30px 4px 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  letter-spacing: 1px;
  overflow: visible;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}
@media (max-width: 768px) {
  #ps2-menu .menu-text .menu-item {
    font-size: 2rem;
    margin: 5px auto;
    padding: 4px 15px;
  }
}
#ps2-menu .menu-text .menu-item.active {
  color: #00AAFF;
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.8), 0 0 20px rgba(0, 170, 255, 0.4);
  transform: scale(1.1) translateX(20px);
}
@media (max-width: 768px) {
  #ps2-menu .menu-text .menu-item.active {
    transform: scale(1.1);
  }
}
#ps2-menu .menu-text .menu-item:hover {
  color: #88CCFF;
}
#ps2-menu .menu-text .footer-controls {
  margin-top: 40px;
  display: flex;
  gap: 30px;
  font-size: 1.2rem;
  color: #aaa;
}
@media (max-width: 768px) {
  #ps2-menu .menu-text .footer-controls {
    justify-content: center;
    margin-top: 20px;
    font-size: 1rem;
    gap: 15px;
  }
}
#ps2-menu .menu-text .footer-controls img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}
#ps2-menu .menu-text.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(50px);
}
@media (max-width: 768px) {
  #ps2-menu .menu-text.hidden {
    transform: translateY(50px);
  }
}
#ps2-menu .version-menu-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 48%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 600;
  transform-style: preserve-3d;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container {
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
  }
}
#ps2-menu .version-menu-container.visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}
#ps2-menu .version-menu-container .version-content {
  text-align: left;
  width: 100%;
  max-width: 500px;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content {
    max-width: 100%;
  }
}
#ps2-menu .version-menu-container .version-content .version-title {
  color: #d4a017;
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 10px rgba(212, 160, 23, 0.3);
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .version-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
}
#ps2-menu .version-menu-container .version-content .version-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .version-grid {
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
}
#ps2-menu .version-menu-container .version-content .version-row {
  display: flex;
  font-size: 1.3rem;
  color: #888;
  cursor: pointer;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .version-row {
    font-size: 1rem;
    flex-direction: column;
    margin-bottom: 5px;
  }
}
#ps2-menu .version-menu-container .version-content .version-row:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
#ps2-menu .version-menu-container .version-content .version-row:hover .value {
  color: #fff;
}
#ps2-menu .version-menu-container .version-content .version-row .label {
  width: 220px;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .version-row .label {
    width: auto;
    color: #666;
    font-size: 0.8rem;
  }
}
#ps2-menu .version-menu-container .version-content .version-row .value {
  color: #bbb;
  transition: color 0.3s;
}
#ps2-menu .version-menu-container .version-content .back-control,
#ps2-menu .version-menu-container .version-content .about-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  transition: all 0.3s;
}
#ps2-menu .version-menu-container .version-content .back-control img,
#ps2-menu .version-menu-container .version-content .about-trigger img {
  width: 24px;
  height: 24px;
  filter: grayscale(1);
}
#ps2-menu .version-menu-container .version-content .back-control:hover,
#ps2-menu .version-menu-container .version-content .about-trigger:hover {
  transform: none !important;
  color: #fff;
}
#ps2-menu .version-menu-container .version-content .back-control:hover img,
#ps2-menu .version-menu-container .version-content .about-trigger:hover img {
  filter: none;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .back-control,
  #ps2-menu .version-menu-container .version-content .about-trigger {
    font-size: 1.1rem;
  }
  #ps2-menu .version-menu-container .version-content .back-control img,
  #ps2-menu .version-menu-container .version-content .about-trigger img {
    width: 20px;
    height: 20px;
  }
}
#ps2-menu .version-menu-container .version-content .footer-row-container {
  margin-top: 2rem;
  display: flex;
  gap: 40px;
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .footer-row-container {
    gap: 20px;
    margin-top: 1rem;
  }
}
#ps2-menu .version-menu-container .version-content .about-text-container::-webkit-scrollbar {
  width: 6px;
}
#ps2-menu .version-menu-container .version-content .about-text-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
#ps2-menu .version-menu-container .version-content .about-text-container::-webkit-scrollbar-thumb {
  background: rgba(0, 170, 255, 0.4);
  border-radius: 3px;
}
#ps2-menu .version-menu-container .version-content .about-text-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 170, 255, 0.6);
}
@media (max-width: 768px) {
  #ps2-menu .version-menu-container .version-content .about-text-container {
    max-height: 50vh !important;
  }
}

/* Development Message - TOP LEVEL RULE */
.dev-message {
  position: fixed !important;
  bottom: 10% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #d4a017 !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.2s ease-in-out !important;
  text-shadow: 0 0 15px rgba(212, 160, 23, 0.8) !important;
  z-index: 99999 !important;
  text-align: center !important;
  width: 100% !important;
  background: transparent !important;
}
@media (max-width: 768px) {
  .dev-message {
    font-size: 1.2rem !important;
    top: 10% !important;
    bottom: auto !important;
  }
}
.dev-message.visible {
  opacity: 1 !important;
}

.footer-item {
  cursor: pointer;
  transition: all 0.3s;
}
.footer-item:hover, .footer-item.glow-white {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#enter-control {
  transition: all 0.3s;
}
#enter-control.glow-white {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes ring-spin {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  12.5% {
    transform: rotateX(90deg) rotateY(32deg) rotateZ(45deg);
  }
  25% {
    transform: rotateX(180deg) rotateY(45deg) rotateZ(90deg);
  }
  37.5% {
    transform: rotateX(270deg) rotateY(32deg) rotateZ(135deg);
  }
  50% {
    transform: rotateX(360deg) rotateY(0deg) rotateZ(180deg);
  }
  62.5% {
    transform: rotateX(450deg) rotateY(-32deg) rotateZ(225deg);
  }
  75% {
    transform: rotateX(540deg) rotateY(-45deg) rotateZ(270deg);
  }
  87.5% {
    transform: rotateX(630deg) rotateY(-32deg) rotateZ(315deg);
  }
  100% {
    transform: rotateX(720deg) rotateY(0deg) rotateZ(360deg);
  }
}
@keyframes electron-spin {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(720deg);
  }
}

/*# sourceMappingURL=style.css.map */

.is-small {
  font-size: 0.2em;
  vertical-align: baseline;
}

/* Aspect Ratio Container Styles */
.screen.size-4-3 {
  padding-top: 0 !important;
  aspect-ratio: 4 / 3;
  width: auto !important;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.screen.size-16-9 {
  padding-top: 0 !important;
  aspect-ratio: 16 / 9;
  width: auto !important;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.screen.size-full {
  padding-top: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  aspect-ratio: auto !important;
  margin: 0;
}

/* System Config Menu Enhancements */
.config-content-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-left: 20px;
  position: relative;
  z-index: 10;
}

.config-main-title {
  font-size: 3.5rem;
  color: #fff;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.config-field-container {
  width: 100%;
  margin-bottom: 2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
}

.config-field-container.active {
  opacity: 1;
}

.config-field {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.config-name {
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.config-arrows {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.config-field-container.active.selection-mode .config-arrows {
  opacity: 1;
}

.conf-arrow {
  line-height: 1;
  cursor: pointer;
}

.conf-arrow:hover {
  text-shadow: 0 0 10px #fff;
}

.config-value-text {
  font-size: 2.4rem;
  margin-left: 20px;
  margin-top: 5px;
  display: flex;
  gap: 30px;
  color: #888;
  overflow: visible;
}

.config-field-container.active .config-value-text {
  color: rgba(255, 255, 255, 0.4);
}

.config-field-container.active.selection-mode .config-value-text {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Screen Size Options */
.size-opt {
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
}

.size-opt.active {
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0,255,255,0.8);
}

.config-field-container:not(.selection-mode) .size-opt.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.config-field-container.active.selection-mode .size-opt.active {
    color: #00ffff;
}

.config-field-container.active.selection-mode .size-opt:not(.active) {
    color: #444;
}

.config-bottom-controls {
  margin-top: 60px;
  display: flex;
  gap: 40px;
  font-size: 1.8rem;
  color: #fff;
}

/* ========================================================
   RESTORED PS2 INITIAL MENU & SYSTEM CONFIGURATION STYLES
   ======================================================== */

/* Setup Orb Animation (circling dots for setup/main menu) */
.setup-orb-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25vw;
  height: 25vw;
  max-width: 300px;
  max-height: 300px;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(15deg) rotateY(-15deg);
}

/* For System Config, adjust position to the left as in screenshot */
#sys-config-menu .setup-orb-animation {
  left: 30%;
}

.atom-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 1px dotted rgba(100, 180, 255, 0.5);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.ring1 { animation: spin-ring1 15s linear infinite; }
.ring2 { animation: spin-ring2 18s linear infinite; }
.ring3 { animation: spin-ring3 20s linear infinite; }

@keyframes spin-ring1 {
  0% { transform: rotateY(70deg) rotateX(15deg) rotateZ(0deg); }
  100% { transform: rotateY(70deg) rotateX(15deg) rotateZ(360deg); }
}
@keyframes spin-ring2 {
  0% { transform: rotateX(75deg) rotateY(-20deg) rotateZ(0deg); }
  100% { transform: rotateX(75deg) rotateY(-20deg) rotateZ(360deg); }
}
@keyframes spin-ring3 {
  0% { transform: rotateY(-60deg) rotateX(25deg) rotateZ(0deg); }
  100% { transform: rotateY(-60deg) rotateX(25deg) rotateZ(-360deg); }
}

.orb-rotator {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: rotateZ(var(--deg));
  transform-style: preserve-3d;
}

.atom-orb {
  position: absolute;
  top: 0; 
  left: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px; 
  margin-left: -3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 
    0 0 8px 3px #fff,
    0 0 15px 8px rgba(0, 170, 255, 0.8),
    0 0 35px 15px rgba(0, 80, 255, 0.5);
  transform-style: preserve-3d;
  /* Counter-rotate Z so the lens flare stays upright */
  transform: rotateZ(calc(var(--deg) * -1));
}

.atom-orb::before, .atom-orb::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(100, 200, 255, 0.8);
  border-radius: 50%;
}
.atom-orb::before {
  width: 45px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.atom-orb::after {
  width: 1.5px; height: 45px;
  transform: translate(-50%, -50%);
}

/* System Config 3D Scene */
.sys-scene-3d {
  position: absolute;
  top: 45%;
  left: 25%;
  width: 0;
  height: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 1;
}

/* Elevate System Config text to prevent clipping */
.config-content-area {
  position: relative;
  z-index: 10;
  transform: translateZ(200px);
}

/* System Configuration Violet Menu Overrides */
body.ps2-menu-active.sys-active .inner,
body.ps2-menu-active.sys-active .box-container {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 1.5s ease-in;
}

body.ps2-menu-active.sys-active .inner-bg {
  /* Give the nebula a strong purple hue */
  filter: hue-rotate(270deg) saturate(180%) brightness(0.8) !important;
}

body.ps2-menu-active.sys-active .box {
  /* Give polygons a purple tint */
  background-color: rgba(90, 40, 150, 0.95) !important;
}

body.ps2-menu-active.sys-active .box .top {
  background: linear-gradient(to top, rgba(140, 70, 210, 0.9), rgba(0, 0, 0, 0)) !important;
}
body.ps2-menu-active.sys-active .box .bottom {
  background: linear-gradient(to bottom, rgba(130, 60, 200, 0.9), rgba(0, 0, 0, 0)) !important;
}
body.ps2-menu-active.sys-active .box .left {
  background: linear-gradient(to left, rgba(160, 80, 230, 0.9), rgba(0, 0, 0, 0)) !important;
}
body.ps2-menu-active.sys-active .box .right {
  background: linear-gradient(to right, rgba(160, 80, 230, 0.9), rgba(0, 0, 0, 0)) !important;
}

/* Ensure the orbs have similar layout logic as original if they are in setup screen */
.setup-screen .stars-ring,
#sys-config-menu .stars-ring {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  transform-style: preserve-3d;
  animation: ring-spin 8s linear infinite;
}

#sys-config-menu .stars-ring {
  left: 30% !important;
}

.setup-screen .stars-ring .orb,
#sys-config-menu .stars-ring .orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 15px 4px rgba(255, 255, 255, 0.9),
    0 0 35px 10px rgba(60, 150, 255, 0.8),
    0 0 60px 20px rgba(0, 100, 255, 0.4);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.setup-screen .stars-ring .orb:nth-child(1), #sys-config-menu .stars-ring .orb:nth-child(1) { transform: rotateY(0deg) translateZ(15vw); }
.setup-screen .stars-ring .orb:nth-child(2), #sys-config-menu .stars-ring .orb:nth-child(2) { transform: rotateY(51.428deg) translateZ(15vw); }
.setup-screen .stars-ring .orb:nth-child(3), #sys-config-menu .stars-ring .orb:nth-child(3) { transform: rotateY(102.857deg) translateZ(15vw); }
.setup-screen .stars-ring .orb:nth-child(4), #sys-config-menu .stars-ring .orb:nth-child(4) { transform: rotateY(154.285deg) translateZ(15vw); }
.setup-screen .stars-ring .orb:nth-child(5), #sys-config-menu .stars-ring .orb:nth-child(5) { transform: rotateY(205.714deg) translateZ(15vw); }
.setup-screen .stars-ring .orb:nth-child(6), #sys-config-menu .stars-ring .orb:nth-child(6) { transform: rotateY(257.142deg) translateZ(15vw); }
.setup-screen .stars-ring .orb:nth-child(7), #sys-config-menu .stars-ring .orb:nth-child(7) { transform: rotateY(308.571deg) translateZ(15vw); }

.setup-screen .stars-ring .orb::before, .setup-screen .stars-ring .orb::after,
#sys-config-menu .stars-ring .orb::before, #sys-config-menu .stars-ring .orb::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(100, 200, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.setup-screen .stars-ring .orb::before, #sys-config-menu .stars-ring .orb::before {
  width: 45px; height: 1.5px;
}
.setup-screen .stars-ring .orb::after, #sys-config-menu .stars-ring .orb::after {
  width: 1.5px; height: 45px;
}

/* System Config Header */
.sys-config-header {
  position: absolute;
  top: 30px;
  right: 50px;
  text-align: right;
  color: #fff;
  font-family: "Play", sans-serif;
  font-size: 1.8rem;
  z-index: 20;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sys-body-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,30,80,0.4) 0%, rgba(0,0,0,0.9) 100%);
  z-index: 0;
  opacity: 0.8;
}

/* Globe */
.sys-globe {
  position: absolute;
  transform-style: preserve-3d;
  animation: sys-globe-spin 20s linear infinite;
}
.sys-ring {
  position: absolute;
  top: -12vw;
  left: -12vw;
  width: 24vw;
  height: 24vw;
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.15) inset, 0 0 15px rgba(0, 150, 255, 0.15);
}
.sys-ring:nth-child(1) { transform: rotateX(0deg); }
.sys-ring:nth-child(2) { transform: rotateY(60deg) rotateX(45deg); }
.sys-ring:nth-child(3) { transform: rotateY(120deg) rotateX(-45deg); }

.sys-dot-ring {
  position: absolute;
  transform-style: preserve-3d;
  animation: sys-dot-spin 10s linear infinite;
}
.sys-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #00ffff;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px rgba(0, 255, 255, 0.8), 0 0 25px 8px rgba(0, 150, 255, 0.4);
}
.sys-dot:nth-child(1) { transform: translate(-50%, -50%) rotateY(0deg) translateZ(12.5vw); }
.sys-dot:nth-child(2) { transform: translate(-50%, -50%) rotateY(72deg) translateZ(12.5vw); }
.sys-dot:nth-child(3) { transform: translate(-50%, -50%) rotateY(144deg) translateZ(12.5vw); }
.sys-dot:nth-child(4) { transform: translate(-50%, -50%) rotateY(216deg) translateZ(12.5vw); }
.sys-dot:nth-child(5) { transform: translate(-50%, -50%) rotateY(288deg) translateZ(12.5vw); }

@keyframes sys-globe-spin {
  0% { transform: rotateX(15deg) rotateY(0deg) rotateZ(10deg); }
  50% { transform: rotateX(-15deg) rotateY(180deg) rotateZ(-10deg); }
  100% { transform: rotateX(15deg) rotateY(360deg) rotateZ(10deg); }
}
@keyframes sys-dot-spin {
  100% { transform: rotateY(-360deg); }
}

/* Prisms & Cubes (Wireframes floating) */
.sys-prisms, .sys-cubes {
  position: absolute;
  transform-style: preserve-3d;
}
.sys-prism, .sys-cube {
  position: absolute;
  transform-style: preserve-3d;
  animation: float-shape 12s ease-in-out infinite alternate;
}
.pf, .cf {
  position: absolute;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 40, 80, 0.15);
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.pf { width: 1.5vw; height: 3vw; }
/* basic tetrahedron shape */
.sys-prism .f { transform: translateZ(0.8vw) rotateX(15deg); }
.sys-prism .b { transform: translateZ(-0.8vw) rotateX(-15deg); }
.sys-prism .t { transform: rotateY(-60deg) translateZ(0.8vw); }
.sys-prism .d { transform: rotateY(60deg) translateZ(0.8vw); }

.cf { width: 2.5vw; height: 2.5vw; }
.sys-cube .f { transform: translateZ(1.25vw); }
.sys-cube .b { transform: translateZ(-1.25vw); }
.sys-cube .l { transform: rotateY(-90deg) translateZ(1.25vw); }
.sys-cube .r { transform: rotateY(90deg) translateZ(1.25vw); }
.sys-cube .t { transform: rotateX(90deg) translateZ(1.25vw); }
.sys-cube .d { transform: rotateX(-90deg) translateZ(1.25vw); }

/* Distribute shapes */
.sys-prism.p1 { transform: translate3d(20vw, -15vw, -10vw) rotateX(45deg); }
.sys-prism.p2 { transform: translate3d(-18vw, 20vw, -15vw) rotateY(60deg); }
.sys-prism.p3 { transform: translate3d(8vw, 25vw, -20vw) rotateZ(30deg); }
.sys-prism.p4 { transform: translate3d(-25vw, -10vw, 10vw) rotateX(15deg); }
.sys-prism.p5 { transform: translate3d(15vw, -25vw, 15vw) rotateY(45deg); }
.sys-prism.p6 { transform: translate3d(-20vw, -20vw, -25vw) rotateZ(75deg); }
.sys-prism.p7 { transform: translate3d(25vw, 10vw, -15vw) rotateX(80deg); }
.sys-prism.p8 { transform: translate3d(5vw, 15vw, 20vw) rotateY(15deg); }
.sys-prism.p9 { transform: translate3d(-10vw, -30vw, -10vw) rotateZ(45deg); }
.sys-prism.p10 { transform: translate3d(30vw, -20vw, 10vw) rotateX(60deg); }

.sys-cube.c1 { transform: translate3d(15vw, 15vw, 15vw) rotateX(30deg) rotateY(30deg); animation-delay: -2s; }
.sys-cube.c2 { transform: translate3d(-20vw, -15vw, 25vw) rotateX(60deg) rotateY(15deg); animation-delay: -4s; }
.sys-cube.c3 { transform: translate3d(25vw, -25vw, -20vw) rotateX(15deg) rotateY(70deg); animation-delay: -1s; }
.sys-cube.c4 { transform: translate3d(-15vw, 30vw, -10vw) rotateX(45deg) rotateY(45deg); animation-delay: -5s; }
.sys-cube.c5 { transform: translate3d(8vw, -20vw, -30vw) rotateX(75deg) rotateY(20deg); animation-delay: -3s; }

@keyframes float-shape {
  0% { transform: translateY(0); }
  100% { transform: translateY(4vw); }
}

