:root {
  --primary: #ff4d00;
  --primary-dark: #cc3d00;
  --primary-light: #ff6a2a;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --border: #222222;
  --success: #00c853;
  --error: #ff1744;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 77, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 77, 0, 0.6); }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.5s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.hero-content > * {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

.tool-tabs {
  animation: fadeInUp 0.5s ease-out 0.3s forwards;
  opacity: 0;
}

.tool-tab {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.tool-tab.active {
  animation: glow 2s ease-in-out infinite;
}

.download-tool, .hardware-guide, .wheel-section, .music-directory {
  animation: fadeIn 0.4s ease-out;
}

.tool-section-hidden {
  display: none;
}

.hero-hidden .hero-downloads {
  display: none;
}

.hero-hidden .tools-hub {
  margin-top: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.hero-downloads {
  background: linear-gradient(180deg, #0f0f0f 0%, var(--bg-dark) 100%);
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-downloads::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 77, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 77, 0, 0.15);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-downloads h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-downloads p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.download-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.counter-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.counter-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.counter-divider,
.counter-limit {
  color: var(--text-dim);
  font-size: 1rem;
}

.download-tool {
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.tool-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.platform-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: var(--bg-dark);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
}

.platform-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.platform-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.platform-tab.active {
  background: var(--primary);
  color: var(--text);
}

.url-input-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.url-input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.25rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.url-input:focus {
  outline: none;
  border-color: var(--primary);
}

.url-input::placeholder {
  color: var(--text-dim);
}

.paste-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.paste-btn:hover {
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary);
}

.download-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.download-btn:disabled {
  background: var(--text-dim);
  cursor: not-allowed;
  transform: none;
}

.loading-state {
  text-align: center;
  padding: 3rem 1rem;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

.loading-text {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.progress-bar {
  height: 6px;
  background: var(--bg-dark);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50px;
  width: 0%;
  transition: width 0.3s;
}

.progress-status {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

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

.result-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.result-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

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

.dj-analysis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.analysis-item {
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.analysis-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.analysis-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.energy-meter {
  height: 6px;
  background: var(--border);
  border-radius: 50px;
  margin: 0.5rem 0 0.25rem;
  overflow: hidden;
}

.energy-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c853 0%, #ffeb3b 50%, #ff1744 100%);
  border-radius: 50px;
  width: 0%;
  transition: width 0.5s ease;
}

.compatible-keys {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.keys-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.key-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.key-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.download-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.download-link-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.download-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.error-state {
  text-align: center;
  padding: 2rem;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-state h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.error-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.retry-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.retry-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

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

.affiliate-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.affiliate-section .section-header p {
  color: var(--text-muted);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.affiliate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  gap: 1rem;
  transition: all 0.2s;
}

.affiliate-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.affiliate-image {
  width: 64px;
  height: 64px;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.affiliate-badge {
  font-size: 1.75rem;
}

.affiliate-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.affiliate-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.affiliate-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

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

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

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.modal-content > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.email-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}

.email-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

.modal-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.skip-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.skip-btn:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .main-nav {
    display: none;
  }

  .hero-downloads h1 {
    font-size: 1.75rem;
  }

  .download-tool {
    padding: 1.5rem 1rem;
  }

  .tool-container {
    padding: 1.25rem;
  }

  .platform-tabs {
    flex-wrap: wrap;
  }

  .platform-tab {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: calc(50% - 0.25rem);
  }

  .platform-tab:last-child {
    flex: 1 1 100%;
  }

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

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

  .footer-container {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* ==================== TOOLS HUB TABS ==================== */
.tools-hub {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.tool-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.tool-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-tab:hover:not(:disabled) {
  background: var(--bg-card-hover);
  color: var(--text);
}

.tool-tab.active {
  background: var(--primary);
  color: white;
}

.tool-tab:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tool-tab .tab-icon {
  font-size: 1.1rem;
}

.tool-tab .tab-label {
  font-weight: 500;
}

@media (max-width: 600px) {
  .tool-tabs {
    flex-direction: column;
  }
  
  .tool-tab {
    justify-content: center;
  }
}

/* ==================== HARDWARE GUIDE ==================== */
.hardware-guide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.hardware-guide .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.hardware-guide .section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hardware-filters {
  margin-bottom: 2rem;
}

.search-wrapper {
  margin-bottom: 1rem;
}

.hardware-search {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.hardware-search:focus {
  outline: none;
  border-color: var(--primary);
}

.hardware-search::placeholder {
  color: var(--text-muted);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.filter-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-width: 50px;
}

.brand-filter-btn,
.type-filter-btn {
  padding: 0.4rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.brand-filter-btn:hover,
.type-filter-btn:hover {
  border-color: var(--primary);
  color: var(--text);
}

.brand-filter-btn.active,
.type-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Hardware Grid */
.hardware-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hardware-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.hardware-card:nth-child(1) { animation-delay: 0.05s; }
.hardware-card:nth-child(2) { animation-delay: 0.1s; }
.hardware-card:nth-child(3) { animation-delay: 0.15s; }
.hardware-card:nth-child(4) { animation-delay: 0.2s; }
.hardware-card:nth-child(5) { animation-delay: 0.25s; }
.hardware-card:nth-child(6) { animation-delay: 0.3s; }
.hardware-card:nth-child(7) { animation-delay: 0.35s; }
.hardware-card:nth-child(8) { animation-delay: 0.4s; }

.hardware-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 77, 0, 0.15);
}

.hardware-card.expanded {
  border-color: var(--primary);
}

.hardware-card.selected {
  border-color: var(--success);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  cursor: pointer;
}

.card-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
}

.card-info {
  flex: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-brand {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-usb {
  background: rgba(0, 200, 83, 0.15);
  color: var(--success);
}

.badge-analog {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
}

.card-year {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.card-expand-icon {
  color: var(--text-muted);
  transition: transform 0.3s;
}

.hardware-card.expanded .card-expand-icon {
  transform: rotate(180deg);
}

/* Expanded Card Content */
.card-content {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.detail-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-section:last-child {
  border-bottom: none;
}

.detail-section.no-usb {
  background: rgba(255, 152, 0, 0.05);
  margin: 0 -1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
}

.section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-weight: 500;
}

.detail-tip {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
}

.detail-warning {
  color: #ff9800;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 152, 0, 0.1);
  border-radius: var(--radius-sm);
}

.download-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.download-link-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

.drive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.drive-tag {
  padding: 0.3rem 0.6rem;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Export Steps */
.export-steps {
  padding-left: 1.25rem;
}

.export-steps li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.export-steps li::marker {
  color: var(--primary);
}

/* Pro Tips */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tip-item {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.4;
}

.badge-essential {
  background: rgba(255, 23, 68, 0.1);
  border-left: 3px solid #ff1744;
}

.badge-pro {
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid #ffc107;
}

.badge-warning {
  background: rgba(255, 152, 0, 0.1);
  border-left: 3px solid #ff9800;
}

.badge-tip {
  background: rgba(0, 200, 83, 0.1);
  border-left: 3px solid #00c853;
}

/* Known Issues */
.issues-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.issue-item {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.severity-warning {
  background: rgba(255, 152, 0, 0.08);
  border-left: 3px solid #ff9800;
}

.severity-info {
  background: rgba(136, 136, 136, 0.08);
  border-left: 3px solid var(--text-dim);
}

/* Card Actions */
.card-actions {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.btn-compare {
  padding: 0.6rem 1.2rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-compare:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-compare.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.no-results-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.no-results h3 {
  margin-bottom: 0.5rem;
}

.no-results p {
  color: var(--text-muted);
}

/* Compare Bar */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--success);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.compare-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.compare-count {
  font-weight: 600;
}

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

.compare-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-compare-modal {
  padding: 0.6rem 1.5rem;
  background: var(--success);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-compare-modal:hover {
  background: #00a843;
}

.btn-clear {
  width: 36px;
  height: 36px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clear:hover {
  border-color: var(--error);
  color: var(--error);
}

/* Compare Modal */
.compare-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.compare-modal-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.compare-modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--bg-dark);
  color: var(--text);
}

.compare-table-wrapper {
  overflow: auto;
  padding: 1.5rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.compare-table th:first-child {
  width: 150px;
}

.compare-table td:first-child {
  color: var(--text-muted);
}

.compare-table tr.match td {
  background: rgba(0, 200, 83, 0.05);
}

@media (max-width: 768px) {
  .hardware-guide {
    padding: 1rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-filter-btn,
  .type-filter-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .card-header {
    flex-wrap: wrap;
  }

  .card-meta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .compare-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .compare-modal-content {
    max-height: 80vh;
  }
}

/* ==================== MUSIC DIRECTORY STYLES ==================== */
.music-directory {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.music-directory .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.music-directory .section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

.music-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.music-search {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.music-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.music-search::placeholder {
  color: var(--text-dim);
}

.genre-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.genre-filter-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.genre-filter-btn:hover {
  border-color: var(--primary);
  color: var(--text);
}

.genre-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.source-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.source-count span {
  color: var(--primary);
  font-weight: 700;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.music-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.music-card:nth-child(1) { animation-delay: 0.05s; }
.music-card:nth-child(2) { animation-delay: 0.1s; }
.music-card:nth-child(3) { animation-delay: 0.15s; }
.music-card:nth-child(4) { animation-delay: 0.2s; }
.music-card:nth-child(5) { animation-delay: 0.25s; }
.music-card:nth-child(6) { animation-delay: 0.3s; }
.music-card:nth-child(7) { animation-delay: 0.35s; }
.music-card:nth-child(8) { animation-delay: 0.4s; }
.music-card:nth-child(9) { animation-delay: 0.45s; }
.music-card:nth-child(10) { animation-delay: 0.5s; }
.music-card:nth-child(11) { animation-delay: 0.55s; }
.music-card:nth-child(12) { animation-delay: 0.6s; }

.music-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.music-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 0;
}

.source-brand {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tier-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.music-card-body {
  padding: 1rem 1.25rem;
}

.source-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.source-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.source-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.genre-tag {
  padding: 0.25rem 0.6rem;
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
}

.source-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quality-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.quality-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.format-info {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.music-card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}

.visit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.visit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.visit-btn:active {
  transform: translateY(0);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.no-results-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.no-results h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.no-results p {
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .music-directory {
    padding: 1rem;
  }

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

  .genre-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .genre-filter-btn {
    flex-shrink: 0;
  }
}

/* ==================== CAMELOT WHEEL STYLES ==================== */
.camelot-wheel-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.camelot-wheel-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.camelot-wheel-section .section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

.wheel-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.wheel-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wheel-wrapper {
  width: 420px;
  height: 420px;
  position: relative;
}

#wheelSvg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
}

.wheel-segment {
  cursor: pointer;
  transition: all 0.3s ease;
}

.wheel-segment:hover {
  filter: brightness(1.2);
}

.wheel-segment.selected {
  stroke: white;
  stroke-width: 3;
}

.wheel-segment.compatible-perfect {
  animation: pulsePerfect 1.5s infinite;
}

.wheel-segment.compatible-energy-up {
  animation: pulseEnergyUp 1.5s infinite;
}

.wheel-segment.compatible-energy-down {
  animation: pulseEnergyDown 1.5s infinite;
}

.wheel-segment.compatible-energy-shift {
  animation: pulseEnergyShift 1.5s infinite;
}

.wheel-segment.compatible-adjacent {
  animation: pulseAdjacent 1.5s infinite;
}

@keyframes pulsePerfect {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes pulseEnergyUp {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

@keyframes pulseEnergyDown {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

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

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

.wheel-label {
  pointer-events: none;
  font-family: var(--font);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.center-label {
  font-family: var(--font);
  font-weight: 500;
}

/* Info Panel */
.info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.key-info {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.selected-key-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.selected-key-id {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.selected-musical-key {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.selected-key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.key-energy {
  font-size: 0.9rem;
  font-weight: 600;
}

.selected-key-bpm {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 77, 0, 0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bpm-label {
  font-weight: 600;
  color: var(--text);
}

.bpm-range {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.bpm-typical {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.selected-key-genre {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.genre-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.genre-value {
  color: var(--text);
  font-size: 0.95rem;
}

.placeholder-text {
  color: var(--text-dim);
  font-style: italic;
}

/* Compatible Keys */
.compatible-keys-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.compatible-group-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 0.75rem;
  border-left: 3px solid;
}

.compatible-keys-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compatible-key-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.compatible-key-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.compat-key-id {
  font-size: 1rem;
}

.compat-key-musical {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

.compat-key-bpm {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 0.125rem;
}

/* BPM Converter */
.bpm-converter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.bpm-converter h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.bpm-input-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.bpm-input {
  width: 80px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: center;
}

.bpm-input:focus {
  outline: none;
}

.bpm-input::placeholder {
  color: var(--text-dim);
}

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

#genreSuggestions {
  margin-top: 1rem;
}

.genre-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.genre-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.genre-tag-bpm {
  padding: 0.35rem 0.75rem;
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Legend */
.wheel-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

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

/* Mobile Responsive */
@media (max-width: 900px) {
  .wheel-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .wheel-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .info-panel {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .camelot-wheel-section {
    padding: 1rem;
  }

  .wheel-wrapper {
    width: 280px;
    height: 280px;
  }

  .selected-key-id {
    font-size: 2rem;
  }

  .selected-musical-key {
    font-size: 1rem;
  }

  .wheel-legend {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
