body {
  margin: 0;
  background: #0a0f1a;
  color: #e9f6ff;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0.15;
  z-index: 40;
}

/* Animated background */
.bg-animation {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(107, 76, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(51, 175, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(51, 175, 255, 0.05) 0%,
      transparent 60%
    );
  animation: bgPulse 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes bgPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* Stars */
.stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(
      2px 2px at 40px 70px,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(
      2px 2px at 130px 80px,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(1px 1px at 160px 120px, white, transparent);
  background-size: 200px 200px;
  animation: twinkle 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  border-bottom: 1px solid rgba(51, 175, 255, 0.25);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 80;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  color: #33afff;
  text-shadow: 0 0 12px #33afff;
  margin: 0;
}

.boot-button {
  padding: 10px 26px;
  font-family: "Orbitron";
  border: 2px solid #33afff;
  background: rgba(10, 15, 25, 0.7);
  color: #33afff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s;
  box-shadow:
    0 0 8px #33afff inset,
    0 0 12px #33afff;
  backdrop-filter: blur(5px);
}

.boot-button:hover {
  background: #33afff;
  color: #05070d;
  transform: translateY(-2px);
}

.content-wrapper {
  padding: 40px 40px 80px;
}

.page-title {
  font-family: "Orbitron", sans-serif;
  font-size: 42px;
  color: #33afff;
  text-shadow: 0 0 15px #33afff;
  margin: 0 0 30px 0;
  text-align: center;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  font-family: "Orbitron", sans-serif;
  padding: 14px 40px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(51, 175, 255, 0.45);
  color: #e9f6ff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(51, 175, 255, 0.12);
}

.tab-btn:hover {
  transform: translateY(-2px);
  border-color: #33afff;
  box-shadow: 0 0 30px rgba(51, 175, 255, 0.25);
}

.tab-btn.active {
  background: rgba(51, 175, 255, 0.15);
  border-color: #33afff;
  box-shadow:
    0 0 8px #33afff inset,
    0 0 25px rgba(51, 175, 255, 0.35);
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(51, 175, 255, 0.45);
  padding: 26px;
  border-radius: 18px;
  cursor: pointer;
  transition: 0.25s;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(51, 175, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #33afff;
  box-shadow: 0 0 50px rgba(51, 175, 255, 0.35);
}

.card-image {
  width: 100%;
  height: 160px;
  background: linear-gradient(
    135deg,
    rgba(51, 175, 255, 0.1),
    rgba(107, 76, 255, 0.1)
  );
  border-radius: 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 1px solid rgba(51, 175, 255, 0.25);
}

.card-title {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  color: #33afff;
  text-shadow: 0 0 8px #33afff;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 16px;
  color: #e9f6ff;
  opacity: 0.75;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #33afff;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(51, 175, 255, 0.25);
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.popup.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: rgba(20, 30, 50, 0.95);
  border: 2px solid rgba(51, 175, 255, 0.6);
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(51, 175, 255, 0.4);
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(51, 175, 255, 0.2);
  border: 1px solid #33afff;
  color: #33afff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron";
}

.close-btn:hover {
  background: #33afff;
  color: #0a0f1a;
  transform: rotate(90deg);
}

.popup-title {
  font-family: "Orbitron", sans-serif;
  font-size: 32px;
  color: #33afff;
  text-shadow: 0 0 12px #33afff;
  margin: 0 0 20px 0;
}

.popup-subtitle {
  font-size: 18px;
  color: #e9f6ff;
  opacity: 0.8;
  margin-bottom: 20px;
}

.popup-info {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.info-badge {
  padding: 8px 16px;
  background: rgba(51, 175, 255, 0.15);
  border: 1px solid rgba(51, 175, 255, 0.4);
  border-radius: 8px;
  font-size: 14px;
  color: #33afff;
}

.popup-description {
  line-height: 1.8;
  font-size: 16px;
  color: #e9f6ff;
  margin-bottom: 25px;
}

.track-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.track-list li {
  padding: 12px 15px;
  background: rgba(51, 175, 255, 0.05);
  border: 1px solid rgba(51, 175, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
}

.track-list li:hover {
  background: rgba(51, 175, 255, 0.15);
  border-color: #33afff;
}

.track-number {
  color: #33afff;
  font-family: "Orbitron";
  margin-right: 12px;
}

.track-duration {
  color: #6b4cff;
  font-size: 14px;
}

.play-button {
  padding: 12px 30px;
  font-family: "Orbitron";
  border: 2px solid #33afff;
  background: rgba(51, 175, 255, 0.2);
  color: #33afff;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 0 15px rgba(51, 175, 255, 0.3);
  margin-top: 20px;
}

.play-button:hover {
  background: #33afff;
  color: #0a0f1a;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
  }

  .page-title {
    font-size: 32px;
  }

  .category-tabs {
    flex-direction: column;
    align-items: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .popup-content {
    margin: 20px;
    padding: 30px 20px;
    max-height: 90vh;
  }

  .popup-title {
    font-size: 24px;
    margin-right: 40px;
  }
}
