@font-face {
  font-family: 'FNF';
  src: url('FNF.ttf') format('truetype');
}

body {
  margin: 0;
  font-family: 'FNF', sans-serif;
  color: white;
  background: black;
  overflow: hidden;
}

#bg {
  position: fixed;
  inset: 0;
  background-image: url("https://r2.e-z.host/ca2a99e0-fc90-4553-963d-de01a7e2c070/fk5dxd9e.png");
  background-repeat: repeat;
  image-rendering: pixelated;
  animation: scrollBG 35s linear infinite;
  z-index: -3;
}

@keyframes scrollBG {
  from { background-position: 0 0; }
  to { background-position: 800px 800px; }
}

#darkTint {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: -2;
}

#hintWrap {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

#hint, #hint2 {
  font-size: 18px;
  opacity: 0.7;
  animation: fadeHint 2.5s ease-in-out infinite;
}

#hint2 {
  margin-top: 5px;
}

@keyframes fadeHint {
  0%,100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

#menu {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-item {
  font-size: 30px;
  margin: 10px 0;
  opacity: 0.6;
  transition: all 0.15s ease;
}

.menu-item.active {
  font-size: 40px;
  opacity: 1;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
  animation: bounce 0.1s ease;
}

.menu-header {
  font-size: 18px;
  opacity: 0.5;
  margin: 18px 0 6px 0;
}

@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

#rightPanel {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 440px;
  text-align: center;
}

#title {
  font-size: 26px;
  margin-bottom: 10px;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

#imageBox {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
}

#previewImage {
  width: 100%;
  display: block;
  image-rendering: pixelated;
}

#descBox {
  margin-top: 10px;
  padding: 12px;
  background: rgba(0,0,0,0.55);
  border-radius: 10px;
}

#description {
  font-size: 20px;
}

.button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  font-size: 18px;
  background: #222;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.button:hover {
  transform: translateX(-50%) scale(1.08);
  background: #444;
}