@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DotGothic16", "Press Start 2P", monospace;
  background-color: #000033;
  color: #ffffff;
  overflow: hidden;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 0, 153, 0.1) 2px, rgba(255, 0, 153, 0.1) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.1) 2px, rgba(0, 255, 255, 0.1) 4px);
  animation: backgroundPulse 4s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    background-color: #000033;
  }
  50% {
    background-color: rgb(0, 0, 25.5);
  }
}
.viewer-container {
  display: flex;
  height: 100vh;
  position: relative;
  border: 6px solid;
  background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 255), rgb(255, 0, 255));
  box-shadow: inset 0 0 50px rgba(255, 0, 153, 0.3), 0 0 50px rgba(255, 0, 153, 0.5);
  animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow: inset 0 0 50px rgba(255, 0, 153, 0.3), 0 0 50px rgba(255, 0, 153, 0.5);
  }
  50% {
    box-shadow: inset 0 0 80px rgba(255, 0, 153, 0.5), 0 0 80px rgba(255, 0, 153, 0.8);
  }
}
.sidebar {
  width: 250px;
  background: linear-gradient(180deg, #000033 0%, #000066 100%);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 10px;
  border-right: 6px solid;
  -o-border-image: linear-gradient(180deg, #ff0099, #00ffff, #ffff00, #00ff00, #0099ff, #9900ff) 1;
     border-image: linear-gradient(180deg, #ff0099, #00ffff, #ffff00, #00ff00, #0099ff, #9900ff) 1;
}
.sidebar::-webkit-scrollbar {
  width: 16px;
}
.sidebar::-webkit-scrollbar-track {
  background: #000033;
  border: 3px solid #ff0099;
  box-shadow: inset 0 0 10px rgba(255, 0, 153, 0.5);
}
.sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 255), rgb(255, 0, 255));
  border: 3px solid #000033;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 20px rgba(255, 0, 153, 0.8);
}
.sidebar {
  position: relative;
}
.sidebar::before {
  content: "★ GALLERY ★";
  display: block;
  text-align: center;
  color: #ff0099;
  font-size: 0.7rem;
  margin-bottom: 20px;
  padding: 15px;
  border: 4px solid #ff0099;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
}

@keyframes rainbowText {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.thumbnail-item {
  margin-bottom: 20px;
  cursor: pointer;
  border: 4px solid #0099cc;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(135deg, #000066 0%, #000033 100%);
  box-shadow: 0 0 10px rgba(255, 0, 153, 0.3);
}
.thumbnail-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 0, 153, 0.2) 2px, rgba(255, 0, 153, 0.2) 4px);
  pointer-events: none;
  z-index: 1;
  animation: scanlines 8s linear infinite;
}
@keyframes scanlines {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}
.thumbnail-item:hover {
  border-color: #ff0099;
  box-shadow: 0 0 30px #ff0099, inset 0 0 30px rgba(255, 0, 153, 0.3);
  transform: scale(1.08) rotate(2deg);
}
.thumbnail-item.active {
  border: 4px solid;
  -o-border-image: linear-gradient(45deg, #ff0099, #00ffff, #ffff00) 1;
     border-image: linear-gradient(45deg, #ff0099, #00ffff, #ffff00) 1;
  box-shadow: 0 0 40px #00ffff, inset 0 0 40px rgba(0, 255, 255, 0.4);
  animation: activePulse 1s ease-in-out infinite;
}
.thumbnail-item.active::after {
  content: "▶";
  position: absolute;
  top: 10px;
  right: 10px;
  color: #00ffff;
  font-size: 2rem;
  z-index: 2;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  animation: bounce 0.5s ease-in-out infinite;
}
@keyframes activePulse {
  0%, 100% {
    box-shadow: 0 0 40px #00ffff, inset 0 0 40px rgba(0, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 60px #00ffff, inset 0 0 60px rgba(0, 255, 255, 0.6);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.thumbnail-item img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  filter: contrast(1.2) brightness(0.9) saturate(1.3);
  transition: filter 0.3s ease;
}
.thumbnail-item:hover img {
  filter: contrast(1.3) brightness(1.1) saturate(1.5);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(circle at center, #000066 0%, #000033 100%);
  position: relative;
}
.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255, 0, 153, 0.05) 4px, rgba(255, 0, 153, 0.05) 8px);
  pointer-events: none;
  animation: scanlines 8s linear infinite;
}

.viewer-header {
  background: linear-gradient(90deg, #000033 0%, #000066 50%, #000033 100%);
  padding: 20px 30px;
  border-bottom: 6px solid;
  -o-border-image: linear-gradient(90deg, #ff0099, #00ffff, #ffff00, #00ffff, #ff0099) 1;
     border-image: linear-gradient(90deg, #ff0099, #00ffff, #ffff00, #00ffff, #ff0099) 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 0 30px rgba(255, 0, 153, 0.5);
}
.viewer-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 255), rgb(255, 0, 255));
  animation: slideRainbow 3s linear infinite;
}
@keyframes slideRainbow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.viewer-header h1 {
  font-size: 1.2rem;
  color: #ff0099;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.viewer-header h1::before {
  content: "◆ ";
  color: #00ffff;
}
.viewer-header h1::after {
  content: " ◆";
  color: #ffff00;
}

.close-btn {
  background-color: #000066;
  color: #ff0099;
  border: 4px solid #ff0099;
  font-family: "Press Start 2P", "DotGothic16", monospace;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.5), inset 4px 4px 0 rgba(255, 255, 255, 0.2), 0 0 20px #ff0099, 0 0 40px #ff0099;
}
.close-btn:hover {
  background: #ff0099;
  color: #000033;
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.3), inset 4px 4px 0 rgba(255, 255, 255, 0.4), 0 0 30px #ff0099, 0 0 60px #ff0099;
  transform: scale(1.05);
}
.close-btn:active {
  transform: scale(0.95);
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.5), inset -4px -4px 0 rgba(255, 255, 255, 0.2);
}
.close-btn {
  padding: 12px 24px;
  background-color: #000033;
  color: #ff0000;
  border-color: #ff0000;
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.5), inset 4px 4px 0 rgba(255, 255, 255, 0.2), 0 0 20px #ff0000, 0 0 40px #ff0000;
}
.close-btn:hover {
  background-color: #ff0000;
  color: #000033;
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.3), inset 4px 4px 0 rgba(255, 255, 255, 0.4), 0 0 30px #ff0000, 0 0 60px #ff0000;
  animation: shake 0.3s ease-in-out;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.image-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  position: relative;
  background: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255, 0, 153, 0.03) 8px, rgba(255, 0, 153, 0.03) 16px), repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(0, 255, 255, 0.03) 8px, rgba(0, 255, 255, 0.03) 16px);
}

.main-image-container {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.main-image-container::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 4px solid;
  -o-border-image: linear-gradient(45deg, #ff0099, #00ffff, #ffff00, #00ff00, #0099ff, #9900ff, #ff0099) 1;
     border-image: linear-gradient(45deg, #ff0099, #00ffff, #ffff00, #00ff00, #0099ff, #9900ff, #ff0099) 1;
  pointer-events: none;
  opacity: 0.7;
  animation: rotateBorder 6s linear infinite;
  z-index: 2;
}
@keyframes rotateBorder {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.main-image-container::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px dashed #ff0099;
  pointer-events: none;
  opacity: 0.5;
  animation: dashRotate 20s linear infinite;
  z-index: -1;
}
@keyframes dashRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.main-image {
  max-width: 100%;
  max-height: calc(100vh - 350px);
  -o-object-fit: contain;
     object-fit: contain;
  border: 6px solid;
  z-index: 9999;
  -o-border-image: linear-gradient(135deg, #ff0099, #00ffff, #ffff00) 1;
     border-image: linear-gradient(135deg, #ff0099, #00ffff, #ffff00) 1;
  box-shadow: 0 0 40px #ff0099, 0 0 80px #00ffff, inset 0 0 40px rgba(255, 0, 153, 0.2);
  filter: contrast(1.1) brightness(1.05) saturate(1.2);
  animation: imagePulse 3s ease-in-out infinite;
}
@keyframes imagePulse {
  0%, 100% {
    box-shadow: 0 0 40px #ff0099, 0 0 80px #00ffff, inset 0 0 40px rgba(255, 0, 153, 0.2);
  }
  50% {
    box-shadow: 0 0 60px #ff0099, 0 0 120px #00ffff, inset 0 0 60px rgba(255, 0, 153, 0.3);
  }
}

.nav-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
  z-index: 100;
  transform: translateY(-50%);
}

.nav-btn {
  background-color: #000066;
  color: #ff0099;
  border: 4px solid #ff0099;
  font-family: "Press Start 2P", "DotGothic16", monospace;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.5), inset 4px 4px 0 rgba(255, 255, 255, 0.2), 0 0 20px #ff0099, 0 0 40px #ff0099;
}
.nav-btn:hover {
  background: #ff0099;
  color: #000033;
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.3), inset 4px 4px 0 rgba(255, 255, 255, 0.4), 0 0 30px #ff0099, 0 0 60px #ff0099;
  transform: scale(1.05);
}
.nav-btn:active {
  transform: scale(0.95);
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.5), inset -4px -4px 0 rgba(255, 255, 255, 0.2);
}
.nav-btn {
  width: 70px;
  height: 70px;
  border-radius: 0;
  font-size: 2.5rem;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #000066 0%, #000033 100%);
}
.nav-btn::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 2px solid rgba(255, 0, 153, 0.5);
  animation: innerGlow 2s ease-in-out infinite;
}
@keyframes innerGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.nav-btn:hover {
  animation: buttonBounce 0.5s ease-in-out;
}
@keyframes buttonBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #0099cc;
  color: #0099cc;
  box-shadow: none;
  animation: none;
}
.nav-btn:disabled::before {
  display: none;
}
.nav-btn:disabled:hover {
  background: linear-gradient(135deg, #000066 0%, #000033 100%);
  color: #0099cc;
  box-shadow: none;
  transform: none;
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 0, 153, 0.3);
  position: relative;
}
.info-tags::before {
  content: "TAGS";
  position: absolute;
  top: -10px;
  left: 0;
  background: #000033;
  padding: 0 10px;
  color: #ffff00;
  font-size: 0.7rem;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
}

.info-tag {
  background: linear-gradient(135deg, #000066 0%, #000033 100%);
  color: #00ffff;
  padding: 8px 16px;
  border: 3px solid #00ffff;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.5), inset 2px 2px 0 rgba(255, 255, 255, 0.2), 0 0 15px #00ffff;
  position: relative;
  overflow: hidden;
}
.info-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}
.info-tag:hover {
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.3), inset 2px 2px 0 rgba(255, 255, 255, 0.4), 0 0 25px #00ffff, 0 0 50px #00ffff;
  transform: scale(1.1) rotate(-2deg);
}
.info-tag:hover::before {
  left: 100%;
}
.info-tag:active {
  transform: scale(0.95);
}

.info-panel {
  background: linear-gradient(180deg, #000066 0%, #000033 100%);
  padding: 25px 35px;
  border-top: 6px solid;
  -o-border-image: linear-gradient(90deg, #ff0099, #00ffff, #ffff00, #00ffff, #ff0099) 1;
     border-image: linear-gradient(90deg, #ff0099, #00ffff, #ffff00, #00ffff, #ff0099) 1;
  max-height: 280px;
  overflow-y: auto;
}
.info-panel::-webkit-scrollbar {
  width: 16px;
}
.info-panel::-webkit-scrollbar-track {
  background: #000033;
  border: 3px solid #ff0099;
  box-shadow: inset 0 0 10px rgba(255, 0, 153, 0.5);
}
.info-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 255), rgb(255, 0, 255));
  border: 3px solid #000033;
}
.info-panel::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 20px rgba(255, 0, 153, 0.8);
}
.info-panel {
  position: relative;
  box-shadow: 0 -10px 30px rgba(255, 0, 153, 0.3);
}
.info-panel::before {
  content: "★ INFO ★";
  position: absolute;
  top: 10px;
  right: 35px;
  color: #ff0099;
  font-size: 0.6rem;
  opacity: 0.7;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  animation: blink 2s steps(2) infinite;
}
@keyframes blink {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.3;
  }
}
.info-panel h2 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ff0099;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.info-panel h2::before {
  content: "▶ ";
  color: #00ffff;
  -webkit-text-fill-color: #00ffff;
}
.info-panel .info-item {
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(0, 0, 102, 0.5);
  border-left: 4px solid #00ffff;
  position: relative;
  overflow: hidden;
}
.info-panel .info-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 255, 255, 0.1) 10px, rgba(0, 255, 255, 0.1) 20px);
  animation: stripeMove 20s linear infinite;
}
@keyframes stripeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100px);
  }
}
.info-panel .info-item strong {
  color: #ffff00;
  text-shadow: 0 0 10px #ffff00;
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
  position: relative;
  z-index: 1;
}
.info-panel .info-item strong::after {
  content: ":";
  margin-left: 5px;
}
.info-panel .info-item span {
  color: #ccccff;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .sidebar {
    width: 200px;
  }
  .nav-buttons {
    left: 200px;
    padding: 0 20px;
  }
  .nav-btn {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  .viewer-header h1 {
    font-size: 1rem;
  }
  .info-panel {
    max-height: 220px;
    padding: 20px 25px;
  }
}
@media (max-width: 768px) {
  .viewer-container {
    flex-direction: column;
    border-width: 4px;
  }
  .sidebar {
    width: 100%;
    height: 150px;
    border-right: none;
    border-bottom: 4px solid;
    -o-border-image: linear-gradient(90deg, #ff0099, #00ffff, #ffff00) 1;
       border-image: linear-gradient(90deg, #ff0099, #00ffff, #ffff00) 1;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
  }
  .sidebar::before {
    display: none;
  }
  .thumbnail-item {
    min-width: 120px;
    margin-right: 15px;
    margin-bottom: 0;
  }
  .thumbnail-item img {
    height: 120px;
  }
  .nav-buttons {
    left: 0;
    top: auto;
    bottom: 300px;
    padding: 0 15px;
  }
  .nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .viewer-header {
    padding: 15px 20px;
  }
  .viewer-header h1 {
    font-size: 0.8rem;
  }
  .close-btn {
    padding: 10px 20px;
    font-size: 0.7rem;
  }
  .image-display {
    padding: 20px;
  }
  .main-image {
    max-height: calc(100vh - 450px);
  }
  .info-panel {
    max-height: 200px;
    padding: 15px 20px;
  }
  .info-panel h2 {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
  .info-panel .info-item {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .viewer-container {
    border-width: 3px;
  }
  .sidebar {
    height: 120px;
  }
  .thumbnail-item {
    min-width: 100px;
  }
  .thumbnail-item img {
    height: 100px;
  }
  .viewer-header {
    padding: 10px 15px;
  }
  .viewer-header h1 {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  .viewer-header h1::before, .viewer-header h1::after {
    display: none;
  }
  .close-btn {
    padding: 8px 16px;
    font-size: 0.6rem;
  }
  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    border-width: 3px;
  }
  .image-display {
    padding: 15px;
  }
  .main-image-container::before, .main-image-container::after {
    display: none;
  }
  .main-image {
    border-width: 4px;
  }
  .info-panel {
    max-height: 180px;
    padding: 12px 15px;
    border-top-width: 4px;
  }
  .info-panel::before {
    font-size: 0.5rem;
    top: 8px;
    right: 15px;
  }
  .info-panel h2 {
    font-size: 0.75rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
  }
  .info-panel .info-item {
    margin-bottom: 8px;
    padding: 8px;
    font-size: 0.65rem;
    border-left-width: 3px;
  }
  .info-panel .info-item strong {
    display: block;
    margin-bottom: 5px;
  }
}
.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.loading::before {
  content: "LOADING";
  display: block;
  color: #ff0099;
  font-size: 1.5rem;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  animation: loadingPulse 1s ease-in-out infinite;
}
.loading::after {
  content: "";
  display: block;
  width: 100px;
  height: 10px;
  margin-top: 20px;
  background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 255), rgb(255, 0, 255));
  animation: loadingBar 1.5s ease-in-out infinite;
}
@keyframes loadingPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes loadingBar {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.error-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000033;
  color: #ff0000;
  padding: 30px 40px;
  border: 4px solid #ff0000;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 0 50px #ff0000, inset 0 0 30px rgba(255, 0, 0, 0.3);
  animation: errorShake 0.5s ease-in-out infinite;
}
@keyframes errorShake {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-2deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(2deg);
  }
}
.error-message::before {
  content: "⚠ ERROR ⚠";
  display: block;
  font-size: 1.2rem;
  margin-bottom: 15px;
  animation: blink 1s steps(2) infinite;
}

.tooltip {
  position: absolute;
  background: #000033;
  color: #ff0099;
  padding: 8px 12px;
  border: 3px solid #ff0099;
  font-size: 0.7rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10000;
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 2px 2px 0 #000033, -2px -2px 0 #000033;
  box-shadow: 0 0 20px #ff0099;
  animation: tooltipFloat 2s ease-in-out infinite;
}
@keyframes tooltipFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.tooltip::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ff0099;
}

::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: #000033;
  border: 3px solid #ff0099;
  box-shadow: inset 0 0 10px rgba(255, 0, 153, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 255), rgb(255, 0, 255));
  border: 3px solid #000033;
}
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 20px rgba(255, 0, 153, 0.8);
}

::-moz-selection {
  background: #ff0099;
  color: #000033;
  text-shadow: none;
}

::selection {
  background: #ff0099;
  color: #000033;
  text-shadow: none;
}

::-moz-selection {
  background: #ff0099;
  color: #000033;
  text-shadow: none;
}/*# sourceMappingURL=viewer.css.map */