/* =============================================
   WANTED MUSIC - Components
   wanted-music.com
   ============================================= */

/* =============================================
   Header / Navigation
   ============================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 31, 50, 0.14);
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(24px);
  transition: min-height var(--t-med), background var(--t-med), border-color var(--t-med);
}

.site-header.compact {
  min-height: 60px;
  background: rgba(4, 4, 4, 0.95);
  border-bottom-color: rgba(255, 31, 50, 0.28);
}

.nav-wrap {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
}

.brand-mark {
  width: 48px;
  aspect-ratio: 1;
  border-radius: 0.95rem;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(255, 31, 50, 0.45));
}

.brand-mark-official {
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 4, 4, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 31, 50, 0.22), 0 0 16px rgba(255, 0, 38, 0.24);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  padding: 0.14rem 0.46rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.2);
  background: linear-gradient(145deg, rgba(255, 31, 50, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 16px rgba(255, 31, 50, 0.12);
}

.nav-link {
  position: relative;
  display: inline-grid;
  align-content: center;
  min-height: 47px;
  padding: 0.32rem 0.74rem;
  border-radius: 0.75rem;
  line-height: 1.1;
  color: #f7eff1;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link-label {
  font-size: 0.82rem;
  color: #fff5f6;
}

.nav-link-hint {
  margin-top: 0.12rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c8e92;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.26rem;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-med);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 31, 50, 0.08);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  margin-left: 0.1rem;
  border: 1px solid rgba(255, 110, 122, 0.34);
  border-radius: var(--radius-full);
  background: rgba(255, 110, 122, 0.09);
  padding: 0 0.78rem;
  color: #ffd0d4;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.nav-mega-toggle i {
  width: 15px;
  height: 15px;
  transition: transform var(--t-fast);
}

.nav-mega-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 110, 122, 0.65);
  background: rgba(255, 110, 122, 0.16);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.3);
  background: linear-gradient(120deg, rgba(255, 31, 50, 0.2), rgba(184, 15, 32, 0.22));
  box-shadow: 0 0 0 0 rgba(255, 31, 50, 0.25);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: transform var(--t-fast), box-shadow var(--t-med), border-color var(--t-med);
}

.nav-cta:hover {
  transform: scale(1.03);
  border-color: rgba(255, 31, 50, 0.6);
  box-shadow: var(--shadow-sm);
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.nav-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 34px;
  padding: 0 0.72rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 46, 68, 0.36);
  background:
    linear-gradient(130deg, rgba(255, 24, 49, 0.2), rgba(84, 7, 15, 0.3)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 16px rgba(255, 22, 48, 0.24);
  color: #ffe2e6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.56rem;
  white-space: nowrap;
  user-select: none;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5068;
  box-shadow: 0 0 10px rgba(255, 80, 104, 0.92), 0 0 20px rgba(255, 22, 48, 0.62);
  animation: nav-live-dot-pulse 1.6s ease-in-out infinite;
}

.nav-live-text {
  display: inline-block;
  transform-origin: 50% 50%;
}

.nav-account,
.nav-cart {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 59, 92, 0.94);
  background: linear-gradient(145deg, rgba(34, 8, 11, 0.96), rgba(10, 6, 7, 0.96));
  box-shadow: 0 0 0 2px rgba(255, 35, 63, 0.28), 0 0 16px rgba(255, 40, 72, 0.74), 0 0 38px rgba(255, 30, 56, 0.42),
    inset 0 0 16px rgba(255, 190, 200, 0.2);
  overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-med);
}

.nav-account {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 170, 186, 0.5), rgba(255, 39, 65, 0.96) 36%, rgba(156, 9, 26, 0.98) 100%),
    linear-gradient(145deg, rgba(35, 6, 10, 0.95), rgba(12, 8, 9, 0.95));
  animation: nav-account-pulse 2.2s ease-in-out infinite;
}

.nav-cart {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 158, 178, 0.46), rgba(255, 24, 54, 0.97) 40%, rgba(130, 8, 22, 0.98) 100%),
    linear-gradient(145deg, rgba(39, 6, 10, 0.95), rgba(10, 5, 7, 0.95));
  animation: nav-cart-pulse 1.95s ease-in-out infinite;
  overflow: visible;
}

.nav-account-core,
.nav-cart-core {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.nav-account::after,
.nav-cart::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(120deg, rgba(255, 220, 228, 0.1), rgba(255, 33, 60, 0.08));
  pointer-events: none;
}

.nav-account svg,
.nav-cart svg {
  width: 18px;
  height: 18px;
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.34));
}

.nav-cart svg {
  width: 17px;
  height: 17px;
}

.nav-account:hover,
.nav-cart:hover {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(255, 115, 142, 1);
  box-shadow:
    0 0 0 2px rgba(255, 50, 82, 0.35),
    0 0 24px rgba(255, 45, 79, 0.85),
    0 0 44px rgba(255, 28, 54, 0.5),
    inset 0 0 18px rgba(255, 225, 231, 0.28);
}

.nav-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.28rem;
  border: 1px solid rgba(255, 222, 226, 0.78);
  background: linear-gradient(135deg, #ff2742, #ff5f76);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 10px rgba(255, 31, 50, 0.5);
  z-index: 3;
}

.nav-cart.has-items {
  box-shadow:
    0 0 0 2px rgba(255, 50, 82, 0.38),
    0 0 22px rgba(255, 45, 79, 0.94),
    0 0 44px rgba(255, 28, 54, 0.56),
    inset 0 0 18px rgba(255, 225, 231, 0.32);
}

@keyframes nav-account-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 35, 63, 0.24),
      0 0 14px rgba(255, 40, 72, 0.68),
      0 0 30px rgba(255, 30, 56, 0.34),
      inset 0 0 14px rgba(255, 190, 200, 0.18);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(255, 43, 73, 0.34),
      0 0 18px rgba(255, 48, 82, 0.82),
      0 0 42px rgba(255, 31, 61, 0.5),
      inset 0 0 18px rgba(255, 208, 218, 0.26);
  }
}

@keyframes nav-cart-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 35, 63, 0.26),
      0 0 14px rgba(255, 35, 66, 0.74),
      0 0 34px rgba(255, 17, 49, 0.42),
      inset 0 0 16px rgba(255, 182, 197, 0.2);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(255, 48, 76, 0.34),
      0 0 20px rgba(255, 40, 70, 0.84),
      0 0 45px rgba(255, 19, 48, 0.56),
      inset 0 0 20px rgba(255, 210, 221, 0.26);
  }
}

.site-header.mega-open {
  background: rgba(4, 4, 4, 0.96);
}

.site-header.mega-open .nav-mega-toggle {
  border-color: rgba(255, 110, 122, 0.75);
  background: rgba(255, 110, 122, 0.18);
}

.site-header.mega-open .nav-mega-toggle i {
  transform: rotate(180deg);
}

.nav-mega {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  width: min(100% - 2rem, 1140px);
  transform: translateX(-50%) translateY(-8px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.28);
  background: linear-gradient(145deg, rgba(20, 12, 13, 0.97), rgba(9, 8, 8, 0.96));
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.72), 0 0 40px rgba(255, 31, 50, 0.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med);
  z-index: 2;
  padding: 0.9rem;
}

.site-header.mega-open .nav-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.9rem;
}

.nav-mega-col {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem;
}

.nav-mega-label {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8b9bd;
}

.nav-mega-link {
  display: grid;
  gap: 0.18rem;
  margin-top: 0.62rem;
  padding: 0.56rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}

.nav-mega-link strong {
  font-size: 0.88rem;
  color: #fff;
}

.nav-mega-link span {
  font-size: 0.77rem;
  color: #cbbdc1;
}

.nav-mega-link:hover {
  border-color: rgba(255, 31, 50, 0.42);
  background: rgba(255, 31, 50, 0.1);
  transform: translateY(-1px);
}

.nav-chip-row {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.nav-chip-row .pill-filter {
  min-height: 34px;
  padding: 0.28rem 0.64rem;
  font-size: 0.7rem;
}

.nav-mega-note {
  margin-top: 0.62rem;
  font-size: 0.78rem;
}

.nav-mega-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 110, 122, 0.25);
}

.nav-mega-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  filter: saturate(1.1) contrast(1.04);
}

.nav-mega-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.92), rgba(4, 4, 4, 0.2));
}

.nav-mega-card-copy {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  display: grid;
  gap: 0.2rem;
}

.nav-mega-card-copy strong {
  color: #fff;
  font-size: 0.95rem;
}

.nav-mega-card-copy span {
  color: #ffc5cb;
  font-size: 0.77rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  place-items: center;
  padding: var(--space-12) var(--space-6);
  background: rgba(4, 4, 4, 0.9);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2%);
  transition: opacity var(--t-med), transform var(--t-med);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-inner {
  width: min(100%, 760px);
  display: grid;
  gap: 1.1rem;
}

.mobile-menu-kicker {
  justify-self: center;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #c6b8bc;
  text-transform: uppercase;
}

.mobile-menu ul {
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.mobile-menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 2vw, 2rem);
  letter-spacing: 0.08em;
}

.mobile-menu-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.mobile-menu .mobile-menu-panel {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 150px;
  border: 1px solid rgba(255, 31, 50, 0.3);
  font-family: var(--font-body);
  font-size: inherit;
  letter-spacing: normal;
}

.mobile-menu .mobile-menu-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-menu .mobile-menu-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.9), rgba(4, 4, 4, 0.2));
}

.mobile-menu .mobile-menu-panel span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.6rem;
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.mobile-menu a[aria-current="page"] {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 31, 50, 0.6);
}

/* =============================================
   Buttons / Pills
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: transform var(--t-fast), border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--color-text-inverse);
  border-color: rgba(255, 31, 50, 0.4);
  background: linear-gradient(120deg, #ff3042 0%, #cf1223 58%, #7a0d19 100%);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

.pill-filter {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: #e4d5d9;
  font-size: var(--text-xs);
  transition: all var(--t-fast);
}

.pill-filter[aria-pressed="true"],
.pill-filter.active {
  border-color: rgba(255, 31, 50, 0.7);
  background: rgba(255, 31, 50, 0.2);
  color: #ffffff;
}

/* =============================================
   Hero / Home
   ============================================= */

.hero {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  overflow: clip;
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.92;
  filter: saturate(1.14) contrast(1.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--spot-x, 10%) var(--spot-y, 8%), rgba(255, 31, 50, 0.26), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(255, 110, 122, 0.11), transparent 34%),
    linear-gradient(to bottom, rgba(4, 4, 4, 0.12) 0%, rgba(4, 4, 4, 0.68) 72%, rgba(4, 4, 4, 0.9) 100%);
  z-index: 1;
  animation: heroAmbientShift 14s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: var(--space-5);
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-10);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(0.95rem, 2.2vw, 2rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: var(--space-6);
}

.hero-title {
  font-size: var(--text-hero);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 15.5ch;
  text-wrap: balance;
}

.hero-title[data-splitting] .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title[data-splitting] .whitespace {
  display: inline-block;
  width: 0.34em;
}

.hero-tagline {
  font-size: var(--text-xl);
  color: #f4d8dc;
}

.hero-description {
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-stat {
  min-width: 140px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(150deg, rgba(34, 13, 15, 0.78), rgba(10, 8, 9, 0.84));
}

.hero-stat strong {
  display: block;
  font-size: var(--text-lg);
  color: #fff;
}

.hero-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-inline-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.24);
  background: rgba(255, 31, 50, 0.08);
  padding: 0.24rem 0.68rem;
  font-size: var(--text-xs);
  color: #f5dadd;
}

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  --hero-tile-offset: 0px;
}

.hero-live-chip-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: -2rem;
  margin-bottom: 0.45rem;
}

.hero-live-chip {
  min-height: 39px;
  padding-inline: 0.95rem;
  gap: 0.5rem;
  font-size: 0.62rem;
  box-shadow: 0 0 18px rgba(255, 22, 48, 0.28), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero-live-chip .nav-live-dot {
  width: 6px;
  height: 6px;
}

.hero-tiles > .hero-tile {
  margin-top: calc(var(--hero-tile-offset) - 12mm);
}

.hero-tiles-shift-right {
  padding-left: 1cm;
}

.hero-tile {
  position: relative;
  min-height: 178px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 31, 50, 0.32);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 31, 50, 0.18);
}

.hero-tile-main {
  grid-column: 1 / -1;
  min-height: 238px;
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.9), rgba(4, 4, 4, 0.12));
}

.hero-tile-copy {
  position: absolute;
  left: 0.66rem;
  right: 0.66rem;
  bottom: 0.56rem;
  z-index: 2;
  display: grid;
  gap: 0.1rem;
}

.hero-tile-copy strong {
  color: #fff;
  font-size: 0.82rem;
}

.hero-tile-copy span {
  color: #ffd2d7;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--page-hero-image, none);
  background-size: cover;
  background-position: center 22%;
  opacity: 0.24;
  mix-blend-mode: normal;
  filter: saturate(1.08) contrast(1.1) brightness(0.72);
}

body[data-page="beats"],
body[data-page="services"],
body[data-page="submit"],
body[data-page="about"],
body[data-page="contact"],
body[data-page="pricing"] {
  --page-hero-image: url("../branding/wanted-artist-mask.jpg");
}

body[data-page="checkout"] {
  --page-hero-image: none;
}

.page-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.page-hero-copy {
  max-width: 60ch;
}

.page-hero-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 31, 50, 0.25);
  min-height: 196px;
}

.page-hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.03);
}

.page-hero-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.9), rgba(4, 4, 4, 0.15));
}

.page-hero-media-copy {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.55rem;
  z-index: 2;
  display: grid;
  gap: 0.16rem;
}

.page-hero-media-copy strong {
  color: #fff;
  font-size: 0.77rem;
}

.page-hero-media-copy span {
  color: #ffd2d7;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.visual-showcase {
  display: grid;
  gap: var(--space-5);
}

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

.visual-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.24);
  min-height: 260px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.01);
  transition: transform var(--t-slow);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.9), rgba(4, 4, 4, 0.2));
}

.visual-card:hover img {
  transform: scale(1.06);
}

.visual-meta {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.8rem;
  z-index: 2;
  display: grid;
  gap: 0.2rem;
}

.visual-meta strong {
  color: #fff;
  font-size: var(--text-base);
}

.visual-meta span {
  color: #c8babd;
  font-size: var(--text-xs);
}

.visual-card.is-featured {
  min-height: 360px;
}

.visual-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.featured-grid {
  display: grid;
  gap: var(--space-5);
}

.featured-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: rgba(20, 11, 12, 0.72);
}

.featured-cover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  font-size: var(--text-xs);
  color: #c8b9bc;
}

.featured-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.featured-title {
  font-size: var(--text-lg);
}

.preview-inline {
  margin-top: 0.8rem;
}

.progress-inline {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-inline > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff1f32, #ff6e7a);
}

.inline-row {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: var(--text-xs);
}

.bento {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.4fr 1fr;
}

.bento-large {
  min-height: 100%;
}

.bento-side {
  display: grid;
  gap: var(--space-5);
}

/* =============================================
   Generic Cards
   ============================================= */

.card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: linear-gradient(145deg, rgba(30, 13, 16, 0.74) 0%, rgba(11, 9, 10, 0.82) 100%);
  overflow: clip;
}

.card::after,
.form-shell::after,
.kpi::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med);
  background: radial-gradient(
    440px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 44, 66, 0.16),
    rgba(255, 44, 66, 0.06) 28%,
    transparent 62%
  );
}

.card.is-glow::after,
.form-shell.is-glow::after,
.kpi.is-glow::after {
  opacity: 1;
}

.card-pad {
  padding: var(--space-5);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 450ms var(--ease-spring), box-shadow 450ms var(--ease-spring);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.tilt-card.is-tilting::before {
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.hot {
  background: rgba(184, 15, 32, 0.26);
  border-color: rgba(255, 31, 50, 0.55);
  color: #ffd7dc;
}

.badge.new {
  background: rgba(255, 110, 122, 0.18);
  border-color: rgba(255, 110, 122, 0.45);
  color: #ffc7cd;
}

.badge.exclusive {
  background: rgba(255, 31, 50, 0.2);
  border-color: rgba(255, 31, 50, 0.5);
  color: #f0d5da;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.kpi {
  position: relative;
  overflow: clip;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(18, 10, 12, 0.72);
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  color: #fff;
}

.testimonial-card {
  min-height: 250px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.embla {
  overflow: hidden;
}

.embla__container {
  display: flex;
  gap: var(--space-4);
}

.embla__slide {
  min-width: min(100%, 360px);
}

.embla.testimonials-auto {
  position: relative;
  overflow: hidden;
}

.embla.testimonials-auto::before,
.embla.testimonials-auto::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 7vw, 84px);
  z-index: 3;
  pointer-events: none;
}

.embla.testimonials-auto::before {
  left: 0;
  background: linear-gradient(90deg, rgba(3, 1, 10, 0.98), rgba(3, 1, 10, 0));
}

.embla.testimonials-auto::after {
  right: 0;
  background: linear-gradient(270deg, rgba(3, 1, 10, 0.98), rgba(3, 1, 10, 0));
}

.embla.testimonials-auto .embla__container {
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.embla.testimonials-auto .embla__slide {
  flex: 0 0 clamp(280px, 30vw, 360px);
}

.embla-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: var(--space-5);
}

.embla-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: 0;
  background: rgba(255, 255, 255, 0.25);
}

.embla-dot.active {
  width: 24px;
  background: var(--gradient-brand);
}

/* =============================================
   Beats Store
   ============================================= */

.store-tools {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.store-advanced {
  display: grid;
  gap: 0.95rem;
  margin-bottom: var(--space-5);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 31, 50, 0.24);
  background: rgba(18, 10, 12, 0.76);
}

.store-search-wrap {
  min-width: 0;
}

.beat-search {
  min-height: 46px;
  border-color: rgba(255, 110, 122, 0.3);
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.26);
  background: rgba(255, 255, 255, 0.02);
  font-size: var(--text-xs);
  color: #dfd0d4;
}

.toggle-chip input {
  margin: 0;
}

.store-advanced-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.store-advanced--pro {
  border-color: rgba(255, 31, 50, 0.3);
  background:
    linear-gradient(145deg, rgba(34, 10, 14, 0.62), rgba(12, 8, 9, 0.88)),
    radial-gradient(circle at 2% 0%, rgba(255, 31, 50, 0.1), transparent 60%);
  box-shadow: 0 0 0 1px rgba(255, 31, 50, 0.08), 0 14px 36px rgba(0, 0, 0, 0.45);
}

.store-search-wrap--pro {
  width: 100%;
}

.store-search-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.beat-search-pro {
  min-height: 54px;
  width: 100%;
  padding-inline: 1rem;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
}

.filter-menu-toggle {
  min-height: 54px;
  min-width: 54px;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 31, 50, 0.35);
  background: linear-gradient(145deg, rgba(55, 15, 19, 0.72), rgba(18, 9, 12, 0.92));
  color: #ffe8ec;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.filter-menu-toggle i {
  width: 18px;
  height: 18px;
}

.filter-menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 70, 90, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 50, 74, 0.26), 0 0 18px rgba(255, 28, 52, 0.3);
}

.filter-menu-toggle[aria-expanded="true"] {
  border-color: rgba(255, 95, 110, 0.82);
  background: linear-gradient(145deg, rgba(82, 20, 28, 0.84), rgba(24, 11, 14, 0.96));
  box-shadow: 0 0 0 1px rgba(255, 65, 88, 0.28), 0 0 24px rgba(255, 31, 50, 0.34);
}

.store-filters-panel {
  display: grid;
  gap: 0.95rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  border-top: 1px solid rgba(255, 31, 50, 0.2);
  transition: max-height var(--t-med), opacity var(--t-med), transform var(--t-med), padding-top var(--t-med);
}

.store-filters-panel.is-open {
  max-height: 1200px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  padding-top: 0.35rem;
}

.store-filters-panel[hidden] {
  display: none;
}

.store-pro-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: end;
}

.store-pro-field {
  display: grid;
  gap: 0.35rem;
}

.store-pro-field label {
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e7dce0;
}

.store-pro-row-ranges {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.9fr);
}

.store-pro-readouts {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  min-height: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 31, 50, 0.2);
  background: rgba(255, 255, 255, 0.02);
  font-size: var(--text-xs);
  color: #e9dce1;
}

.store-pro-readouts p {
  margin: 0;
}

.store-pro-row-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.recently-played {
  display: grid;
  gap: 0.6rem;
  margin-bottom: var(--space-6);
}

.recently-played h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5d7db;
}

.recently-played-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 110, 122, 0.34);
  background: rgba(255, 110, 122, 0.08);
  padding: 0 0.65rem;
  font-size: var(--text-xs);
  color: #ffd9de;
}

.store-empty {
  margin-top: 1rem;
  border-color: rgba(255, 31, 50, 0.36);
  background: linear-gradient(145deg, rgba(60, 16, 24, 0.62), rgba(11, 8, 10, 0.84));
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.filter-block {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(16, 10, 11, 0.72);
}

.filter-block h3 {
  margin-bottom: 0.7rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2d3d8;
}

.filter-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.control {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 31, 50, 0.3);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 0.7rem;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.range-row input[type="range"] {
  min-height: 24px;
}

.beat-count {
  font-size: var(--text-sm);
  color: #dfd0d5;
}

.reset-filters {
  display: none;
}

.reset-filters.show {
  display: inline-flex;
}

.beats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.beat-card {
  display: grid;
  gap: 0.95rem;
  padding: var(--space-4);
}

.beat-card-v2 {
  position: relative;
  border: 1px solid rgba(255, 45, 65, 0.3);
  background:
    linear-gradient(155deg, rgba(30, 10, 14, 0.86), rgba(10, 7, 8, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(255, 33, 57, 0.15), transparent 60%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 35, 56, 0.08);
}

.beat-card-v2::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 33, 57, 0.2), rgba(82, 190, 255, 0.08), transparent 62%);
  opacity: 0;
  transition: opacity var(--t-med);
}

.beat-card-v2:hover::before {
  opacity: 1;
}

.beat-cover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.beat-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform var(--t-med), filter var(--t-med);
}

.beat-card:hover .beat-cover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.beat-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.7), rgba(4, 4, 4, 0.1));
  opacity: 0;
  transition: opacity var(--t-fast);
}

.beat-card:hover .beat-overlay {
  opacity: 1;
}

.beat-top-badges {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.beat-top-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 96, 118, 0.48);
  background: rgba(21, 8, 10, 0.74);
  padding: 0 0.58rem;
  color: #ffe1e6;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beat-cart-fab {
  position: absolute;
  z-index: 4;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 100, 120, 0.72);
  background: rgba(255, 28, 48, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(255, 36, 58, 0.35);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.beat-cart-fab svg {
  width: 16px;
  height: 16px;
}

.beat-cart-fab:hover {
  transform: translateY(-1px) scale(1.05);
  background: rgba(255, 34, 54, 0.3);
  box-shadow: 0 0 20px rgba(255, 36, 58, 0.48);
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 4, 4, 0.6);
}

.beat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: var(--text-xs);
  color: #e7dade;
}

.beat-title {
  font-size: var(--text-lg);
  margin-top: 0.25rem;
}

.beat-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  color: #d1c3c7;
  font-size: var(--text-xs);
}

.beat-desc {
  color: #c5b7bb;
  font-size: var(--text-sm);
}

.beat-sub span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 0.56rem;
}

.preview-row {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
}

.preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--text-xs);
}

.progress {
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff1f32, #ff6e7a);
}

.price-row {
  display: grid;
  gap: 0.6rem;
}

.start-price {
  color: #fff;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

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

.card-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.1rem;
}

.tiny-action {
  min-height: 34px;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--text-xs);
}

.like-btn {
  min-width: 44px;
  min-height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.25);
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0 0.68rem;
}

.licenses-panel {
  display: none;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.6rem;
}

.licenses-panel.open {
  display: grid;
  gap: 0.5rem;
}

.license-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
  font-size: var(--text-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.6rem;
}

.license-row strong {
  color: #fff;
  font-size: var(--text-sm);
}

.license-buy {
  min-height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 110, 122, 0.45);
  background: rgba(255, 110, 122, 0.12);
  font-size: var(--text-xs);
  padding: 0 0.75rem;
}

.wm-license-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.58rem 0.72rem;
  background: rgba(255, 255, 255, 0.03);
}

.wm-license-option input {
  margin: 0;
}

.wm-license-option-title {
  display: block;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
}

.wm-license-option-meta {
  display: block;
  margin-top: 0.15rem;
  color: #cebfc3;
  font-size: var(--text-xs);
}

.wm-license-option-price {
  color: #fff;
  font-size: var(--text-sm);
}

.load-more-wrap {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
}

.compare-drawer {
  position: fixed;
  top: calc(var(--header-height) + 0.6rem);
  right: 0.6rem;
  z-index: 1200;
  width: min(94vw, 480px);
  max-height: calc(100dvh - var(--header-height) - 1.2rem);
  overflow: auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.34);
  background: rgba(12, 8, 9, 0.95);
  backdrop-filter: blur(16px);
  transform: translateX(108%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med), opacity var(--t-med);
  padding: 0.85rem;
}

.compare-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.compare-header h2 {
  font-size: var(--text-base);
}

.compare-hint {
  margin-top: 0.4rem;
  font-size: var(--text-xs);
}

.compare-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.compare-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.02);
}

.compare-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.compare-card h3 {
  font-size: var(--text-sm);
  color: #fff;
}

.compare-license-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.35rem;
}

.compare-license-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  font-size: var(--text-xs);
}

.compare-remove {
  min-height: 30px;
  padding: 0 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(239, 68, 68, 0.42);
  background: rgba(239, 68, 68, 0.14);
  font-size: var(--text-xs);
}

/* =============================================
   Mini Player
   ============================================= */

.mini-player {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  transform: translateY(105%);
  transition: transform var(--t-med);
}

.mini-player.show {
  transform: translateY(0);
}

.mini-inner {
  width: min(100% - 1rem, 1100px);
  margin: 0 auto 0.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.2);
  background: rgba(4, 4, 4, 0.95);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.6rem;
}

.mini-cover {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.mini-info {
  min-width: 0;
}

.mini-title {
  font-weight: 700;
  color: #fff;
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-sub {
  color: #d2c4c8;
  font-size: var(--text-xs);
}

.mini-controls {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.mini-controls button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.mini-progress {
  margin-top: 0.4rem;
}

.mini-label {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: #ffd1d6;
}

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.eq span {
  width: 2px;
  height: 20%;
  border-radius: 99px;
  background: #ff6e7a;
  animation: eq 1s ease-in-out infinite;
  animation-play-state: paused;
}

.eq.playing span {
  animation-play-state: running;
}

.eq span:nth-child(2) {
  animation-delay: 120ms;
}

.eq span:nth-child(3) {
  animation-delay: 220ms;
}

.eq span:nth-child(4) {
  animation-delay: 320ms;
}

.shortcut-dock {
  position: fixed;
  right: 0.8rem;
  bottom: 5.4rem;
  z-index: 950;
  display: grid;
  gap: 0.4rem;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 31, 50, 0.28);
  background: rgba(12, 8, 9, 0.9);
  backdrop-filter: blur(10px);
}

.shortcut-dock a {
  min-height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  font-size: var(--text-xs);
  color: #f0e3e6;
}

/* =============================================
   Forms / Inputs / Upload
   ============================================= */

.form-shell {
  position: relative;
  overflow: clip;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: rgba(16, 10, 11, 0.78);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: var(--text-xs);
  color: #e4d5d9;
}

.field small {
  font-size: 0.75rem;
  color: #9e9195;
}

.field-error {
  font-size: 0.75rem;
  color: #ff9ab1;
  min-height: 1em;
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 31, 50, 0.3);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.8rem;
  color: #fff;
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: rgba(239, 68, 68, 0.7);
}

.stepper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
}

.step {
  flex: 1;
  min-height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.step::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background: var(--gradient-brand);
  transition: width var(--t-med);
}

.step.active::after,
.step.done::after {
  width: 100%;
}

.form-step {
  display: none;
}

.form-step.active {
  display: grid;
  gap: var(--space-4);
}

.drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 220px;
  border-radius: var(--radius-xl);
  border: 2px dashed rgba(255, 31, 50, 0.35);
  background: rgba(255, 31, 50, 0.05);
  padding: var(--space-5);
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}

.drop-zone.dragover {
  transform: scale(1.01);
  border-color: rgba(255, 31, 50, 0.75);
  background: rgba(255, 31, 50, 0.1);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.files-list {
  display: grid;
  gap: 0.55rem;
}

.file-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.65rem;
}

.file-meta {
  min-width: 0;
}

.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-size: var(--text-sm);
}

.file-size {
  font-size: var(--text-xs);
}

.file-progress {
  margin-top: 0.35rem;
}

.remove-file {
  min-height: 36px;
  min-width: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
}

.upload-status {
  margin-top: var(--space-4);
  display: none;
}

.upload-status.show {
  display: grid;
  gap: 0.5rem;
}

.success-box {
  display: none;
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.success-box.show {
  display: grid;
  gap: 0.8rem;
}

/* =============================================
   Login Page
   ============================================= */

.auth-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  position: relative;
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 6%, rgba(255, 31, 50, 0.18), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255, 110, 122, 0.12), transparent 36%);
  opacity: 0.9;
}

.auth-card {
  width: min(100%, 560px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 31, 50, 0.3);
  background:
    linear-gradient(145deg, rgba(15, 10, 11, 0.9), rgba(9, 8, 10, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.15), transparent 48%);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 31, 50, 0.18);
  padding: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  z-index: 1;
}

.auth-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  border: 1px solid rgba(255, 110, 122, 0.34);
  box-shadow: 0 0 24px rgba(255, 31, 50, 0.38);
}

.auth-kicker {
  text-align: center;
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f4dce0;
}

.auth-title {
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 0.85rem;
}

.auth-view-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.auth-tab {
  min-height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: #e8dde0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.auth-tab:hover {
  border-color: rgba(255, 31, 50, 0.56);
  color: #fff;
}

.auth-tab[aria-selected="true"] {
  border-color: rgba(255, 31, 50, 0.72);
  background: linear-gradient(130deg, rgba(255, 31, 50, 0.24), rgba(184, 15, 32, 0.2));
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 31, 50, 0.3);
}

.auth-panels {
  position: relative;
}

.auth-panel {
  display: none;
  gap: 0.8rem;
}

.auth-panel.is-active {
  display: grid;
  animation: authPanelIn 320ms var(--ease-expo);
}

.auth-panel[hidden] {
  display: none !important;
}

.auth-panel-intro {
  margin: 0 0 0.1rem;
  color: #cdbfc4;
  font-size: var(--text-sm);
  line-height: 1.58;
}

.auth-panel .btn {
  width: 100%;
}

.auth-panel .field small {
  color: #b8aab0;
}

.auth-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.auth-links button {
  min-height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.3);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 0.7rem;
  font-size: var(--text-xs);
  color: #ffd9de;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.auth-links button:hover {
  border-color: rgba(255, 31, 50, 0.56);
  background: rgba(255, 31, 50, 0.09);
  color: #fff;
}

.auth-links button.is-current {
  border-color: rgba(255, 31, 50, 0.7);
  background: rgba(255, 31, 50, 0.15);
  color: #fff;
}

@keyframes authPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* =============================================
   Drive Sound Portal
   ============================================= */

.drive-page {
  position: relative;
  min-height: 100dvh;
  overflow: clip;
  padding: clamp(1rem, 2.8vw, 2.4rem) 0 var(--space-20);
}

.drive-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 31, 50, 0.2), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(255, 110, 122, 0.12), transparent 36%);
  opacity: 0.85;
}

.drive-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 31, 50, 0.08), transparent 30%),
    linear-gradient(0deg, rgba(255, 31, 50, 0.07), transparent 28%);
  mix-blend-mode: screen;
}

.drive-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.drive-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.35;
  animation: driveOrbFloat 11s ease-in-out infinite;
}

.drive-orb-1 {
  width: 280px;
  height: 280px;
  left: -4rem;
  top: 5rem;
  background: radial-gradient(circle, rgba(255, 31, 50, 0.58), transparent 70%);
}

.drive-orb-2 {
  width: 340px;
  height: 340px;
  right: -8rem;
  top: 3rem;
  background: radial-gradient(circle, rgba(255, 104, 120, 0.42), transparent 72%);
  animation-delay: -2.6s;
}

.drive-orb-3 {
  width: 260px;
  height: 260px;
  right: 32%;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(184, 15, 32, 0.42), transparent 74%);
  animation-delay: -6.2s;
}

@keyframes driveOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.05);
  }
}

.drive-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: var(--space-6);
}

.drive-hero-main {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 31, 50, 0.24);
  background:
    linear-gradient(145deg, rgba(20, 9, 11, 0.84), rgba(8, 7, 8, 0.92)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.18), transparent 46%);
  backdrop-filter: blur(18px);
  padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.drive-hero-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.drive-hero-logo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255, 74, 97, 0.52);
  box-shadow: 0 0 34px rgba(255, 31, 50, 0.32);
}

.drive-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f4dfe3;
}

.drive-title {
  margin-top: 0.24rem;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 0.95;
}

.drive-subtitle {
  margin-top: 0.86rem;
  max-width: 70ch;
  color: #e8d9de;
}

.drive-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.drive-hero-tags {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drive-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 101, 124, 0.33);
  background: rgba(255, 31, 50, 0.09);
  color: #fee9ed;
  padding: 0.2rem 0.72rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.drive-tag svg {
  width: 14px;
  height: 14px;
}

.drive-hero-status {
  align-self: stretch;
}

.drive-status-title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
  color: #fff;
}

.drive-live-list {
  margin-top: 0.86rem;
  display: grid;
  gap: 0.45rem;
}

.drive-live-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.48rem 0.58rem;
}

.drive-live-list span {
  font-size: var(--text-xs);
  color: #d8c5ca;
}

.drive-live-list strong {
  color: #fff;
  font-size: 0.82rem;
}

.drive-trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: var(--space-6);
}

.drive-trust-card {
  display: grid;
  gap: 0.5rem;
  min-height: 164px;
}

.drive-trust-card svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 117, 138, 0.95);
}

.drive-trust-card h3 {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  color: #fff;
}

.drive-trust-card p {
  color: #d6c6cb;
  font-size: var(--text-sm);
}

.drive-process {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-6);
}

.drive-process-grid {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.drive-process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.62rem;
  align-items: flex-start;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
  padding: 0.58rem 0.64rem;
}

.drive-process-item > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 95, 118, 0.55);
  background: rgba(255, 31, 50, 0.13);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
}

.drive-process-item h3 {
  color: #fff;
  font-size: 0.96rem;
}

.drive-process-item p {
  margin-top: 0.15rem;
  color: #d5c4ca;
  font-size: var(--text-sm);
}

.drive-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.45fr 0.85fr;
  gap: 0.9rem;
}

.drive-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.28);
  background:
    linear-gradient(145deg, rgba(21, 8, 11, 0.92), rgba(11, 8, 9, 0.95)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.12), transparent 52%);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.drive-panel:hover {
  border-color: rgba(255, 90, 112, 0.45);
}

.drive-section-title {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
}

.drive-login-form {
  margin-top: 1rem;
}

.drive-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.drive-quick-metrics {
  margin-bottom: 0.84rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.drive-metric {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 0.58rem;
}

.drive-metric small {
  display: block;
  color: #cdbdc2;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.drive-metric strong {
  display: block;
  margin-top: 0.18rem;
  color: #fff;
  font-size: 0.96rem;
}

.drive-form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drive-form-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4c3c8;
  padding: 0 0.62rem;
  font-size: 0.72rem;
}

.drive-form-steps .is-active {
  border-color: rgba(255, 93, 116, 0.5);
  background: rgba(255, 31, 50, 0.1);
  color: #fff;
}

.drive-dropzone-wrap {
  display: grid;
  gap: 0.55rem;
}

.drive-file-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.drive-limits {
  font-size: var(--text-xs);
  color: #ecd9de;
}

.drive-clear-btn {
  min-height: 34px;
  padding-inline: 0.72rem;
}

.drive-dropzone {
  min-height: 168px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(255, 31, 50, 0.46);
  background:
    linear-gradient(140deg, rgba(255, 31, 50, 0.1), rgba(255, 31, 50, 0.04)),
    rgba(8, 8, 10, 0.62);
  padding: 1rem;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.drive-dropzone::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -50%;
  width: 45%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-med);
}

.drive-dropzone p {
  color: #fff;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.drive-dropzone span {
  font-size: var(--text-xs);
  color: #dfcfd3;
  position: relative;
  z-index: 1;
}

.drive-dropzone.is-dragover {
  transform: scale(1.01);
  border-color: rgba(255, 78, 101, 0.94);
  background:
    linear-gradient(140deg, rgba(255, 31, 50, 0.16), rgba(255, 31, 50, 0.07)),
    rgba(10, 8, 9, 0.7);
}

.drive-dropzone.is-dragover::before {
  opacity: 1;
  transform: translateX(160%) rotate(20deg);
}

.drive-file-list {
  display: grid;
  gap: 0.45rem;
}

.drive-file-empty,
.drive-project-empty {
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: #d8c9cd;
  font-size: var(--text-sm);
}

.drive-file-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.65rem;
}

.drive-file-meta {
  min-width: 0;
}

.drive-file-meta strong {
  display: block;
  color: #fff;
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drive-file-meta span {
  font-size: var(--text-xs);
  color: #cabdc1;
}

.drive-file-remove {
  min-height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 87, 108, 0.45);
  background: rgba(255, 31, 50, 0.08);
  color: #ffdbe0;
  padding: 0 0.68rem;
  font-size: 0.73rem;
}

.drive-progress {
  display: grid;
  gap: 0.35rem;
}

.drive-progress p {
  font-size: var(--text-xs);
  color: #dacace;
}

.drive-success h3 {
  font-size: var(--text-base);
  color: #fff;
}

.drive-publish {
  margin-top: 0.95rem;
  border-color: rgba(255, 94, 116, 0.35);
  background:
    linear-gradient(160deg, rgba(23, 9, 12, 0.88), rgba(11, 8, 9, 0.95)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.12), transparent 52%);
}

.drive-publish h3 {
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}

.drive-publish .section-text {
  margin-top: 0.45rem;
  color: #e2d2d7;
  font-size: var(--text-sm);
}

.drive-publish .input[type="file"] {
  padding: 0.52rem;
  min-height: 44px;
}

.drive-publish .input[type="file"]::file-selector-button {
  border: 1px solid rgba(255, 86, 109, 0.45);
  background: rgba(255, 31, 50, 0.1);
  color: #ffe8ed;
  border-radius: var(--radius-full);
  min-height: 32px;
  padding: 0 0.72rem;
  margin-right: 0.62rem;
}

.drive-projects-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.drive-project-row {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.58rem 0.65rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.drive-project-row strong {
  display: block;
  color: #fff;
  font-size: var(--text-sm);
}

.drive-project-row p {
  margin-top: 0.16rem;
  font-size: var(--text-xs);
  color: #cdbec2;
}

.drive-project-row span {
  font-size: 0.72rem;
  color: #f0d9de;
}

.drive-side-support {
  margin-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.8rem;
}

.drive-side-support h3 {
  color: #fff;
  font-size: 0.92rem;
}

.drive-side-support p {
  margin-top: 0.25rem;
  color: #d8c7cb;
  font-size: var(--text-sm);
}

.drive-side-support a {
  display: inline-flex;
  margin-top: 0.38rem;
  color: #ffdbe2;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 137, 154, 0.42);
}

.drive-side-support a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 137, 154, 0.82);
}

/* =============================================
   Timeline / FAQ / Tables
   ============================================= */

.timeline {
  position: relative;
  --line-progress: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: calc(var(--line-progress) * 100%);
  background: linear-gradient(to bottom, #ff1f32, #ff6e7a);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: calc(50% - 1.4rem);
  margin-bottom: var(--space-6);
}

.timeline-item:nth-child(odd) {
  margin-right: auto;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  top: 1.1rem;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 31, 50, 0.5);
  background: rgba(4, 4, 4, 1);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: #fff;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -2.1rem;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -2.1rem;
}

.pricing-table {
  overflow-x: auto;
}

.price-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 31, 50, 0.28);
  background:
    linear-gradient(145deg, rgba(20, 11, 12, 0.78), rgba(10, 9, 10, 0.9)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.12), transparent 46%);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 31, 50, 0.36), rgba(82, 190, 255, 0.24), rgba(255, 31, 50, 0.18)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.price-card-popular {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(255, 31, 50, 0.2), 0 0 44px rgba(255, 31, 50, 0.22);
}

.price-card .price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  color: #fff;
}

.price-amount strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.1vw, 2.4rem);
}

.price-amount small {
  color: #e6d7da;
  font-size: var(--text-xs);
}

.price-feature-list {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.75rem;
}

.price-feature-list li {
  position: relative;
  padding-left: 1rem;
  color: #d8c9cd;
  font-size: var(--text-sm);
}

.price-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3042, #52beff);
  box-shadow: 0 0 10px rgba(255, 31, 50, 0.45);
}

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

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-sm);
}

.checkout-layout {
  align-items: start;
}

.checkout-summary-shell {
  position: sticky;
  top: calc(var(--header-height) + 1.1rem);
}

.checkout-summary-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.75rem;
}

.checkout-item-cover {
  width: 48px;
  height: 48px;
  border-radius: 0.55rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.checkout-item strong {
  color: #fff;
  font-size: var(--text-sm);
}

.checkout-item p {
  margin-top: 0.2rem;
  color: #c8babd;
  font-size: var(--text-xs);
}

.checkout-item-right {
  display: grid;
  justify-items: end;
  gap: 0.4rem;
}

.checkout-item-right span {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
}

.checkout-item-right button {
  min-height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.4);
  background: rgba(255, 31, 50, 0.08);
  color: #ffd7dc;
  padding: 0 0.65rem;
  font-size: 0.75rem;
}

.checkout-item-qty {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.2rem 0.45rem;
}

.checkout-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 110, 122, 0.4);
  background: rgba(255, 110, 122, 0.1);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkout-item-qty span {
  color: #fff;
  font-size: var(--text-xs);
}

.checkout-code {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.4rem;
}

.checkout-code label {
  font-size: var(--text-xs);
  color: #eadfe2;
}

.checkout-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.checkout-code-row .btn {
  min-height: 44px;
}

.checkout-totals {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.checkout-totals p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #dfd3d7;
  font-size: var(--text-sm);
}

.checkout-totals strong {
  color: #fff;
}

.checkout-totals .checkout-total {
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-base);
}

.checkout-empty {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem;
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.checkout-empty p {
  color: #d7cacf;
  font-size: var(--text-sm);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(16, 10, 11, 0.72);
}

.faq-btn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.9rem 1rem;
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med);
}

.faq-panel > div {
  overflow: hidden;
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p {
  padding: 0 1rem 1rem;
}

/* =============================================
   Footer
   ============================================= */

.site-footer {
  position: relative;
  margin-top: var(--space-20);
  padding-top: var(--space-8);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 6%, rgba(255, 31, 50, 0.74) 50%, transparent 94%);
}

.footer-shell {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 31, 50, 0.24);
  background:
    linear-gradient(152deg, rgba(18, 11, 12, 0.9) 0%, rgba(9, 7, 8, 0.95) 100%),
    radial-gradient(circle at 10% 0%, rgba(255, 31, 50, 0.16), transparent 46%);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: clamp(1rem, 1.1rem + 0.7vw, 1.7rem);
  overflow: hidden;
}

.footer-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% -8%, rgba(255, 31, 50, 0.18), transparent 38%);
  opacity: 0.72;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 0.7rem + 0.7vw, 1.3rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.footer-grid > * {
  min-width: 0;
}

.footer-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  padding: clamp(0.8rem, 0.7rem + 0.5vw, 1.05rem);
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 100%;
  min-width: 0;
}

.footer-panel-brand {
  border-color: rgba(255, 31, 50, 0.28);
  background:
    linear-gradient(150deg, rgba(255, 31, 50, 0.11), rgba(255, 255, 255, 0.02)),
    rgba(13, 10, 10, 0.6);
}

.footer-official-brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  max-width: 100%;
  min-width: 0;
}

.footer-official-brand img {
  width: clamp(58px, 5.6vw, 76px);
  height: clamp(58px, 5.6vw, 76px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(255, 0, 38, 0.3);
  object-fit: cover;
}

.footer-brand-meta {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.footer-brand-meta strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.3rem);
  letter-spacing: 0.08em;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-brand-caption {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5d8dd;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-copy {
  margin: 0;
  color: #d8cacf;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-copy-sm {
  font-size: var(--text-sm);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-social-link {
  min-height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.35);
  background: rgba(255, 31, 50, 0.08);
  color: #ffe6ea;
  padding: 0.15rem 0.78rem;
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 31, 50, 0.6);
  background: rgba(255, 31, 50, 0.15);
  color: #fff;
}

.footer-title {
  margin: 0;
  padding-bottom: 0.52rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: var(--text-sm);
}

.footer-links li {
  min-width: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #d3c5c9;
  transition: color var(--t-fast), transform var(--t-fast);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-links a::before {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: rgba(255, 31, 50, 0.46);
  box-shadow: 0 0 10px rgba(255, 31, 50, 0.28);
  margin-right: 0.46rem;
  transition: transform var(--t-fast), background var(--t-fast);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-links a:hover::before {
  transform: scale(1.15);
  background: rgba(255, 31, 50, 0.74);
}

.newsletter {
  display: grid;
  gap: 0.55rem;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  min-width: 0;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0 0.8rem;
}

.newsletter button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 31, 50, 0.55);
  background: linear-gradient(125deg, rgba(255, 31, 50, 0.24), rgba(184, 15, 32, 0.24));
  color: #fff;
  padding: 0 0.9rem;
  font-weight: 600;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.newsletter button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 31, 50, 0.78);
  box-shadow: 0 0 16px rgba(255, 31, 50, 0.34);
}

.footer-note {
  margin: 0;
  color: #b9abb0;
  font-size: var(--text-xs);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  margin-top: clamp(0.9rem, 0.7rem + 0.5vw, 1.3rem);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: var(--text-xs);
  color: #c6b8be;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.footer-bottom > span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.78rem;
  min-width: 0;
}

.footer-bottom-links a {
  color: #d7c9cf;
  transition: color var(--t-fast);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* =============================================
   Toasts / Modal
   ============================================= */

.toast-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 5000;
  display: grid;
  gap: 0.55rem;
  width: min(92vw, 360px);
}

.toast {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 31, 50, 0.4);
  background: rgba(10, 6, 26, 0.95);
  box-shadow: var(--shadow-sm);
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.45);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.45);
}

.toast.warning {
  border-color: rgba(249, 115, 22, 0.45);
}

.toast-bar {
  margin-top: 0.45rem;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  transform-origin: left;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 4500;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 4, 4, 0.65);
  backdrop-filter: blur(8px);
}

.modal-root.show {
  display: grid;
}

.modal-card {
  width: min(92vw, 560px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.35);
  background: rgba(10, 6, 26, 0.95);
  padding: var(--space-5);
}

.modal-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1360px) {
  .nav-right .nav-live-chip {
    display: none;
  }
}

@media (max-width: 1279px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --hero-tile-offset: 0px;
  }

  .hero-live-chip-wrap {
    margin-top: -1.3rem;
    margin-bottom: 0.3rem;
  }

  .hero-tile-main {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .nav-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-mega-card {
    grid-column: 1 / -1;
    min-height: 210px;
  }

  .beats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-panel-brand {
    grid-column: 1 / -1;
  }

  .store-advanced {
    grid-template-columns: 1fr;
  }

  .store-advanced-actions {
    justify-content: flex-start;
  }

  .store-pro-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-pro-row-ranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-pro-readouts {
    grid-column: 1 / -1;
  }

  .store-pro-row-actions {
    grid-template-columns: 1fr;
  }

  .page-hero-layout {
    grid-template-columns: 1fr;
  }

  .page-hero-copy {
    max-width: 70ch;
  }

  .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-card.is-featured {
    grid-column: 1 / -1;
  }

  .price-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drive-hero {
    grid-template-columns: 1fr;
  }

  .drive-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drive-shell {
    grid-template-columns: 1fr 1fr;
  }

  .drive-side {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-right,
  .nav-mega {
    display: none;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + var(--space-10));
  }

  .hero-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .hero-tiles-shift-right {
    padding-left: 0;
  }

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

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before,
  .timeline::after {
    left: 0.8rem;
    transform: none;
  }

  .timeline-item {
    width: calc(100% - 2.2rem);
    margin-left: auto;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: -1.9rem;
  }

  .page-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card-popular {
    transform: none;
  }

  .checkout-summary-shell {
    position: static;
    top: auto;
  }

  .drive-shell {
    grid-template-columns: 1fr;
  }

  .drive-quick-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .auth-card {
    width: min(100%, 520px);
  }

  .auth-logo {
    width: 92px;
    height: 92px;
  }

  .auth-view-tabs {
    grid-template-columns: 1fr;
  }

  .auth-links {
    justify-content: stretch;
  }

  .auth-links button {
    width: 100%;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .beats-grid,
  .filters-grid,
  .kpi-grid,
  .footer-grid,
  .price-menu-grid {
    grid-template-columns: 1fr;
  }

  .footer-panel-brand {
    grid-column: auto;
  }

  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-pro-row,
  .store-pro-row-ranges {
    grid-template-columns: 1fr;
  }

  .drive-panel {
    padding: 0.85rem;
  }

  .drive-trust {
    grid-template-columns: 1fr;
  }

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

  .drive-hero-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .drive-file-tools {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .checkout-item-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .checkout-item-right {
    justify-items: start;
  }

  .filter-menu-toggle {
    padding-inline: 0.75rem;
  }

  .filter-menu-toggle span {
    display: none;
  }

  .hero-tiles {
    grid-template-columns: 1fr;
    --hero-tile-offset: 0px;
  }

  .hero-tiles > .hero-tile {
    margin-top: 0;
  }

  .hero-live-chip-wrap {
    margin-top: 0;
    margin-bottom: 0.2rem;
    transform: none;
  }

  .hero-tile,
  .hero-tile-main {
    min-height: 200px;
  }

  .mini-inner {
    width: calc(100% - 0.6rem);
    grid-template-columns: auto 1fr;
  }

  .mini-controls {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .toast-wrap {
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
  }

  .shortcut-dock {
    right: 0.35rem;
    bottom: 8.2rem;
    padding: 0.35rem;
  }

  .compare-drawer {
    left: 0.3rem;
    right: 0.3rem;
    width: auto;
    top: auto;
    bottom: 0.3rem;
    max-height: 64dvh;
  }

  .mobile-menu-panels,
  .visual-grid,
  .page-hero-media {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .visual-card.is-featured,
  .page-hero-media-card {
    min-height: 220px;
  }

  .mobile-menu a {
    font-size: clamp(1.1rem, 0.95rem + 2vw, 1.55rem);
  }
}

@media (hover: none) {
  .beat-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(4, 4, 4, 0.45), rgba(4, 4, 4, 0.12));
  }

  .shortcut-dock {
    display: none;
  }
}

/* =============================================
   Drive Sound Admin Refonte
   ============================================= */

.drive-page--admin {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  padding: clamp(0.9rem, 2vw, 1.6rem) 0 var(--space-20);
  background:
    radial-gradient(circle at 0% -10%, rgba(255, 31, 50, 0.18), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(184, 15, 32, 0.22), transparent 40%),
    linear-gradient(180deg, #060305 0%, #040304 52%, #050405 100%);
}

.drive-admin-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.drive-admin-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.3;
  animation: driveAdminOrbFloat 12s ease-in-out infinite;
}

.drive-admin-orb-1 {
  width: min(40vw, 420px);
  height: min(40vw, 420px);
  top: -8rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(255, 31, 50, 0.7), transparent 72%);
}

.drive-admin-orb-2 {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  top: 20%;
  right: -7rem;
  background: radial-gradient(circle, rgba(255, 86, 109, 0.48), transparent 72%);
  animation-delay: -4s;
}

.drive-admin-orb-3 {
  width: min(44vw, 460px);
  height: min(44vw, 460px);
  bottom: -11rem;
  left: 35%;
  background: radial-gradient(circle, rgba(132, 13, 29, 0.5), transparent 73%);
  animation-delay: -7.5s;
}

@keyframes driveAdminOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -24px, 0);
  }
}

.drive-admin-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
  margin-bottom: var(--space-5);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 31, 50, 0.26);
  background: rgba(8, 6, 8, 0.86);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0.65rem;
  z-index: 15;
}

.drive-admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.drive-admin-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 91, 114, 0.55);
  box-shadow: 0 0 30px rgba(255, 31, 50, 0.34);
}

.drive-admin-brand p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5d6dd;
}

.drive-admin-brand strong {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.16rem);
  color: #fff;
}

.drive-admin-nav {
  justify-self: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.drive-admin-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: 0 0.9rem;
  color: #f2e6ea;
  font-size: var(--text-xs);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.drive-admin-nav a:hover {
  border-color: rgba(255, 84, 108, 0.45);
  background: rgba(255, 31, 50, 0.11);
  color: #fff;
  transform: translateY(-1px);
}

.drive-admin-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 98, 121, 0.52);
  padding: 0 0.8rem;
  background: rgba(255, 31, 50, 0.12);
  color: #ffe9ee;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.drive-admin-pill svg {
  width: 15px;
  height: 15px;
}

.drive-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 0.95rem;
  margin-bottom: var(--space-5);
}

.drive-admin-hero-main,
.drive-admin-status,
.drive-admin-panel {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 31, 50, 0.28);
  background:
    linear-gradient(152deg, rgba(17, 8, 10, 0.92), rgba(8, 7, 9, 0.95)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.11), transparent 53%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.drive-admin-hero-main {
  padding: clamp(1.1rem, 2.3vw, 1.9rem);
}

.drive-admin-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f2d8de;
}

.drive-admin-title {
  margin-top: 0.56rem;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.92;
  color: #fff;
}

.drive-admin-subtitle {
  margin-top: 0.9rem;
  max-width: 68ch;
  color: #dbc8ce;
}

.drive-admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.drive-admin-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drive-admin-tag {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 92, 115, 0.4);
  background: rgba(255, 31, 50, 0.08);
  color: #ffe9ed;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
}

.drive-admin-tag svg {
  width: 14px;
  height: 14px;
}

.drive-admin-status {
  padding: clamp(1rem, 1.9vw, 1.45rem);
}

.drive-admin-status h2 {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  color: #fff;
}

.drive-admin-live-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.drive-admin-live-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 0.58rem;
}

.drive-admin-live-list span {
  font-size: var(--text-xs);
  color: #d5c1c7;
}

.drive-admin-live-list strong {
  color: #fff;
  font-size: 0.8rem;
  text-align: right;
}

.drive-admin-security {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: var(--space-5);
}

.drive-admin-panel {
  padding: clamp(0.95rem, 2vw, 1.2rem);
}

.drive-admin-workspace,
.drive-admin-beats {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.92fr);
  gap: 0.9rem;
  margin-bottom: var(--space-5);
}

.drive-admin-side-head {
  margin-bottom: 0.6rem;
}

.drive-admin-side-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.62rem;
}

.drive-admin-side-actions strong {
  font-family: var(--font-display);
  font-size: 0.84rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.drive-published-list {
  display: grid;
  gap: 0.5rem;
}

.drive-published-empty {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.03);
  color: #d7c6cb;
  font-size: var(--text-sm);
  padding: 0.7rem 0.75rem;
}

.drive-published-row {
  display: grid;
  gap: 0.55rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.58rem 0.64rem;
}

.drive-published-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.drive-published-row-title {
  min-width: 0;
}

.drive-published-row-title strong {
  display: block;
  color: #fff;
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drive-published-row-title p {
  margin-top: 0.15rem;
  color: #ccb9bf;
  font-size: var(--text-xs);
}

.drive-published-meta {
  color: #c9b7bc;
  font-size: 0.72rem;
}

.drive-published-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 111, 133, 0.5);
  padding: 0 0.48rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #ffe6ec;
}

.drive-published-badge.is-live {
  background: rgba(47, 173, 100, 0.18);
  border-color: rgba(47, 173, 100, 0.62);
  color: #c8ffd8;
}

.drive-published-badge.is-off {
  background: rgba(255, 31, 50, 0.12);
  border-color: rgba(255, 99, 121, 0.58);
}

.drive-published-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drive-published-toggle,
.drive-published-open {
  min-height: 32px;
  border-radius: var(--radius-full);
  padding: 0 0.7rem;
  font-size: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #f6e6eb;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}

.drive-published-toggle:hover,
.drive-published-open:hover {
  border-color: rgba(255, 97, 120, 0.5);
  background: rgba(255, 31, 50, 0.09);
  transform: translateY(-1px);
}

.drive-admin-ops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.drive-admin-ops-card {
  display: grid;
  gap: 0.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.24);
  background: rgba(12, 8, 10, 0.82);
}

.drive-admin-ops-card svg {
  width: 19px;
  height: 19px;
  color: #ff738b;
}

.drive-admin-ops-card h3 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #fff;
}

.drive-admin-ops-card p {
  color: #d8c6cc;
  font-size: var(--text-sm);
}

@media (max-width: 1200px) {
  .drive-admin-top {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .drive-admin-brand,
  .drive-admin-pill {
    justify-self: center;
  }

  .drive-admin-nav {
    justify-self: center;
  }

  .drive-admin-hero,
  .drive-admin-workspace,
  .drive-admin-beats,
  .drive-admin-security,
  .drive-admin-ops {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .drive-page--admin {
    padding-top: 0.6rem;
  }

  .drive-admin-nav {
    width: 100%;
    justify-content: center;
  }

  .drive-admin-nav a {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .drive-admin-title {
    font-size: clamp(1.9rem, 13vw, 3rem);
  }

  .drive-admin-hero-actions,
  .drive-admin-tags,
  .drive-published-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .drive-admin-side-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .drive-published-row-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================
   Drive Sound Admin v2
   ============================================= */

body[data-page="drive-admin"],
body[data-page="drive-admin-login"] {
  background:
    radial-gradient(circle at 8% -6%, rgba(255, 31, 50, 0.24), transparent 34%),
    radial-gradient(circle at 96% 2%, rgba(255, 110, 122, 0.12), transparent 30%),
    linear-gradient(140deg, #080607 0%, #050505 52%, #070606 100%);
}

.ds-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.ds-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  border-right: 1px solid rgba(255, 31, 50, 0.2);
  background: linear-gradient(160deg, rgba(18, 10, 12, 0.96), rgba(7, 6, 6, 0.98));
  padding: 1rem 0.9rem;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.9rem;
  z-index: 5;
}

.ds-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 31, 50, 0.24);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.55rem 0.62rem;
}

.ds-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 14px rgba(255, 31, 50, 0.3);
  object-fit: cover;
}

.ds-brand strong {
  display: block;
  color: #fff;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.ds-brand span {
  display: block;
  font-size: 0.68rem;
  color: #d7c6cb;
}

.ds-side-kicker {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cdbfc3;
}

.ds-nav {
  display: grid;
  gap: 0.42rem;
}

.ds-nav a {
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  align-content: center;
  gap: 0.08rem;
  padding: 0.38rem 0.6rem;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.ds-nav a strong {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.ds-nav a span {
  color: #cdbec3;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ds-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 67, 89, 0.58);
  background: rgba(255, 31, 50, 0.1);
}

.ds-nav a.is-active {
  border-color: rgba(255, 88, 110, 0.74);
  background:
    linear-gradient(135deg, rgba(255, 31, 50, 0.18), rgba(130, 10, 21, 0.2)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 18px rgba(255, 31, 50, 0.24);
}

.ds-side-meta {
  display: grid;
  gap: 0.44rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.56rem 0.58rem;
}

.ds-side-meta p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.72rem;
}

.ds-side-meta span {
  color: #d6c7cc;
}

.ds-side-meta strong {
  color: #fff;
  font-size: 0.72rem;
  text-align: right;
}

.ds-logout {
  width: 100%;
}

.ds-main {
  min-width: 0;
  padding: 1rem;
}

.ds-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.2);
  background:
    linear-gradient(145deg, rgba(18, 10, 12, 0.86), rgba(7, 6, 6, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.16), transparent 48%);
  padding: 0.85rem 0.95rem;
}

.ds-topbar h1 {
  margin-top: 0.2rem;
  font-size: clamp(1.2rem, 1rem + 1.3vw, 2rem);
  color: #fff;
}

.ds-topbar p {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d9c8cd;
}

.ds-topbadges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.ds-topbadges span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 0.62rem;
  color: #f6e4e8;
  font-size: 0.7rem;
}

.ds-content {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.9rem;
}

.ds-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.ds-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.ds-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.ds-stat {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 31, 50, 0.22);
  background:
    linear-gradient(160deg, rgba(20, 10, 12, 0.84), rgba(8, 6, 7, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.14), transparent 62%);
  padding: 0.75rem 0.8rem;
  display: grid;
  gap: 0.24rem;
  min-height: 114px;
}

.ds-stat small {
  color: #d4c5ca;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.ds-stat strong {
  color: #fff;
  font-size: clamp(1.35rem, 0.9rem + 1.3vw, 2.1rem);
  font-family: var(--font-display);
}

.ds-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 31, 50, 0.22);
  background:
    linear-gradient(145deg, rgba(16, 9, 11, 0.86), rgba(8, 7, 8, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.12), transparent 54%);
  padding: 0.85rem;
}

.ds-card h2,
.ds-card h3 {
  color: #fff;
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.45rem);
}

.ds-card p {
  margin-top: 0.4rem;
  color: #d0c1c6;
  font-size: var(--text-sm);
}

.ds-row {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ds-table-wrap {
  margin-top: 0.72rem;
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ds-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.ds-table th,
.ds-table td {
  padding: 0.52rem 0.58rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
  font-size: var(--text-xs);
}

.ds-table th {
  color: #f0dee2;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.ds-table td {
  color: #d2c4c9;
}

.ds-table td strong {
  color: #fff;
  font-size: var(--text-sm);
}

.ds-pill {
  min-height: 25px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  padding: 0 0.54rem;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.ds-pill.is-live {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.14);
  color: #ccf8dd;
}

.ds-pill.is-offline {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.14);
  color: #ffe3b8;
}

.ds-pill.is-deleted {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.14);
  color: #ffd2d8;
}

.ds-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.ds-tools button,
.ds-tools a {
  min-height: 32px;
  padding: 0.2rem 0.66rem;
  font-size: 0.68rem;
}

.ds-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.ds-fields-2,
.ds-fields-3 {
  display: grid;
  gap: 0.58rem;
}

.ds-fields-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ds-fields-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ds-form .field {
  display: grid;
  gap: 0.34rem;
}

.ds-form .field label {
  color: #e6d6da;
  font-size: var(--text-xs);
}

.ds-form .input,
.ds-form .textarea,
.ds-form .select {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 31, 50, 0.28);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 0.72rem;
  color: #fff;
}

.ds-form .textarea {
  min-height: 120px;
  resize: vertical;
}

.ds-dropzone {
  min-height: 140px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(255, 31, 50, 0.36);
  background: rgba(255, 31, 50, 0.05);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.9rem;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.ds-dropzone.is-over {
  border-color: rgba(255, 31, 50, 0.68);
  background: rgba(255, 31, 50, 0.1);
  transform: scale(1.01);
}

.ds-dropzone p {
  color: #f2dfe3;
  font-size: var(--text-sm);
}

.ds-dropzone small {
  display: block;
  margin-top: 0.28rem;
  color: #cbbdc2;
  font-size: var(--text-xs);
}

.ds-file-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.42rem;
}

.ds-file-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.58rem;
  padding: 0.38rem 0.55rem;
  color: #d7c8cd;
  font-size: var(--text-xs);
}

.ds-progress {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.35rem;
}

.ds-progress p {
  font-size: var(--text-xs);
  color: #d8c9cd;
}

.ds-login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.ds-login-card {
  width: min(100%, 560px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 31, 50, 0.3);
  background:
    linear-gradient(145deg, rgba(14, 9, 10, 0.9), rgba(8, 7, 8, 0.95)),
    radial-gradient(circle at 0% 0%, rgba(255, 31, 50, 0.16), transparent 54%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.62), 0 0 34px rgba(255, 31, 50, 0.18);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.ds-login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.ds-login-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  object-fit: cover;
  box-shadow: 0 0 24px rgba(255, 31, 50, 0.34);
}

.ds-login-brand strong {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.ds-login-title {
  margin-top: 0.85rem;
  text-align: center;
  color: #fff;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
}

.ds-login-note {
  margin-top: 0.34rem;
  text-align: center;
  color: #cabcc1;
  font-size: var(--text-sm);
}

.ds-login-alert {
  margin-top: 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 110, 122, 0.34);
  background: rgba(255, 110, 122, 0.1);
  color: #ffd4da;
  padding: 0.5rem 0.58rem;
  font-size: var(--text-xs);
}

@media (max-width: 1279px) {
  .ds-shell {
    grid-template-columns: 1fr;
  }

  .ds-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto auto auto;
  }

  .ds-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ds-side-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .ds-grid-4,
  .ds-grid-3,
  .ds-grid-2,
  .ds-fields-3,
  .ds-fields-2,
  .ds-side-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ds-main {
    padding: 0.7rem;
  }

  .ds-grid-4,
  .ds-grid-3,
  .ds-grid-2,
  .ds-fields-3,
  .ds-fields-2,
  .ds-nav,
  .ds-side-meta {
    grid-template-columns: 1fr;
  }

  .ds-topbar,
  .ds-topbadges,
  .ds-row,
  .ds-tools {
    flex-direction: column;
    align-items: stretch;
  }
}
