/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~ BASE STYLING ~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at center, #1a001a 0%, #000 80%);
  color: #eae6ff;
  font-family: "Century Gothic", sans-serif;
  overflow-x: hidden;
  z-index: -2;
}

/* subtle static/grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://cdn.pixabay.com/photo/2021/01/06/21/53/gallery-5895743_1280.png");
  background-size: 100%;
  pointer-events: none;
  z-index: -1;
}

.room {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HEADER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

header h1 {
  font-family: "gothic_birthday_cake", "Century Gothic", sans-serif;
  font-size: 2.5rem;
  color: #cdb4ff;
  text-shadow: 0 0 10px #b794ff, 0 0 20px #7a00ff;
  margin-bottom: 1rem;
  animation: flicker 4s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.7;
  }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~ MAIN CONTENT ~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #dcd0ff;
  margin-bottom: 2rem;
}

.shelf {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~ IMAGE ARTIFACTS ~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.artifact {
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.artifact img {
  width: auto;
  height: auto;
  max-width: 200px;
  border-radius: 10px;
  filter: blur(0px);
  transition: all 0.4s ease;
}

/* hover effects — glow, blur, glitch flicker */
.artifact:hover {
  filter: drop-shadow(0 0 15px #fff8e7) drop-shadow(0 0 25px #b794ff);
  animation: glitch 0.5s steps(2, end) infinite;
}

.artifact:hover img {
  filter: blur(2px) brightness(1.2);
  transform: scale(1.05);
}

/* glitch keyframes */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -2px); }
  100% { transform: translate(0); }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FOOTER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
