body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  font-family: "Orbitron", sans-serif;
  display: flex;
  justify-content: center;
  background-image: url("../img/bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

.layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.y2k-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.y2k-header .logo-area {
  display: flex;
  align-items: center;
}

.y2k-header .logo {
  height: 50px;
  margin-right: 15px;
}

.content-wrapper {
  display: flex;
  flex: 1;
}
.y2k-nav {
  width: 200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.y2k-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.y2k-nav li {
  width: 100%;
}

.y2k-nav a {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.25s ease-in-out;
}

/* Main content and sidebar layout */

#hof-title-wrapper {
  position: relative;
  display: inline-block;
  font-family: "Press Start 2P", cursive;
  font-size: 2.4rem;
  color: #ffffff;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  padding: 20px 40px;
  user-select: none;
  text-shadow: 0 0 6px #0d00ff, 0 0 12px #eeff00, 0 0 24px #0d00ff;
  overflow: visible;
}

#hof-title-wrapper #hof-title {
  position: relative;
  z-index: 2;
}

#hof-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.y2k-main {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  padding: 20px 40px;
  background-color: var(--main-color);
}

.y2k-main .base {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hof-content {
  display: block;
  padding: 20px 25px;
  border-radius: 6px;
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: center;
}

/* Gallery style */

.hof-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.hof-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 100%;
}

.hof-item .text-left {
  flex: 0 0 50%;
  padding-right: 20px;
}

.hof-item .images-right {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hof-item {
    flex-direction: column;
    padding: 15px;
  }
  .hof-item .text-left {
    flex: 1 1 100%;
    padding-right: 0;
    margin-bottom: 15px;
  }
  .hof-item .images-right {
    justify-content: flex-start;
  }
}

/* Side panel commander info */

#cmdnr-info {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (max-width: 992px) {
  .y2k-main {
    flex-direction: column;
  }

  #cmdnr-info {
    width: 100%;
    margin-top: 20px;
    flex: 1 1 auto;
  }
}

/* Visitor Counter */

.visitor-counter {
  font-family: "Orbitron", "Courier New", monospace;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1em;
}

.visitor-number {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: 180px;
}

.visitor-number-inner {
  display: inline-flex;
  animation: scrollRight 6s linear infinite;
  white-space: nowrap;
}

.visitor-number-inner span {
  margin-right: 80px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer -------- */

.footer {
  position: relative;
  background: linear-gradient(180deg, #0a0a1f, #000010);
  border-top: 2px solid #ffffff;
  padding: 30px 20px;
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.6rem;
  color: #a0c0ff;
  overflow: hidden;
  box-shadow: 0 -6px 15px rgba(0, 0, 50, 0.8);
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left p {
  margin: 4px 0;
  text-shadow: 0 0 6px #0022ff, 0 0 12px #66ccff;
}

.footer-credit {
  font-size: 0.55rem;
  color: #e6fffa;
  opacity: 0.85;
}

.footer-right {
  display: flex;
  gap: 16px;
}

.footer-right a {
  color: #99ccff;
  text-decoration: none;
  text-shadow: 0 0 4px #0033ff, 0 0 10px #00aaff;
  transition: all 0.2s ease-in-out;
}

.footer-right a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #66ccff, 0 0 16px #0d00ff;
  transform: scale(1.05);
}

#footer-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px
  );
  mix-blend-mode: overlay;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}
