/* .blank = classes #blank = ID */

/* -------------------------
   FONTS

   Titles: Luckiest Guy
   Handwriting: Shadows Into Light
   Body: Special Elite
-------------------------- */

/*======== GENERAL / PAGE ========*/
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;

  background: #111;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/*======== LOADING SCREEN ========*/
.boot-screen {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100svh;

  overflow: hidden;

  padding: 24px;

  background:
    radial-gradient(
      circle at center,
      #283b58,
      #111827 68%,
      #090d14
    );

  z-index: 10000;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.boot-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-window {
  width: min(560px, 92vw);

  background: #ece9d8;

  border: 3px solid #245edb;
  border-radius: 9px 9px 3px 3px;

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.55),
    inset 1px 1px 0 white;

  overflow: hidden;
}

.boot-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 7px 10px;

  background:
    linear-gradient(
      to bottom,
      #5c99ff,
      #245edb 55%,
      #1746a2
    );

  color: white;

  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;

  text-shadow:
    1px 1px 1px rgba(0, 0, 0, 0.45);
}

.boot-title-buttons {
  letter-spacing: 5px;
}

.boot-content {
  padding: 38px 34px 32px;

  text-align: center;
}

.boot-logo {
  margin: 0 0 28px;

  font-family: "Special Elite", monospace;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1;

  color: #111;

  text-shadow:
    3px 3px 0 #ff75bd,
    6px 6px 0 rgba(0, 0, 0, 0.18);
}

.boot-messages {
  min-height: 118px;

  padding: 14px 18px;

  background: #070b0d;
  color: #70ff8c;

  border:
    3px inset #aaa;

  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;

  text-align: left;
}

.boot-line {
  margin: 0 0 5px;
}

.boot-line::before {
  content: "> ";
}

.boot-progress {
  height: 20px;

  margin-top: 20px;

  padding: 2px;

  background: white;

  border:
    2px inset #aaa;
}

.boot-progress-fill {
  width: 0%;
  height: 100%;

  background:
    repeating-linear-gradient(
      to right,
      #245edb 0,
      #245edb 12px,
      #78aaff 12px,
      #78aaff 15px
    );

  transition: width 0.3s ease;
}

.boot-percent {
  margin: 8px 0 0;

  font-family: "Courier New", monospace;
  font-size: 13px;
}

.enter-chc-button {
  margin-top: 22px;
  padding: 10px 24px;

  border:
    2px solid #111;

  background:
    linear-gradient(
      to bottom,
      white,
      #d8d8d8
    );

  color: #111;

  font-family: "Special Elite", monospace;
  font-size: 16px;
  font-weight: bold;

  box-shadow:
    3px 3px 0 #777;

  cursor: pointer;

  animation:
    enterButtonPulse 1.5s ease-in-out infinite;
}

.enter-chc-button:hover {
  background:
    linear-gradient(
      to bottom,
      #ffd5ec,
      #ff8fc7
    );

  transform: translate(-1px, -1px);

  box-shadow:
    4px 4px 0 #555;
}

.enter-chc-button:active {
  transform: translate(2px, 2px);

  box-shadow:
    1px 1px 0 #555;
}

@keyframes enterButtonPulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.14);
  }
}

/*======== SCRAPBOOK / HOMEPAGE ========*/
.scrapbook-viewport {
  position: relative;

  margin: 0 auto;

  overflow: hidden;
}

.scrapbook {
  position: absolute;

  top: 0;
  left: 0;

  width: 1920px;
  height: 1080px;

  background-image:
    url("assets/backgrounds/collagebg.jpg");

  background-size: 100% 100%;
  background-repeat: no-repeat;

  transform-origin: top left;
}

.dice-button {
  position: absolute;

  top: 75%;
  left: 37%;

  width: 150px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: 
}

.dice-button img {
  display: block;
  width: 100%;
  height: auto;
}

.dice-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.vanessa-button {
  position: absolute;

  top: 70%;
  left: 60%;

  width: 180px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: vanessaHop 5s infinite;
}

.vanessa-button img {
  display: block;
  width: 100%;
  height: auto;
}

.vanessa-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.bow-button {
  position: absolute;

  top: 55%;
  left: 10%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
}

.bow-button img {
  display: block;
  width: 100%;
  height: auto;
}

.bow-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.music-button {
  position: absolute;

  top: 75%;
  left: 80%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: musicFloat 4s ease-in-out infinite;
}

.music-button img {
  display: block;
  width: 100%;
  height: auto;
}

.music-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.camera-button {
  position: absolute;

  top: 5%;
  left: 10%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: cameraFlash infinite;
}

.camera-button img {
  display: block;
  width: 100%;
  height: auto;
}

.camera-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.disco-button {
  position: absolute;

  top: 5%;
  right: 5%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
}

.disco-button img {
  display: block;
  width: 100%;
  height: auto;
}

.disco-button:hover {
  transform: rotate(-5deg) scale(1.08);
  animation: spinDisco 8s linear infinite,
  floatDisco 3s ease-in-out infinite;;
}

.slate-button {
  position: absolute;

  bottom: 5%;
  left: 2%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: slateWiggle 6.5s ease-in-out infinite;
}

.slate-button img {
  display: block;
  width: 100%;
  height: auto;
}

.slate-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.record-button {
  position: absolute;

  top: 15%;
  right: 40%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: spinDisco 8s linear infinite,
  floatDisco 3s ease-in-out infinite;
}

.record-button img {
  display: block;
  width: 90%;
  height: auto;
}

.record-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.shoes-button {
  position: absolute;

  top: 82%;
  left: 90%;

  width: 150px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;
}

.shoes-button img {
  display: block;
  width: 100%;
  height: auto;

  transform-origin: center bottom;

  animation: shoeStrut 2.8s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.shoes-button:hover {
  animation: shoeTap 0.45s ease;
  transform: scale(1.08);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
}

.headphones-button {
  position: absolute;

  bottom: 10%;
  left: 20%;

  width: 200px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
  animation: bassPulse 2.5s infinite;
}

.headphones-button img {
  display: block;
  width: 90%;
  height: auto;
}

.headphones-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

.moo-button {
  position: absolute;

  top: 10%;
  right: 20%;

  width: 140px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
}

.moo-button img {
  display: block;
  width: 100%;
  height: auto;
}

.moo-button:hover {
  transform: rotate(-5deg) scale(1.08);
}

/*======== NAV STICKER ANIMATIONS ========*/
@keyframes slateWiggle {
  0%,
  82%,
  100% {
    transform: rotate(0deg);
  }

  85% {
    transform: rotate(-5deg);
  }

  88% {
    transform: rotate(4deg);
  }

  91% {
    transform: rotate(-3deg);
  }

  94% {
    transform: rotate(2deg);
  }

  97% {
    transform: rotate(0deg);
  }
}

@keyframes bassPulse{

    0%,100%{
        transform:scale(1);
    }

    15%{
        transform:scale(1.12);
    }

    30%{
        transform:scale(1);
    }

    45%{
        transform:scale(1.08);
    }

}

@keyframes vanessaHop{

    0%,90%,100%{

        transform:translateY(0);

    }

    93%{

        transform:translateY(-12px);

    }

    96%{

        transform:translateY(0);

    }

    98%{

        transform:translateY(-6px);

    }

}

@keyframes musicFloat{

    0%,100%{

        transform:
            translateY(0px)
            rotate(0deg);

    }

    50%{

        transform:
            translateY(-8px)
            rotate(-4deg);

    }

}

@keyframes spinDisco {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatDisco {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

@keyframes cameraFlash {

  0%,
  85%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  88% {
    opacity: 1;
    transform: scale(2);
  }

  92% {
    opacity: 0;
    transform: scale(3);
  }

}

@keyframes cameraWiggle {

  0%,
  80%,
  100% {
    transform: rotate(-3deg);
  }

  85% {
    transform: rotate(2deg) scale(1.03);
  }

  90% {
    transform: rotate(-2deg);
  }

}

@keyframes shoeStrut {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  25% {
    transform: translateX(-4px) rotate(-3deg);
  }

  50% {
    transform: translateX(0) rotate(2deg);
  }

  75% {
    transform: translateX(4px) rotate(-2deg);
  }
}

@keyframes shoeTap {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  35% {
    transform: translateY(-8px) rotate(-6deg) scale(1.08);
  }

  65% {
    transform: translateY(2px) rotate(4deg) scale(1.06);
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1.08);
  }
}

/*======== CHC STATUS BAR ========*/
.chc-status-bar {
  position: absolute;

  left: 50%;
  top: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  width: min(900px, 82%);

  padding: 8px 18px;

  background:
    linear-gradient(
      to bottom,
      rgba(246, 246, 246, 0.95),
      rgba(202, 202, 202, 0.95)
    );

  border:
    2px solid #111;

  box-shadow:
    inset 2px 2px 0 white,
    inset -2px -2px 0 #777,
    4px 5px 0 rgba(0, 0, 0, 0.28);

  font-family:
    "Special Elite",
    monospace;

  font-size: 15px;
  white-space: nowrap;

  transform:
    translateX(-50%);

  z-index: 20;
}

.chc-status-bar span::before {
  content: "";
}

.chc-status-bar span {
  animation:
    statusSoftGlow 3s ease-in-out infinite;
}

@keyframes statusSoftGlow {
  0%,
  100% {
    opacity: 0.86;
  }

  50% {
    opacity: 1;
  }
}

/*======== POPUPS - SHARED ========*/

/* This block applies to all popups using the popup-overlay class in html; This is the darkened bg over the screen */
.popup-overlay {
  position: fixed;

  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.55);

  z-index: 1000;
}

/* Applies to all popup-close class */
.popup-close {
  position: absolute;

  top: 12px;
  right: 15px;

  border: 0;
  background: transparent;

  font-size: 30px;
  cursor: pointer;

  color: #ffd012;
}

/* Applies to all popup subtitle text!! */
.popup-subtitle {
  font-family: "Shadows Into Light", cursive;
  font-size: 20px;
  margin-bottom: 20px;
}

.popup-overlay{
    padding:16px;
}

.events-popup,
.theater-popup,
.gallery-popup,
.archive-popup,
.nic-popup,
.ola-popup{

    width:min(92vw,800px);
    max-height:90vh;

    overflow-y:auto;
}

/*======== GAMES POPUP ========*/

/* This block applies all popups using the games-popup class */
.games-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 40px;

  overflow-y: auto;

  background-image: url("assets/popups/games-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  text-align: center;

  border-radius: 8px;
}

.games-title {
  display: block;
  width: 70%;
  max-width: 600px;
  height: auto;

  margin: 0 auto 0px;
}

.game-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;

  margin-bottom: 30px;
}

.game-card {
  padding: 18px;

  background: rgba(250, 217, 240, 0.8);

  border: 2px solid #222;
}

/* This will apply text style to any elements inside <h3> - GAME TITLES */
.game-card h3 {
  font-family: "Special Elite", system-ui;
  font-size: 28px;
}

/* This will apply to the game descriptions w/o having to add a new class to html */
.game-card p {
  font-family: "Special Elite", system-ui;
  font-size: 16px;
}

.game-cover {
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;

  margin-bottom: 15px;
}

.game-link {
  display: inline-block;

  margin-top: 10px;
  padding: 10px 18px;

  background: #222;
  color: white;

  text-decoration: none;

  cursor: pointer;

  font-family: "Special Elite", system-ui;
}

.homescreen-tip {
  padding-top: 25px;

  border-top: 1px solid #bbb;
}

.homescreen-tip h3{
  font-family: "Shadows Into Light", cursive;
  font-weight: 700;
  font-size: 22px;
}

.homescreen-tip p{
  font-family: "Special Elite", system-ui;
  font-size: 16px;
}

.how-to-button {
  padding: 10px 18px;

  border: 0;

  background: #222;
  color: white;

  cursor: pointer;

  font-family: "Special Elite", system-ui;
}

.homescreen-instructions {
  display: none;

  margin-top: 20px;

  text-align: left;
}

/*======== CHC POPUP - VANESSA ========*/
.chc-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 40px;

  overflow-y: auto;

  background-image: url("assets/popups/chc-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  text-align: center;

  border-radius: 8px;
}

.chc-popup h2 {
  margin: 40px auto 18px;

  font-family: "Special Elite", system-ui;
  font-size: clamp(36px, 6vw, 64px);

  color: #fff2fa;

  letter-spacing: 3px;

  text-shadow:
    2px 2px 0 #111,
    0 0 2px #fff,
    0 0 5px #ff4fa3,
    0 0 10px #ff4fa3,
    0 0 16px rgba(255, 79, 163, .65);

  transform: rotate(-2deg);

  animation: chcNeonFlicker 3.4s infinite;
}

@keyframes chcNeonFlicker {

  0%, 17%, 21%, 24%, 52%, 56%, 100% {
    opacity: 1;

    text-shadow:
      2px 2px 0 #111,
      0 0 2px #fff,
      0 0 5px #ff4fa3,
      0 0 10px #ff4fa3,
      0 0 16px rgba(255, 79, 163, .65);
      }

  19%, 23%, 54% {
    opacity: 0.45;

    text-shadow:
      0 0 2px #ff4fa3,
      3px 3px 0 #111;
  }
}

.link-image {
  width: 78px;
  height: auto;

  box-shadow:
  0 12px 18px rgba(0,0,0,.22);

  border-radius:20px;

  transition:.25s;

}

.link-image:hover{

  transform:
  translateY(-8px)
  rotate(-3deg)
  scale(1.08);
}

.social-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 22px 24px;
  width: fit-content;
  margin: 75px auto 0;
}

/*======== OLA POPUP ========*/
.ola-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 40px;

  overflow-y: auto;

  background-image: url("assets/popups/ola-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  text-align: center;

  border-radius: 8px;
}

.ola-title {
  display: block;
  width: 70%;
  max-width: 600px;
  height: auto;

  margin: 0 auto 0px;
}

.ola-links {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 14px;

  width: 420px;
  max-width: 70%;

  margin: 35px auto 0;
}

.ola-link:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.ola-link {
  position: relative;
  z-index: 0;

  display: inline-block;

  padding: 12px 14px;

  background: #ffe6f4;
  color: #111;

  border: 2px solid #111;

  font-family: "Shadows Into Light", cursive;
  font-size: 20px;

  text-decoration: none;

  transform: rotate(-1deg);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ola-link::before{

  content:"";

  position:absolute;

  left:0;
  bottom:5px;

  width:0%;

  height:65%;

  background:#ff7fcf;

  opacity:.65;

  z-index:-1;

  transition:width .35s ease;

}

.ola-link:hover::before{

  width:100%;

}

.ola-link:nth-child(even) {
  transform: rotate(2deg);
}

.ola-link:hover {
  transform: rotate(0deg) scale(1.08);
  box-shadow: 4px 4px 0 #111;
}

.ola-popup {
  position: relative;
}

/*======== NIC POPUP - MUSIC ========*/
.nic-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;
  
  padding: 40px;

  overflow-y: auto;

  background-image: url("assets/popups/nic-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  text-align: center;

  border-radius: 8px;
}

.cd-image {
  display: block;

  width: 80px;
  height: auto;

  filter: drop-shadow(5px 7px 4px rgba(0, 0, 0, 0.4));

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.cd-grid a:hover .cd-image {
  transform: rotate(8deg) scale(1.08);

  filter: drop-shadow(
    6px 9px 5px rgba(0, 0, 0, 0.35)
  );
}

.cd-grid {
  display: grid;

  grid-template-columns: repeat(3, 100px);

  column-gap: 30px;
  row-gap: 22px;

  justify-content: center;

  width: 100%;

  margin: 180px auto 0;
}

/*======== GALLERY POPUP - CAMERA ========*/
.gallery-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 60px 45px 45px;

  background-image: url("assets/popups/gallery-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  overflow: hidden;

  text-align: center;

  border-radius: 8px;
}

.gallery-title {
  display: block;
  width: 70%;
  max-width: 600px;
  height: auto;

  margin: 0 auto 0px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;

  max-height: 500px;
  overflow-y: auto;

  padding: 30px;
}

.gallery-item {
  padding: 8px 8px 24px;

  border: none;
  background: #fff;

  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.25);

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow: 0.2s ease;
}

.gallery-item img {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: cover;
}

.gallery-item:nth-child(3n + 1) {
  transform: rotate(-2deg);
}

.gallery-item:nth-child(3n + 2) {
  transform: rotate(1deg);
}

.gallery-item:nth-child(3n) {
  transform: rotate(2deg);
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.04);

  box-shadow: 6px 9px 12px rgba(0, 0, 0, 0.3);

  z-index: 2;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.9);

  z-index: 2000;
}

.lightbox {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 90%;
  max-height: 90vh;
}

.lightbox-image {
  display: block;

  max-width: 80vw;
  max-height: 78vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border: 10px solid white;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.gallery-photo-details {
  width: min(620px, 86vw);

  margin: 14px auto 0;
  padding: 18px 16px;

  background: #fff;

  border-radius: 12px;

  text-align: center;

  font-family:
    "Special Elite",
    monospace;

  box-shadow:
    4px 6px 14px rgba(0, 0, 0, 0.25);
}

.gallery-photo-title {
  margin: 0 0 6px;

  font-size: 22px;
}

.gallery-photo-caption {
  margin: 0;

  font-size: 14px;
  line-height: 1.45;
}

.gallery-photo-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;

  margin-top: 10px;

  font-size: 12px;
  opacity: 0.75;
}

.lightbox-close {
  position: absolute;

  top: -40px;
  right: 0;

  border: 0;
  background: transparent;

  color: hotpink;
  font-size: 36px;

  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;

  top: 50%;

  border: 0;
  background: transparent;

  color: hotpink;
  font-size: 50px;

  cursor: pointer;

  transform: translateY(-50%);
}

.lightbox-prev {
  left: -45px;
}

.lightbox-next {
  right: -47px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
  position: absolute;

  bottom: -45px;
  left: 50%;

  margin: 0;

  color: hotpink;

  font-family:"Shadows Into Light", cursive;
  font-size: 28px;

  transform: translateX(-50%);
}

/*======== EVENTS POPUP - DISCOBALL ========*/
.events-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 40px;

  overflow-y: auto;

  background-image: url("assets/popups/events-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  text-align: center;

  border-radius: 8px;
}


.split-flap-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 3px;

  margin: 10px auto 12px;

  font-family: "Special Elite", monospace;
}

.split-flap-title span:not(.flap-space) {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 46px;

  background: #171717;
  color: #f5f1df;

  border-radius: 3px;

  font-size: 27px;
  font-weight: bold;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -2px 0 rgba(0,0,0,.8),
    0 3px 4px rgba(0,0,0,.25);

  overflow: hidden;

  animation: flapIn .55s ease backwards;
}


/* Center seam on each mechanical flap */

.split-flap-title span:not(.flap-space)::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 50%;

  height: 1px;

  background: #050505;

  box-shadow: 0 1px rgba(255,255,255,.08);
}


.flap-space {
  width: 12px;
}

@keyframes flapIn {

  0% {
    transform: rotateX(-90deg);
    opacity: 0;
  }

  60% {
    transform: rotateX(15deg);
    opacity: 1;
  }

  100% {
    transform: rotateX(0);
    opacity: 1;
  }
}

.split-flap-title span:nth-child(1)  { animation-delay: .05s; }
.split-flap-title span:nth-child(2)  { animation-delay: .10s; }
.split-flap-title span:nth-child(3)  { animation-delay: .15s; }
.split-flap-title span:nth-child(4)  { animation-delay: .20s; }
.split-flap-title span:nth-child(5)  { animation-delay: .25s; }
.split-flap-title span:nth-child(6)  { animation-delay: .30s; }

.split-flap-title span:nth-child(8)  { animation-delay: .40s; }
.split-flap-title span:nth-child(9)  { animation-delay: .45s; }
.split-flap-title span:nth-child(10) { animation-delay: .50s; }
.split-flap-title span:nth-child(11) { animation-delay: .55s; }
.split-flap-title span:nth-child(12) { animation-delay: .60s; }
.split-flap-title span:nth-child(13) { animation-delay: .65s; }
.split-flap-title span:nth-child(14) { animation-delay: .70s; }
.split-flap-title span:nth-child(15) { animation-delay: .75s; }
.split-flap-title span:nth-child(16) { animation-delay: .80s; }

.flap-land {
  animation: flapLand 0.2s ease;
}

@keyframes flapLand {

  0% {
    transform: rotateX(-25deg);
  }

  60% {
    transform: rotateX(8deg);
  }

  100% {
    transform: rotateX(0);
  }

}

.events-subtitle {
  font-family: "Special Elite", system-ui;
  font-size: 18px;
  color: white;

  background: black;
  padding:6px;
  display: inline-block;
}

.events-list {
  display: flex;
  flex-direction: column;

  gap: 25px;

  padding: 20px;

  max-height: 600px;
  overflow-y: auto;
}

.event-card {
  position: relative;

  display: grid;
  grid-template-columns: 110px 1fr;

  align-items: center;
  gap: 20px;

  width: 100%;
  aspect-ratio: 3/1;

 
  padding: 30px 85px 30px 45px;

  font-family: "Special Elite", system-ui;

  border: none;

  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.event-card.ticket-blue {
  background-image: url("assets/events/ticket-blue.png");
}

.event-card.ticket-pink {
  background-image: url("assets/events/ticket-pink.png");
}

.event-card.ticket-yellow {
  background-image: url("assets/events/ticket-yellow.png");
}

.event-card.ticket-green {
  background-image: url("assets/events/ticket-green.png");
}

.event-card.ticket-purple {
  background-image: url("assets/events/ticket-purple.png");
}

.event-card:nth-child(odd) {
  transform: rotate(-1deg);
}

.event-card:nth-child(even) {
  transform: rotate(1deg);
}

.event-card:hover {
  transform: rotate(0deg) scale(1.01);
}

.event-date {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  width: 100px;
  min-width: 100px;

  padding: 10px;

  background: transparent;
  border: none;

  text-align: center;
}

.event-month {
  display: block;

  font-size: 24px;
}

.event-day {
  display: block;
  font-size: 36px;
  font-weight: bold;
}

.event-info {
  min-width: 0;

  padding-right: 20px;

  text-align: left;
}

.event-status {
  position: absolute;

  top: 30px;
  right: 150px;

  padding: 5px 9px;

  background: #222;
  color: white;

  font-size: 13px;
}

.event-time {
  margin: 0 0 10px;
}

.event-preview {
  margin: 0 0 12px;
}

.event-detail-overlay {
  position: fixed;
  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.8);

  z-index: 3000;
}

.event-detail-popup {
  position: relative;

  width: min(700px, 90%);

  padding: 55px 60px;

  background-image: url("assets/events/event-details-bg3.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  color: #111 ;

  text-align: left;
}

.event-detail-content{

  margin-left: 120px;

  padding-top: 35px;

  padding-right: 45px;

}

.event-details-btn {
  font-family: "Special Elite", system-ui;
  font-size: 13px;
  color: white;

  background: black;
  padding: 4px;
  display: inline-block;
}

#eventDetailTitle {
  margin: 0 0 12px;

  font-family: "Luckiest Guy", cursive;
  font-size: 32px;
}

#eventDetailDate {
  margin-bottom: 18px;

  font-family: "Special Elite", system-ui;
  font-size: 22px;
}

#eventDetailDescription {
  margin-bottom: 18px;

  font-family: "Special Elite", system-ui;
  line-height: 1.5;
}

#eventDetailLocation {
  font-family: "Special Elite", system-ui;
}

.event-detail-link {
  display: inline-block;

  margin-top: 15px;
  padding: 10px 18px;

  font-family: "Special Elite", system-ui;

  background: #222;
  color: white;

  text-decoration: none;

  transition: transform 0.15s ease;
}

.event-detail-link:hover {
  transform: scale(1.05);
}

.event-detail-close {
  position: absolute;

  top: 18px;
  right: 22px;

  border: 0;
  background: transparent;

  font-size: 30px;
  cursor: pointer;
}

/*======== THEATER POPUP - SLATE ========*/
.theater-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 40px;

  overflow-y: auto;

  background-image: url("assets/popups/theater-popup-bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  text-align: center;

  border-radius: 8px;
}

.theater-marquee {
  position: relative;

  width: min(620px, 82%);
  height: 58px;

  margin: 10px auto 24px;

  overflow: hidden;

  background: #111;
  border: 4px solid #d6b36a;
  border-radius: 8px;

  box-shadow:
    0 5px 0 #5a3a16,
    0 0 18px rgba(255, 207, 92, 0.55);

  z-index: 5;
}

.theater-marquee-track {
  display: inline-block;

  min-width: max-content;

  padding-left: 100%;

  font-family: "Notable", sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 50px;

  white-space: nowrap;

  color: #ffdc4f;

  text-shadow:
    0 0 4px #ffd85c,
    0 0 10px #ff9f1c,
    0 0 16px #ff5c00;

  animation: scrollTheaterMarquee 12s linear infinite;
}

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

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

.movie-grid {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  justify-content: center;
  gap: 20px;

  width: 100%;
  margin: 30px auto;
}

.movie-card {
  width: 140px;
  text-align: center;

  transition: transform .25s ease;
}

.movie-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.movie-poster {
  display: block;
  width: 100%;
  height: auto;

  cursor: pointer;

  filter: drop-shadow(5px 7px 4px rgba(0, 0, 0, 0.4));

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.movie-poster:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.movie-card h3 {
  margin: 10px 0 0;
  font-family: "Special Elite", system-ui;
  font-size: 16px;

  padding: 5px 9px;

  background: #222;
  color: white;
}

.movie-overlay {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.9);

  z-index: 2000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.movie-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.movie-lightbox {
  position: relative;

  width: min(960px, 92vw);
  max-height: 90vh;
}

.movie-close {
  position: absolute;

  top: -42px;
  right: 0;

  z-index: 10;

  border: 0;
  background: transparent;

  color: hotpink;
  font-size: 36px;
  line-height: 1;

  cursor: pointer;
}

.movie-details {
  box-sizing: border-box;

  position: relative;

  display: grid;
  grid-template-columns: 220px 1fr;

  align-items: center;
  column-gap: 180px;

  width: 100%;
  aspect-ratio: 16 / 9;

  padding:
    70px
    75px
    65px
    45px;

  background-image:
    url("assets/theater/movie-details-bg.jpg");

  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.movie-detail-poster {
  display: block;

  width: 250px;
  max-width: 100%;
  height: auto;

  justify-self: center;

  object-fit: contain;

  box-shadow:
    8px 10px 18px rgba(0, 0, 0, 0.3);

  transform: translateX(50px) rotate(-1deg);
}

.movie-info {
  min-width: 0;
  max-width: 440px;

  align-self: center;

  padding-left: 55px;

  text-align: left;
  font-family: "Special Elite", system-ui;

  opacity: 0;
  transform: translateY(16px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.movie-info h2 {
  margin: 0 0 18px;

  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;

  text-transform: uppercase;
  letter-spacing: 1px;

  color: #1d1d1d;
}

.movie-meta {
  margin: 0 0 14px;

  font-size: 17px;
  line-height: 1.4;
}

.movie-description {
  margin: 0 0 20px;

  font-size: 17px;
  line-height: 1.45;
}

.movie-overlay.show .movie-info {
  opacity: 1;
  transform: translateY(0);

  transition-delay: 0.2s;
}

.watch-movie-button {
  display: inline-block;

  margin-top: 4px;
  padding: 10px 18px;

  background: #1f1f1f;
  color: white;

  text-decoration: none;
  font-weight: bold;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.watch-movie-button:hover {
  transform: scale(1.05);
  background: #000;
}

/*=== VHS TRANSITION * CHC THEATER ===*/
.vhs-transition {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.82);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 3000;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.vhs-transition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vhs-cassette {
  position: relative;

  width: min(460px, 80vw);
  aspect-ratio: 1.65 / 1;

  padding: 28px;

  overflow: hidden;

  background: #171717;
  border: 8px solid #050505;
  border-radius: 12px;

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.65);

  transform: translateY(110vh) rotate(-4deg);

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.vhs-transition.active .vhs-cassette {
  transform: translateY(0) rotate(0deg);
}

.vhs-window {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 78%;
  height: 42%;

  margin: 0 auto;

  padding: 0 34px;

  background: #d9d9d9;
  border: 5px solid #080808;
  border-radius: 8px;
}

.vhs-reel {
  width: 58px;
  aspect-ratio: 1;

  border: 9px dashed #222;
  border-radius: 50%;

  animation: spinVhsReel 0.7s linear infinite;
}

@keyframes spinVhsReel {
  to {
    transform: rotate(360deg);
  }
}

.vhs-label {
  display: block;

  width: 76%;
  height: 70px;

  margin: 18px auto 0;

  object-fit: cover;
  object-position: center;

  border: 4px solid #080808;
  background: white;
}

.vhs-insert-text {
  margin: 10px 0 0;

  color: white;

  font-family: "Special Elite", system-ui;
  font-size: 18px;
  text-align: center;
  letter-spacing: 2px;
}

.vhs-transition:not(.active) .vhs-cassette {
  transition: none;
}

.vhs-transition.active {
  animation: vhsFlicker 0.18s steps(2) 2;
}

@keyframes vhsFlicker {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.35);
  }
}

/*======== LOOKBOOK ========*/
.lookbook-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  background: rgba(24, 15, 22, 0.88);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.lookbook-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* STAGE */
.lookbook-stage {
  position: relative;

  width: min(1100px, 90vw);
}


/* BOOK */
.lookbook-book {
  position: relative;

  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 100%;
  height: min(700px, 78vh);

  background: #f8f0e7;

  border-radius: 8px 14px 14px 8px;

  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.45),
    0 5px 15px rgba(0, 0, 0, 0.25);

  overflow: hidden;

  perspective: 1800px;
}


/* PAGES */
.lookbook-page {
  position: relative;

  min-width: 0;
  min-height: 0;
  overflow: hidden;

  padding: 42px;

  background:
    linear-gradient(
      rgba(255, 252, 247, 0.93),
      rgba(248, 240, 231, 0.93)
    );

  color: #382932;
}


/* LEFT */
.lookbook-page-left {
  box-shadow:
    inset -20px 0 28px -28px rgba(0, 0, 0, 0.6);
}


/* RIGHT */
.lookbook-page-right {
  box-shadow:
    inset 20px 0 28px -28px rgba(0, 0, 0, 0.6);
}


/* CENTER SPINE */
.lookbook-spine {
  position: absolute;

  top: 0;
  bottom: 0;
  left: 50%;

  width: 22px;

  transform: translateX(-50%);

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(55, 35, 46, 0.13),
      rgba(255, 255, 255, 0.28),
      rgba(55, 35, 46, 0.13),
      transparent
    );

  z-index: 10;
}


/* PHOTO */
.lookbook-photo-wrap {
  height: calc(100% - 36px);
  min-height: 0;

  padding: 12px;

  background: #ffffff;

  box-shadow:
    0 7px 18px rgba(55, 35, 46, 0.18);

  transform: rotate(-0.6deg);

  overflow: hidden;
}

.lookbook-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.lookbook-photo-caption {
  margin-top: 14px;

  text-align: center;

  font-size: 13px;
  letter-spacing: 0.22em;
}


/* RIGHT PAGE CONTENT */
.lookbook-page-content {
  height: 100%;
  min-height: 0;

  display: flex;
  flex-direction: column;

  padding-left: 12px;
}

.lookbook-featured {
  align-self: flex-start;

  margin-bottom: 18px;
  padding: 7px 11px;

  background: #ef91bb;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.lookbook-number {
  margin: 0 0 4px;

  font-size: 13px;
  letter-spacing: 0.25em;
}

.lookbook-title {
  margin: 0 0 18px;

  font-family: Georgia, serif;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 0.98;
}

.lookbook-meta {
  font-size: 14px;
  line-height: 1.4;
}

.lookbook-meta p {
  margin: 4px 0;
}

.lookbook-divider {
  width: 100%;
  height: 1px;

  margin: 18px 0;

  background: rgba(56, 41, 50, 0.25);
}

.lookbook-description {
  margin: 0 0 18px;

  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
}


/* TAGS */
.lookbook-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-bottom: 20px;
}

.lookbook-tag {
  padding: 5px 9px;

  border: 1px solid #d76f9d;
  border-radius: 999px;

  font-size: 10px;
  letter-spacing: 0.08em;
}


/* LINKS */
.lookbook-links-section {
  margin-top: auto;
  padding-bottom: 28px;
}

.lookbook-section-label {
  margin-bottom: 8px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.lookbook-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lookbook-links a {
  color: #382932;
  text-decoration: underline;
}


/* LITTLE FOOTER */
.lookbook-page-number {
  position: absolute;

  right: 30px;
  bottom: 18px;

  font-size: 8px;
  letter-spacing: 0.35em;

  opacity: 0.55;
}


/* CLOSE */
.lookbook-close {
  position: absolute;

  top: -22px;
  right: -22px;

  z-index: 30;

  width: 48px;
  height: 48px;

  border: 0;
  border-radius: 50%;

  background: #f5a5c5;
  color: #382932;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}


/* PREVIOUS / NEXT */
.lookbook-nav {
  position: absolute;

  top: 50%;

  z-index: 25;

  width: 52px;
  height: 52px;

  transform: translateY(-50%);

  border: 0;
  border-radius: 50%;

  background: #f5a5c5;
  color: #382932;

  font-size: 38px;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

.lookbook-prev {
  left: -72px;
}

.lookbook-next {
  right: -72px;
}


/* PROGRESS */
.lookbook-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 20px;

  color: #ffffff;

  font-size: 11px;
  letter-spacing: 0.18em;
}

.lookbook-progress-line {
  display: block;

  width: 55px;
  height: 1px;

  background: rgba(255, 255, 255, 0.6);
}

/* -------- LOOKBOOK PAGE TURN -------- */
.lookbook-flip-page {
  position: absolute;

  top: 0;
  left: 50%;

  width: 50%;
  height: 100%;

  z-index: 20;

  transform-origin: left center;
  transform-style: preserve-3d;

  pointer-events: none;

  visibility: hidden;
}

.lookbook-flip-page.is-flipping {
  visibility: visible;
}


/* BOTH SIDES OF THE PAPER */
.lookbook-flip-front,
.lookbook-flip-back {
  position: absolute;
  inset: 0;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  background:
    linear-gradient(
      rgba(255, 252, 247, 0.98),
      rgba(248, 240, 231, 0.98)
    );
}


/* FRONT OF PAGE */
.lookbook-flip-front {
  transform: rotateY(0deg);

  box-shadow:
    -10px 0 22px rgba(0, 0, 0, 0.08);
}


/* BACK OF PAGE */
.lookbook-flip-back {
  transform: rotateY(180deg);

  box-shadow:
    10px 0 22px rgba(0, 0, 0, 0.12);
}


/* FORWARD TURN */
.lookbook-flip-page.turn-forward {
  animation:
    lookbookTurnForward 0.85s
    cubic-bezier(0.65, 0, 0.35, 1)
    forwards;
}

@keyframes lookbookTurnForward {

  0% {
    transform:
      perspective(1800px)
      rotateY(0deg);

    filter: brightness(1);
  }

  35% {
    filter: brightness(0.9);
  }

  50% {
    transform:
      perspective(1800px)
      rotateY(-90deg);

    filter: brightness(0.82);
  }

  100% {
    transform:
      perspective(1800px)
      rotateY(-180deg);

    filter: brightness(1);
  }
}


/* BACKWARD TURN */
.lookbook-flip-page.turn-backward {
  left: 0;

  transform-origin: right center;

  animation:
    lookbookTurnBackward 0.85s
    cubic-bezier(0.65, 0, 0.35, 1)
    forwards;
}

@keyframes lookbookTurnBackward {

  0% {
    transform:
      perspective(1800px)
      rotateY(0deg);

    filter: brightness(1);
  }

  35% {
    filter: brightness(0.9);
  }

  50% {
    transform:
      perspective(1800px)
      rotateY(90deg);

    filter: brightness(0.82);
  }

  100% {
    transform:
      perspective(1800px)
      rotateY(180deg);

    filter: brightness(1);
  }
}

.lookbook-flip-page::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.14),
      transparent 22%,
      transparent 78%,
      rgba(0, 0, 0, 0.06)
    );

  opacity: 0;

  pointer-events: none;
}

.lookbook-flip-page.is-flipping::after {
  animation: lookbookPageShadow 0.85s ease;
}

@keyframes lookbookPageShadow {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/*======== CHC ARCHIVE - RECORD ========*/
.archive-popup {
  position: relative;

  width: min(800px, 92%);
  max-height: 90vh;
  aspect-ratio: 1 / 1;

  padding: 40px;

  overflow-y: auto;

  background-image:
    url("assets/popups/archive-popup-bg.jpg");

  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 8px;

  text-align: center;
}

.archive-terminal{

    width:fit-content;

    margin:12px auto 25px;

    padding:10px 18px;

    background:#000;

    border:2px solid #17ff62;

    font-family:"Courier New", monospace;

    color:#17ff62;

    box-shadow:
        0 0 15px rgba(0,255,120,.35);
}

.cursor{

    animation:blinkCursor .9s infinite;
}

@keyframes blinkCursor{

    50%{
        opacity:0;
    }

}

.archive-subtitle {
  margin: 0 0 20px;

  font-family: "Special Elite", monospace;
  font-size: 16px;

  color: #222;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 150px);

  justify-content: center;
  align-items: start;

  gap: 35px 55px;

  max-height: 58vh;
  overflow-y: auto;

  padding: 35px 25px;
}

.archive-folder {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: flex-start;

  width: 150px;

  padding: 0;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.archive-folder-icon {
  display: block;

  width: 110px;
  height: auto;

  image-rendering: pixelated;

  filter:
    drop-shadow(5px 7px 4px rgba(0, 0, 0, 0.35));

  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.archive-folder:hover .archive-folder-icon {
  transform:
    translateY(-5px)
    scale(1.05);

  filter:
    drop-shadow(7px 10px 6px rgba(0, 0, 0, 0.3));
}

.archive-folder-name {
  display: inline-block;

  max-width: 145px;

  margin-top: 8px;
  padding: 3px 6px;

  font-family: "Special Elite", monospace;
  font-size: 14px;
  line-height: 1.2;

  color: #111;

  background: rgba(255, 255, 255, 0.78);
}

.archive-folder:focus .archive-folder-name,
.archive-folder:focus-visible .archive-folder-name {
  background: #000080;
  color: white;

  outline: 1px dotted white;
  outline-offset: -3px;
}

.archive-folder-view {
  min-height: 500px;

  padding: 20px 30px 35px;

  text-align: left;
}

.archive-folder-view[hidden],
.archive-home[hidden] {
  display: none;
}

.archive-back-button {
  display: inline-block;

  margin: 0 0 18px;
  padding: 7px 14px;

  border:
    2px solid #111;

  background: #e6e6e6;
  color: #111;

  font-family: "Special Elite", monospace;
  font-size: 15px;

  box-shadow:
    3px 3px 0 #777;

  cursor: pointer;

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.archive-back-button:hover {
  transform: translate(-1px, -1px);

  box-shadow:
    4px 4px 0 #555;
}

.archive-back-button:active {
  transform: translate(2px, 2px);

  box-shadow:
    1px 1px 0 #555;
}

.archive-folder-header {
  display: flex;
  align-items: center;

  gap: 15px;

  margin-bottom: 10px;
}

.archive-folder-header-icon {
  width: 65px;
  height: auto;

  image-rendering: pixelated;
}

.archive-folder-title {
  margin: 0;

  font-family: "Special Elite", monospace;
  font-size: 30px;
}

.archive-folder-description {
  margin: 0 0 22px;

  font-family: "Special Elite", monospace;
  font-size: 16px;
  line-height: 1.45;
}

.archive-content-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(130px, 1fr));

  gap: 24px;

  max-height: 52vh;
  overflow-y: auto;

  padding: 20px;

  background:
    rgba(255, 255, 255, 0.72);

  border:
    2px solid rgba(0, 0, 0, 0.45);
}

.archive-item {
  display: flex;
  flex-direction: column;

  align-items: center;

  padding: 8px;

  border: 0;
  background: transparent;

  cursor: pointer;

  transition:
    transform 0.18s ease;
}

.archive-item:hover {
  transform:
    translateY(-4px);
}

.archive-item-image {
  display: block;

  width: 100%;
  max-width: 140px;
  height: 110px;

  object-fit: cover;

  border:
    3px solid white;

  box-shadow:
    4px 6px 8px rgba(0, 0, 0, 0.25);
}

.archive-item-title {
  display: inline-block;

  margin-top: 8px;
  padding: 3px 6px;

  max-width: 145px;

  font-family: "Special Elite", monospace;
  font-size: 13px;
  line-height: 1.25;

  color: #111;

  background:
    rgba(255, 255, 255, 0.82);

  text-align: center;
}

.archive-empty-message {
  grid-column: 1 / -1;

  margin: 40px auto;

  font-family: "Special Elite", monospace;
  font-size: 17px;

  text-align: center;
}

/*==== ARCHIVE LIGHTBOX ====*/

.archive-lightbox-overlay {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(0, 0, 0, 0.88);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 3000;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.archive-lightbox-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.archive-lightbox {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 92vw;
  max-height: 90vh;

  padding: 20px;

  background: rgba(255, 255, 255, 0.94);
  border: 3px solid #111;

  overflow-y: auto;
}

.archive-lightbox-image {
  display: block;

  max-width: 82vw;
  max-height: 72vh;

  width: auto;
  height: auto;

  object-fit: contain;
}

.archive-lightbox-title {
  margin: 16px 0 0;

  font-family: "Special Elite", monospace;
  font-size: 22px;
  text-align: center;
}

.archive-lightbox-close {
  position: absolute;

  top: 8px;
  right: 12px;

  z-index: 5;

  border: 0;
  background: transparent;

  color: hotpink;
  font-size: 34px;
  line-height: 1;

  cursor: pointer;
}

/*======== AVI/PFP BUILDER ========*/
.pfp-overlay {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.75);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.25s ease;

  z-index: 9999;
}

.pfp-overlay.show {
  opacity: 1;
  visibility: visible;
}

.pfp-popup {
  position: relative;

  width: min(620px, 92vw);
  max-height: 92vh;

  padding: 32px;

  overflow-y: auto;

  background:
    linear-gradient(
      rgba(255, 247, 250, 0.96),
      rgba(255, 247, 250, 0.96)
    );

  border: 4px solid #f3a6bd;
  border-radius: 24px;

  box-sizing: border-box;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35);
}

.pfp-close {
  position: absolute;

  top: 12px;
  right: 16px;

  border: 0;
  background: transparent;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;
}

.pfp-title-img {
  display: block;

  width: min(360px, 85%);
  height: auto;

  margin: 0 auto 6px;
}

.pfp-overlay.show .pfp-title-img {
  animation: pfpTitlePop 0.45s ease-out;
}

@keyframes pfpTitlePop {
  0% {
    opacity: 0;
    transform: scale(0.75) rotate(-4deg);
  }

  70% {
    opacity: 1;
    transform: scale(1.06) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.pfp-header p {
  margin: 6px 0 0;

  font-family: "Special Elite", system-ui;
  font-size: 14px;
  text-align: center;
}

.pfp-builder {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 20px;
}

.pfp-preview {
  position: relative;

  width: min(450px, 100%);
  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #eee;

  border: 3px solid #f3a6bd;
  border-radius: 14px;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15);
}

#pfpCanvas {
  display: block;

  width: 100%;
  height: 100%;

  cursor: grab;
  touch-action: none;

  user-select: none;
}

#pfpCanvas:active {
  cursor: grabbing;
}

.pfp-controls {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;

  width: 100%;
  gap: 12px;
}

.pfp-action-button {
  padding: 12px 22px;

  border: 2px solid #e9a0b8;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #f8b6ca,
    #ef94b1
  );

  box-shadow:
    0 4px 0 #d983a0,
    0 7px 12px rgba(0, 0, 0, 0.10);

  font-family: "Special Elite", system-ui;
  font-weight: bold;
  letter-spacing: 0.5px;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.pfp-action-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 6px 0 #d983a0,
    0 9px 15px rgba(0, 0, 0, 0.12);
}

.pfp-action-button:active {
  transform: translateY(2px);

  box-shadow:
    0 2px 0 #d983a0;
}

.pfp-zoom-control {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  gap: 12px;
}

.pfp-zoom-control label {
  font-weight: bold;
  font-size: 14px;
  font-family: "Special Elite", system-ui;
}

#pfpZoom {
  -webkit-appearance: none;
  appearance: none;

  width: min(260px, 65%);
  height: 8px;

  background: #f7c6d5;
  border: 2px solid #e89ab4;
  border-radius: 999px;

  outline: none;
  cursor: pointer;
}

 .pfp-help {
  margin: -4px 0 0;

  font-family: "Special Elite", system-ui;
  font-size: 13px;
  text-align: center;

  opacity: 0.7;
}

#pfpZoom::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;

  width: 24px;
  height: 24px;

  background: #e86b9a;

  border: 3px solid #ffffff;
  border-radius: 50%;

  cursor: grab;
}

.pfp-button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 10px;

  width: 100%;
}

/*======== MINI MUSIC PLAYER ========*/

.mini-player {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: min(340px, calc(100vw - 32px));

  padding: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 206, 235, 0.96),
      rgba(214, 218, 255, 0.96)
    );

  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.38),
    inset 0 0 18px rgba(255, 255, 255, 0.65);

  z-index: 1400;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(35px) scale(0.96);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.mini-player.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.mini-player-close {
  position: absolute;
  top: 8px;
  right: 12px;

  border: 0;
  background: transparent;

  font-size: 24px;
  cursor: pointer;
}

.mini-player-top {
  display: flex;
  align-items: center;
  gap: 14px;

  padding-right: 22px;
}

.mini-player-cover {
  width: 72px;
  height: 72px;

  object-fit: cover;

  border: 3px solid white;
  border-radius: 12px;

  box-shadow:
    4px 6px 10px rgba(0, 0, 0, 0.25);

  animation: spinAlbum;
}

.mini-player-info {
  min-width: 0;
  text-align: left;
}

.mini-player-label {
  display: inline-block;

  margin-bottom: 4px;
  padding: 2px 7px;

  background: #111;
  color: white;

  font-family: "Special Elite", system-ui;
  font-size: 11px;
  letter-spacing: 1px;
}

.mini-player-title {
  margin: 0 0 3px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-family: "Special Elite", system-ui;
  font-size: 17px;
  font-weight: bold;
}

.mini-player-artist {
  margin: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-family: "Special Elite", system-ui;
  font-size: 13px;
}

.mini-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  margin-top: 16px;
}

.music-control {
  width: 40px;
  height: 40px;

  border: 2px solid #111;
  border-radius: 50%;

  background: white;
  color: #111;

  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
  font-variant-emoji: text;

  box-shadow:
    3px 4px 0 rgba(0, 0, 0, 0.35);

  cursor: pointer;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.music-control:hover {
  transform: translateY(-2px);

  box-shadow:
    4px 6px 0 rgba(0, 0, 0, 0.3);
}

.music-control:active {
  transform: translateY(2px);

  box-shadow:
    1px 2px 0 rgba(0, 0, 0, 0.3);
}

.music-play {
  width: 48px;
  height: 48px;

  background: #111;
  color: white;
}

.mini-player-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;

  margin-top: 15px;

  font-family: "Special Elite", system-ui;
  font-size: 11px;
}

#songProgress {
  width: 100%;
  cursor: pointer;
  accent-color: #ff4fa3;
}

/*======== CHC NOTIFICATIONS ========*/
.chc-notification {
  position: fixed;

  top: 22px;
  right: 22px;

  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;

  width: min(330px, calc(100vw - 32px));
  padding: 16px 18px;

  font-family: "Special Elite", system-ui;

  background: linear-gradient(
    135deg,
    #f3f3f3,
    #d6e7ff
  );

  border: 2px solid #1d4e89;

  box-shadow:
    inset 2px 2px 0 white,
    inset -2px -2px 0 #7694b5,
    6px 8px 20px rgba(0, 0, 0, 0.32);

  z-index: 4000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-20px) scale(0.96);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.chc-notification.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.chc-notification-close {
  position: absolute;
  top: 5px;
  right: 8px;

  border: 0;
  background: transparent;

  font-size: 20px;
  cursor: pointer;
}

/*======== EVENTS SMALL SCREEN ========*/
@media (max-width: 700px) {
  .events-popup {
    width: 94vw;
    padding: 24px 18px;
  }

  .split-flap-title {
    gap: 2px;
  }

  .split-flap-title span:not(.flap-space) {
    width: 22px;
    height: 34px;

    font-size: 19px;
  }

  .flap-space {
    width: 7px;
  }

  .events-subtitle {
    font-size: 14px;
    padding: 5px;
  }

  .events-list {
    gap: 18px;
    padding: 12px 4px;
  }


  /* ---- EVENT TICKETS ---- */
  .event-card {
    grid-template-columns: 72px 1fr;
    gap: 10px;

    padding: 18px 50px 18px 20px;
  }

  .event-date {
    width: 70px;
    min-width: 70px;
    padding: 4px;
  }

  .event-month {
    font-size: 16px;
  }

  .event-day {
    font-size: 28px;
  }

  .event-info {
    padding-right: 0;
    font-size: 13px;
  }

  .event-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.1;
  }

  .event-time {
    margin-bottom: 5px;
  }

  .event-preview {
    margin-bottom: 7px;
    line-height: 1.15;
  }

  .event-details-btn {
    font-size: 11px;
    padding: 3px 4px;
  }

  .event-status {
    top: 5%;
    right: 14%;

    padding: 4px 6px;
    font-size: 10px;
  }

  /* ---- EVENT DETAILS ---- */
  .event-detail-popup {
    width: 92vw;

    padding: 35px 28px;

    max-height: 88vh;
    overflow-y: auto;
  }

  .event-detail-content {
    margin-left: 105px;

    padding-top: 25px;
    padding-right: 20px;
  }

  #eventDetailTitle {
    font-size: 24px;
    line-height: 1.05;
  }

  #eventDetailDate {
    margin-bottom: 12px;
    font-size: 17px;
  }

  #eventDetailDescription {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.35;
  }

  #eventDetailLocation {
    font-size: 14px;
  }

  .event-detail-link {
    margin-top: 10px;

    padding: 8px 12px;

    font-size: 13px;
  }

  .event-detail-close {
    top: 12px;
    right: 15px;

    font-size: 26px;
  }
}

/*======== THEATER SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {
  .theater-popup {
    width: 94vw;
    padding: 24px 16px;
  }

  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    width: 100%;
    margin: 22px auto;
  }

  .movie-card {
    width: 100%;
  }

  .movie-poster {
    width: 100%;
    height: auto;
  }

  .movie-card h3 {
    font-size: 14px;
    line-height: 1.15;
    margin-top: 8px;
  }

  .movie-details {
    display: flex;
    flex-direction: column;

    width: 92vw;
    max-height: 86vh;

    aspect-ratio: auto;

    padding: 22px 18px;
    gap: 18px;

    overflow-y: auto;
  }

  .movie-detail-poster {
    width: min(180px, 55vw);
    max-width: 100%;

    margin: 0 auto;

    height: auto;
  }

  .movie-info {
    width: 100%;
    max-width: none;

    text-align: left;
  }

  .movie-info h2 {
    font-size: 26px;
    line-height: 1.05;
  }

  .movie-meta {
    font-size: 14px;
  }

  .movie-description {
    font-size: 14px;
    line-height: 1.4;
  }

  .watch-movie-button {
    display: inline-block;

    margin-top: 12px;
  }

  .movie-detail-poster {
    display: block;

    width: 140px;
    max-width: 100%;
    height: auto;

    justify-self: center;

    object-fit: contain;

    box-shadow:
      8px 10px 18px rgba(0, 0, 0, 0.3);

    transform: rotate(-1deg);
  }

  .watch-movie-button {
    display: inline-block;

    margin-top: 2px;
    padding: 6px 16px;

    background: #1f1f1f;
    color: white;

    text-decoration: none;
    font-weight: bold;

    transition:
      transform 0.2s ease,
      background 0.2s ease;
  }
}

/*======== THEATER SMALL SCREEN PORTRAIT ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .movie-details {
    width: 92vw;
    max-height: 82vh;

    grid-template-columns: 180px 1fr;

    padding: 24px;
    gap: 24px;

    overflow-y: auto;
  }

  .movie-detail-poster {
    width: 100%;
    max-width: 180px;

    height: auto;
  }

  .movie-info h2 {
    font-size: 28px;
  }

  .movie-description {
    font-size: 14px;
    line-height: 1.35;
  }
}

/*======== GALLERY SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .gallery-popup {
    width: 94vw;
    padding: 40px 18px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    padding: 18px 10px;

    max-height: 65vh;
  }

  .gallery-item {
    width: 100%;

    padding: 7px 7px 18px;
  }

  .gallery-item img {
    width: 100%;

    height: auto;
    aspect-ratio: 4 / 5;

    object-fit: cover;
  }

  .lightbox-prev,
  .lightbox-next {
    z-index: 5;

    width: 44px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;

  }

  .lightbox-prev {
    left: -6px;
  }

  .lightbox-next {
    right: -6px;
  }
}

/*======== GALLERY SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .lightbox {
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 22px;

    width: 92vw;
    max-width: 92vw;
    max-height: 88vh;
  }

  .lightbox-image {
    max-width: 50vw;
    max-height: 78vh;

    width: auto;
    height: auto;
  }

  .gallery-photo-details {
    width: min(340px, 35vw);

    margin: 0;

    padding: 14px 12px;
  }


  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }


  .lightbox-counter {
    bottom: -25px;
    left: auto;
    right: 26.5vw;

    font-size: 22px;

    transform: translateX(50%);
  }
}

/*======== ARCHIVE SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .archive-popup {
    width: 94vw;
    padding: 28px 16px;
    overflow-x: hidden;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px 16px;

    width: 100%;
    max-height: 60vh;

    padding: 24px 8px;

    overflow-y: auto;
    overflow-x: hidden;
  }

  .archive-folder {
    width: 100%;
  }

  .archive-folder-icon {
    width: 88px;
  }

  .archive-folder-name {
    max-width: 120px;
    font-size: 12px;
  }

  .archive-folder-view {
    min-height: 0;

    padding: 16px 14px 24px;
  }

  .archive-folder-header {
    gap: 10px;
  }

  .archive-folder-title {
    font-size: 24px;
  }

  .archive-folder-description {
    font-size: 14px;
    line-height: 1.35;
  }

  .archive-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    padding: 12px;

    max-height: 52vh;
  }

  .archive-item-image {
    height: 90px;
  }
}

/*======== ARCHIVE SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .archive-popup {
    overflow-x: hidden;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px 28px;

    width: 100%;

    padding: 24px 16px;

    overflow-y: auto;
    overflow-x: hidden;
  }

  .archive-folder {
    width: 100%;
  }

  .archive-folder-icon {
    width: 95px;
  }
}

/*======== OLA POPUP SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .ola-popup {
    width: 94vw;
    padding: 24px 16px;
  }

  .ola-title {
    width: 62%;
    max-width: 320px;
  }

  .ola-links {
    width: 72%;
    max-width: 320px;

    gap: 10px 12px;

    margin-top: 24px;
  }

  .ola-link {
    padding: 8px 10px;
    font-size: 17px;
  }

  .ola-link:last-child {
    width: 55%;
  }
}

/*======== OLA POPUP SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .ola-popup {
    width: 92vw;
    padding: 20px 18px;
  }

  .ola-title {
    width: 52%;
    max-width: 360px;
  }

  .ola-links {
    width: 48%;
    max-width: 470px;

    gap: 8px 14px;

    margin-top: 18px;
  }

  .ola-link {
    padding: 7px 10px;
    font-size: 17px;
  }

  .ola-link:last-child {
    width: 48%;
  }
}

/*======== NIC POPUP SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .nic-popup {
    width: 94vw;
    padding: 24px 16px;

    overflow-y: auto;
    overflow-x: hidden;
  }

  .cd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 76%;
    max-width: 330px;

    column-gap: 8px;
    row-gap: 10px;

    margin: 95px auto 0;
  }

  .cd-image {
    width: 50px;
    max-width: 100%;
  }
}

/*======== NIC POPUP SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .nic-popup {
    overflow-x: hidden;
  }

  .cd-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));

    width: 62%;
    max-width: 500px;

    column-gap: 8px;
    row-gap: 8px;

    margin: 95px auto 0;
  }

  .cd-image {
    width: 60px;
  }
}

/*======== CHC POPUP SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .chc-popup {
    width: 94vw;
    padding: 26px 16px;
    overflow-x: hidden;
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    width: 72%;
    max-width: 320px;

    margin: 22px auto;
  }

  .link-image {
    width: 58px;
    max-width: 100%;

    border-radius: 16px;
  }
}

/*======== CHC POPUP SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .chc-popup {
    overflow-x: hidden;
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);

    gap: 12px 16px;

    width: 52%;
    max-width: 480px;

    margin: 16px auto;
  }

  .link-image {
    width: 60px;
  }
}

/*======== GAMES POPUP SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .games-popup {
    width: 94vw;
    max-height: 84svh;

    padding: 22px 14px;

    overflow-x: hidden;
  }

  .games-title {
    width: 62%;
    max-width: 280px;
  }

  .game-grid {
    grid-template-columns: 1fr;

    gap: 18px;

    width: 82%;
    max-width: 320px;

    margin: 18px auto 24px;
  }

  .game-card {
    width: 100%;

    padding: 12px;
  }

  .game-card h3 {
    font-size: 22px;
    margin: 10px 0 8px;
  }

  .game-card p {
    font-size: 13px;
    line-height: 1.35;
  }

  .game-cover {
    width: 100%;
    aspect-ratio: 1 / 1;

    margin-bottom: 10px;
  }
}

/*======== GAMES POPUP SMALL SCREEN LANDSCAPE ========*/
            /* NOTHING YA PERFECTTTTTTTT */

/*======== NOTIFS SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .chc-notification {
    top: 14px;
    right: 14px;

    grid-template-columns: 30px 1fr;
    gap: 8px;

    width: min(250px, calc(100vw - 28px));

    padding: 11px 13px;

    font-size: 12px;
  }

  .chc-notification-close {
    top: 3px;
    right: 5px;

    font-size: 16px;
  }
}

/*======== NOTIFS SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .chc-notification {
    top: 10px;
    right: 12px;

    grid-template-columns: 28px 1fr;
    gap: 7px;

    width: min(230px, 32vw);

    padding: 9px 12px;

    font-size: 11px;
  }

  .chc-notification-close {
    top: 2px;
    right: 4px;

    font-size: 15px;
  }
}

/*======== MUSIC PLAYAAA SMALL SCREEN PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .mini-player {
    right: 12px;
    bottom: 12px;

    width: min(270px, calc(100vw - 24px));

    padding: 12px;

    border-radius: 14px;
  }

  .mini-player-close {
    top: 5px;
    right: 8px;

    font-size: 18px;
  }

  .mini-player-top {
    gap: 10px;
    padding-right: 18px;
  }

  .mini-player-cover {
    width: 54px;
    height: 54px;

    border-radius: 9px;
  }

  .mini-player-label {
    font-size: 9px;
    padding: 2px 5px;
  }

  .mini-player-title {
    font-size: 14px;
  }

  .mini-player-artist {
    font-size: 11px;
  }

  .mini-player-controls {
    gap: 12px;
    margin-top: 11px;
  }

  .music-control {
    width: 32px;
    height: 32px;

    font-size: 14px;
  }

  .music-play {
    width: 38px;
    height: 38px;
  }

  .mini-player-progress {
    gap: 6px;

    margin-top: 10px;

    font-size: 9px;
  }
}

/*======== MUSIC PLAYAAA SMALL SCREEN LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .mini-player {
    right: 10px;
    bottom: 10px;

    width: min(240px, 30vw);

    padding: 10px;

    border-radius: 12px;
  }

  .mini-player-close {
    top: 4px;
    right: 6px;

    font-size: 16px;
  }

  .mini-player-top {
    gap: 8px;
    padding-right: 16px;
  }

  .mini-player-cover {
    width: 46px;
    height: 46px;

    border-radius: 8px;
  }

  .mini-player-label {
    font-size: 8px;
  }

  .mini-player-title {
    font-size: 12px;
  }

  .mini-player-artist {
    font-size: 10px;
  }

  .mini-player-controls {
    gap: 10px;
    margin-top: 8px;
  }

  .music-control {
    width: 28px;
    height: 28px;

    font-size: 12px;
  }

  .music-play {
    width: 34px;
    height: 34px;
  }

  .mini-player-progress {
    margin-top: 8px;

    font-size: 8px;
  }
}

/*======== HOMEPAGE ADJUSTMENTS ========*/
@media (max-width: 700px) and (orientation: portrait) {

  body {
    min-height: 100svh;

    background:
      linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
      ),
      url("assets/backgrounds/collagefill.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

/*======== BOOT SCREEN ADJUSTMENTS PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .boot-window {
    width: min(92vw, 620px);
    max-height: 88svh;
  }
}

/*======== BOOT SCREEN ADJUSTMENTS LANDSCAPE ========*/
@media (max-width: 900px) and (orientation: landscape) {

  .boot-screen {
    padding: 8px;
  }

  .boot-window {
    width: 560px;

    transform: scale(0.72);
    transform-origin: center center;
  }
}

/*======== LOOKBOOK ADJUSTMENTS PORTRAIT ========*/
@media (max-width: 700px) and (orientation: portrait) {

  .lookbook-overlay {
    padding: 18px 8px;
  }

  .lookbook-stage {
    width: 92vw;
  }

  .lookbook-book {
    width: 100%;
    height: 72vh;
    min-height: 520px;
    max-height: 680px;
  }

  .lookbook-page {
    padding: 16px;
  }

  .lookbook-page-content {
    padding-left: 4px;
  }

  .lookbook-photo-wrap {
    height: calc(100% - 30px);
    padding: 7px;
  }

  .lookbook-photo-caption {
    margin-top: 9px;

    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .lookbook-featured {
    margin-bottom: 8px;

    padding: 4px 6px;

    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .lookbook-number {
    margin-bottom: 3px;

    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .lookbook-title {
    margin-bottom: 12px;

    font-size: clamp(21px, 6vw, 30px);
    line-height: 0.95;

    overflow-wrap: anywhere;
  }

  .lookbook-meta {
    font-size: 10px;
    line-height: 1.3;
  }

  .lookbook-meta p {
    margin: 3px 0;
  }

  .lookbook-divider {
    margin: 10px 0;
  }

  .lookbook-description {
    margin-bottom: 10px;

    font-size: 11px;
    line-height: 1.35;
  }

  .lookbook-tags {
    gap: 5px;
    margin-bottom: 10px;
  }

  .lookbook-tag {
    padding: 3px 6px;

    font-size: 7px;
    letter-spacing: 0.03em;
  }

  .lookbook-links-section {
    margin-top: auto;
    padding-bottom: 18px;
  }

  .lookbook-section-label {
    margin-bottom: 4px;

    font-size: 7px;
  }

  .lookbook-links {
    gap: 3px;
  }

  .lookbook-links a {
    font-size: 9px;
    line-height: 1.2;
  }

  .lookbook-page-number {
    display: none;
  }

  .lookbook-close {
    top: -18px;
    right: -6px;

    width: 42px;
    height: 42px;

    font-size: 26px;
  }

  .lookbook-nav {
    width: 40px;
    height: 40px;

    font-size: 28px;
  }

  .lookbook-prev {
    left: -16px;
  }

  .lookbook-next {
    right: -16px;
  }

  .lookbook-progress {
    margin-top: 14px;

    font-size: 8px;
  }
}

/*======== LOOKBOOK ADJUSTMENTS LANDSCAPE ========*/
@media (max-width: 950px) and (orientation: landscape) {

  .lookbook-overlay {
    padding: 12px 55px;
  }

  .lookbook-stage {
    width: min(900px, 88vw);
  }

  .lookbook-book {
    width: 100%;
    height: 78vh;
    max-height: 520px;
  }

  .lookbook-page {
    padding: 24px;
  }

  .lookbook-page-content {
    padding-left: 8px;
  }

  .lookbook-featured {
    margin-bottom: 8px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .lookbook-number {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .lookbook-title {
    margin-bottom: 10px;

    font-size: clamp(24px, 4vw, 38px);
    line-height: 0.95;
  }

  .lookbook-meta {
    font-size: 11px;
    line-height: 1.25;
  }

  .lookbook-meta p {
    margin: 2px 0;
  }

  .lookbook-divider {
    margin: 10px 0;
  }

  .lookbook-description {
    margin-bottom: 10px;

    font-size: 12px;
    line-height: 1.3;
  }

  .lookbook-tags {
    gap: 5px;
    margin-bottom: 8px;
  }

  .lookbook-tag {
    padding: 3px 7px;
    font-size: 8px;
  }

  .lookbook-links-section {
    margin-top: auto;
    padding-bottom: 12px;
  }

  .lookbook-section-label {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .lookbook-links {
    gap: 2px;
  }

  .lookbook-links a {
    font-size: 10px;
    line-height: 1.15;
  }

  .lookbook-photo-wrap {
    height: calc(100% - 28px);
    padding: 8px;
  }

  .lookbook-photo-caption {
    margin-top: 8px;
    font-size: 9px;
  }

  .lookbook-page-number {
    right: 20px;
    bottom: 10px;
    font-size: 6px;
  }

  .lookbook-nav {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .lookbook-prev {
    left: -48px;
  }

  .lookbook-next {
    right: -48px;
  }

  .lookbook-close {
    top: -15px;
    right: -15px;

    width: 42px;
    height: 42px;

    font-size: 25px;
  }

  .lookbook-progress {
    margin-top: 10px;
    font-size: 9px;
  }
}

/*======== PFP BUILDER MOBILE ADJUSTMENTS  ========*/


