/* --------------------------------------------------
  Kollective
   Clean modern band / music style
   Bootstrap 5 compatible
-------------------------------------------------- */

/* ------------------------------
   1) Design tokens
------------------------------- */
:root{
  --bg: #222;
  --surface: #000;
  --surface-soft: #060604;
  --text: #efefef;
  --text-soft: #dddddd;
  --line: #232323;
  --line-strong: #434343;
  --accent: #eeeeee;
  --accent-soft: #e2e2e2;
  --maxw: 1240px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 8px 24px rgba(0,0,0,0.05);
  --shadow-md: 0 14px 36px rgba(0,0,0,0.08);

  --transition: 220ms ease;
}

/* ------------------------------
   2) Base
------------------------------- */
html{
  -webkit-text-size-adjust: 100%;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.container,
.container-lg,
.container-xl{
  max-width: var(--maxw) !important;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover{
  color: var(--accent-soft);
  text-decoration: none;
}

p{
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.lead{
  font-size: 1.15rem;
  color: var(--text-soft);
}

/* ------------------------------
   3) Typography
------------------------------- */
h1,h2,h3,h4,h5,h6{
  color: var(--text);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1{
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  margin-bottom: 0.9rem;
}

h2{
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  margin-bottom: 0.8rem;
}

h3{
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.small,
small{
  color: var(--text-soft);
}

/* ------------------------------
   4) Header / nav
------------------------------- */
header.border-bottom{
  border-bottom: 1px solid var(--line) !important;
  background: rgba(252,252,251,0.92);
  backdrop-filter: blur(10px);
}

.navbar{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand{
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text) !important;
}

.navbar .nav-link{
  color: var(--text) !important;
  padding: 0.4rem 0.8rem !important;
  font-size: 0.96rem;
}

.navbar .nav-link:hover{
  color: var(--text-soft) !important;
}

.navbar .nav-link.active{
  color: var(--text) !important;
  font-weight: 600;
}

.navbar-toggler{
  border-color: var(--line-strong) !important;
}

/* ------------------------------
   5) Buttons
------------------------------- */
.btn{
  border-radius: 999px;
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.btn:hover{
  transform: translateY(-1px);
}

.btn-primary{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.btn-primary:hover{
  background: #000 !important;
  border-color: #000 !important;
}

.btn-outline-primary{
  border-color: var(--line-strong) !important;
  color: var(--text) !important;
  background: transparent !important;
}

.btn-outline-primary:hover{
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #fff !important;
}

.btn-light{
  background: #fff !important;
  color: var(--text) !important;
  border-color: #fff !important;
}

.btn-outline-light{
  border-color: rgba(255,255,255,0.65) !important;
  color: #fff !important;
}

/* ------------------------------
   6) Cards
------------------------------- */
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.card.border-0{
  border: 0 !important;
}

.shadow-sm{
  box-shadow: var(--shadow-sm) !important;
}

/* ------------------------------
   7) Hero
------------------------------- */
.hero-section{
  min-height: 72vh;
  background:
    linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)),
    url('/images/hero/home-hero.jpg') center center / cover no-repeat;
}

.hero-section h1,
.hero-section p{
  color: #fff;
}

/* ------------------------------
   8) Featured photography
------------------------------- */
.feature-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.feature-link{
  display: block;
  overflow: hidden;
}

.feature-image{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 320ms ease;
}

.feature-link:hover .feature-image{
  transform: scale(1.02);
}

/* ------------------------------
   9) Photo platform cards
------------------------------- */
.photo-platforms{
  background: transparent;
}

.platform-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.platform-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  color: var(--text);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.platform-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.platform-logo{
  height: 34px;
  width: auto;
  margin: 0 auto 16px auto;
}

.platform-number{
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.platform-label{
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.platform-stats{
  margin-bottom: 6px;
}

@media (max-width: 768px){
  .platform-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ------------------------------
   10) Gallery filters
------------------------------- */
.gallery-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
}

.filter-group{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-pill{
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.filter-pill:hover{
  border-color: var(--text);
}

.filter-pill.is-active{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.filter-select-form{
  min-width: 240px;
}

/* ------------------------------
   11) Gallery main image
------------------------------- */
.gallery-main{
  overflow: hidden;
}

.gallery-stage{
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-main-image{
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: var(--surface-soft);
  opacity: 1;
  transition: opacity .35s ease;
}

.gallery-main-image.is-loading{
  opacity: 0;
}

.gallery-meta p:empty{
  display: none;
}

/* ------------------------------
   12) Gallery thumbs
------------------------------- */
.gallery-thumbs{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.thumb-button{
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.thumb-button:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.thumb-button.is-active{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.gallery-thumb-image{
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767.98px){
  .gallery-filters{
    align-items: stretch;
  }

  .filter-select-form{
    width: 100%;
    min-width: 0;
  }

  .gallery-main-image{
    max-height: 52vh;
  }
}

/* ------------------------------
   13) Forms
------------------------------- */
label{
  font-weight: 500;
  color: var(--text);
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="email"],
input[type="search"]{
  border: 1px solid var(--line-strong) !important;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus{
  border-color: #b8b8b1 !important;
  box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.04) !important;
}

/* ------------------------------
   14) Admin
------------------------------- */
.table td,
.table th{
  vertical-align: middle;
}

.admin-thumb-preview{
  max-width: 90px;
  height: auto;
  display: block;
}

.admin-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ------------------------------
   15) Footer
------------------------------- */
.site-footer{
  background: transparent;
  border-top: 1px solid var(--line);
}

.footer-social{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-social a{
  flex: 0 0 auto;
}

.footer-icon{
  height: 26px;
  width: auto;
  opacity: 0.82;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-icon:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.footer-links{
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-links a{
  color: var(--text-soft);
}

.footer-links a:hover{
  color: var(--text);
}

/* ------------------------------
   16) Utilities
------------------------------- */
.music-strip{
  background: var(--surface-soft);
}

hr{
  border: 0;
  border-top: 1px solid var(--line);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------
   17) Premium spacing / section rhythm
------------------------------- */
section{
  position: relative;
}

.section-tight{
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-standard{
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-large{
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (max-width: 767.98px){
  .section-tight{
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-standard{
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-large{
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ------------------------------
   18) Hero refinements
------------------------------- */
.hero-section{
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.hero-section .container-lg{
  max-width: 980px !important;
}

.hero-kicker{
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

.hero-section h1{
  max-width: 10ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .lead{
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.88);
  font-size: 1.18rem;
}

.hero-actions{
  margin-top: 2rem;
}

/* ------------------------------
   19) Homepage section headings
------------------------------- */
.section-heading{
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2{
  margin-bottom: 0.6rem;
}

.section-heading p{
  margin-bottom: 0;
  font-size: 1.02rem;
}

/* ------------------------------
   20) Featured photography cards
------------------------------- */
.feature-card{
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.09);
  border-color: var(--line-strong);
}

.feature-card .p-3{
  padding: 1.1rem 1.15rem 1.2rem 1.15rem !important;
}

.feature-card h3{
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-card .small{
  line-height: 1.55;
}

/* ------------------------------
   21) Gallery refinements
------------------------------- */
.gallery-main{
  border-radius: var(--radius-lg);
}

.gallery-stage{
  min-height: 360px;
}

.gallery-meta{
  padding-top: 0.2rem;
}

.gallery-meta h2{
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.gallery-meta .small{
  letter-spacing: 0.01em;
}

.gallery-thumbs{
  margin-top: 1.25rem;
}

.thumb-button{
  border-radius: 14px;
}

.thumb-button.is-active{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ------------------------------
   22) Photo list / admin polish
------------------------------- */
.card-body{
  padding: 1.4rem;
}

@media (min-width: 992px){
  .card-body{
    padding: 1.6rem;
  }
}

/* ------------------------------
   23) Footer refinement
------------------------------- */
.site-footer{
  margin-top: 3rem;
  padding-top: 0.5rem;
}

.footer-links{
  padding-top: 0.2rem;
}

/* ------------------------------
   24) Subtle page width tightening for reading sections
------------------------------- */
.narrow-content{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}


/* ------------------------------
   25) Masonry-style gallery cards
------------------------------- */
.gallery-masonry{
  column-count: 3;
  column-gap: 1rem;
}

.gallery-masonry-item{
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-masonry-link{
  display: block;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-masonry-link:hover{
  box-shadow: var(--shadow-md);
}

.gallery-masonry-image{
  width: 100%;
  height: auto;
  display: block;
}

.gallery-masonry-meta{
  padding: 0.9rem 1rem 1rem;
}

@media (max-width: 991.98px){
  .gallery-masonry{
    column-count: 2;
  }
}

@media (max-width: 575.98px){
  .gallery-masonry{
    column-count: 1;
  }
}

/* ------------------------------
   26) Gallery main nav buttons
------------------------------- */
.gallery-main-wrap{
  position: relative;
}

.gallery-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition);
}

.gallery-nav:hover{
  background: #fff;
  transform: translateY(-50%) scale(1.03);
}

.gallery-nav-prev{
  left: 14px;
}

.gallery-nav-next{
  right: 14px;
}

/* ------------------------------
   27) Lightbox
------------------------------- */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open{
  display: flex;
}

.lightbox-inner{
  position: relative;
  width: min(95vw, 1400px);
  height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{
  background: rgba(255,255,255,0.22);
  transform: scale(1.04);
}

.lightbox-close{
  top: -12px;
  right: -12px;
}

.lightbox-prev{
  left: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next{
  right: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3.2rem;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

@media (max-width: 767.98px){
  .lightbox{
    padding: 1rem;
  }

  .lightbox-inner{
    width: 100%;
    height: 100%;
  }

  .lightbox-prev{
    left: 8px;
  }

  .lightbox-next{
    right: 8px;
  }

  .lightbox-close{
    top: 8px;
    right: 8px;
  }

  .lightbox-caption{
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
}

/* ------------------------------
   28) Bespoke music strip
------------------------------- */
.music-showcase{
  background: linear-gradient(180deg, var(--surface-soft), transparent);
}

.music-panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.music-kicker{
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.music-quote{
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1rem;
}

.music-meta{
  color: var(--text-soft);
  max-width: 38rem;
}

/* ------------------------------
   29) Music tiles
------------------------------- */
.music-tile-card{
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.music-tile-card.is-current{
  box-shadow: 0 0 0 3px rgba(188, 197, 207, 0.45), 0 10px 24px rgba(148, 157, 170, 0.22);
  border-color: rgba(188, 197, 207, 0.65);
  transform: translateY(-2px);
}

.music-tile-media{
  position: relative;
}

.music-tile-trigger{
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.music-tile-image-wrap{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-soft);
}

.music-tile-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.music-tile-trigger:hover .music-tile-image{
  transform: scale(1.03);
}

.music-tile-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.34);
}

.music-tile-title{
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.music-download-btn{
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.music-tile-media:hover .music-download-btn,
.music-tile-media:focus-within .music-download-btn{
  opacity: 1;
  transform: translateY(0);
}

.music-tile-body{
  padding: 1.25rem;
}

.music-tile-category{
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.music-tile-description{
  color: var(--text-soft);
  line-height: 1.6;
}

/* ------------------------------
   30) Music player controls
------------------------------- */
/* ============================================
  Music Page Controls
   ============================================ */
.music-page-controls{
  display:flex;
  justify-content:center;
  margin-bottom:2rem;
}

.music-player-shell{
  width:100%;
  max-width:1100px;
  display:grid;
  grid-template-columns:minmax(220px, 1fr) minmax(320px, 520px) minmax(180px, 1fr);
  align-items:center;
  gap:1.25rem;
  padding:1rem 1.25rem;
  border-radius:20px;
  background:#f7f8fa;
  border:1px solid #e3e7ec;
  box-shadow:0 10px 28px rgba(18, 24, 32, 0.08);
}

.music-player-left{
  display:flex;
  align-items:center;
  gap:0.9rem;
  min-width:0;
}

.music-player-centre{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.6rem;
}

.music-player-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.music-transport-row{
  display:flex;
  align-items:center;
  gap:0.7rem;
}

.music-player-btn{
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#596272;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.music-player-btn:hover,
.music-player-btn:focus{
  background:#e9edf2;
  color:#1f2937;
  outline:none;
}

.music-player-btn-ghost{
  width:36px;
  height:36px;
}

.music-player-main{
  width:48px;
  height:48px;
  background:#111827;
  color:#fff;
  box-shadow:0 8px 18px rgba(17, 24, 39, 0.18);
}

.music-player-main:hover,
.music-player-main:focus{
  background:#0b1220;
  color:#fff;
  transform:scale(1.04);
}

.music-player-btn-stop{
  width:34px;
  height:34px;
  color:#7b8491;
}

.music-player-icon{
  width:18px;
  height:18px;
  display:block;
}

.music-player-icon-main{
  width:22px;
  height:22px;
}

.music-now-playing-art{
  width:56px;
  height:56px;
  border-radius:12px;
  overflow:hidden;
  flex:0 0 auto;
  background:#eef2f6;
  border:1px solid #dde3ea;
}

.music-now-playing-art-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.music-now-playing{
  min-width:0;
}

.music-now-playing-label{
  margin:0 0 0.2rem;
  font-size:0.7rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#7b8491;
}

.music-now-playing-title{
  margin:0;
  font-size:0.96rem;
  font-weight:600;
  color:#111827;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.music-progress-row{
  width:100%;
  display:grid;
  grid-template-columns:44px 1fr 44px;
  align-items:center;
  gap:0.65rem;
}

.music-progress-wrap{
  width:100%;
}

.music-progress-bar{
  width:100%;
  height:4px;
  border-radius:999px;
  background:#d7dde5;
  overflow:hidden;
}

.music-progress-fill{
  width:0%;
  height:100%;
  background:#111827;
  transition:width 0.1s linear;
}

.music-progress-time-value{
  font-size:0.73rem;
  color:#7b8491;
  text-align:center;
}

.music-volume-wrap{
  display:flex;
  align-items:center;
  gap:0.55rem;
}

.music-volume-label{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  margin:0;
}

.music-volume-slider{
  width:110px;
  accent-color:#111827;
  cursor:pointer;
}

.music-volume-value{
  min-width:2.6rem;
  font-size:0.74rem;
  color:#7b8491;
  text-align:right;
}

@media (max-width: 991.98px){
  .music-player-shell{
    grid-template-columns:1fr;
    justify-items:center;
  }

  .music-player-left,
  .music-player-right{
    width:100%;
    justify-content:center;
  }

  .music-player-centre{
    width:100%;
    max-width:520px;
  }

  .music-now-playing{
    text-align:left;
  }
}

@media (max-width: 575.98px){
  .music-progress-row{
    grid-template-columns:40px 1fr 40px;
    gap:0.45rem;
  }

  .music-volume-slider{
    width:140px;
  }

  .music-now-playing-art{
    width:52px;
    height:52px;
  }
}

body.band-area {
    background: #f6f7f9;
    color: #222;
}

body.band-area .navbar {
    background: #111 !important;
    border-bottom: 1px solid #222;
}

body.band-area .navbar-brand,
body.band-area .navbar .nav-link,
body.band-area .navbar .navbar-text {
    color: #fff !important;
}

body.band-area .navbar .nav-link:hover,
body.band-area .navbar .nav-link:focus {
    color: #d6d6d6 !important;
}

body.band-area main {
    background: transparent;
    color: #222;
}

body.band-area .card {
    background: #fff;
    color: #222;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
}

body.band-area .card-body {
    padding: 1.4rem;
}

body.band-area .table {
    background: #fff;
    color: #222;
    margin-bottom: 0;
}

body.band-area .table thead th {
    background: #fafafa;
    color: #666;
    border-bottom: 2px solid #ddd;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.band-area .table tbody tr:hover {
    background: #f8f9fa;
}

body.band-area .band-page-title {
    font-weight: 700;
    color: #111;
}

body.band-area .band-subtitle {
    color: #666;
}

body.band-area .band-song-title {
    font-weight: 600;
    color: #111;
}

body.band-area .band-song-meta {
    font-size: 0.85rem;
    color: #777;
}

body.band-area .band-score {
    font-weight: 600;
}

body.band-area .band-score-high {
    color: #1f8a2c;
}

body.band-area .band-score-mid {
    color: #b77900;
}

body.band-area .band-score-low {
    color: #b42318;
}

body.band-area .btn-dark {
    background: #111;
    border-color: #111;
}

body.band-area .btn-dark:hover,
body.band-area .btn-dark:focus {
    background: #222;
    border-color: #222;
}

body.band-area .form-control,
body.band-area .form-select {
    border-radius: 8px;
}

body.band-area textarea.form-control {
    resize: vertical;
}

.drag-handle {
    width: 24px;
    text-align: center;
    color: #777;
    user-select: none;
}

.drag-handle:hover {
    color: #111;
}

/* Tempo badges */

.band-tempo-badge {
    display: inline-block;
    min-width: 56px;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.band-tempo-slow {
    background: #dbeafe;
    color: #1d4ed8;
}

.band-tempo-mid {
    background: #dcfce7;
    color: #15803d;
}

.band-tempo-fast {
    background: #fef3c7;
    color: #b45309;
}

.band-tempo-high {
    background: #fee2e2;
    color: #b91c1c;
}

.band-tempo-unknown {
    background: #e5e7eb;
    color: #4b5563;
}

/* Energy curve */

.band-energy-card {
    overflow: hidden;
}

.band-energy-wrap {
    padding: 1rem 1.25rem 1.25rem;
}

.band-energy-svg {
    width: 100%;
    height: 240px;
    display: block;
    background: linear-gradient(to top, #fafafa 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.band-energy-axis,
.band-energy-grid {
    stroke: #d1d5db;
    stroke-width: 1;
}

.band-energy-line {
    fill: none;
    stroke: #111827;
    stroke-width: 3;
}

.band-energy-point {
    fill: #111827;
}

.band-energy-label {
    font-size: 12px;
    fill: #6b7280;
}

.band-energy-title {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.band-energy-subtitle {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.band-song-title a {
    color: inherit;
}

.band-song-title a:hover,
.band-song-title a:focus {
    text-decoration: underline !important;
}

.footer-social {
  flex-wrap: nowrap; /* prevents stacking */
}

.social-link {
  width: 48px;
  height: 48px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
   filter: invert(1) brightness(1.2);
}

.social-link:hover .footer-icon {
  transform: scale(1.15);
  opacity: 0.85;
  filter: invert(1) brightness(1.4);
}

