:root {
  --bg-darkest: #090a0f;
  --bg-primary: #0e1017;
  --bg-secondary: #141722;
  --bg-card: #1a1e2b;
  --bg-card-hover: #222738;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.3);
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.18);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --player-height: 80px;
}

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

html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--player-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

/* HEADER & NAVBAR */
.site-header {
  background: rgba(14, 16, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo span.dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.badge-tag {
  background: var(--accent-glow);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.badge-green {
  background: var(--green-glow);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 48px 0 32px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--accent-light);
  margin-bottom: 20px;
  max-width: 90%;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 16px;
  color: #ffffff;
  padding: 0 4px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  padding: 0 8px;
}

/* SEARCH & FILTER BAR */
.search-wrapper {
  max-width: 640px;
  margin: 0 auto 28px;
  position: relative;
  width: 100%;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  width: 100%;
}

.filter-pill {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--accent);
  color: #000000;
  font-weight: 600;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* SECTION HEADERS */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.view-all-link {
  color: var(--accent-light);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  white-space: nowrap;
}

.view-all-link:hover {
  gap: 10px;
}

/* SOUND CARD GRID */
.sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  margin-bottom: 48px;
  width: 100%;
  box-sizing: border-box;
}

.sound-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.sound-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
}

.card-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.card-play-btn:hover {
  background: var(--accent-light);
  transform: scale(1.06);
}

.card-play-btn.playing {
  background: #ffffff;
  color: #000000;
}

.card-title-group {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-title a:hover {
  color: var(--accent-light);
}

.card-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* MINI WAVEFORM */
.card-waveform-container {
  height: 38px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
  margin-bottom: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.wave-bar {
  flex: 1 1 0%;
  min-width: 0;
  height: 20%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  transition: height 0.15s ease, background 0.15s ease;
}

.sound-card:hover .wave-bar {
  background: rgba(245, 158, 11, 0.4);
}

.wave-bar.active {
  background: var(--accent) !important;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  min-width: 0;
}

.card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.card-tag {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.card-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.card-download-btn:hover {
  background: var(--accent);
  color: #000000;
}

/* CATEGORY SILO CARDS */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-bottom: 52px;
  width: 100%;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.category-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* SINGLE SOUND DETAIL PAGE */
.sound-detail-header {
  padding: 28px 0 24px;
  width: 100%;
  overflow: hidden;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.sound-detail-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sound-detail-hero-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-player-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  min-width: 0;
}

.big-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.big-play-btn:hover {
  transform: scale(1.05);
  background: var(--accent-light);
}

.waveform-interactive {
  flex: 1 1 0%;
  min-width: 0;
  height: 56px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.time-display {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.player-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.action-btn:hover, .action-btn.active {
  background: var(--accent-glow);
  color: var(--accent-light);
  border-color: var(--accent);
}

/* DOWNLOAD BUTTONS BAR */
.download-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
}

.download-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  min-width: 0;
}

.btn-primary-download {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.btn-secondary-download {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary-download:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-cta-text {
  text-align: left;
  min-width: 0;
  overflow: hidden;
}

.btn-cta-title {
  font-size: 0.98rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-cta-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SPECS & METADATA TABLE */
.sound-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 32px;
  width: 100%;
  box-sizing: border-box;
}

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

.spec-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* CONTENT & EDITORIAL */
.sound-content-prose {
  font-size: 1rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 36px;
  word-break: break-word;
}

.sound-content-prose h2, .sound-content-prose h3 {
  color: #ffffff;
  margin: 28px 0 14px;
  font-weight: 700;
}

.sound-content-prose p {
  margin-bottom: 16px;
}

.sound-content-prose ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.sound-content-prose li {
  margin-bottom: 6px;
}

.license-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 36px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.license-icon {
  color: #34d399;
  flex-shrink: 0;
}

.license-text h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.license-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* EMBED CODE BOX */
.embed-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.embed-box h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.embed-code-wrapper {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}

.embed-code-input {
  flex: 1 1 0%;
  min-width: 0;
  background: var(--bg-darkest);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

.embed-copy-btn {
  background: var(--accent);
  color: #000000;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.embed-copy-btn:hover {
  background: var(--accent-light);
}

/* PERSISTENT GLOBAL BOTTOM PLAYER */
.global-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: rgba(14, 16, 23, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.player-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  gap: 16px;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 25%;
  min-width: 160px;
  overflow: hidden;
}

.player-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.player-titles {
  min-width: 0;
  overflow: hidden;
}

.player-current-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-current-category {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-center-controls {
  flex: 1 1 0%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.player-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.player-main-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.player-main-play-btn:hover {
  transform: scale(1.08);
}

.player-timeline-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.player-progress-bar {
  flex: 1 1 0%;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.player-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.player-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  width: 34px;
  flex-shrink: 0;
}

.player-time-current {
  text-align: right;
}

.player-right-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 25%;
  flex-shrink: 0;
}

.player-tool-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.player-tool-btn:hover, .player-tool-btn.active {
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.05);
}

.sleep-timer-menu {
  position: absolute;
  bottom: 48px;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  width: 130px;
  z-index: 10;
}

.sleep-timer-menu.show {
  display: flex;
}

.sleep-timer-opt {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  text-align: left;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.sleep-timer-opt:hover {
  background: var(--accent-glow);
  color: var(--accent-light);
}

.volume-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-range {
  -webkit-appearance: none;
  width: 65px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

.volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

/* FOOTER */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  margin-top: auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  width: 100%;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ======================================================== */
@media (max-width: 900px) {
  .download-cta-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .volume-slider-wrapper {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --player-height: 70px;
  }

  /* NAV & HEADER */
  .nav-links {
    display: none;
  }
  .nav-wrapper {
    height: 60px;
  }
  .brand-logo {
    font-size: 1.15rem;
  }
  .hero {
    padding: 36px 0 24px;
  }

  /* SOUND GRID */
  .sound-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sound-card {
    padding: 14px;
  }

  /* SINGLE SOUND PLAYER */
  .sound-detail-hero-player {
    padding: 18px 14px;
  }
  .hero-player-top {
    gap: 12px;
    margin-bottom: 14px;
  }
  .big-play-btn {
    width: 52px;
    height: 52px;
  }
  .big-play-btn svg {
    width: 22px;
    height: 22px;
  }
  .waveform-interactive {
    height: 48px;
    padding: 0 6px;
    gap: 1.5px;
  }
  .hero-player-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .player-action-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .sound-specs-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    gap: 10px;
  }
  .embed-code-wrapper {
    flex-direction: column;
  }
  .embed-copy-btn {
    height: 38px;
    width: 100%;
  }

  /* BOTTOM PLAYER ON MOBILE (CLEAN SLIM LAYOUT) */
  .global-player-bar {
    height: var(--player-height);
  }
  .player-inner {
    padding: 0 10px;
    gap: 8px;
    position: relative;
  }
  /* Top Slim Progress Line */
  .player-timeline-row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    gap: 0;
    padding: 0;
  }
  .player-progress-bar {
    height: 3px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
  }
  .player-time {
    display: none;
  }

  /* Track info on left */
  .player-track-info {
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
    max-width: none;
    gap: 10px;
  }
  .player-icon {
    width: 36px;
    height: 36px;
  }
  .player-current-title {
    font-size: 0.82rem;
  }
  .player-current-category {
    font-size: 0.7rem;
  }

  /* Center Controls on mobile */
  .player-center-controls {
    flex: none;
    max-width: none;
  }
  .player-main-play-btn {
    width: 36px;
    height: 36px;
  }

  /* Right Tools */
  .player-right-tools {
    width: auto;
    gap: 6px;
  }
  .player-tool-btn {
    padding: 5px;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
