/* ============================================
   RiffRitual Storefront Styles
   Extends VinylWave Design System
   ============================================ */

/* --- Page Layout --- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: var(--z-base);
}

.main-content {
  flex-grow: 1;
  padding-bottom: 100px; /* Space for sticky player */
}

/* --- Utility Classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.grid-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.text-lime { color: var(--lime-primary); }
.text-orange { color: var(--orange-vintage); }
.text-gray { color: var(--text-tertiary); }
.text-gold { color: var(--gold-retro); }
.text-center { text-align: center; }

.glow-lime {
  box-shadow: 0 0 20px rgba(191, 255, 0, 0.15),
              0 0 40px rgba(191, 255, 0, 0.05);
}

.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Skip to Content --- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--lime-primary);
  color: var(--vinyl-dark);
  font-family: var(--font-poster);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 0;
  outline: none;
}

/* ============================================
   NAVIGATION HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(26, 22, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 53, 48, 0.5);
  padding: 0 var(--space-6);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-poster);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-primary);
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: var(--lime-primary);
  text-shadow: 0 0 20px rgba(191, 255, 0, 0.3);
}

.logo span {
  color: var(--text-tertiary);
  font-size: 0.75em;
  letter-spacing: 0.08em;
  margin-left: var(--space-2);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header-nav .nav-link {
  font-size: 0.875rem;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 13, 11, 0.98);
  backdrop-filter: blur(12px);
  z-index: var(--z-overlay);
  padding: var(--space-8) var(--space-6);
}

.mobile-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-nav .nav-link {
  font-size: 1.5rem;
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--vinyl-gray);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-16) var(--space-6);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-radial-gradient(
    circle at center,
    transparent 0px,
    transparent 40px,
    rgba(191, 255, 0, 0.015) 40px,
    rgba(191, 255, 0, 0.015) 41px
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--vinyl-black), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-vinyl {
  width: 280px;
  height: 280px;
  margin: 0 auto var(--space-10);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--vinyl-dark) 0deg,
    var(--vinyl-charcoal) 30deg,
    var(--vinyl-dark) 60deg,
    var(--vinyl-charcoal) 90deg,
    var(--vinyl-dark) 120deg,
    var(--vinyl-charcoal) 150deg,
    var(--vinyl-dark) 180deg,
    var(--vinyl-charcoal) 210deg,
    var(--vinyl-dark) 240deg,
    var(--vinyl-charcoal) 270deg,
    var(--vinyl-dark) 300deg,
    var(--vinyl-charcoal) 330deg,
    var(--vinyl-dark) 360deg
  );
  position: relative;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 0, 0, 0.4),
    0 0 120px rgba(191, 255, 0, 0.05);
  transition: transform 0.1s linear;
}

.hero-vinyl::before {
  content: '';
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--vinyl-charcoal) 40%, var(--vinyl-dark) 100%);
  border: 1px solid var(--vinyl-gray);
}

.hero-vinyl::after {
  content: '';
  position: absolute;
  inset: 43%;
  border-radius: 50%;
  background: var(--lime-primary);
  box-shadow: 0 0 15px rgba(191, 255, 0, 0.4);
}

.hero-vinyl .vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.04);
  pointer-events: none;
}

.hero-vinyl:hover {
  animation: vinyl-spin 3s linear infinite;
}

.hero-tagline {
  font-family: var(--font-poster);
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-primary);
  line-height: 1;
  margin-bottom: var(--space-4);
  text-shadow: 0 0 40px rgba(191, 255, 0, 0.2);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 2vw, 1.0625rem);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-10);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TRACK CARDS (CATALOG)
   ============================================ */
.track-card {
  background: var(--vinyl-charcoal);
  border: 1px solid var(--vinyl-gray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.track-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0px,
    transparent 8px,
    rgba(191, 255, 0, 0.015) 8px,
    rgba(191, 255, 0, 0.015) 9px
  );
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 1;
}

.track-card:hover {
  border-color: rgba(191, 255, 0, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), var(--shadow-lime);
  transform: translateY(-4px);
}

.track-card:hover::before {
  opacity: 1;
}

.track-card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--vinyl-dark);
}

.track-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.track-card:hover .track-card-art img {
  transform: scale(1.05);
}

.track-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 13, 11, 0.5);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 2;
}

.track-card:hover .track-card-play {
  opacity: 1;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(191, 255, 0, 0.3);
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 30px rgba(191, 255, 0, 0.5);
}

.play-btn:focus-visible {
  outline: 2px solid var(--text-white);
  outline-offset: 3px;
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--vinyl-dark);
  margin-left: 3px; /* Visual center for play triangle */
}

.track-card-body {
  padding: var(--space-4);
  position: relative;
  z-index: 2;
}

.track-card-title {
  font-family: var(--font-poster);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 2px;
  line-height: 1.2;
}

.track-card-artist {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.track-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.track-card-meta .badge {
  font-size: 0.625rem;
}

.track-card-details {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.track-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid rgba(58, 53, 48, 0.5);
  position: relative;
  z-index: 2;
}

.track-card-price {
  font-family: var(--font-poster);
  font-size: 1.25rem;
  color: var(--lime-primary);
  letter-spacing: 0.04em;
}

.track-card-price small {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-tertiary);
  display: block;
  margin-top: -2px;
}

/* ============================================
   STICKY PLAYER (BOTTOM BAR)
   ============================================ */
.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--vinyl-charcoal);
  border-top: 1px solid var(--vinyl-gray);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  padding: 0 var(--space-6);
  gap: var(--space-4);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-player.is-visible {
  transform: translateY(0);
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 200px;
  flex-shrink: 0;
}

.player-art {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--vinyl-dark);
  flex-shrink: 0;
}

.player-text {
  overflow: hidden;
}

.player-title {
  font-family: var(--font-poster);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.player-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.player-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

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

.player-btn:focus-visible {
  outline: 2px solid var(--lime-primary);
  outline-offset: 2px;
}

.player-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.player-btn-play {
  width: 40px;
  height: 40px;
  background: var(--lime-primary);
  color: var(--vinyl-dark);
}

.player-btn-play:hover {
  background: var(--lime-secondary);
  box-shadow: var(--shadow-lime);
}

.player-btn-play svg {
  fill: var(--vinyl-dark);
}

.player-waveform {
  flex-grow: 1;
  height: 48px;
  min-width: 0;
  position: relative;
}

.player-time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 85px;
  text-align: center;
}

.player-volume {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.player-volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--vinyl-gray);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime-primary);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.player-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.player-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime-primary);
  border: none;
  cursor: pointer;
}

.player-buy {
  flex-shrink: 0;
}

/* ============================================
   LICENSE COMPARISON TABLE
   ============================================ */
.license-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--vinyl-gray);
}

.license-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.license-table thead th {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  vertical-align: bottom;
  position: relative;
}

.license-table thead th.popular {
  background: rgba(191, 255, 0, 0.05);
}

.license-tier-name {
  font-family: var(--font-poster);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--lime-primary);
  display: block;
  margin-bottom: var(--space-1);
}

.license-tier-price {
  font-family: var(--font-poster);
  font-size: 2rem;
  color: var(--text-white);
  display: block;
  line-height: 1;
}

.license-tier-price small {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

.popular-badge {
  position: absolute;
  top: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime-primary);
  color: var(--vinyl-dark);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
}

.license-table tbody td {
  text-align: center;
  padding: var(--space-3) var(--space-4);
}

.license-table tbody td.popular {
  background: rgba(191, 255, 0, 0.03);
}

.license-table tbody td:first-child {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.license-table tbody tr:hover td {
  background: rgba(191, 255, 0, 0.03);
}

.license-table tbody tr:hover td.popular {
  background: rgba(191, 255, 0, 0.06);
}

.license-check {
  color: var(--lime-primary);
  font-size: 1.125rem;
}

.license-cross {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.license-table tfoot td {
  padding: var(--space-4);
  text-align: center;
  border-top: 2px solid var(--vinyl-gray);
}

/* ============================================
   CHECKOUT DRAWER
   ============================================ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 11, 0.7);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.checkout-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: var(--vinyl-charcoal);
  border-top: 2px solid var(--lime-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: var(--z-modal);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  padding: var(--space-8);
}

.checkout-overlay.is-open + .checkout-drawer,
.checkout-drawer.is-open {
  transform: translateY(0);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.checkout-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--vinyl-gray);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.checkout-close:hover {
  border-color: var(--lime-primary);
  color: var(--lime-primary);
}

.checkout-close:focus-visible {
  outline: 2px solid var(--lime-primary);
  outline-offset: 2px;
}

.checkout-track {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--vinyl-dark);
  border-radius: var(--radius);
  margin-bottom: var(--space-6);
}

.checkout-track-art {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.checkout-tier-select {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.checkout-tier-option {
  padding: var(--space-4);
  border: 2px solid var(--vinyl-gray);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
}

.checkout-tier-option:hover {
  border-color: var(--text-tertiary);
}

.checkout-tier-option.is-selected {
  border-color: var(--lime-primary);
  background: rgba(191, 255, 0, 0.05);
}

.checkout-tier-option:focus-visible {
  outline: 2px solid var(--lime-primary);
  outline-offset: 2px;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--vinyl-gray);
  margin-bottom: var(--space-6);
}

.checkout-total-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.checkout-total-price {
  font-family: var(--font-poster);
  font-size: 2rem;
  color: var(--lime-primary);
}

/* ============================================
   LICENSE MODAL
   ============================================ */
.license-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 11, 0.8);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.license-modal-overlay.is-open {
  display: flex;
}

.license-modal {
  background: var(--vinyl-charcoal);
  border: 1px solid var(--vinyl-gray);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-8);
  position: relative;
}

.license-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 164px);
  padding: var(--space-8) var(--space-6);
}

.success-content {
  text-align: center;
  max-width: 500px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
}

.success-checkmark svg {
  width: 80px;
  height: 80px;
}

.success-checkmark .circle {
  stroke: var(--lime-primary);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: checkmark-circle 0.6s ease forwards;
  transform-origin: center;
}

.success-checkmark .check {
  stroke: var(--lime-primary);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark-draw 0.4s ease forwards 0.5s;
}

.success-title {
  margin-bottom: var(--space-3);
}

.success-subtitle {
  font-size: 1.0625rem;
  margin-bottom: var(--space-8);
}

.download-card {
  background: var(--vinyl-dark);
  border: 1px solid var(--vinyl-gray);
  border-radius: var(--radius);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.license-key-display {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background: var(--vinyl-dark);
  border: 1px solid var(--vinyl-gray);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--lime-primary);
  letter-spacing: 0.04em;
  word-break: break-all;
  margin: var(--space-3) 0;
  user-select: all;
  -webkit-user-select: all;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--lime-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-family: var(--font-poster);
  font-size: 1.5rem;
  color: var(--lime-primary);
}

.step-card h3 {
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
}

.step-card p {
  font-size: 0.9375rem;
}

/* ============================================
   GENRE SHOWCASE
   ============================================ */
.genre-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.genre-badge {
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--vinyl-gray);
  border-radius: var(--radius-full);
  font-family: var(--font-poster);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.genre-badge:hover {
  border-color: var(--lime-primary);
  color: var(--lime-primary);
  background: rgba(191, 255, 0, 0.05);
  box-shadow: var(--shadow-lime);
}

/* ============================================
   LEGAL / DISCLOSURE
   ============================================ */
.disclosure-section {
  background: var(--vinyl-dark);
  border-top: 1px solid var(--vinyl-gray);
  border-bottom: 1px solid var(--vinyl-gray);
  padding: var(--space-12) 0;
}

.disclosure-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.disclosure-content h3 {
  color: var(--orange-vintage);
  margin-bottom: var(--space-4);
}

.disclosure-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) 0;
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(58, 53, 48, 0.5);
}

.filter-bar .form-select {
  width: auto;
  min-width: 140px;
  padding: var(--space-2) var(--space-8) var(--space-2) var(--space-3);
  font-size: 0.8125rem;
}

.filter-bar .form-input {
  width: auto;
  min-width: 100px;
  padding: var(--space-2) var(--space-3);
  font-size: 0.8125rem;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-right: var(--space-1);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.filter-results {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ============================================
   ACCORDION (FAQ / License Terms)
   ============================================ */
.accordion {
  border: 1px solid var(--vinyl-gray);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid rgba(58, 53, 48, 0.5);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-poster);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-fast);
}

.accordion-trigger:hover {
  background: rgba(191, 255, 0, 0.03);
  color: var(--lime-primary);
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--lime-primary);
  outline-offset: -2px;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-tertiary);
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
  color: var(--lime-primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.accordion-content-inner ul {
  list-style: none;
  padding-left: var(--space-4);
}

.accordion-content-inner li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

.accordion-content-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--lime-primary);
  border-radius: 50%;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-8) 0;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--vinyl-gray);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

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

.pagination-btn.is-active {
  background: var(--lime-primary);
  border-color: var(--lime-primary);
  color: var(--vinyl-dark);
}

.pagination-btn:focus-visible {
  outline: 2px solid var(--lime-primary);
  outline-offset: 2px;
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  padding: var(--space-12) var(--space-6) var(--space-6);
  background: var(--vinyl-dark);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--vinyl-gray) 0px,
    var(--vinyl-gray) 4px,
    transparent 4px,
    transparent 8px
  );
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

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

.footer-brand .logo {
  display: block;
  margin-bottom: var(--space-3);
}

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

.footer-links {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer-links-group h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.footer-links-group a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer-links-group a:hover {
  color: var(--lime-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(58, 53, 48, 0.5);
}

.footer-disclosure {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--orange-vintage);
}

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

/* ============================================
   LOADING STATE
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--vinyl-charcoal) 25%,
    var(--vinyl-gray) 50%,
    var(--vinyl-charcoal) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

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

.skeleton-card {
  height: 380px;
  border-radius: var(--radius);
}

.skeleton-text {
  height: 1em;
  border-radius: 4px;
}

.skeleton-text.w-75 { width: 75%; }
.skeleton-text.w-50 { width: 50%; }
.skeleton-text.w-25 { width: 25%; }

/* ============================================
   RESPONSIVE: TABLET (768px)
   ============================================ */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero-vinyl {
    width: 200px;
    height: 200px;
  }

  .hero-tagline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  /* Sticky player — tablet */
  .sticky-player {
    height: 64px;
    padding: 0 var(--space-4);
    gap: var(--space-3);
  }

  .player-volume {
    display: none;
  }

  .player-track-info {
    min-width: 150px;
  }

  .checkout-drawer {
    padding: var(--space-6);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-6);
  }

  .filter-bar {
    gap: var(--space-2);
  }

  .filter-results {
    width: 100%;
    margin-left: 0;
    margin-top: var(--space-2);
  }
}

/* ============================================
   RESPONSIVE: MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
  .grid-catalog {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: var(--space-12) var(--space-4);
  }

  .hero-vinyl {
    width: 160px;
    height: 160px;
    margin-bottom: var(--space-6);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  /* Sticky player — mobile */
  .sticky-player {
    height: 56px;
    padding: 0 var(--space-3);
    gap: var(--space-2);
  }

  .player-waveform {
    display: none;
  }

  .player-time {
    display: none;
  }

  .player-track-info {
    min-width: 120px;
  }

  .player-art {
    width: 36px;
    height: 36px;
  }

  .player-buy .btn {
    padding: var(--space-1) var(--space-3);
    font-size: 0.6875rem;
  }

  .checkout-tier-select {
    grid-template-columns: 1fr 1fr;
  }

  .license-modal {
    padding: var(--space-4);
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 90vh;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-vinyl:hover {
    animation: none;
  }

  .skeleton {
    animation: none;
    background: var(--vinyl-charcoal);
  }

  .success-checkmark .circle,
  .success-checkmark .check {
    animation: none;
    stroke-dashoffset: 0;
  }

  .checkout-drawer {
    transition: none;
  }

  .sticky-player {
    transition: none;
  }

  .accordion-content {
    transition: none;
  }

  .track-card:hover {
    transform: none;
  }
}

/* ============================================
   PRINT STYLES (license / success pages)
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .sticky-player,
  .menu-toggle,
  .mobile-nav,
  .skip-to-content,
  .hero-vinyl,
  .player-controls,
  .player-volume {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page-wrapper {
    min-height: auto;
  }

  .main-content {
    padding-bottom: 0;
  }

  .license-key-display {
    border: 2px solid #000;
    color: #000;
    background: #f5f5f5;
    padding: 8px 12px;
    font-size: 11pt;
  }

  .success-content {
    max-width: 100%;
  }

  .download-card {
    border: 1px solid #ccc;
    background: #fafafa;
  }

  .btn {
    border: 1px solid #000;
    color: #000;
    background: transparent;
    text-decoration: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a.btn[href]::after,
  a.logo[href]::after {
    content: none;
  }
}
