:root {
  --color-bg: #25343F;
  --color-surface: #3a4a58;
  --color-text: #EAEFEF;
  --color-accent: #BFC9D1;
  --font-main: 'Press Start 2P', cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  image-rendering: pixelated;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: #01f59c;
  text-decoration: none;
  transition: color 0.2s;
}

a:visited {
  color: #02a267;
}

a:hover {
  color: #20feac;
  text-decoration: underline;
}

a:active {
  color: #016540;
}

.hero {
  min-height: 100vh;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

#hyperdrive-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #000;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  opacity: 0;
  transition: opacity 0.03s linear;
  /* Very fast transition to hide the swap */
}

.bg-layer.visible {
  opacity: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  text-shadow: 4px 4px 0px #000;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero p {
  font-size: 0.8rem;
  max-width: 700px;
  margin-bottom: 3rem;
  opacity: 0.9;
  text-transform: uppercase;
}

.player-container {
  background: var(--color-surface);
  border: 4px solid #000;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.song-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-align: left;
}

.song-item:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--color-text);
}

.song-item.active {
  background: var(--color-bg);
  border-color: var(--color-accent);
}

.song-art {
  width: 48px;
  height: 48px;
  background: #555;
  border: 2px solid #000;
  flex-shrink: 0;
}

.song-info h3 {
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}

.song-info p {
  font-size: 0.6rem;
  opacity: 0.7;
  margin: 0;
}

.player-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.control-btn {
  background: var(--color-bg);
  border: 4px solid #000;
  color: var(--color-text);
  padding: 10px;
  cursor: pointer;
  box-shadow: 4px 4px 0px #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:active {
  box-shadow: 0px 0px 0px #000;
  transform: translate(2px, 2px);
}

.play-btn {
  width: 60px;
  height: 60px;
}

.progress-container {
  width: 100%;
  height: 12px;
  background: #000;
  border: 2px solid var(--color-text);
  position: relative;
  cursor: pointer;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--color-accent);
}

/* CRT Effect Overlay */
.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
}

/* Mobile Responsiveness */
@media screen and (max-width: 500px) {
  #main-title-heading {
    font-size: 1.5rem !important;
    line-height: 1.2;
    margin-bottom: 2rem;
  }
}