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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #0a1828 0%, #1a2f4a 50%, #0a1828 100%);
  color: #ffffff;
  min-height: 100vh;
  position: relative;
}

/* Navigation */
.showcase-nav {
  background: rgba(10, 24, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-back {
  color: #00d4ff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-back:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateX(-3px);
}

.nav-title {
  font-size: 1.8rem;
  margin: 0;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  flex: 1;
  text-align: center;
}

.nav-info {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.info-badge {
  background: rgba(0, 212, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 212, 255, 0.4);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Showcase Header */
.showcase-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.showcase-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #e8f4f8;
}

.showcase-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #b0c4d0;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Files Container */
.files-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.file-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.file-card:hover {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.file-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.file-title {
  font-size: 1.4rem;
  color: #00d4ff;
  font-weight: 600;
}

.file-rank {
  background: linear-gradient(135deg, #ff6b6b, #ff8787);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.file-metadata {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.metadata-item {
  display: flex;
  flex-direction: column;
}

.metadata-label {
  font-size: 0.85rem;
  color: #b0c4d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.metadata-value {
  font-size: 1.1rem;
  color: #00d4ff;
  font-weight: 600;
}

.metadata-value.highlight {
  color: #ff6b6b;
  font-size: 1.3rem;
}

/* Audio mode tabs */
.audio-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.audio-tab {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.audio-tab.active {
  background: rgba(0, 212, 255, 0.3);
  border-color: #00d4ff;
}

.audio-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.15);
}

/* Visualizations */
.viz-container {
  position: relative;
  cursor: pointer;
  margin-bottom: 10px;
}

.viz-image {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.playback-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 2px;
  background: rgba(255, 0, 0, 0.8);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
}

.hover-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  display: none;
}

/* Audio player controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin-top: 15px;
}

.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00d4ff;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn:hover {
  background: #00b8e6;
}

.time {
  color: #00d4ff;
  font-family: monospace;
}

.timeline {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.timeline-progress {
  height: 100%;
  background: #00d4ff;
  border-radius: 3px;
  width: 0%;
}

/* Showcase Footer */
.showcase-footer {
  margin-top: 4rem;
  padding: 2rem;
  text-align: center;
  border-top: 2px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.showcase-footer p {
  margin: 0.5rem 0;
  color: #b0c4d0;
}

.showcase-footer a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.showcase-footer a:hover {
  color: #00fff0;
  text-decoration: underline;
}

.footer-note {
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-title {
    font-size: 1.5rem;
  }

  .showcase-header {
    padding: 1.5rem;
  }

  .showcase-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .file-card {
    padding: 1.5rem;
  }

  .file-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .container {
    padding: 1rem;
  }

  .player-controls {
    flex-wrap: wrap;
  }
}
