/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #08070b;
  --bg-secondary: #110e16;
  --bg-card: rgba(20, 17, 28, 0.75);
  
  --accent-purple: #8b5cf6;
  --accent-purple-hover: #a78bfa;
  --accent-purple-glow: rgba(139, 92, 246, 0.45);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-hover: #22d3ee;
  --accent-cyan-glow: rgba(6, 182, 212, 0.45);
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #4b5563;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(139, 92, 246, 0.5);
  
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --transition-speed: 0.3s;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header Styles */
.app-header {
  background-color: rgba(8, 7, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-hp {
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-hp i {
  color: var(--accent-cyan);
}

.logo-divider {
  color: var(--text-muted);
  opacity: 0.5;
}

.logo-ar {
  color: var(--accent-purple);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.header-badge {
  background-color: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-purple-hover);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

/* Simulated URL Bar */
.url-simulator {
  background-color: #0b0a0e;
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
}

.url-control {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 600px;
}

.text-cyan {
  color: var(--accent-cyan);
}

.url-domain {
  color: var(--text-main);
}

.url-path {
  color: var(--accent-purple-hover);
  font-weight: 600;
}

/* Main Application Container */
.main-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

/* View Handling */
.view-section {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.view-section.active {
  display: block;
}

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

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #6366f1);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9d76fd, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.btn-glow {
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* 1. Landing View Styles */
.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  margin-bottom: 3.5rem;
}

.hero-image-container {
  /* height: 480px; */
  width: 100%;
  position: relative;
  background-color: #000;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #08070b 5%, rgba(8, 7, 11, 0.8) 45%, rgba(8, 7, 11, 0.4) 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--accent-purple-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Journey Flow */
.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.text-center {
  text-align: center;
}

.journey-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  overflow-x: auto;
}

.journey-step {
  flex: 1;
  text-align: center;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.journey-step.done {
  opacity: 0.85;
}

.journey-step.active {
  opacity: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.journey-step.done .step-num {
  border-color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan-hover);
}

.journey-step.active .step-num {
  border-color: var(--accent-purple);
  background-color: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.journey-step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.journey-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.journey-arrow {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 2. Authentication View Styles */
.auth-card {
  max-width: 500px;
  margin: 3rem auto;
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.auth-tab-btn:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.02);
}

.auth-tab-btn.active {
  color: var(--accent-purple-hover);
  border-bottom: 2px solid var(--accent-purple);
  background-color: rgba(139, 92, 246, 0.05);
}

.auth-form {
  padding: 2.5rem;
  display: none;
}

.auth-form.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-header {
  margin-bottom: 0.5rem;
}

.form-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.input-wrapper input, .form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  padding: 0.8rem 1rem 0.8rem 2.7rem;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input, .form-group select, .form-group textarea {
  padding-left: 1rem; /* standard padding for fields without icons */
}

.input-wrapper input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background-color: rgba(0, 0, 0, 0.4);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.2rem;
  cursor: pointer;
}

/* 3. Upload View Styles */
.upload-container {
  padding: 3rem;
  max-width: 950px;
  margin: 1rem auto;
}

.upload-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.upload-header h2 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.upload-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.upload-drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  position: relative;
}

.upload-drop-zone:hover, .upload-drop-zone.dragover {
  border-color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.03);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.hidden-file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.drop-zone-content.hidden {
  display: none;
}

.upload-icon-circle, .file-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-cyan);
  transition: transform 0.3s;
}

.upload-drop-zone:hover .upload-icon-circle {
  transform: translateY(-4px);
  color: var(--accent-cyan-hover);
}

.file-icon-circle {
  color: var(--accent-purple-hover);
  background-color: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
}

.drop-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.file-limits {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 500;
}

.file-size-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
}

.upload-meta-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Upload Progress Overlay */
.upload-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 7, 11, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.3s ease;
}

.upload-overlay.hidden {
  display: none !important;
}

.progress-card {
  width: 100%;
  max-width: 480px;
  padding: 3rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.progress-spinner-container {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 0.5rem;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(139, 92, 246, 0.1);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.progress-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  color: var(--accent-purple-hover);
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  border-radius: 4px;
  transition: width 0.15s ease-out;
}

.progress-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: monospace;
}

.progress-logs {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.8rem;
  height: 90px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.75rem;
  text-align: left;
  color: #34d399;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* 4. Success View Styles */
.success-container {
  padding: 4rem 3rem;
  max-width: 800px;
  margin: 1rem auto;
}

.success-badge {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1.5rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); text-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  100% { transform: scale(1); }
}

.success-intro {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.link-card {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.link-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.link-value-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  gap: 1rem;
}

.link-value {
  font-family: monospace;
  color: var(--accent-cyan-hover);
  font-size: 1.05rem;
  overflow-x: auto;
  white-space: nowrap;
}

.btn-copy {
  background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
  border: none;
  border-radius: 6px;
  color: #000;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: linear-gradient(135deg, var(--accent-cyan-hover), #0e7490);
  transform: scale(1.02);
}

.btn-copy.copied {
  background: #10b981;
  color: #fff;
}

/* Alert Boxes */
.alert {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: left;
}

.alert-important {
  background-color: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fef3c7;
}

.alert-icon {
  font-size: 1.4rem;
  color: #f59e0b;
}

.alert-content {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Custom Audio Preview Deck */
.preview-deck {
  padding: 1.75rem;
  margin-bottom: 3rem;
  border-radius: 12px;
}

.deck-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-body {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.player-vinyl {
  width: 90px;
  height: 90px;
  position: relative;
  flex-shrink: 0;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  border: 2px solid #27272a;
}

.player-vinyl.playing .vinyl-disc {
  animation: spin 5s linear infinite;
}

.vinyl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #0b0a0e;
  border: 2px solid rgba(255,255,255,0.15);
}

.player-controls-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.player-meta h3 {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.player-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CSS Audio Visualizer */
.player-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 25px;
  margin: 0.25rem 0;
}

.v-bar {
  flex: 1;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  transition: height 0.15s ease;
}

.player-vinyl.playing ~ .player-controls-container .v-bar {
  animation: visualizer-dance 1.2s ease-in-out infinite alternate;
  background: linear-gradient(to top, var(--accent-purple), var(--accent-cyan));
}

/* Visualizer Delays */
.player-vinyl.playing ~ .player-controls-container .v-bar:nth-child(2n) { animation-delay: 0.1s; animation-duration: 0.8s; }
.player-vinyl.playing ~ .player-controls-container .v-bar:nth-child(3n) { animation-delay: 0.25s; animation-duration: 1.4s; }
.player-vinyl.playing ~ .player-controls-container .v-bar:nth-child(4n) { animation-delay: 0.05s; animation-duration: 1.1s; }
.player-vinyl.playing ~ .player-controls-container .v-bar:nth-child(5n) { animation-delay: 0.35s; animation-duration: 0.9s; }

@keyframes visualizer-dance {
  0% { height: 2px; }
  100% { height: 25px; }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.player-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: var(--text-main);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.player-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.player-scrub-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.time-label {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 32px;
}

.player-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}

.player-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-main);
  transition: background 0.15s;
}

.player-slider::-webkit-slider-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

.player-volume-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100px;
}

.volume-icon {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.volume-icon:hover {
  color: var(--text-main);
}

.volume-slider {
  max-width: 70px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* 5. Reviewer View Styles */
.reviewer-container {
  padding: 3rem;
  max-width: 950px;
  margin: 1rem auto;
}

.reviewer-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.badge-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-purple {
  background-color: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-purple-hover);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.reviewer-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.rev-artist-by {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.rev-artist-by span {
  color: var(--accent-cyan);
  font-weight: 600;
}

.reviewer-deck-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.reviewer-player {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  height: 100%;
}

.rev-visualizer-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 120px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0 1rem;
}

.wave-bar {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: background-color 0.2s, height 0.2s;
}

.wave-bar.active {
  background-color: var(--accent-purple-hover);
}

.wave-bar.played {
  background-color: var(--accent-cyan-hover);
}

.rev-player-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-play-large {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.btn-play-large:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.rev-timeline-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rev-volume-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 90px;
}

.reviewer-meta-sidebar {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reviewer-meta-sidebar h3 {
  font-size: 1.15rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  font-weight: 600;
}

.meta-description-box {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.meta-description-box h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.meta-description-box p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

.legal-badge {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  background-color: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 1rem;
  border-radius: 8px;
  align-items: flex-start;
}

.legal-badge i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.legal-badge p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer Styles */
.app-footer {
  background-color: rgba(8, 7, 11, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 700px;
}

.copyright-notice {
  font-size: 0.75rem;
  color: var(--text-dark);
}

.footer-links {
  display: flex;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-image-container {
    /* height: 340px; */
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .upload-grid, .reviewer-deck-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .journey-flow {
    padding: 1.5rem;
  }
  
  .player-body {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .player-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .player-volume-group {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  .success-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .success-actions .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
  }

  .hero-image-container {
    /* height: 220px; */
  }

  .hero-content {
    position: static !important;
    padding: 2rem 1.5rem;
    background-color: var(--bg-secondary);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .app-header {
    padding: 0.85rem 1rem;
  }

  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  .logo-divider {
    display: none;
  }

  .logo-hp {
    font-size: 1rem;
  }

  .logo-ar {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    margin-left: 1.4rem;
  }

  .header-badge {
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .url-simulator {
    padding: 0.4rem 0.75rem;
  }

  .url-control {
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    justify-content: center;
  }

  .main-content {
    padding: 1.25rem 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  /* Journey Vertical Timeline Stepper */
  .journey-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    position: relative;
    padding: 1.75rem 1.25rem;
    overflow-x: visible;
  }

  .journey-flow::before {
    content: '';
    position: absolute;
    left: calc(1.25rem + 20px);
    top: 2.25rem;
    bottom: 2.25rem;
    width: 2px;
    background-color: var(--border-color);
    z-index: 0;
  }

  .journey-step {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    z-index: 1;
    min-width: auto;
  }

  .journey-step.active, .journey-step.done {
    opacity: 1;
  }

  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .journey-step h3 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
  }

  .journey-step p {
    font-size: 0.75rem;
  }

  .journey-arrow {
    display: none !important;
  }

  .upload-container, .success-container, .reviewer-container {
    padding: 1.75rem 1.25rem;
  }

  .auth-card {
    margin: 1.5rem auto;
  }

  .auth-form {
    padding: 1.75rem 1.25rem;
  }

  .form-checkbox input {
    flex-shrink: 0;
  }

  /* Reviewer player vertical stack controls */
  .rev-player-controls {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  .rev-timeline-group {
    width: 100%;
  }

  .rev-volume-group {
    width: 100%;
    justify-content: center;
  }

  .progress-card {
    width: calc(100% - 2rem);
    margin: 1rem;
    padding: 2.25rem 1.5rem;
  }

  /* Footer centered stacking */
  .app-footer {
    padding: 2rem 1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-info {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
    width: 100%;
  }

  .v-bar {
    width: 2px;
  }
}

@media (max-width: 480px) {
  .link-value-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-copy {
    width: 100%;
    justify-content: center;
  }

  .link-value {
    text-align: center;
    font-size: 0.92rem;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .header-badge {
    font-size: 0.65rem;
  }
}
