/* BASE */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 13.5px;
}

body {
  margin: 0;
  background: #050505;
  font-family: 'DM Sans', sans-serif;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* MATRIX CANVAS */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* VIGNETTE + PURPLE ACCENT OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(5,5,5,0.85) 100%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(157, 0, 255, 0.07), transparent);
  pointer-events: none;
  z-index: 1;
}

/* SCANLINES */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.12) 0px,
      transparent 1px,
      transparent 3px
    );
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}

/* SHAKE ANIMATION */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.shake {
  animation: shake 0.3s ease;
}

/* FADE IN */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PULSE */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================================
   GATE
   ============================================================ */
.gate {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

.gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(57, 255, 20, 0.2), transparent);
  animation: pulse 4s ease-in-out infinite;
}

.gate-box {
  text-align: center;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  padding: 50px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  width: 320px;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.5),
    0 0 1px rgba(255,255,255,0.1) inset;
}

.gate-box h2 {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #39ff14, #a020f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gate-box p {
  font-size: 0.9rem;
  opacity: 0.5;
  margin: 0 0 20px 0;
}

.gate input {
  margin-top: 15px;
  padding: 14px 16px;
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.gate input:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.5);
  background: rgba(0,0,0,0.7);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.gate button {
  margin-top: 15px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #39ff14, #00ff00);
  border: none;
  color: #000;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
}

.gate button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(57, 255, 20, 0.5);
}

.gate button:active {
  transform: translateY(0);
}

#error {
  margin-top: 12px;
  color: #ff4d4d;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================================
   NAVBAR — TRANSPARENT / GLASS
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(57, 255, 20, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.navbar-logo img:hover {
  filter: drop-shadow(0 4px 14px rgba(57, 255, 20, 0.55));
  transform: scale(1.04);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.nav-link-cta {
  background: linear-gradient(135deg, #39ff14, #00ff00);
  color: #000 !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(57, 255, 20, 0.3);
}

.nav-link-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(57, 255, 20, 0.5);
  background: linear-gradient(135deg, #4fff2a, #00ff00) !important;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE MENU */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 28px 18px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(16px);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
}

.nav-mobile-link:last-child {
  border-bottom: none;
  color: #39ff14;
}

.nav-mobile-link:hover {
  color: #fff;
}

/* ============================================================
   MAIN
   ============================================================ */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 110px;
  position: relative;
  z-index: 2;
}

.app {
  width: 100%;
  max-width: 850px;
  padding: 0 24px 60px;
  animation: fadeIn 0.6s ease;
}

/* APP LOGO */
.app-logo {
  text-align: center;
  margin-bottom: 20px;
}

/* BRAND STATEMENT */
.brand-statement {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 28px auto;
}

.app-logo img {
  height: 180px;
  max-width: 100%;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(57, 255, 20, 0.4));
  transition: transform 0.3s ease;
}

.app-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(57, 255, 20, 0.6));
}

/* SEARCH */
.search {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(10px);
  color: white;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.search:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.4);
  background: rgba(15,15,15,0.8);
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.15);
}

.search::placeholder {
  color: rgba(255,255,255,0.3);
}

/* FILTERS */
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 24px;
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  border-color: rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.1);
  color: rgba(255,255,255,0.9);
}

.filter-btn.active {
  background: linear-gradient(135deg, #39ff14, #00ff00);
  border-color: transparent;
  color: #000;
  box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
}

/* NOW PLAYING */
.now-playing {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.4),
    0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
  overflow: hidden;
}

.now-playing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.5), transparent);
}

.np-art {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.np-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.np-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.np-artist {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-top: -8px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
}

/* PROGRESS */
.np-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-family: 'Space Mono', monospace;
  opacity: 0.6;
}

.np-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.3) inset;
}

#np-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #39ff14, #00ff00);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
  transition: width 0.1s linear;
  position: relative;
}

#np-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  border-radius: 2px;
}

/* CONTROLS */
.np-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.np-controls button {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.np-controls button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(57, 255, 20, 0.4);
  transform: scale(1.1);
}

.np-controls button:active {
  transform: scale(0.95);
}

#play {
  background: linear-gradient(135deg, #39ff14, #00ff00);
  border: none;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
  color: #000;
}

#play:hover {
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.6);
}

/* MENU CONTAINER */
.menu-container {
  display: block;
  padding-right: 8px;
}

/* TWO-COLUMN TRACKS LAYOUT */
.tracks-columns-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.tracks-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tracks-column-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(57, 255, 20, 0.3);
  margin-bottom: 4px;
}

.tracks-column-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #39ff14;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.tracks-column-count {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
}

.tracks-column-empty {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 32px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

/* MENU SECTION */
.menu-section {
  animation: fadeIn 0.6s ease;
}

.menu-header {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #39ff14;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(57, 255, 20, 0.3);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 6px;
  padding-top: 12px;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(57, 255, 20, 0.15) transparent;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.menu-items::-webkit-scrollbar {
  width: 4px;
}

.menu-items::-webkit-scrollbar-track {
  background: transparent;
}

.menu-items::-webkit-scrollbar-thumb {
  background: rgba(57, 255, 20, 0.25);
  border-radius: 4px;
}

.menu-items::-webkit-scrollbar-thumb:hover {
  background: rgba(57, 255, 20, 0.45);
}

/* TRACK CARD */
.track-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(15,15,15,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
              transform 0.12s ease-out, opacity 0.12s ease-out;
  position: relative;
  min-height: 64px;
  scroll-snap-align: center;
  transform-origin: center center;
  will-change: transform, opacity;
  flex-shrink: 0;
}

.track-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(57, 255, 20, 0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.track-card.active {
  background: rgba(57, 255, 20, 0.12);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: 
    0 4px 16px rgba(57, 255, 20, 0.2),
    0 0 1px rgba(57, 255, 20, 0.5) inset;
}

.track-card.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #39ff14, #00ff00);
  border-radius: 12px 0 0 12px;
}

.track-card.sold {
  opacity: 0.8;
}

.track-card.sold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(160, 32, 240, 0.05);
  pointer-events: none;
  border-radius: 12px;
}

.card-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #39ff14, #00ff00);
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(57, 255, 20, 0.3);
  flex-shrink: 0;
}

.card-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(57, 255, 20, 0.5);
}

.card-play-btn:active {
  transform: scale(0.95);
}

.card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 60px;
}

/* BEAT PRICE WRAP */
.card-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.card-price {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #39ff14;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(57,255,20,0.4);
}

.card-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  border-radius: 6px;
  background: rgba(160,32,240,0.15);
  border: 1px solid rgba(160,32,240,0.4);
  color: #bf6aff;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.card-cart-btn:hover {
  background: rgba(160,32,240,0.3);
  border-color: rgba(160,32,240,0.7);
  color: #d49eff;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(160,32,240,0.3);
}

.card-cart-btn.added {
  background: rgba(57,255,20,0.12);
  border-color: rgba(57,255,20,0.4);
  color: #39ff14;
}

/* FREE DOWNLOAD BUTTON — social media beats */
.card-price-free {
  color: #39ff14 !important;
  text-shadow: 0 0 8px rgba(57,255,20,0.5) !important;
}

.card-free-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  border-radius: 6px;
  background: rgba(57,255,20,0.12);
  border: 1px solid rgba(57,255,20,0.4);
  color: #39ff14;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.card-free-btn:hover {
  background: rgba(57,255,20,0.25);
  border-color: rgba(57,255,20,0.7);
  color: #7fff5a;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(57,255,20,0.25);
}

.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.card-artist {
  font-size: 0.72rem;
  opacity: 0.5;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.card-meta {
  font-size: 0.65rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
  color: rgba(57, 255, 20, 0.55);
  line-height: 1.3;
  margin-top: 1px;
}

/* SOLD BADGE — beat cards */
.sold-badge {
  font-size: 0.6rem;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(210, 30, 30, 0.88);
  border: 1px solid rgba(255, 80, 80, 0.5);
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(180, 0, 0, 0.45);
  display: inline-block;
  white-space: nowrap;
}

/* ============================================================
   SOLD-OUT KIT OVERLAY SYSTEM
   ============================================================ */
.kit-card.kit-card-soldout {
  opacity: 0.72;
  position: relative;
}

.kit-card.kit-card-soldout:hover {
  transform: scale(1.16) translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  z-index: 20;
}

.kit-card.kit-card-soldout:hover::before {
  opacity: 0;
}

.kit-soldout-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  pointer-events: none;
}

.kit-soldout-overlay span {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(210, 30, 30, 0.88);
  border: 1px solid rgba(255, 80, 80, 0.5);
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(180, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: inline-block;
}

.kit-price-struck {
  text-decoration: line-through;
  opacity: 0.38;
}

.kit-soldout-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(210, 30, 30, 0.88);
  border: 1px solid rgba(255, 80, 80, 0.5);
  padding: 8px 12px;
  border-radius: 9px;
  cursor: not-allowed;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(180, 0, 0, 0.45);
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #39ff14;
  margin-bottom: 10px;
  text-align: center;
  opacity: 0.8;
}

.section-title {
  font-family: 'Space Mono', monospace;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 48px 0;
  background: linear-gradient(135deg, #ffffff 30%, rgba(57, 255, 20, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   KITS SECTION
   ============================================================ */
.kits-section {
  position: relative;
  z-index: 5;
  padding: 90px 24px;
  background: rgba(6, 6, 6, 0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}

.kits-inner {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

/* KITS DISCLAIMER */
.kits-disclaimer {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  margin: 10px 0 28px 0;
  line-height: 1.5;
}

/* LICENSING PANEL */
.licensing-panel {
  max-width: 560px;
  margin: 0 auto 32px auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.6);
}

.licensing-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.licensing-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
}

.licensing-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.licensing-chevron {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.licensing-chevron.open {
  transform: rotate(180deg);
}

.licensing-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 16px;
}

.licensing-body.open {
  max-height: 200px;
  padding: 0 16px 14px;
}

.licensing-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* KITS SUB-HEADINGS (Featured Kits / All Kits) */
.kits-sub-heading {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
  text-align: left;
  padding-left: 2px;
}

/* FEATURED KITS ROW */
.kits-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.kit-card-featured .kit-img {
  aspect-ratio: 16 / 9;
}

.kit-card-featured .kit-name {
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.kits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kit-card {
  background: rgba(12, 12, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  /* overflow: hidden removed — required for 3D flip perspective */
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  perspective: 1200px;
}

.kit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kit-card:hover {
  transform: scale(1.16) translateY(-4px);
  border-color: rgba(57, 255, 20, 0.28);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(57, 255, 20, 0.1);
  z-index: 20;
}

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

.kit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kit-genre {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.kit-genre.trap {
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: #39ff14;
}

.kit-genre.drill {
  background: rgba(160, 32, 240, 0.12);
  border: 1px solid rgba(160, 32, 240, 0.35);
  color: #bf6aff;
}

.kit-genre.rnb {
  background: rgba(255, 100, 180, 0.1);
  border: 1px solid rgba(255, 100, 180, 0.3);
  color: #ff82c8;
}

.kit-genre.melodic {
  background: rgba(0, 180, 255, 0.1);
  border: 1px solid rgba(0, 180, 255, 0.3);
  color: #5ecfff;
}

.kit-count {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.3);
}

.kit-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
  line-height: 1.3;
  margin-top: 2px;
}

.kit-contents {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}


.kit-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 12px
    ),
    rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.3s ease;
}

.kit-card:hover .kit-img {
  border-color: rgba(57, 255, 20, 0.18);
}

.kit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.kit-img-icon {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.12);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

/* When image fails to load, keep icon centered */
.kit-img.kit-img-empty .kit-img-icon {
  display: block;
}

/* Genre-tinted placeholder gradient per card type */
.kit-card:has(.kit-genre.trap) .kit-img {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(57,255,20,0.08), transparent),
    rgba(10,10,10,0.9);
}

.kit-card:has(.kit-genre.drill) .kit-img {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(160,32,240,0.1), transparent),
    rgba(10,10,10,0.9);
}

.kit-card:has(.kit-genre.rnb) .kit-img {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(255,100,180,0.09), transparent),
    rgba(10,10,10,0.9);
}

.kit-card:has(.kit-genre.melodic) .kit-img {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(0,180,255,0.09), transparent),
    rgba(10,10,10,0.9);
}

.kit-card:hover .kit-img-icon {
  color: rgba(255,255,255,0.22);
}

.kit-btn {
  display: block;
  text-align: center;
  margin-top: 6px;
  padding: 10px 0;
  border-radius: 9px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.2);
  color: #39ff14;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.kit-btn:hover {
  background: rgba(57, 255, 20, 0.18);
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.2);
  color: #fff;
}

/* NAV CART BUTTON */
.nav-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(160, 32, 240, 0.15);
  border: 1px solid rgba(160, 32, 240, 0.4);
  color: #bf6aff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: 6px;
}

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

.nav-cart:hover {
  background: rgba(160, 32, 240, 0.28);
  border-color: rgba(160, 32, 240, 0.7);
  color: #d49eff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(160, 32, 240, 0.3);
}

.nav-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #a020f0, #bf00ff);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid rgba(5,5,5,0.8);
  line-height: 1;
}

@keyframes bump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.nav-cart-count.bump {
  animation: bump 0.3s ease;
}

/* KIT PRICE ROW */
.kit-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.kit-price {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.kit-buy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(160, 32, 240, 0.15);
  border: 1px solid rgba(160, 32, 240, 0.4);
  color: #bf6aff;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.kit-buy-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.kit-buy-btn:hover {
  background: rgba(160, 32, 240, 0.28);
  border-color: rgba(160, 32, 240, 0.7);
  color: #d49eff;
  box-shadow: 0 0 16px rgba(160, 32, 240, 0.25);
  transform: translateY(-1px);
}

.kit-buy-btn.added {
  background: rgba(57, 255, 20, 0.12);
  border-color: rgba(57, 255, 20, 0.4);
  color: #39ff14;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.2);
}

.kit-price-free {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #39ff14;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.kit-free-btn {
  background: rgba(57, 255, 20, 0.12) !important;
  border-color: rgba(57, 255, 20, 0.4) !important;
  color: #39ff14 !important;
  text-decoration: none;
}

.kit-free-btn:hover {
  background: rgba(57, 255, 20, 0.22) !important;
  border-color: rgba(57, 255, 20, 0.7) !important;
  color: #39ff14 !important;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.25) !important;
  transform: translateY(-1px);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  position: relative;
  z-index: 5;
  padding: 90px 24px;
  background: rgba(8, 8, 8, 0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Two-column layout: cards left, form right — true 50/50 split */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.services-left {
  background: rgba(5, 5, 5, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px 28px 28px;
  backdrop-filter: blur(22px);
  position: relative;
  will-change: transform;
  transform-style: preserve-3d;
  box-sizing: border-box;
}

.services-right {
  background: rgba(5, 5, 5, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px 28px 28px;
  backdrop-filter: blur(22px);
  position: relative;
  will-change: transform;
  transform-style: preserve-3d;
  box-sizing: border-box;
}

/* ── Beam container ── */
.sr-beams {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Push all direct children above beams */
.services-right > *:not(.sr-beams),
.services-left > *:not(.sr-beams) {
  position: relative;
  z-index: 1;
}

/* ── Individual beams ── */
.sr-beam {
  position: absolute;
}

.sr-beam-top {
  top: 0; left: 0;
  height: 2px; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7) 50%, transparent);
  filter: blur(1.5px);
  animation: sr-top 3s ease-in-out infinite 0s;
}
.sr-beam-right {
  top: 0; right: 0;
  width: 2px; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7) 50%, transparent);
  filter: blur(1.5px);
  animation: sr-right 3s ease-in-out infinite 0.75s;
}
.sr-beam-bottom {
  bottom: 0; right: 0;
  height: 2px; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7) 50%, transparent);
  filter: blur(1.5px);
  animation: sr-bottom 3s ease-in-out infinite 1.5s;
}
.sr-beam-left {
  bottom: 0; left: 0;
  width: 2px; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7) 50%, transparent);
  filter: blur(1.5px);
  animation: sr-left 3s ease-in-out infinite 2.25s;
}

@keyframes sr-top {
  0%   { left: -45%; opacity: 0; }
  8%   { opacity: 0.7; }
  88%  { opacity: 0.7; }
  100% { left: 100%; opacity: 0; }
}
@keyframes sr-right {
  0%   { top: -45%; opacity: 0; }
  8%   { opacity: 0.7; }
  88%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}
@keyframes sr-bottom {
  0%   { right: -45%; opacity: 0; }
  8%   { opacity: 0.7; }
  88%  { opacity: 0.7; }
  100% { right: 100%; opacity: 0; }
}
@keyframes sr-left {
  0%   { bottom: -45%; opacity: 0; }
  8%   { opacity: 0.7; }
  88%  { opacity: 0.7; }
  100% { bottom: 100%; opacity: 0; }
}

/* ── Corner glows ── */
.sr-corner {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sr-corner-tl { top: -1px; left: -1px;   width: 5px; height: 5px; background: rgba(255,255,255,0.45); filter: blur(1px);  animation: sr-glow 2s ease-in-out infinite; }
.sr-corner-tr { top: -1px; right: -1px;  width: 8px; height: 8px; background: rgba(255,255,255,0.65); filter: blur(2px);  animation: sr-glow 2.4s ease-in-out infinite 0.5s; }
.sr-corner-br { bottom: -1px; right: -1px; width: 8px; height: 8px; background: rgba(255,255,255,0.65); filter: blur(2px); animation: sr-glow 2.2s ease-in-out infinite 1s; }
.sr-corner-bl { bottom: -1px; left: -1px; width: 5px; height: 5px; background: rgba(255,255,255,0.45); filter: blur(1px);  animation: sr-glow 2.3s ease-in-out infinite 1.5s; }

@keyframes sr-glow {
  0%, 100% { opacity: 0.15; }
  50%       { opacity: 0.5; }
}

.services-right .section-label,
.services-left .section-label {
  text-align: left;
}

.services-right .section-title,
.services-left .section-title {
  font-size: 1.9rem;
  text-align: left;
  margin-bottom: 12px;
}

.services-right .subscribe-desc {
  text-align: left;
  margin: 0 0 18px 0;
}

.services-right .subscribe-fields {
  grid-template-columns: 1fr;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

/* SERVICE CARD — base */
.service-card {
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

/* Top accent line — always visible, intensifies on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Background radial glow blob from top-center */
.service-card::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.07;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-card:hover { transform: translateY(-7px); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 0.15; }

/* ── GREEN — Audio Production ── */
.service-card-green::before {
  background: linear-gradient(90deg, transparent, #39ff14, transparent);
}
.service-card-green::after { background: #39ff14; }
.service-card-green:hover {
  border-color: rgba(57, 255, 20, 0.38);
  box-shadow: 0 18px 52px rgba(0,0,0,0.55), 0 0 60px rgba(57,255,20,0.1);
}
.service-card-green .service-icon  { color: #39ff14; filter: drop-shadow(0 0 12px rgba(57,255,20,0.55)); }
.service-card-green .service-bullet { background: #39ff14; box-shadow: 0 0 8px rgba(57,255,20,0.65); }

/* ── PURPLE — Mixing & Mastering ── */
.service-card-purple::before {
  background: linear-gradient(90deg, transparent, #a020f0, transparent);
}
.service-card-purple::after { background: #a020f0; }
.service-card-purple:hover {
  border-color: rgba(160, 32, 240, 0.42);
  box-shadow: 0 18px 52px rgba(0,0,0,0.55), 0 0 60px rgba(160,32,240,0.13);
}
.service-card-purple .service-icon  { color: #b44df5; filter: drop-shadow(0 0 12px rgba(160,32,240,0.6)); }
.service-card-purple .service-bullet { background: #a020f0; box-shadow: 0 0 8px rgba(160,32,240,0.65); }

/* ── CYAN — Audio Tracking ── */
.service-card-cyan::before {
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}
.service-card-cyan::after { background: #00d4ff; }
.service-card-cyan:hover {
  border-color: rgba(0, 212, 255, 0.38);
  box-shadow: 0 18px 52px rgba(0,0,0,0.55), 0 0 60px rgba(0,212,255,0.1);
}
.service-card-cyan .service-icon  { color: #00d4ff; filter: drop-shadow(0 0 12px rgba(0,212,255,0.6)); }
.service-card-cyan .service-bullet { background: #00d4ff; box-shadow: 0 0 8px rgba(0,212,255,0.65); }

/* Icon container */
.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-card-content {
  flex: 1;
  min-width: 0;
}

.service-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.service-list li {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.service-card:hover .service-list li {
  color: rgba(255, 255, 255, 0.85);
}

.service-bullet {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */
.subscribe-section {
  position: relative;
  z-index: 5;
  padding: 90px 24px;
  background: rgba(5, 5, 5, 0.4);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.subscribe-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.subscribe-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  margin: -28px 0 40px 0;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.subscribe-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.subscribe-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,15,15,0.7);
  backdrop-filter: blur(10px);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.subscribe-input:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.45);
  background: rgba(15,15,15,0.9);
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.12);
}

.subscribe-input::placeholder {
  color: rgba(255,255,255,0.28);
}

.subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #39ff14, #00ff00);
  border: none;
  color: #000;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(57, 255, 20, 0.35);
  position: relative;
  overflow: hidden;
}

.subscribe-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.subscribe-btn:hover::before {
  transform: translateX(0);
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(57, 255, 20, 0.5);
}

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

.subscribe-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.subscribe-btn:hover .subscribe-arrow {
  transform: translateX(4px);
}

/* SUCCESS STATE */
.subscribe-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: #39ff14;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 1px;
  animation: fadeIn 0.4s ease;
}

.subscribe-success svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.subscribe-success.visible {
  display: flex;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
}

.webmaster-link {
  color: #39ff14;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.webmaster-link:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .navbar-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .kits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .subscribe-fields {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 600px) {
  .kits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .app-logo img {
    height: auto;
    width: 75%;
    max-width: 320px;
  }

  .now-playing {
    flex-direction: column;
  }

  .np-art {
    width: 100%;
    height: 200px;
  }

  .menu-container {
    display: block;
  }

  .tracks-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .menu-header {
    font-size: 1rem;
  }

  .app {
    padding: 0 16px 40px;
  }
}
/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: rgba(10,10,10,0.97);
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

.cart-close-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.cart-close-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 0;
  color: rgba(255,255,255,0.2);
}
.cart-empty-state p {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  margin: 0;
}
.cart-empty-state span {
  font-size: 0.78rem;
  opacity: 0.6;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.cart-item:hover {
  border-color: rgba(160,32,240,0.25);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.8rem;
  color: rgba(57,255,20,0.8);
  font-family: 'Space Mono', monospace;
  margin-top: 4px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cart-item-qty span {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  color: #fff;
  min-width: 16px;
  text-align: center;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}
.qty-btn:hover {
  background: rgba(160,32,240,0.2);
  border-color: rgba(160,32,240,0.4);
  color: #bf6aff;
}

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.cart-item-remove:hover {
  color: #ff4d4d;
  background: rgba(255,77,77,0.1);
}

.cart-footer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-subtotal-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cart-subtotal-amount {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.cart-tax-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
  text-align: center;
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #a020f0, #bf00ff);
  border: none;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(160,32,240,0.4);
}
.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160,32,240,0.55);
}

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.checkout-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.checkout-modal {
  background: rgba(12,12,12,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 36px 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(160,32,240,0.1);
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.checkout-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.checkout-modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* STEP BAR */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 6px;
}

.checkout-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.checkout-step-dot span {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s ease;
}
.checkout-step-dot.active {
  background: rgba(160,32,240,0.2);
  border-color: #a020f0;
  box-shadow: 0 0 14px rgba(160,32,240,0.35);
}
.checkout-step-dot.active span {
  color: #bf6aff;
}
.checkout-step-dot.done {
  background: rgba(57,255,20,0.15);
  border-color: #39ff14;
}
.checkout-step-dot.done span {
  color: #39ff14;
}

.checkout-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s ease;
  max-width: 60px;
}
.checkout-step-line.active {
  background: rgba(160,32,240,0.5);
}

.checkout-step-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 0;
}
.checkout-step-labels span {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  flex: 1;
  text-align: center;
  transition: color 0.3s ease;
}
.checkout-step-labels span.active {
  color: #bf6aff;
}

/* PANELS */
.checkout-step-panel.hidden { display: none; }

.checkout-panel-title {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  color: #fff;
}

/* FORM FIELDS */
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-field.full {
  grid-column: 1 / -1;
}
.checkout-field label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.checkout-field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}
.checkout-field input:focus {
  outline: none;
  border-color: rgba(160,32,240,0.5);
  background: rgba(160,32,240,0.05);
  box-shadow: 0 0 0 3px rgba(160,32,240,0.1);
}
.checkout-field input::placeholder { color: rgba(255,255,255,0.2); }
.checkout-field-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}
.checkout-field-error {
  font-size: 0.78rem;
  color: #ff5555;
  min-height: 18px;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}

/* CARD INPUT WRAP */
.card-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.card-input-wrap input {
  padding-right: 70px;
}
.card-brand-icons {
  position: absolute;
  right: 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  pointer-events: none;
}
.card-brand-icons svg { width: 28px; height: 18px; }
.cvv-icon {
  position: absolute;
  right: 12px;
  color: rgba(255,255,255,0.25);
  pointer-events: none;
}

/* ORDER SUMMARY IN STEP 2 */
.checkout-order-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.co-summary-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.co-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  padding: 3px 0;
}
.co-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
  padding-top: 8px;
}

/* SECURE NOTE */
.checkout-secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: rgba(57,255,20,0.55);
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}

/* STRIPE NOTE (replaces secure note in step 2) */
.checkout-stripe-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}

/* STRIPE PAY BUTTON */
.checkout-next-btn.stripe-pay-btn {
  background: linear-gradient(135deg, #635BFF, #7c72ff);
  box-shadow: 0 4px 16px rgba(99, 91, 255, 0.4);
}
.checkout-next-btn.stripe-pay-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #7c72ff, #9590ff);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.6);
  transform: translateY(-2px);
}

/* BUTTONS */
.checkout-next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #a020f0, #bf00ff);
  border: none;
  color: #fff;
  border-radius: 11px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(160,32,240,0.35);
}
.checkout-next-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160,32,240,0.5);
}
.checkout-next-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-btn-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checkout-back-btn {
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  border-radius: 11px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.checkout-back-btn:hover {
  background: rgba(255,255,255,0.09);
  color: #fff;
}

.pay-total {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* PROCESSING SPINNER */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.pay-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* STEP 3 — CONFIRMATION */
.checkout-confirm-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.checkout-panel-title {
  text-align: left;
}
#panel-3 .checkout-panel-title {
  text-align: center;
  background: linear-gradient(135deg, #fff 30%, rgba(57,255,20,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.checkout-confirm-msg {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px 0;
  line-height: 1.5;
}
.checkout-order-number {
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(160,32,240,0.8);
  background: rgba(160,32,240,0.08);
  border: 1px solid rgba(160,32,240,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}
.checkout-confirm-items {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.confirm-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  padding: 3px 0;
}
.confirm-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #39ff14;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
  padding-top: 8px;
}

.checkout-done-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #39ff14, #00ff00);
  border: none;
  color: #000;
  border-radius: 11px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(57,255,20,0.35);
}
.checkout-done-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57,255,20,0.5);
}

/* RESPONSIVE */
@media (max-width: 500px) {
  .checkout-modal {
    padding: 28px 20px 24px;
  }
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .checkout-field.full {
    grid-column: 1;
  }
  .cart-drawer {
    width: 100vw;
  }
}

/* ============================================================
   KIT DETAIL MODAL
   ============================================================ */
.kit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.kit-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.kit-modal {
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(160, 32, 240, 0.08);
  animation: kitModalIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.kit-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.kit-modal-close:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* BODY LAYOUT */
.kit-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 420px;
}

/* IMAGE PANEL */
.kit-modal-img-wrap {
  border-radius: 22px 0 0 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
      transparent 1px, transparent 12px),
    rgba(14, 14, 14, 0.9);
}

.kit-modal-img-wrap.trap {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(57,255,20,0.12), transparent),
    rgba(8, 8, 8, 0.95);
}
.kit-modal-img-wrap.drill {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(160,32,240,0.15), transparent),
    rgba(8, 8, 8, 0.95);
}
.kit-modal-img-wrap.rnb {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(255,100,180,0.12), transparent),
    rgba(8, 8, 8, 0.95);
}
.kit-modal-img-wrap.melodic {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0,180,255,0.12), transparent),
    rgba(8, 8, 8, 0.95);
}

.kit-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: block;
}

.kit-modal-img-icon {
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.1);
  display: none;
}

/* INFO PANEL */
.kit-modal-info {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kit-modal-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kit-modal-genre {
  font-size: 0.62rem;
}

.kit-modal-file-count {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.8px;
}

.kit-modal-name {
  font-family: 'Space Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.kit-modal-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

/* META GRID */
.kit-modal-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kit-modal-meta-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kit-modal-meta-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.kit-modal-meta-val {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

/* INCLUDES */
.kit-modal-includes {
  flex: 1;
}

.kit-modal-includes-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.kit-modal-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.kit-modal-includes-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.kit-modal-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.6);
  flex-shrink: 0;
}

/* FOOTER */
.kit-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
}

.kit-modal-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.kit-modal-buy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #a020f0, #bf00ff);
  border: none;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(160, 32, 240, 0.4);
  white-space: nowrap;
}

.kit-modal-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160, 32, 240, 0.55);
}

.kit-modal-buy-btn.added {
  background: linear-gradient(135deg, #39ff14, #00ff00);
  color: #000;
  box-shadow: 0 4px 18px rgba(57, 255, 20, 0.4);
}

/* CURSOR HINT on cards */
.kit-card {
  cursor: pointer;
}

/* ============================================================
   KIT CARD FLIP
   ============================================================ */

/* Inner flip container */
.kit-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}

/* Flip state — triggered by hover */
.kit-card:hover .kit-card-inner {
  transform: rotateY(180deg);
}

/* FRONT face */
.kit-card-front {
  display: flex;
  flex-direction: column;
  gap: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* BACK face */
.kit-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  background: rgba(8, 8, 8, 0.99);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Back — flip-back button: hidden in hover mode, shown on touch */
.kit-card-flip-back {
  display: none;
}

/* ============================================================
   MOBILE / TOUCH — tap to flip, no scale
   ============================================================ */
@media (hover: none) {
  /* Disable the CSS hover flip on touch devices */
  .kit-card:hover .kit-card-inner {
    transform: none;
  }
  /* Use the .flipped class instead (toggled by JS tap) */
  .kit-card.flipped .kit-card-inner {
    transform: rotateY(180deg);
  }
  /* No scale/lift on touch hover */
  .kit-card:hover,
  .kit-card.kit-card-soldout:hover {
    transform: none;
    z-index: auto;
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: none;
  }
  /* Show the back button on touch so users can flip back */
  .kit-card-flip-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0 0 2px;
    transition: color 0.2s;
    flex-shrink: 0;
  }
  .kit-card-flip-back:hover {
    color: rgba(255, 255, 255, 0.85);
  }
}

/* Back — genre + count row */
.kit-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

/* Back — kit name */
.kit-back-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Back — description: hidden (space too tight) */
.kit-back-desc {
  display: none;
}

/* Back — includes section */
.kit-back-includes-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  flex-shrink: 0;
}

.kit-back-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.kit-back-includes li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 13px;
  position: relative;
  line-height: 1.4;
}
.kit-back-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(57, 255, 20, 0.65);
}

/* Back — specs (format / DAW) */
.kit-back-specs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.kit-back-specs span {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}

/* Back — details button (above footer divider) */
.kit-back-details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.kit-back-details-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Back — footer row (price + action button) */
.kit-back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.kit-back-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* Back — action button (Add to Cart / Free Download / Sold Out) */
.kit-back-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.kit-back-action-btn.cart {
  background: linear-gradient(135deg, #a020f0, #7a10c8);
  color: #fff;
  box-shadow: 0 4px 14px rgba(160, 32, 240, 0.4);
}
.kit-back-action-btn.cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(160, 32, 240, 0.55);
}
.kit-back-action-btn.cart.added {
  background: linear-gradient(135deg, #39ff14, #00ff00);
  color: #000;
}

.kit-back-action-btn.free {
  background: linear-gradient(135deg, #39ff14, #00ff00);
  color: #000;
  box-shadow: 0 4px 14px rgba(57, 255, 20, 0.35);
}
.kit-back-action-btn.free:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.5);
}

.kit-back-action-btn.soldout {
  background: rgba(210, 30, 30, 0.8);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255, 80, 80, 0.4);
  cursor: not-allowed;
  pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .kit-modal-body {
    grid-template-columns: 1fr;
  }
  .kit-modal-img-wrap {
    border-radius: 22px 22px 0 0;
    min-height: 200px;
  }
  .kit-modal-info {
    padding: 22px 20px 20px;
    gap: 14px;
  }
  .kit-modal-meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .kit-modal-includes-list {
    grid-template-columns: 1fr;
  }
  .kit-modal-name {
    font-size: 1.1rem;
  }
  .kit-modal-price {
    font-size: 1.2rem;
  }
}

/* ============================================================
   KIT DETAIL MODAL
   ============================================================ */
.kit-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.kit-detail-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.kit-detail-modal {
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  width: 100%;
  max-width: 740px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow:
    0 32px 90px rgba(0,0,0,0.7),
    0 0 0 1px rgba(160,32,240,0.12);
  animation: fadeIn 0.25s ease;
}

.kit-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
  flex-shrink: 0;
}
.kit-detail-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.kit-detail-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 380px;
}

/* LEFT — image panel */
.kit-detail-img-wrap {
  border-radius: 22px 0 0 22px;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px, transparent 12px),
    rgba(15,15,15,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 300px;
  flex-shrink: 0;
}

/* Genre-tinted left panel */
.kit-detail-modal:has(.kit-genre.trap) .kit-detail-img-wrap {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(57,255,20,0.12), transparent),
    rgba(10,10,10,0.95);
}
.kit-detail-modal:has(.kit-genre.drill) .kit-detail-img-wrap {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(160,32,240,0.14), transparent),
    rgba(10,10,10,0.95);
}
.kit-detail-modal:has(.kit-genre.rnb) .kit-detail-img-wrap {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,100,180,0.12), transparent),
    rgba(10,10,10,0.95);
}
.kit-detail-modal:has(.kit-genre.melodic) .kit-detail-img-wrap {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 12px),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,180,255,0.12), transparent),
    rgba(10,10,10,0.95);
}

.kit-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.kit-detail-img-wrap .kit-img-icon {
  width: 52px;
  height: 52px;
  color: rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

/* RIGHT — info panel */
.kit-detail-info {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.kit-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}


.kit-detail-name {
  font-family: 'Space Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.kit-detail-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0;
}

/* INCLUDES */
.kit-detail-includes {
  flex: 1;
}

.kit-detail-section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

.kit-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.kit-detail-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kit-detail-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 6px rgba(57,255,20,0.6);
  flex-shrink: 0;
}

/* SPECS */
.kit-detail-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.kit-detail-spec {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  align-items: baseline;
}

.spec-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  min-width: 110px;
  flex-shrink: 0;
}

.spec-value {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* PRICE + BUY ROW */
.kit-detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.kit-detail-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.kit-detail-buy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #a020f0, #bf00ff);
  border: none;
  color: #fff;
  border-radius: 11px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(160,32,240,0.4);
  white-space: nowrap;
}
.kit-detail-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(160,32,240,0.55);
}
.kit-detail-buy-btn.added {
  background: linear-gradient(135deg, #1a8a00, #39ff14);
  color: #000;
  box-shadow: 0 4px 18px rgba(57,255,20,0.35);
}

/* Cursor pointer on clickable cards */
.kit-card {
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 620px) {
  .kit-detail-layout {
    grid-template-columns: 1fr;
  }
  .kit-detail-img-wrap {
    border-radius: 22px 22px 0 0;
    min-height: 200px;
    aspect-ratio: 16/9;
  }
  .kit-detail-info {
    padding: 22px 20px 24px;
  }
  .kit-detail-name {
    font-size: 1.1rem;
  }
  .kit-detail-price {
    font-size: 1.3rem;
  }
}
/* ============================================================
   FREE DOWNLOAD EMAIL GATE MODAL
   ============================================================ */
.free-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.free-gate-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.free-gate-modal {
  background: rgba(12, 12, 12, 0.95);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 20px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  position: relative;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 40px rgba(57, 255, 20, 0.06);
  animation: fadeIn 0.3s ease;
}

.free-gate-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease;
  line-height: 1;
}

.free-gate-close:hover {
  color: rgba(255,255,255,0.7);
}

.free-gate-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.free-gate-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #39ff14, #a0ff60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.free-gate-subtitle {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 24px;
  line-height: 1.5;
}

.free-gate-subtitle strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.free-gate-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.free-gate-input:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.5);
  background: rgba(0,0,0,0.7);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
}

.free-gate-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.free-gate-error {
  font-size: 0.8rem;
  color: #ff4d4d;
  min-height: 20px;
  margin-bottom: 4px;
}

.free-gate-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #39ff14, #00ff00);
  border: none;
  border-radius: 10px;
  color: #000;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(57, 255, 20, 0.3);
  margin-top: 8px;
}

.free-gate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(57, 255, 20, 0.5);
}

.free-gate-btn:active:not(:disabled) {
  transform: translateY(0);
}

.free-gate-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin: 14px 0 0;
  font-family: 'Space Mono', monospace;
}

/* ============================================================
   FREE DOWNLOAD EMAIL GATE MODAL
   ============================================================ */
.checkout-downloads {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-downloads-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.checkout-download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 10px;
  color: #39ff14;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.checkout-download-btn:hover {
  background: rgba(57, 255, 20, 0.16);
  border-color: rgba(57, 255, 20, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(57, 255, 20, 0.2);
}

/* ============================================================
   WIDE SCREEN OPTIMIZATIONS (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
  .navbar-inner {
    max-width: 1400px;
    padding: 10px 48px;
  }

  .app {
    max-width: 1100px;
  }

  .kits-inner,
  .services-inner {
    max-width: 1200px;
  }

  .kits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .services-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

@media (min-width: 1600px) {
  .navbar-inner {
    max-width: 1700px;
    padding: 12px 64px;
  }

  .app {
    max-width: 1300px;
  }

  .kits-inner,
  .services-inner {
    max-width: 1500px;
  }

  .kits-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }

  .now-playing {
    padding: 28px;
  }

  .np-art {
    width: 110px;
    height: 110px;
  }

  .section-title {
    font-size: 3.4rem;
  }
}

/* ============================================================
   TABLET (760px – 1024px)
   ============================================================ */
@media (max-width: 1024px) and (min-width: 761px) {
  .kits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-right {
    position: static;
  }
}

@media (max-width: 760px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-right {
    position: static;
  }
}

/* ============================================================
   MOBILE — BEAT CARDS (480px and below)
   ============================================================ */
@media (max-width: 480px) {
  .track-card {
    padding: 10px 12px;
    gap: 10px;
  }

  .card-play-btn {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .card-title {
    font-size: 0.82rem;
  }

  .card-artist {
    font-size: 0.68rem;
  }

  .card-license {
    display: none; /* hide on very small screens to save space */
  }

  .card-meta {
    display: none;
  }

  .card-price {
    font-size: 0.75rem;
  }

  .card-cart-btn {
    width: 26px;
    height: 26px;
  }

  .sold-badge {
    font-size: 0.58rem;
    padding: 5px 9px;
  }

  .kits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kit-card {
    padding: 16px 14px 14px;
  }

  .kit-name {
    font-size: 0.76rem;
  }

  .kit-price {
    font-size: 0.9rem;
  }

  .kit-buy-btn {
    padding: 7px 10px;
    font-size: 0.54rem;
  }

  .kit-buy-btn span {
    display: none;
  }

  .now-playing {
    padding: 16px;
  }

  .np-controls button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  #play {
    width: 44px;
    height: 44px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 32px;
  }

  .kits-section,
  .services-section {
    padding: 60px 16px;
  }
}

/* ============================================================
   EXTRA SMALL MOBILE (360px and below)
   ============================================================ */
@media (max-width: 360px) {
  .navbar-inner {
    padding: 8px 14px;
  }

  .navbar-logo img {
    height: 38px;
  }

  .track-card {
    padding: 8px 10px;
    gap: 8px;
  }

  .card-right {
    min-width: 50px;
  }

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

  .gate-box {
    width: calc(100vw - 32px);
    padding: 36px 24px;
  }
}
/* ============================================================
   MOBILE OVERFLOW FIX — prevents ALL horizontal scrolling
   ============================================================ */

/* Nuclear option — every element respects the viewport */
*, *::before, *::after {
  max-width: 100%;
}

/* Sections safe on all screens */
@media (max-width: 768px) {
  .navbar-inner {
    padding: 8px 14px;
  }

  .kits-section,
  .services-section {
    padding: 60px 14px;
  }

  .app {
    padding: 0 14px 40px;
  }

  /* Checkout form always single column on mobile */
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field.full {
    grid-column: 1;
  }

  .checkout-modal {
    padding: 28px 16px 24px;
    border-radius: 16px;
    width: calc(100vw - 24px);
    max-width: 100%;
  }

  .checkout-overlay {
    padding: 12px;
  }

  /* Subscribe fields single column */
  .subscribe-fields {
    grid-template-columns: 1fr;
  }

  /* Kit detail modal full width */
  .kit-detail-overlay {
    padding: 10px;
  }

  .kit-detail-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  /* Kit modal full width */
  .kit-modal-overlay {
    padding: 10px;
  }

  .kit-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  /* Now playing always stacks */
  .now-playing {
    flex-direction: column;
  }

  .np-art {
    width: 100%;
    height: 180px;
  }

  /* Beat cards don't overflow */
  .track-card {
    padding: 10px 12px;
    gap: 8px;
    min-width: 0;
  }

  .card-content {
    min-width: 0;
    overflow: hidden;
  }

  .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-right {
    min-width: 50px;
    flex-shrink: 0;
  }

  /* Menu always single column on small mobile */
  .menu-container {
    display: block;
  }

  .tracks-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Kits 1 column on mobile */
  .kits-featured,
  .kits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Gate box fits screen */
  .gate-box {
    width: calc(100vw - 40px);
    max-width: 360px;
    padding: 36px 22px;
  }

  /* Filters wrap properly */
  .filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  /* Cart drawer full width */
  .cart-drawer {
    width: 100vw;
  }

  /* Section titles smaller */
  .section-title {
    font-size: 1.9rem;
    margin-bottom: 32px;
  }
}

/* Extra small — 390px and under */
@media (max-width: 390px) {
  .kits-featured,
  .kits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kit-card {
    padding: 14px 12px;
  }

  .kit-name {
    font-size: 0.74rem;
  }

  .kit-price {
    font-size: 0.85rem;
  }

  .kit-buy-btn {
    padding: 7px 8px;
    font-size: 0.5rem;
    gap: 4px;
  }

  .kit-buy-btn svg {
    display: none;
  }

  .np-controls button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  #play {
    width: 42px;
    height: 42px;
  }

  .card-price {
    font-size: 0.68rem;
  }

  .sold-badge {
    font-size: 0.55rem;
    padding: 4px 7px;
  }
}