/* ===== Header: black background, white text/icons, 1px white bottom line ===== */
#sp-header,
#sp-header .sppb-section {
  background: #000 !important;
}
#sp-header { color: #fff; }
/* 1px white line along the bottom of the header. Drawn on the page-builder section
   (it's taller than #sp-header on mobile). z-index 0 keeps it BELOW the slide-out menu
   and any dropdowns, which live inside the section's content layer (z-index 3). */
#sp-header .sppb-section { position: relative; }
#sp-header .sppb-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #fff;
  z-index: 0;
  pointer-events: none;
}

/* Desktop menu: white text + white outline */
#sp-header ul.mod-menu.mod-list.menu > li > a,
#sp-header ul.mod-menu.mod-list.menu > li > span {
  color: #fff !important;
  border-color: #fff !important;
}
/* Current page: inverted (white box, black text) so it still stands out */
#sp-header ul.mod-menu.mod-list.menu > li.active > a,
#sp-header ul.mod-menu.mod-list.menu > li.current > a {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}
/* Hover keeps the brand green */
#sp-header ul.mod-menu.mod-list.menu > li > a:hover,
#sp-header ul.mod-menu.mod-list.menu > li.active > a:hover,
#sp-header ul.mod-menu.mod-list.menu > li.current > a:hover {
  background: #008a0c !important;
  border-color: #008a0c !important;
  color: #fff !important;
}

/* Streaming/social icons */
#sp-header .sppb-addon-icons-group a,
#sp-header .sppb-addon-icons-group a i,
#sp-header .sppb-addon-icons-group .sppb-icons-label-text {
  color: #fff !important;
}
#sp-header .sppb-addon-icons-group a:hover,
#sp-header .sppb-addon-icons-group a:hover i {
  color: #008a0c !important;
}

/* Mobile "MENU" toggle */
#sp-header .rb-mobile-nav-label { color: #fff !important; }
#sp-header .rb-mobile-nav-lines span { background: #fff !important; }

/* Slide-out menu (mobile/tablet): solid black, thin white edge, sits above the header line */
#sp-header .rb-panel {
  background: #000 !important;
  border-left: 1px solid #fff;
}
/* Desktop dropdowns, if you ever add sub-menu items */
#sp-header ul.mod-menu.mod-list.menu > li > ul {
  background: #000 !important;
  z-index: 1000;
}


/* =====================================================================
   BEAT LISTS (used by js/custom.js) — store grid + members vault
   Wrap with <div class="rb-shop" data-rb-beats="store|vault">
   ===================================================================== */
@keyframes rbw { from { height: 4px; } to { height: 16px; } }
.rb-shop { font-family: inherit; }
.rb-shop .rb-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.rb-shop .rb-filter { background: transparent; border: 0.5px solid #444; color: #aaa; padding: 6px 16px; border-radius: 20px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.rb-shop .rb-filter.active, .rb-shop .rb-filter:hover { border-color: #c8a84b; color: #c8a84b; }
.rb-shop .rb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.rb-shop .rb-card { background: #222222; border: 0.5px solid #2a2a2a; border-radius: 12px; overflow: hidden; transition: border-color 0.2s; }
.rb-shop .rb-card:hover { border-color: #555; }
.rb-shop .rb-card.rb-playing { border-color: #c8a84b !important; }
.rb-shop .rb-card-img { position: relative; height: 220px; overflow: hidden; background: #1a1a1a; }
.rb-shop .rb-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.3s; }
.rb-shop .rb-card:hover .rb-card-img img { transform: scale(1.04); }
.rb-shop .rb-play-btn { position: absolute; bottom: 10px; right: 10px; width: 38px; height: 38px; background: #c8a84b; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 2; transition: transform 0.15s, background 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.5); padding: 0; }
.rb-shop .rb-play-btn:hover { transform: scale(1.1); }
.rb-shop .rb-play-btn.rb-active { background: #fff; }
.rb-shop .rb-mini { display: none; padding: 10px 14px; background: #1a1a1a; border-top: 0.5px solid #222; }
.rb-shop .rb-mini.rb-on { display: block; }
.rb-shop .rb-mini-lbl { font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.rb-shop .rb-prog-wrap { height: 4px; background: #2a2a2a; border-radius: 2px; cursor: pointer; margin-bottom: 8px; }
.rb-shop .rb-prog-bar { height: 4px; background: #c8a84b; border-radius: 2px; width: 0%; }
.rb-shop .rb-ctrl { display: flex; align-items: center; justify-content: space-between; }
.rb-shop .rb-time { font-size: 10px; color: #777; min-width: 75px; }
.rb-shop .rb-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.rb-shop .rb-wave span { display: inline-block; width: 2px; background: #c8a84b; border-radius: 1px; height: 4px; }
.rb-shop .rb-playing .rb-wave span { animation: rbw 0.7s ease-in-out infinite alternate; }
.rb-shop .rb-playing .rb-wave span:nth-child(2) { animation-delay: 0.1s; }
.rb-shop .rb-playing .rb-wave span:nth-child(3) { animation-delay: 0.2s; }
.rb-shop .rb-playing .rb-wave span:nth-child(4) { animation-delay: 0.3s; }
.rb-shop .rb-playing .rb-wave span:nth-child(5) { animation-delay: 0.15s; }
.rb-shop .rb-card-body { padding: 14px; }
.rb-shop .rb-card-title { font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.rb-shop .rb-card-price { font-size: 17px; color: #c8a84b; font-weight: 600; margin: 0 0 14px; }
.rb-shop .rb-card-footer { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.rb-shop .rb-lic-btn { background: transparent; border: 0.5px solid #c8a84b; color: #c8a84b; font-size: 13px; font-weight: 600; padding: 9px 12px; border-radius: 4px; text-decoration: none; display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; white-space: nowrap; transition: all 0.2s; text-transform: uppercase; letter-spacing: 1px; }
.rb-shop .rb-lic-btn:hover { background: #c8a84b; color: #1a1200; text-decoration: none; }
.rb-shop .rb-dl-btn { background: transparent; border: 0.5px solid #555; color: #aaa; font-size: 12px; padding: 9px 10px; border-radius: 4px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; box-sizing: border-box; white-space: nowrap; transition: all 0.2s; }
.rb-shop .rb-dl-btn:hover { border-color: #008a0c; color: #008a0c; text-decoration: none; }
.rb-shop .rb-free .rb-dl-btn { border-color: #008a0c; color: #fff; background: #008a0c; }
.rb-shop .rb-free .rb-dl-btn:hover { background: #00a50f; color: #fff; }
.rb-shop .rb-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: #008a0c; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.rb-shop .rb-loading, .rb-shop .rb-empty { text-align: center; padding: 3rem; color: #777; font-size: 17px; grid-column: 1 / -1; }

.rb-shop .rb-ask { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; color: #666; padding-top: 2px; }
.rb-shop .rb-ask a { color: #b9a6f5; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; }
.rb-shop .rb-ask a:hover { color: #fff; text-decoration: underline; }

.rb-shop a.rb-card { display: block; text-decoration: none; color: inherit; }
.rb-shop .rb-locked { opacity: .55; transition: opacity .2s, border-color .2s; }
.rb-shop .rb-locked .rb-card-img img { filter: grayscale(1) brightness(.75); }
.rb-shop .rb-locked:hover { opacity: .9; border-color: #c8a84b; }
.rb-shop .rb-locked .rb-play-btn { background: #777; cursor: pointer; }
.rb-shop .rb-locked .rb-card-price { color: #999; }
.rb-shop .rb-badge-lock { background: #555; }
.rb-shop .rb-join-btn { border-color: #777; color: #ccc; }
.rb-shop .rb-locked:hover .rb-join-btn { background: #c8a84b; border-color: #c8a84b; color: #1a1200; }

/* Homepage hero beat list extras */
.rb-beat-link { font-size: 11px; color: rgba(245,243,239,0.5); text-decoration: underline; letter-spacing: 1px; }
.rb-beat-link:hover { color: #c8a84b; }
.rb-beat-empty { color: rgba(245,243,239,0.4); font-size: 14px; text-align: center; padding: 20px 0; }
.rb-beat-empty a { color: #c8a84b; }

/* =====================================================================
   MEMBER PAGES (Login, Registration, Reset/Remind password, Profile)
   Joomla's own user pages — not built in SP Page Builder.
   ===================================================================== */
/* Let the header take its real height so the form isn't hidden under it */
body.com-users #sp-header { height: auto !important; }
body.com-users #sp-main-body { padding: 48px 0 80px; }
body.com-users #sp-component { max-width: 560px; margin: 0 auto; }

/* Light text on the dark background */
body.com-users #sp-component,
body.com-users #sp-component p,
body.com-users #sp-component label,
body.com-users #sp-component legend,
body.com-users #sp-component .form-text,
body.com-users #sp-component .spacer,
body.com-users #sp-component li { color: #e8e6e1; }
body.com-users #sp-component h1,
body.com-users #sp-component h2,
body.com-users #sp-component legend {
  color: #fff; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 24px; margin-bottom: 16px;
}
body.com-users #sp-component .star { color: #c8a84b; }
body.com-users #sp-component .form-text, body.com-users #sp-component .small { color: #b5b2ab; }
body.com-users #sp-component a { color: #c8a84b; }
body.com-users #sp-component a:hover { color: #fff; }
body.com-users #sp-component .form-control {
  background: #fff; color: #111; border: 1px solid #444; min-height: 44px; font-size: 16px;
}
body.com-users #sp-component .form-control:focus { border-color: #c8a84b; box-shadow: 0 0 0 2px rgba(200,168,75,.35); }
body.com-users #sp-component .btn-primary {
  background: #008a0c; border-color: #008a0c; color: #fff; padding: 10px 28px; font-weight: 600; letter-spacing: 1px;
}
body.com-users #sp-component .btn-primary:hover { background: #00a50f; border-color: #00a50f; }
body.com-users #sp-component .com-users-login__options,
body.com-users #sp-component .list-group { margin-top: 20px; }
body.com-users #sp-component .list-group-item { background: transparent; border-color: #333; color: #c8a84b; }
body.com-users #sp-component .list-group-item:hover { background: #1f1f1f; color: #fff; }
body.com-users joomla-alert, body.com-users .alert { color: #111; }


/* Member pages: artwork + form side by side (layout built by js/custom.js) */
body.view-registration #sp-component,
body.view-login #sp-component { max-width: 1040px !important; }
body.com-users .rb-member-row { align-items: center; row-gap: 24px; }
body.com-users .rb-member-art { display: flex; align-items: flex-end; gap: 20px; flex: 0 0 42%; max-width: 42%; padding: 0 12px; }
body.com-users .rb-member-art img { width: 48%; max-width: 260px; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
body.com-users .rb-member-pitch { flex: 1; padding-bottom: 24px; }
body.com-users .rb-member-pitch h2 { color: #fff; font-size: 32px; line-height: 1.1; margin: 4px 0 12px; text-transform: none; letter-spacing: 0; }
body.com-users .rb-member-eyebrow { color: #c8a84b !important; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin: 0; font-weight: 700; }
body.com-users .rb-member-pitch ul { list-style: none; padding: 0; margin: 0; }
body.com-users .rb-member-pitch li { padding-left: 22px; position: relative; margin-bottom: 8px; color: #e8e6e1; }
body.com-users .rb-member-pitch li::before { content: "\2713"; position: absolute; left: 0; color: #008a0c; font-weight: 700; }
body.com-users .rb-member-cta { display: inline-block; background: #008a0c; color: #fff !important; padding: 10px 22px; border-radius: 4px; font-weight: 600; text-decoration: none; }
body.com-users .rb-member-form { flex: 1 1 0; max-width: none !important; width: auto; }
body.com-users .rb-member-switch { margin-top: 18px; color: #e8e6e1; }
body.com-users .rb-member-switch a { font-weight: 700; }
@media (max-width: 767px) {
  body.com-users .rb-member-row { flex-direction: column; }
  body.com-users .rb-member-art { flex: none; max-width: 100%; width: 100%; }
  body.com-users .rb-member-art img { width: 30%; max-width: 120px; }
  body.com-users .rb-member-pitch h2 { font-size: 26px; }
  body.com-users .rb-member-form { width: 100%; }
}
