.notification-badge {
    transition: 0.3s;
}

.notification-badge:hover {
    cursor:pointer;
    opacity: 0.75;
    transition: 0.3s;
}

.dropdown {
    position:relative;
    display:inline-block;
}

.dropdown-content {
    position:absolute;
    left: -1400%;
    top: 220%;
    background-color: #f1f1f1;
    min-width: 350px;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.2) ;
    z-index: 1;
    font-size: 0.9rem;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown-item-parent {
    position:relative;
    display: block;
}

.dropdown-item-close {
    position:absolute;
    top: 0;
    right: 0;
    font-size: 1.8rem;
    padding-right: 5px;
    transition: 0.3s;
}

.dropdown-item-close:hover {
    color: rgb(180, 25, 25 );
    transition: 0.3s;
    cursor: pointer;
}

footer:not(.site-footer) {
    background-color: #343A40; /* Footer background color */
    color: #e0e1dd; /* Footer text color */
    text-align: center; /* Center text alignment */
    padding: 0.25rem 0; /* Reduce vertical padding */
    min-height: 30px; /* Further reduce the minimum height */
    font-size: 0.85rem; /* Reduce font size */
    margin: 0; /* Ensure no extra margins */
    line-height: 0.5; /* Tighten line spacing */
}

footer:not(.site-footer) * {
    margin: 0; /* Remove default margins for all elements in the footer */
    padding: 0; /* Remove extra padding for all elements in the footer */
}

.footer-link {
  color: #e0e1dd;
  text-decoration: none;
}
.footer-link:hover {
  color: rgb(253, 227, 0);
}

.bmc-button-container iframe {
    height: 10px !important;
  }

:root {
    --catalog-card-width: 14.5rem;
    --catalog-sidebar-width: 20rem;
    --catalog-grid-gap: 1.5rem;
    --catalog-frame-inline-padding: clamp(0.55rem, 1.3vw, 1.1rem);
    --catalog-grid-inline-padding: clamp(0.15rem, 0.7vw, 0.5rem);
}

.thumbnail {
    transition: transform 0.2s ease-in-out;
  }

.thumbnail:hover {
    transform: scale(1.1);
  }

.buttons {
    /* Set the font-size and line-height to ensure proper spacing */
    font-size: 0;
    line-height: 0;
  }

.buttons a {
    /* Set the font-size and line-height back to normal */
    font-size: 16px;
    line-height: 1.5;

    /* Display the buttons as inline-blocks */
    display: inline-block;

    /* Add some margin to create space between the buttons */
    margin-right: 10px;
  }

  /* Remove the margin-right on the last button */
.buttons a:last-child {
    margin-right: 0;
  }

body {
    background-color: #495057;
    color: #e0e1dd;
    height: 100%;
    margin: 0;
  }

#main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the container spans the full height */
    transition: padding-bottom 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

#content {
    flex: 1; /* Allow the content area to grow and fill the remaining space */
}

.header {
    background-color: #ccc;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }

.frame {
  background-color: #343A40;
  box-shadow: 0 0 20px rgba(202, 190, 190, 0.5);
  min-height: 100vh;
  padding: 20px;
}

.catalog-page-shell {
  width: 100%;
  padding: 1rem clamp(0.6rem, 1.8vw, 1.6rem) 1.6rem;
}

.catalog-layout {
  --bs-gutter-x: clamp(1rem, 1.8vw, 1.6rem);
  --bs-gutter-y: 1rem;
  margin: 0;
  align-items: flex-start;
}

.catalog-main-col,
.catalog-sidebar-col {
  width: 100%;
  max-width: 100%;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.catalog-main-frame {
  width: 100%;
}

.catalog-main-inner {
  padding-left: var(--catalog-frame-inline-padding);
  padding-right: var(--catalog-frame-inline-padding);
}

.catalog-cards-grid {
  margin: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  gap: var(--catalog-grid-gap);
  padding-left: var(--catalog-grid-inline-padding);
  padding-right: var(--catalog-grid-inline-padding);
}

.catalog-main-inner > .catalog-cards-grid {
  margin-left: calc(-1 * var(--catalog-frame-inline-padding));
  margin-right: calc(-1 * var(--catalog-frame-inline-padding));
}

.catalog-cards-grid .catalog-card-col {
  width: min(100%, var(--catalog-card-width));
  max-width: min(100%, var(--catalog-card-width));
  flex: 0 0 min(100%, var(--catalog-card-width));
  padding: 0;
  margin: 0;
}

.catalog-track-card {
  width: 100%;
  height: 100%;
}

.catalog-track-card .card-img-top {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.catalog-track-card .card-title-mini {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}

.profile-track-section {
  padding: 1.5rem var(--catalog-frame-inline-padding);
}

.profile-track-section-header {
  margin-bottom: 1rem;
}

@media (min-width: 1200px) {
  .catalog-layout {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(1rem, 1.8vw, 1.6rem);
    --bs-gutter-x: 0;
  }

  .catalog-main-col {
    flex: 1 1 auto;
    min-width: 0;
  }

  .catalog-sidebar-col {
    flex: 0 0 var(--catalog-sidebar-width);
    width: var(--catalog-sidebar-width);
    max-width: var(--catalog-sidebar-width);
  }
}

.landing-welcome {
  position: relative;
  margin: 0.35rem 0 1.4rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 120, 0.2);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 211, 112, 0.2), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(84, 196, 255, 0.18), transparent 46%),
    linear-gradient(155deg, rgba(35, 42, 52, 0.95), rgba(25, 31, 40, 0.96));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.landing-welcome-head {
  margin-bottom: 1.1rem;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(254, 234, 180, 0.95);
  border: 1px solid rgba(255, 214, 123, 0.3);
  background: rgba(255, 214, 123, 0.1);
}

.landing-title {
  margin: 0.75rem 0 0.4rem;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 800;
  color: #f8f2de;
}

.landing-subtitle {
  margin: 0 auto;
  max-width: 750px;
  color: rgba(227, 230, 236, 0.84);
  font-size: 0.98rem;
}

.landing-pillars {
  margin-top: 0.75rem;
}

.landing-pillar-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.62rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 23, 30, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.landing-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 218, 126, 0.4);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3), 0 0 18px rgba(255, 218, 126, 0.12);
}

.landing-pillar-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffe29a;
  background: rgba(255, 205, 98, 0.14);
  border: 1px solid rgba(255, 205, 98, 0.3);
}

.landing-pillar-card h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8f2de;
}

.landing-pillar-card p {
  margin: 0;
  color: rgba(224, 227, 233, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.landing-pillar-btn {
  margin-top: auto;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.38);
  color: #f6f8fb;
}

.landing-pillar-btn:hover {
  border-color: rgba(255, 220, 134, 0.62);
  color: #fff;
}

.landing-pillar-collector {
  background: linear-gradient(160deg, rgba(28, 35, 44, 0.9), rgba(17, 22, 30, 0.88));
}

.landing-pillar-artist {
  background: linear-gradient(160deg, rgba(19, 45, 43, 0.88), rgba(13, 30, 33, 0.9));
}

.landing-pillar-trust {
  background: linear-gradient(160deg, rgba(37, 34, 51, 0.88), rgba(20, 21, 34, 0.9));
}

.landing-section-title {
  padding-top: 1%;
  margin-bottom: 0.95rem;
  font-size: 1.24rem;
  font-weight: 700;
}

.landing-section-divider {
  margin: 1.2rem 0 1.1rem;
}

@media (max-width: 767.98px) {
  .landing-pillar-card {
    align-items: center;
    text-align: center;
  }

  .landing-pillar-btn {
    width: 100%;
  }
}

.frame table {
    color: #e0e1dd; /* Default text color */
    background-color: transparent; /* Ensure it inherits the page's background */
}

.frame table tr,
.frame table td,
.frame table th {
    color: #e0e1dd;
}

.navbar-nav .nav-link {
  font-size: 0.9rem;
  padding: 0.35rem 0.4rem !important;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 215, 120, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 22, 30, 0.84), rgba(18, 25, 34, 0.74)),
    radial-gradient(circle at top left, rgba(255, 215, 120, 0.1), transparent 42%),
    radial-gradient(circle at top right, rgba(111, 185, 255, 0.08), transparent 38%);
  box-shadow: 0 18px 34px rgba(5, 8, 12, 0.24);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.site-navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 215, 120, 0.06), transparent 28%, transparent 72%, rgba(117, 217, 196, 0.06));
  opacity: 0.9;
  pointer-events: none;
}

.site-navbar .container-fluid {
  position: relative;
  z-index: 1;
}

.site-navbar .navbar-brand {
  text-shadow: 0 0 18px rgba(255, 215, 120, 0.12);
}

.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(255, 215, 120, 0.22);
}

.navbar-primary-link {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar-primary-link > * {
  position: relative;
  z-index: 1;
}

.navbar-primary-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 222, 129, 0.2), rgba(111, 185, 255, 0.16));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.navbar-primary-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.55);
  background: radial-gradient(circle, rgba(255, 232, 160, 0.38), rgba(255, 232, 160, 0) 68%);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.navbar-primary-link:hover,
.navbar-primary-link:focus-visible {
  color: #fff6dd;
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(23, 28, 36, 0.34), 0 0 16px rgba(255, 218, 122, 0.22);
}

.navbar-primary-link:hover::before,
.navbar-primary-link:focus-visible::before {
  opacity: 1;
}

.navbar-primary-link:hover::after,
.navbar-primary-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.navbar-menu-trigger {
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.navbar-menu-trigger:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.navbar-modern-dropdown {
  min-width: 240px;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.24);
  background: linear-gradient(165deg, rgba(36, 44, 54, 0.98), rgba(23, 29, 37, 0.98));
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.navbar-modern-dropdown .dropdown-divider {
  margin: 0.3rem 0;
  border-top-color: rgba(255, 255, 255, 0.14);
}

.navbar-modern-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  color: #e7edf5;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar-modern-dropdown-item:hover,
.navbar-modern-dropdown-item:focus {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 173, 51, 0.14));
  color: #fff7d8;
  transform: translateX(2px);
}

.navbar-modern-dropdown-item.text-danger:hover,
.navbar-modern-dropdown-item.text-danger:focus {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.2), rgba(220, 53, 69, 0.18));
  color: #ffc7c7;
}

.navbar-modern-dropdown-item.text-success:hover,
.navbar-modern-dropdown-item.text-success:focus {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(76, 175, 80, 0.17));
  color: #cbffd7;
}

.navbar-modern-dropdown-item.text-warning:hover,
.navbar-modern-dropdown-item.text-warning:focus {
  background: linear-gradient(135deg, rgba(255, 202, 44, 0.24), rgba(255, 149, 0, 0.16));
  color: #ffe8a8;
}

.navbar-dropdown-icon {
  width: 1.15rem;
  display: inline-flex;
  justify-content: center;
  color: rgba(255, 212, 99, 0.94);
  flex-shrink: 0;
}

.navbar-modern-dropdown-button {
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.navbar-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 153, 0, 0.14));
  color: #f6e8bc;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.navbar-balance-chip:hover {
  color: #fff7d8;
  transform: translateY(-1px);
  border-color: rgba(255, 215, 0, 0.78);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.navbar-balance-chip:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.6);
  outline-offset: 2px;
}

.balance-chip-label {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 232, 188, 0.75);
}

.balance-chip-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffe070;
}

.balance-chip-unit {
  font-size: 0.73rem;
  color: rgba(255, 224, 112, 0.88);
}

.navbar-balance-chip-mobile {
  align-self: flex-start;
}

.navbar-chip-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.navbar-chip-group > * {
  margin: 0;
}

.navbar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.46rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.navbar-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 0.7;
  pointer-events: none;
}

.navbar-cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.navbar-cta-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.navbar-cta-btn-refer {
  color: #e8f2ff;
  border-color: rgba(111, 185, 255, 0.34);
  background: linear-gradient(145deg, rgba(47, 72, 103, 0.9), rgba(27, 35, 46, 0.94));
}

.navbar-cta-btn-refer:hover {
  border-color: rgba(144, 203, 255, 0.54);
  box-shadow: 0 14px 26px rgba(37, 91, 146, 0.32), 0 0 18px rgba(111, 185, 255, 0.14);
}

.navbar-cta-btn-tour {
  color: #e8fbf7;
  border-color: rgba(117, 217, 196, 0.34);
  background: linear-gradient(145deg, rgba(32, 88, 90, 0.9), rgba(22, 36, 40, 0.96));
}

.navbar-cta-btn-tour:hover {
  border-color: rgba(149, 236, 218, 0.54);
  box-shadow: 0 14px 26px rgba(29, 120, 118, 0.34), 0 0 18px rgba(117, 217, 196, 0.16);
}

.navbar-search-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.28rem 0.24rem 0.68rem;
  min-width: min(100%, 280px);
  max-width: 280px;
  border: 1px solid rgba(255, 215, 120, 0.18);
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(42, 49, 59, 0.96), rgba(24, 30, 38, 0.98));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.navbar-search-shell:hover,
.navbar-search-shell:focus-within {
  border-color: rgba(255, 215, 120, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 213, 107, 0.08);
}

.navbar-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 218, 122, 0.84);
  flex-shrink: 0;
}

.navbar-search-input.form-control {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  padding: 0.22rem 0;
  background: transparent;
  color: #f2f4f8;
  box-shadow: none;
  font-size: 0.94rem;
}

.navbar-search-input.form-control::placeholder {
  color: rgba(231, 237, 245, 0.58);
}

.navbar-search-input.form-control:focus {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.navbar-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 214, 111, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.82rem;
  background: linear-gradient(145deg, rgba(255, 215, 120, 0.22), rgba(174, 121, 33, 0.18));
  color: #fff0c1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.navbar-search-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 226, 150, 0.52);
  box-shadow: 0 10px 20px rgba(174, 121, 33, 0.2);
}

.navbar-search-btn:focus-visible {
  outline: 2px solid rgba(255, 224, 140, 0.56);
  outline-offset: 2px;
}

.navbar-search-shell-mobile {
  width: 100%;
  min-width: 0;
}

.navbar-search-shell-mobile .navbar-search-input.form-control {
  width: 100%;
}

.frame_track_detail {
  background-color: #343A40;
  box-shadow: 0 0 20px rgba(202, 190, 190, 0.5);
  padding: 20px;
}

.track-detail-shell {
  width: 100%;
  padding: 1.1rem clamp(0.6rem, 1.8vw, 1.6rem) 1.7rem;
}

.track-detail-hero {
  position: relative;
  border: 1px solid rgba(255, 215, 120, 0.22);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 210, 110, 0.16), transparent 35%),
    radial-gradient(circle at 87% 12%, rgba(111, 185, 255, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(38, 46, 56, 0.96), rgba(24, 30, 38, 0.98));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
}

.track-detail-media-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 22, 29, 0.82);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.track-detail-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.track-meta-card {
  padding: 0.95rem 1rem 1.05rem;
}

.track-meta-title {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f2f4f8;
}

.track-meta-row {
  margin-bottom: 0.52rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #dce1e8;
}

.track-meta-row strong {
  color: #ffe8a6;
}

.track-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(226, 230, 238, 0.66);
}

.track-meta-row-collectible {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.track-meta-warning {
  margin: 0.65rem 0 0;
  color: #ffbf78;
  font-size: 0.82rem;
}

.track-detail-shell .track-meta-edit-icon {
  color: rgba(255, 220, 138, 0.84);
  cursor: pointer;
}

.track-detail-shell .track-meta-edit-icon:hover {
  color: #ffeec6;
}

.track-detail-main-panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 23, 31, 0.8);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  padding: 1rem;
}

.track-detail-waveform {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(132, 197, 255, 0.38);
  background:
    radial-gradient(circle at 20% 30%, rgba(103, 195, 255, 0.22), transparent 48%),
    radial-gradient(circle at 80% 70%, rgba(255, 214, 112, 0.19), transparent 52%),
    linear-gradient(145deg, rgba(25, 33, 46, 0.98), rgba(17, 23, 33, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 16px 28px rgba(0, 0, 0, 0.3);
  padding: 0.3rem 0.4rem;
  margin-bottom: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.track-detail-wave-canvas-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  min-height: 92px;
  margin-bottom: 0.58rem;
}

.track-detail-wave-canvas {
  position: relative;
  z-index: 1;
  min-height: 92px;
}

.track-snippet-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.track-snippet-dim {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, rgba(6, 10, 14, 0.64), rgba(8, 11, 16, 0.72));
}

.track-snippet-dim-left {
  left: 0;
}

.track-snippet-dim-right {
  right: 0;
}

.track-snippet-window {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 226, 156, 0.65);
  background:
    linear-gradient(120deg, rgba(104, 200, 255, 0.2), rgba(145, 227, 255, 0.3), rgba(255, 227, 159, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(114, 203, 255, 0.28);
  transition: left 0.22s ease, width 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.track-snippet-played {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(95deg, rgba(255, 236, 179, 0.36), rgba(255, 243, 213, 0.5));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.6);
  transition: width 0.08s linear;
}

.track-snippet-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0 0.08rem 0.05rem;
  font-size: 0.79rem;
}

.track-snippet-meta-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  justify-self: start;
}

.track-snippet-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(243, 247, 252, 0.88);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  justify-self: center;
}

.track-snippet-time {
  color: #ffe7ab;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.track-snippet-length {
  color: rgba(193, 223, 246, 0.86);
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.track-snippet-control-wrap {
  display: inline-flex;
  align-items: center;
}

.track-snippet-play-toggle {
  border: 1px solid rgba(118, 244, 255, 0.36);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  min-height: 34px;
  background: linear-gradient(135deg, rgba(71, 240, 255, 0.2), rgba(79, 212, 255, 0.2), rgba(255, 209, 93, 0.22));
  color: #eef9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.track-snippet-play-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 171, 0.72);
  background: linear-gradient(135deg, rgba(71, 240, 255, 0.28), rgba(79, 212, 255, 0.28), rgba(255, 209, 93, 0.32));
  color: #fff6d8;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 220, 136, 0.12);
}

.track-snippet-play-toggle:active:not(:disabled) {
  transform: translateY(0);
}

.track-snippet-play-toggle:disabled {
  opacity: 0.58;
  cursor: default;
}

.track-snippet-play-toggle.is-playing {
  animation: quickPreviewPulse 1.15s ease-in-out infinite;
}

.track-snippet-play-toggle-icon,
.track-snippet-play-toggle-label {
  display: inline-flex;
  align-items: center;
}

.track-detail-waveform::before {
  content: "";
  position: absolute;
  inset: -32%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(101, 196, 255, 0) 0deg,
    rgba(101, 196, 255, 0.4) 95deg,
    rgba(255, 214, 111, 0.34) 170deg,
    rgba(101, 196, 255, 0) 360deg
  );
  opacity: 0.28;
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  animation: waveformHaloSpin 14s linear infinite;
}

.track-detail-waveform::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.02), rgba(112, 201, 255, 0.18), rgba(255, 216, 128, 0.17), rgba(255, 255, 255, 0.02));
  opacity: 0.22;
  transform: translateX(-38%);
  pointer-events: none;
  z-index: 0;
  animation: waveformLightSweep 6.2s ease-in-out infinite;
}

.track-detail-waveform > * {
  position: relative;
  z-index: 1;
}

.track-detail-waveform canvas {
  border-radius: 9px;
}

.track-detail-waveform.is-ready {
  border-color: rgba(134, 205, 255, 0.48);
}

.track-detail-waveform.is-playing {
  border-color: rgba(255, 221, 140, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(255, 221, 140, 0.18),
    0 18px 34px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(108, 194, 255, 0.3),
    0 0 34px rgba(255, 206, 103, 0.18);
  transform: translateY(-1px);
}

.track-detail-waveform.is-playing::before {
  opacity: 0.5;
}

.track-detail-waveform.is-playing::after {
  opacity: 0.35;
}

.track-detail-waveform.is-playing .track-snippet-window {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 20px rgba(99, 199, 255, 0.38),
    0 0 28px rgba(255, 210, 108, 0.2);
}

@keyframes waveformHaloSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes waveformLightSweep {
  0% {
    transform: translateX(-42%);
  }
  50% {
    transform: translateX(36%);
  }
  100% {
    transform: translateX(-42%);
  }
}

.has-quick-preview-player #main-container {
  padding-bottom: 104px;
}

.quick-preview-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.96), rgba(9, 15, 22, 0.98));
  border-top: 1px solid rgba(111, 193, 255, 0.28);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 18px));
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease,
    visibility 0s linear 0.36s;
  pointer-events: none;
  will-change: transform, opacity;
}

.quick-preview-footer.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    visibility 0s linear 0s;
  pointer-events: auto;
}

.quick-preview-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.45rem 0.8rem;
  display: grid;
  grid-template-columns: auto minmax(190px, 320px) minmax(0, 1fr);
  gap: 0.68rem;
  align-items: center;
  transform: translateY(12px) scale(0.985);
  opacity: 0.95;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.quick-preview-footer.is-visible .quick-preview-footer-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.quick-preview-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.quick-preview-toggle {
  border: 1px solid rgba(112, 243, 255, 0.56);
  color: #08202e;
  background: linear-gradient(135deg, #3ff7ff 0%, #49d5ff 48%, #ffcc63 100%);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 6px 16px rgba(18, 170, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.quick-preview-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 234, 170, 0.85);
  box-shadow: 0 8px 18px rgba(18, 170, 255, 0.45), 0 0 0 2px rgba(255, 221, 136, 0.18);
}

.quick-preview-toggle:disabled {
  opacity: 0.6;
  cursor: default;
}

.quick-preview-close {
  border: 1px solid rgba(157, 198, 224, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(225, 239, 251, 0.92);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.quick-preview-close:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 229, 168, 0.45);
  background: rgba(255, 209, 88, 0.12);
  color: #fff2bf;
}

.quick-preview-close:active {
  transform: translateY(0);
}

.quick-preview-footer.is-playing .quick-preview-toggle {
  animation: quickPreviewPulse 1.15s ease-in-out infinite;
}

.quick-preview-track-info {
  min-width: 0;
}

.quick-preview-track-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f0f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-preview-track-meta {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: rgba(198, 223, 245, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-preview-divider {
  margin: 0 0.4rem;
  color: rgba(116, 189, 245, 0.66);
}

.track-detail-waveform--footer {
  margin-bottom: 0;
  padding: 0.2rem 0.32rem 0.18rem;
  border-radius: 10px;
  border-color: rgba(132, 197, 255, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 18px rgba(0, 0, 0, 0.22);
  background: linear-gradient(145deg, rgba(21, 30, 43, 0.98), rgba(12, 18, 27, 0.98));
}

.track-detail-waveform--footer::before,
.track-detail-waveform--footer::after {
  display: none;
}

.track-detail-wave-canvas-wrap--footer {
  min-height: 44px;
  margin-bottom: 0.24rem;
}

.track-detail-wave-canvas--footer {
  min-height: 44px;
}

.track-snippet-meta--footer {
  font-size: 0.68rem;
  gap: 0.3rem 0.65rem;
  padding-bottom: 0.02rem;
}

.track-snippet-meta--footer .track-snippet-label {
  font-size: 0.61rem;
}

.track-snippet-meta--footer .track-snippet-time {
  font-size: 0.68rem;
}

.track-snippet-meta--footer .track-snippet-length {
  font-size: 0.66rem;
}

@keyframes quickPreviewPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 221, 136, 0.44), 0 8px 18px rgba(18, 170, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 221, 136, 0), 0 8px 18px rgba(18, 170, 255, 0.42);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 221, 136, 0), 0 8px 18px rgba(18, 170, 255, 0.4);
  }
}

@media (max-width: 991.98px) {
  .has-quick-preview-player #main-container {
    padding-bottom: 146px;
  }

  .quick-preview-footer-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "actions info"
      "wave wave";
  }

  .quick-preview-actions {
    grid-area: actions;
  }

  .quick-preview-toggle {
    width: 34px;
    height: 34px;
  }

  .quick-preview-close {
    width: 30px;
    height: 30px;
  }

  .quick-preview-track-info {
    grid-area: info;
  }

  .track-detail-waveform--footer {
    grid-area: wave;
  }
}

.track-detail-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.track-ratings-wrap {
  display: flex;
  align-items: center;
}

.track-rating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.track-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e7eef8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  background: rgba(255, 255, 255, 0.05);
}

.track-rating-pill svg {
  color: #ffd280;
}

.track-rating-empty {
  margin: 0;
  color: #b7bcc4;
  font-size: 0.85rem;
}

.track-detail-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-left: auto;
}

.track-action-form {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
}

.track-detail-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.4rem 0.86rem;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.track-detail-action-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.track-detail-action-btn-collect {
  border-color: rgba(255, 207, 112, 0.5);
  background: linear-gradient(145deg, rgba(187, 128, 42, 0.68), rgba(128, 88, 28, 0.68));
  color: #ffecc2;
}

.track-action-count {
  font-size: 0.74rem;
  color: rgba(229, 233, 240, 0.72);
}

.track-tags-block,
.track-description-block,
.track-likes-block {
  margin-top: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.72rem 0.84rem;
}

.track-block-title {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(235, 238, 243, 0.84);
}

.track-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.track-tag-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 133, 0.35);
  background: rgba(255, 215, 133, 0.08);
  color: #ffe8b5;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.26rem 0.7rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.track-tag-chip--disabled {
  pointer-events: none;
  cursor: default;
}

.track-tag-chip:hover {
  color: #fff3d3;
  border-color: rgba(255, 221, 155, 0.58);
  background: rgba(255, 215, 133, 0.15);
}

.track-description-block p {
  color: rgba(228, 232, 239, 0.84);
  line-height: 1.5;
  font-size: 0.91rem;
}

.track-avatar-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.track-avatar-link {
  text-decoration: none;
}

.track-avatar-container {
  display: inline-flex;
}

.track-avatar {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 220, 148, 0.42);
}

.track-detail-shell .avatar-container:hover .avatar {
  transform: scale(1.12);
}

.track-detail-shell .track-avatar-info {
  bottom: -30px;
  background: rgba(22, 27, 36, 0.95);
  color: #f2f4f8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.track-detail-shell .track-avatar-info .avatar-name {
  color: #f2f4f8;
  font-size: 0.75rem;
}

.track-detail-related-frame {
  margin-top: 1rem;
  padding: 0.8rem 0.55rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(48, 57, 69, 0.95), rgba(31, 38, 49, 0.98));
}

.track-detail-related-head {
  padding: 0 0.9rem 0.4rem;
}

.track-detail-related-head h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .track-detail-cta-group {
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .track-snippet-meta {
    grid-template-columns: 1fr;
    gap: 0.45rem 0.65rem;
  }

  .track-snippet-meta-left,
  .track-snippet-label,
  .track-snippet-length {
    width: 100%;
    justify-self: start;
    text-align: left;
  }

  .track-snippet-meta-left {
    gap: 0.45rem;
  }

  .track-snippet-play-toggle {
    flex: 0 0 auto;
  }

  .track-detail-shell {
    padding: 0.85rem 0.45rem 1.2rem;
  }

  .track-detail-main-panel {
    padding: 0.85rem;
  }

  .track-detail-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .track-rating-pills {
    gap: 0.38rem;
  }

  .track-detail-cta-group {
    width: 100%;
  }

  .track-action-form {
    width: 100%;
  }

  .track-detail-action-btn {
    width: 100%;
    justify-content: center;
  }
}

.welcome-onboarding-modal .modal-dialog {
  max-width: 760px;
}

.welcome-onboarding-hero {
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 120, 0.28);
  background: linear-gradient(145deg, rgba(42, 50, 61, 0.9), rgba(25, 31, 40, 0.95));
  padding: 0.8rem 0.95rem;
}

.welcome-onboarding-hero p {
  color: #f2f4f8;
  font-weight: 600;
}

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

.welcome-onboarding-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 27, 35, 0.78);
  padding: 0.8rem;
}

.welcome-onboarding-card h6 {
  color: #ffe3a0;
  font-weight: 700;
}

.welcome-onboarding-card p {
  color: rgba(229, 233, 240, 0.86);
  font-size: 0.86rem;
  line-height: 1.4;
}

.welcome-onboarding-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 120, 0.36);
  background: rgba(255, 215, 120, 0.12);
  color: #ffd66f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.welcome-onboarding-link {
  color: #f5d78a;
  font-weight: 600;
  text-decoration: none;
}

.welcome-onboarding-link:hover {
  color: #ffe8b8;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .welcome-onboarding-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: #212529;
  height: 100%;
}

.artist-name {
  color: #e0e1dd;
  text-decoration: none;

}

.artist-name:hover {
  color: #e0e1dd;
}

.actor-details {
  display: flex;
  align-items: center;
}

.actor-avatar {
  margin-right: 10px;
}

.actor-info {
  flex-grow: 1;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.activity-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.left-column {
  grid-column: 1;
}

.right-column {
  grid-column: 2;
}

.avatar-container {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.avatar-container:hover .avatar {
  transform: scale(3);
  z-index: 2;
}

.avatar-info {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s ease-in-out;
}

.avatar-container:hover .avatar-info {
  visibility: visible;
  opacity: 1;
  z-index: 3;
}

.avatar-name {
  font-size: 12px;
  font-weight: bold;
  color: #333;
}


.edit-icon {
  transition: color 0.3s ease, transform 0.3s ease;
  color: #646464; /* Initial color of the icon */
  cursor: default;
}

.edit-icon:hover {
  color: #000000; /* Color changes to black on hover */
  transform: scale(1.1); /* Scales up the icon to 110% of its size */
}

.action-container {
  border: 1px solid white;
  border-radius: 10px;
  padding: 15px;
  padding-top: 15px;
  margin-top: 10px;
  background-color: transparent;
  display: flex;
  justify-content: space-evenly; /* Distributes space between elements */
  align-items: center; /* Vertical alignment */
  flex-wrap: wrap; /* Ensures responsiveness */
}

.action-item {
  display: flex;
  flex-direction: column; /* Stacks elements vertically */
  align-items: flex-start; /* Aligns items to the start of the flex-direction */
  margin-right: 10px; /* Adds spacing between action items */
}

.action-item .form-label, .action-item .form-select, .action-item .btn {
  margin-bottom: 20px; /* Spacing between elements inside each action item */
}

.action-item:last-child {
  margin-right: 0; /* Removes margin for the last item */
}

.subscription-shell {
  padding: clamp(1.25rem, 2vw, 2rem);
}

.subscription-balance-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(33, 37, 41, 0.96), rgba(23, 28, 35, 0.94));
  border: 1px solid rgba(255, 215, 0, 0.26);
  border-radius: 16px;
  padding: clamp(1rem, 1.7vw, 1.35rem);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  margin-bottom: 1.6rem;
}

.subscription-balance-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subscription-balance-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.subscription-balance-value {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffd75f;
  line-height: 1.1;
}

.subscription-balance-value span {
  font-size: 0.45em;
  font-weight: 600;
  color: rgba(255, 222, 135, 0.86);
}

.subscription-balance-note {
  color: rgba(224, 225, 221, 0.82);
  font-size: 0.93rem;
}

.subscription-balance-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.subscription-action-btn {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
}

.subscription-plan-header {
  margin-bottom: 1.4rem;
}

.subscription-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.45rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.24);
  background: linear-gradient(150deg, rgba(27, 33, 42, 0.94), rgba(18, 22, 30, 0.95));
}

.subscription-switch-title {
  font-size: 1.02rem;
  font-weight: 700;
}

.subscription-switch-note {
  color: rgba(226, 232, 241, 0.82);
  font-size: 0.88rem;
}

.subscription-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.subscription-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(32, 38, 46, 0.96), rgba(21, 25, 31, 0.94));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.subscription-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 10%, rgba(255, 226, 149, 0.24), rgba(255, 226, 149, 0) 48%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.subscription-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 102, 0.42);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34), 0 0 18px rgba(255, 201, 88, 0.18);
}

.subscription-plan-card:hover::before {
  opacity: 1;
}

.subscription-plan-card.is-current {
  border-color: rgba(255, 215, 0, 0.52);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 215, 0, 0.2);
}

.subscription-plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.subscription-plan-card-head h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.subscription-current-badge {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #261e03;
  background: linear-gradient(135deg, #ffde7a, #f6b93a);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-weight: 700;
}

.subscription-plan-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffe193;
  margin-bottom: 0.8rem;
}

.subscription-plan-price span {
  font-size: 0.48em;
  font-weight: 500;
  color: rgba(224, 225, 221, 0.72);
}

.subscription-plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subscription-plan-features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: rgba(228, 230, 225, 0.9);
}

.subscription-plan-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffd05f;
}

.subscription-upgrade-wrap {
  margin-top: auto;
  padding-top: 0.95rem;
  text-align: center;
}

.progress-bar {
  transition: width 0.4s ease-in-out;
}

.card-faq {
  background-color: #212529; /* Match the frame's dark theme */
  border-radius: 8px; /* Slightly rounded corners for modern look */
  padding: 20px; /* Add padding inside the card for better spacing */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
  color: #e0e1dd; /* Text color matching the theme */
  width: 100%; /* Ensure it spans the entire column width */
}

@media (max-width: 1199.98px) {
  .subscription-balance-card {
    grid-template-columns: 1fr;
  }

  .subscription-balance-actions {
    justify-content: flex-start;
  }

  .subscription-switch-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .subscription-shell {
    padding: 1rem;
  }

  .subscription-action-btn {
    width: 100%;
  }

  .subscription-plan-price {
    font-size: 1.45rem;
  }
}

/* Subscription plan feature info tooltip icon */

.subscription-feature-info {
  display: inline-block;
  margin-left: 0.3em;
  font-size: 0.78em;
  color: rgba(255, 215, 0, 0.55);
  cursor: default;
  vertical-align: middle;
  transition: color 0.2s ease;
}

.subscription-feature-info:hover {
  color: #ffd05f;
}

/* Subscription FAQ */

.subscription-faq {
  border-top: 1px solid rgba(255, 215, 0, 0.14);
  padding-top: 1.6rem;
}

.subscription-faq-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 215, 0, 0.7);
  margin-bottom: 0.85rem;
}

.subscription-faq .accordion-item {
  background: linear-gradient(165deg, rgba(32, 38, 46, 0.96), rgba(21, 25, 31, 0.94));
  border: none;
  border-radius: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.subscription-faq .accordion-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.subscription-faq .accordion-button {
  background: transparent;
  color: rgba(228, 230, 225, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
  box-shadow: none;
  gap: 0.75rem;
  border-radius: 10px !important;
}

.subscription-faq .accordion-button:not(.collapsed) {
  background: transparent;
  color: #ffe193;
  box-shadow: none;
  border-radius: 10px 10px 0 0 !important;
}

.subscription-faq .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(86%) sepia(33%) saturate(452%) hue-rotate(348deg) brightness(103%) contrast(101%);
  opacity: 0.6;
  flex-shrink: 0;
  margin-left: auto;
}

.subscription-faq .accordion-button:not(.collapsed)::after {
  opacity: 1;
}

.subscription-faq .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.subscription-faq .accordion-body {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  color: rgba(210, 215, 220, 0.82);
  line-height: 1.65;
}

.subscription-faq .accordion-body a {
  color: #ffd05f;
  text-decoration: none;
}

.subscription-faq .accordion-body a:hover {
  color: #ffe193;
  text-decoration: underline;
}

.subscription-faq .accordion-body strong {
  color: rgba(228, 230, 225, 0.95);
}

.switch-account-effects {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(232, 236, 243, 0.9);
}

.switch-account-effects li {
  margin-bottom: 0.35rem;
}

/* Navbar Desktop Fixes */
@media (min-width: 992px) {
    /* Keep nav items centered on desktop */
    .navbar-nav.align-items-center {
        align-items: center !important;
    }

    /* Ensure dropdowns work properly */
    .dropdown-menu {
        position: absolute !important;
    }
}

/* Navbar Mobile Responsiveness */
@media (max-width: 991.98px) {
    /* Stack items vertically on mobile */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .site-navbar .navbar-collapse {
        margin-top: 0.85rem;
        padding: 0.95rem 1rem 1.05rem;
        border: 1px solid rgba(255, 215, 120, 0.14);
        border-radius: 20px;
        background:
            linear-gradient(180deg, rgba(23, 30, 38, 0.9), rgba(17, 23, 31, 0.84)),
            radial-gradient(circle at top left, rgba(255, 215, 120, 0.08), transparent 42%);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(18px) saturate(135%);
        -webkit-backdrop-filter: blur(18px) saturate(135%);
    }

    /* Remove center alignment on mobile for nav items */
    .navbar-nav.align-items-center {
        align-items: flex-start !important;
    }

    /* Add spacing between mobile nav items */
    .navbar-nav .nav-item {
        width: 100%;
    }

    /* Make nav links more touch-friendly */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
    }

    /* Full width dropdowns on mobile */
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        border: 0;
        box-shadow: none;
    }

    /* Improve dropdown items spacing */
    .dropdown-item {
        padding: 0.75rem 1rem;
    }

    .navbar-modern-dropdown {
        margin-top: 0.35rem;
        border: 1px solid rgba(255, 215, 0, 0.2);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    }

    .navbar-cta-btn {
        justify-content: center;
    }
}

/* Smooth transitions */
.navbar-collapse.collapsing {
    transition: height 0.3s ease;
}

/* Touch-friendly tap areas */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .dropdown-item {
        min-height: 44px;
    }
}

/* Follow Button Styles */
.btn-dark {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Following/Unfollow Button */
.btn-outline-secondary.follow-btn {
    border-color: #6c757d;
    color: #6c757d;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    min-width: 130px; /* Prevent button size jumping */
}

/* Default state - show "Following" */
.btn-outline-secondary.follow-btn .unfollow-state {
    display: none;
}

.btn-outline-secondary.follow-btn .follow-state {
    display: inline-block;
}

/* Hover state - show "Unfollow" */
.btn-outline-secondary.follow-btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-outline-secondary.follow-btn:hover .follow-state {
    display: none;
}

.btn-outline-secondary.follow-btn:hover .unfollow-state {
    display: inline-block;
}

/* Private track indicator positioning */
.card {
    position: relative;
}

.private-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffc107;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background-color: #ff4d4d;
    border-radius: 50%;
    border: 1px solid #212529;
    display: block;
    z-index: 100;
}

/* Fix for Browse icon clipping */
.nav-link svg {
    flex-shrink: 0;
    margin-right: 0.25rem;
}

@media (max-width: 1199.98px) {
    .catalog-page-shell {
        padding-top: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .catalog-page-shell {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(165deg, rgba(33, 40, 51, 0.98), rgba(20, 24, 32, 0.98));
  border-top: 1px solid rgba(255, 214, 123, 0.24);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.2rem;
}

.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  color: rgba(225, 229, 235, 0.92);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-consent-link {
  color: #ffe39e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cookie-consent-link:hover {
  color: #fff3d3;
}

.cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #261e03;
  background: linear-gradient(135deg, #ffde7a, #f6b93a);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.cookie-consent-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
}

@media (max-width: 575.98px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-consent-btn {
    width: 100%;
  }
}
