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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body::before {
  content: 'WAVEE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

#app {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.auth-section {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
}

.upload-logo {
  width: 200px;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
}

.upload-logo:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.upload-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
}

input[type="file"] {
  display: none;
}

.shares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
}

.share-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.share-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.share-card-content {
  display: flex;
  flex-direction: column;
}

.player-container {
  position: relative;
  z-index: 1;
}

.file-item {
  position: relative;
}

.file-item:hover {
  transform: translateY(-2px);
}

#fft-canvas {
  display: block;
}
