/* ==========================================================================
   FOLK SMITH BEATS - BEATSTARS THEME (Inspired by inbloom.beatstars.com)
   Aesthetics: Deep Matte Black (#0a0a0a), Sleek Charcoal Surfaces (#121212),
   Crisp White Typography, Platinum Buttons (#e0e0e0), BeatStars Blue (#15a4fa),
   Interactive Waveform Audio Player, YouTube Stream Engine, Full Checkout Funnel
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* BeatStars Core Palette */
  --bg-page: #0a0a0a;
  --bg-header: #000000;
  --bg-surface: #121212;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --bg-input: rgba(255, 255, 255, 0.05);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: #202020;
  --border-active: rgba(255, 255, 255, 0.25);

  --text-primary: #ffffff;
  --text-secondary: #9e9e9e;
  --text-muted: #757575;

  /* Accent & Brand Colors */
  --btn-primary-bg: #e0e0e0;
  --btn-primary-text: #000000;
  --btn-secondary-bg: #191919;
  --btn-secondary-text: #9e9e9e;

  --accent-blue: #15a4fa;
  --brand-lime: #52ff00;
  --brand-pink: #ff2e93;

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --player-height: 80px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-primary);
  padding-bottom: var(--player-height); /* For sticky player */
  line-height: 1.5;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Top Announcement Bar (Urgency)
   -------------------------------------------------------------------------- */
.top-urgency-bar {
  background-color: #000000;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--btn-primary-bg);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 8px var(--brand-lime);
  animation: pulseAnim 1.6s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.countdown-timer-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   BeatStars Top Navigation Bar (Header)
   -------------------------------------------------------------------------- */
.bs-sticky-top-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.bs-site-header {
  position: relative;
  width: 100%;
  height: 72px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.bs-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bs-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bs-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #282828;
  object-fit: cover;
}

.bs-brand-title {
  display: flex;
  flex-direction: column;
}

.bs-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bs-verified-badge {
  color: var(--accent-blue);
  font-size: 14px;
}

.bs-brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Header Search */
.bs-header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
  display: none;
}

@media (min-width: 860px) {
  .bs-header-search {
    display: block;
  }
}

.bs-search-box {
  width: 100%;
  height: 40px;
  background: #141414;
  border: 1px solid #242424;
  border-radius: var(--radius-pill);
  padding: 0 16px 0 38px;
  color: #fff;
  font-size: 13px;
  transition: var(--transition);
}

.bs-search-box:focus {
  border-color: #444;
  background: #1a1a1a;
}

.bs-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Nav Links */
.bs-nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1024px) {
  .bs-nav-links {
    display: flex;
  }
}

.bs-nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.bs-nav-link:hover, .bs-nav-link.active {
  color: #ffffff;
}

.bs-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* Header Right Actions */
.bs-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bs-yt-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #191919;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-xs);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.bs-yt-channel-btn:hover {
  background: #252525;
  border-color: #444;
}

.bs-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--btn-primary-bg);
}

.bs-cart-btn:hover {
  background: #000;
  color: #fff;
  border-color: var(--btn-primary-bg);
}

/* --------------------------------------------------------------------------
   BeatStars Hero Section (Producer Banner)
   -------------------------------------------------------------------------- */
.bs-hero-section {
  position: relative;
  padding: 70px 0 60px;
  background: radial-gradient(circle at 50% 20%, #171717 0%, #0a0a0a 75%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.bs-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.bs-hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.bs-hero-avatar-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
}

.bs-hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #333;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.bs-hero-avatar-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid #0a0a0a;
}

.bs-hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 8px;
}

.bs-hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Hero Search Bar */
.bs-hero-search-wrap {
  max-width: 620px;
  margin: 0 auto 24px;
  position: relative;
  display: flex;
  align-items: center;
}

.bs-hero-search-input {
  width: 100%;
  height: 52px;
  background: #141414;
  border: 1px solid #282828;
  border-radius: var(--radius-pill);
  padding: 0 130px 0 24px;
  color: #fff;
  font-size: 14.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.bs-hero-search-input:focus {
  border-color: #555;
  background: #181818;
}

.bs-hero-search-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: 13px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
}

.bs-hero-search-btn:hover {
  background: #fff;
}

/* Quick Filter Chips */
.bs-hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.bs-hero-tags-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 4px;
}

.bs-tag-pill {
  background: #161616;
  border: 1px solid #262626;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.bs-tag-pill:hover {
  color: #fff;
  border-color: #444;
  background: #202020;
}

.bs-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--radius-xs);
  border: 2px solid var(--btn-primary-bg);
  transition: var(--transition);
}

.bs-btn-primary:hover {
  background: #000;
  color: #fff;
  border-color: var(--btn-primary-bg);
}

.bs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: var(--radius-xs);
  border: 1px solid #282828;
  transition: var(--transition);
}

.bs-btn-secondary:hover {
  background: #222;
  color: #fff;
  border-color: #3e3e3e;
}

/* --------------------------------------------------------------------------
   BeatStars Beats Catalog / Track List Section
   -------------------------------------------------------------------------- */
.bs-catalog-section {
  padding: 50px 0 70px;
  background: var(--bg-page);
}

/* Section Toolbar / Playlist Tabs */
.bs-playlist-nav-wrap {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.bs-playlist-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  padding-bottom: 2px;
}

.bs-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.bs-tab-btn:hover {
  color: #fff;
}

.bs-tab-btn.active {
  color: #fff;
  border-bottom-color: var(--btn-primary-bg);
}

.bs-tab-count {
  font-size: 11px;
  background: #202020;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.bs-tab-btn.active .bs-tab-count {
  background: var(--btn-primary-bg);
  color: #000;
  font-weight: 700;
}

/* Sub-header info row */
.bs-catalog-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.bs-playlist-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.bs-playlist-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.bs-catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bs-table-search {
  position: relative;
  width: 240px;
}

.bs-table-search-input {
  width: 100%;
  height: 38px;
  background: #141414;
  border: 1px solid #262626;
  border-radius: var(--radius-xs);
  padding: 0 12px 0 34px;
  color: #fff;
  font-size: 13px;
  transition: var(--transition);
}

.bs-table-search-input:focus {
  border-color: #444;
  background: #181818;
}

.bs-table-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.bs-track-count-badge {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   BeatStars Track Table
   -------------------------------------------------------------------------- */
.bs-track-table {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.bs-table-header {
  display: grid;
  grid-template-columns: 88px 1fr 65px 125px 160px 70px 150px;
  align-items: center;
  padding: 12px 18px;
  background: #0f0f0f;
  border-bottom: 1px solid var(--border-card);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

@media (max-width: 960px) {
  .bs-table-header {
    grid-template-columns: 80px 1fr 60px 135px;
  }
  .bs-th-bpm, .bs-th-tags, .bs-th-actions {
    display: none;
  }
}

.bs-track-row {
  display: grid;
  grid-template-columns: 88px 1fr 65px 125px 160px 70px 150px;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid #1a1a1a;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

@media (max-width: 960px) {
  .bs-track-row {
    grid-template-columns: 80px 1fr 60px 135px;
  }
  .bs-col-bpm, .bs-col-tags, .bs-col-actions {
    display: none;
  }
}

.bs-track-row:last-child {
  border-bottom: none;
}

.bs-track-row:hover {
  background: var(--bg-card-hover);
}

.bs-track-row.active {
  background: #1a1a1a;
}

.bs-track-row.playing {
  background: rgba(255, 255, 255, 0.04);
}

/* Col: Play & Thumb */
.bs-col-play {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 88px;
  min-width: 88px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .bs-col-play {
    width: 80px;
    min-width: 80px;
    gap: 8px;
  }
}

.bs-track-num {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.bs-thumb-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.bs-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-table-play-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.bs-track-row:hover .bs-table-play-btn,
.bs-track-row.active .bs-table-play-btn {
  opacity: 1;
}

.bs-track-row.playing .bs-table-play-btn {
  opacity: 1;
  background: rgba(0, 0, 0, 0.75);
}

.bs-playing-equalizer {
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.bs-track-row.playing .bs-playing-equalizer {
  display: flex;
}

.bs-playing-equalizer span {
  width: 3px;
  background: var(--brand-lime);
  border-radius: 1px;
  animation: eqBars 1s infinite alternate ease-in-out;
}

.bs-playing-equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.bs-playing-equalizer span:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.bs-playing-equalizer span:nth-child(3) { height: 60%; animation-delay: 0.2s; }

@keyframes eqBars {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Col: Title */
.bs-col-title {
  padding-left: 10px;
  padding-right: 14px;
  overflow: hidden;
  min-width: 0;
}

.bs-track-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.bs-track-row.active .bs-track-title {
  color: #fff;
}

.bs-track-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bs-dot {
  font-size: 8px;
  color: #444;
}

.bs-studio-badge {
  color: #777;
}

/* Col: Time */
.bs-col-time {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Col: BPM & Key */
.bs-col-bpm {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bs-badge-bpm, .bs-badge-key {
  font-size: 11px;
  font-weight: 600;
  background: #1b1b1b;
  border: 1px solid #282828;
  color: var(--text-secondary);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

/* Col: Tags */
.bs-col-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.bs-tag {
  font-size: 11px;
  color: #a3a3a3;
  background: #181818;
  border: 1px solid #282828;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}

.bs-tag:hover {
  color: #ffffff;
  background: #252525;
  border-color: var(--brand-lime);
}

.bs-vol-pill {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-lime);
  background: rgba(82, 255, 0, 0.1);
  border: 1px solid rgba(82, 255, 0, 0.25);
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

/* Col: Actions */
.bs-col-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bs-action-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.bs-action-icon:hover {
  color: #fff;
  background: #242424;
}

/* Col: Price */
.bs-col-price {
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.bs-price-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.bs-regular-price {
  font-size: 10px;
  color: #777;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.bs-btn-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  color: var(--btn-primary-bg);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  white-space: nowrap;
}

.bs-btn-price:hover {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

.bs-no-results {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   BeatStars Bottom Sticky Audio Player (Streamed from YouTube)
   -------------------------------------------------------------------------- */
.bs-sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: #0c0c0c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
}

.bs-player-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1024px) {
  .bs-player-inner {
    grid-template-columns: 200px 1fr 180px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .bs-player-inner {
    grid-template-columns: 1fr auto;
  }
  .bs-player-col-right {
    display: none !important;
  }
}

/* Player Left Column */
.bs-player-col-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.bs-player-thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  position: relative;
  border: 1px solid #222;
}

.bs-player-thumb-wrap.playing {
  border-color: #555;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.bs-player-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-player-track-info {
  overflow: hidden;
}

.bs-player-track-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.bs-player-track-artist {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bs-player-yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--brand-lime);
  text-transform: uppercase;
}

/* Player Center Column: Controls & Waveform */
.bs-player-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

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

.bs-ctrl-btn {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: var(--transition);
}

.bs-ctrl-btn:hover {
  color: #fff;
}

.bs-ctrl-btn.active {
  color: var(--accent-blue);
}

.bs-play-pause-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bs-play-pause-btn:hover {
  transform: scale(1.05);
  background: #fff;
}

/* Scrubber & Waveform */
.bs-scrubber-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bs-player-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  text-align: center;
  user-select: none;
}

.bs-waveform-container {
  flex: 1;
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 4px;
  user-select: none;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: background 0.2s ease;
}

.bs-waveform-container:hover {
  background: rgba(255, 255, 255, 0.04);
}

.bs-waveform-bars {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
}

.bs-wave-bar {
  flex: 1 1 0%;
  min-width: 1px;
  background: #282828;
  border-radius: 2px;
  transition: background 0.08s ease, transform 0.15s ease;
  min-height: 4px;
  transform-origin: center;
}

.bs-wave-bar.played {
  background: #ffffff;
}

.bs-wave-bar.played.playhead {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 4px var(--accent-blue);
  transform: scaleY(1.1);
  border-radius: 2px;
}

.bs-wave-bar.hover-preview {
  background: #666666;
}

.bs-waveform-container:hover .bs-wave-bar:not(.played):not(.hover-preview) {
  background: #383838;
}

/* BeatStars Hover Guide Line */
.bs-waveform-hover-guide {
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  z-index: 5;
}

/* BeatStars Floating Hover Tooltip */
.bs-waveform-tooltip {
  position: absolute;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
  z-index: 20;
}

.bs-waveform-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #000000 transparent transparent transparent;
}

/* Player Right Column */
.bs-player-col-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.bs-toggle-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #181818;
  border: 1px solid #282828;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
}

.bs-toggle-video-btn:hover {
  color: #fff;
  border-color: #444;
}

.bs-volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.bs-volume-slider {
  width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #333;
  border-radius: 2px;
  cursor: pointer;
}

.bs-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.bs-player-buy-btn {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.bs-player-buy-btn:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 0 0 1px var(--btn-primary-bg);
}

/* --------------------------------------------------------------------------
   Floating YouTube Video Modal (PiP)
   -------------------------------------------------------------------------- */
.bs-video-modal {
  position: fixed;
  bottom: calc(var(--player-height) + 16px);
  right: 20px;
  width: 360px;
  background: #111;
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  z-index: 9998;
  overflow: hidden;
  display: none;
}

.bs-video-modal.active {
  display: block;
  animation: slideUp 0.25s ease-out;
}

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

.bs-video-modal-header {
  padding: 8px 12px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #222;
  font-size: 12px;
  font-weight: 600;
}

.bs-video-frame-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
}

.bs-video-frame-container iframe,
.bs-video-frame-container #ytPlayerContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Sales Closing, Tiered Pricing & Bank Transfer Section
   -------------------------------------------------------------------------- */
.bs-section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.bs-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bs-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.bs-section-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tiered Pricing Cards Grid */
.pricing-tiers-section {
  padding: 80px 0;
  background: #0d0d0d;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.tier-card:hover {
  border-color: #383838;
  transform: translateY(-4px);
}

.tier-card-popular {
  border-color: #444;
  background: #141414;
}

.tier-card-ultimate {
  border-color: var(--btn-primary-bg);
  background: #161616;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.tier-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #242424;
  border: 1px solid #444;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.ribbon-ultimate {
  background: var(--btn-primary-bg);
  color: #000;
  border-color: var(--btn-primary-bg);
}

.tier-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tier-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 4px;
}

.tier-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tier-price-box {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.tier-old-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}

.tier-price {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 4px 0;
}

.tier-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tier-save-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-lime);
  margin-top: 4px;
}

.tier-perks {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.tier-perks li {
  font-size: 13px;
  color: #d1d5db;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.check-icon {
  color: var(--brand-lime);
  font-weight: 900;
  flex-shrink: 0;
}

.btn-tier-select {
  display: block;
  text-align: center;
  background: var(--btn-secondary-bg);
  color: #fff;
  border: 1px solid #333;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-tier-select:hover {
  background: #252525;
  border-color: #555;
}

.btn-tier-popular {
  background: #222;
  border-color: #444;
}

.btn-tier-ultimate {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

.btn-tier-ultimate:hover {
  background: #000;
  color: #fff;
  border-color: var(--btn-primary-bg);
}

/* --------------------------------------------------------------------------
   Checkout & Bank Transfer (PromptPay & Stripe) Section
   -------------------------------------------------------------------------- */
.checkout-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: flex-start;
}

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

.checkout-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 36px;
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radio Tier Cards in Checkout */
.tier-radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.tier-radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #161616;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tier-radio-card:hover {
  border-color: #383838;
}

.tier-radio-card.selected {
  border-color: var(--btn-primary-bg);
  background: #1c1c1c;
}

.tier-radio-card input {
  accent-color: var(--btn-primary-bg);
}

.tier-radio-body {
  flex: 1;
}

.tier-radio-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  font-size: 10px;
  font-weight: 700;
  background: #282828;
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.badge-gold {
  background: var(--brand-lime);
  color: #000;
}

.tier-radio-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tier-radio-price {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-align: right;
}

.thb-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Volume Picker Box */
.volume-picker-box {
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 24px;
}

.volume-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.volume-picker-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pack-counter-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-lime);
}

.volume-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 600px) {
  .volume-picker-grid {
    grid-template-columns: 1fr;
  }
}

.pack-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #161616;
  border: 1px solid #262626;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.pack-pill:hover {
  border-color: #444;
}

.pack-pill.active {
  border-color: var(--brand-lime);
  background: #1c1c1c;
}

.pack-pill-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.pack-pill-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.pack-pill-check {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-lime);
}

.all-volumes-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

@media (max-width: 600px) {
  .all-volumes-badge-grid {
    grid-template-columns: 1fr;
  }
}

.all-vol-tag {
  background: #161616;
  border: 1px solid #222;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.all-vol-tag span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 10.5px;
}

/* Form Inputs */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xs);
  padding: 0 14px;
  color: #fff;
  font-size: 13.5px;
  transition: var(--transition);
}

.form-input:focus {
  border-color: #555;
  background: #1a1a1a;
}

/* Order Bump */
.bump-box {
  background: #131313;
  border: 1px dashed #333;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 20px 0;
  transition: var(--transition);
}

.bump-box.selected {
  border-color: var(--brand-lime);
  background: #171717;
}

.bump-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.bump-checkbox {
  margin-top: 4px;
  accent-color: var(--brand-lime);
}

.bump-content h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.bump-content p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Payment Tabs */
.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.payment-method-tab {
  flex: 1;
  padding: 10px;
  background: #141414;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.payment-method-tab.active {
  background: #202020;
  border-color: var(--btn-primary-bg);
  color: #fff;
}

.payment-method-content {
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: var(--radius-sm);
  padding: 20px;
}

.card-brands-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.card-brand-badge {
  font-size: 10px;
  font-weight: 800;
  background: #1f1f1f;
  border: 1px solid #333;
  padding: 2px 6px;
  border-radius: 2px;
  color: #bbb;
}

/* Express Buttons */
.express-btns-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-express-pay {
  flex: 1;
  max-width: 180px;
  height: 42px;
  background: #000;
  border: 1px solid #333;
  border-radius: var(--radius-xs);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-express-pay:hover {
  background: #1c1c1c;
  border-color: #555;
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
}

.summary-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.total-row {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 16px;
}

.lime-text {
  color: var(--brand-lime);
  font-weight: 700;
}

.alert-error {
  display: none;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid var(--brand-pink);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Why High Volume & Features Section
   -------------------------------------------------------------------------- */
.catch-section {
  padding: 70px 0;
  background: #0c0c0c;
  border-top: 1px solid var(--border-subtle);
}

.catch-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 40px;
}

.catch-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.catch-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.features-section {
  padding: 70px 0;
  background: var(--bg-page);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 16px;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Testimonials & FAQ
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 70px 0;
  background: #0d0d0d;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.stars-gold {
  color: #f59e0b;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #252525;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.author-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.author-info p {
  font-size: 11px;
  color: var(--text-muted);
}

.faq-section {
  padding: 70px 0;
  background: var(--bg-page);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 40px 0 60px;
  background: #050505;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   Deal Urgency Countdown Bar (Inside Sticky Wrapper)
   -------------------------------------------------------------------------- */
.deal-urgency-bar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  background: linear-gradient(90deg, #0a0a0a 0%, #1a101b 50%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(255, 46, 147, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  padding: 0 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.deal-urgency-inner {
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  box-sizing: border-box;
}

.deal-urgency-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.deal-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-pink);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--brand-pink);
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.deal-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 46, 147, 0.2);
  border: 1px solid var(--brand-pink);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.deal-urgency-text {
  font-size: 12.5px;
  color: #e0e0e0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-urgency-text strong {
  color: var(--brand-lime);
  font-weight: 700;
}

.deal-price-reg {
  opacity: 0.7;
  font-size: 12px;
}

.deal-urgency-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.deal-countdown-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.deal-countdown-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.deal-countdown-digits {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: 'Poppins', monospace;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.digit-box {
  background: #1c1c1c;
  color: #fff;
  border: 1px solid #333;
  padding: 2px 5px;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.digit-colon {
  color: var(--brand-pink);
  font-weight: 900;
}

.deal-urgency-btn {
  background: var(--btn-primary-bg);
  color: #000;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  height: 28px;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.deal-urgency-btn:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .deal-price-reg {
    display: none;
  }
}

@media (max-width: 820px) {
  .deal-countdown-label {
    display: none;
  }
  .deal-urgency-text {
    font-size: 11.5px;
  }
}

@media (max-width: 680px) {
  .deal-urgency-bar {
    padding: 0 10px;
  }
  .deal-urgency-inner {
    gap: 8px;
  }
  .deal-badge-text {
    display: none;
  }
  .deal-badge {
    padding: 3px 5px;
  }
  .deal-urgency-btn {
    font-size: 10.5px;
    padding: 4px 9px;
  }
}

@media (max-width: 480px) {
  .deal-urgency-text {
    display: none;
  }
  .deal-badge-text {
    display: inline;
    font-size: 9.5px;
  }
  .deal-badge {
    padding: 2px 6px;
    font-size: 9.5px;
  }
  .deal-countdown-digits {
    font-size: 11px;
  }
  .digit-box {
    min-width: 19px;
    padding: 2px 3px;
    font-size: 11px;
  }
  .deal-urgency-btn {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* --------------------------------------------------------------------------
   PromptPay Responsive Card (No Overflow, Clean Design)
   -------------------------------------------------------------------------- */
.promptpay-qr-card {
  max-width: 280px;
  margin: 15px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 14px 14px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #0f0f0f;
  box-sizing: border-box;
}

.promptpay-header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #003764;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.promptpay-qr-container {
  width: 220px;
  height: 220px;
  max-width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#promptPayQrCanvas {
  width: 100% !important;
  max-width: 220px !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  display: block;
}

.promptpay-card-details {
  margin-top: 10px;
  text-align: center;
  width: 100%;
  border-top: 1px dashed #d1d5db;
  padding-top: 8px;
}

.promptpay-merchant-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}

.promptpay-account-id {
  font-size: 11px;
  color: #6b7280;
  font-family: monospace;
  margin-top: 2px;
}

.promptpay-scan-hint {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Comparison & Sales Closing Elements
   -------------------------------------------------------------------------- */
.beats-vs-beatstars {
  margin: 40px auto 20px auto;
  max-width: 900px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 16px 20px;
  background: #141414;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th.col-fsb {
  background: rgba(82, 255, 0, 0.08);
  color: var(--brand-lime);
  border-left: 2px solid var(--brand-lime);
}

.comparison-table td {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid #1a1a1a;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-fsb {
  background: rgba(82, 255, 0, 0.04);
  color: #fff;
  font-weight: 600;
  border-left: 2px solid var(--brand-lime);
}

.comparison-badge-bad {
  color: #ef4444;
  font-weight: 600;
}

.comparison-badge-good {
  color: var(--brand-lime);
  font-weight: 700;
}

@media (max-width: 650px) {
  .comparison-table th, .comparison-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

