/*
Theme Name: Durbeen Bangla Music
Theme URI: https://music.fyben.com
Author: Imran Hossen
Description: Official one-page artist/label site for Durbeen বাংলা.
Version: 1.0
Text Domain: durbeen-bangla-music
*/

/* ============ Tokens ============ */
:root{
  --bg: #130f0e;
  --bg-soft: #1c1613;
  --bg-soft-2: #241b17;
  --line: rgba(243,236,225,0.10);
  --line-strong: rgba(243,236,225,0.18);
  --red: #e0392c;
  --red-deep: #9c2620;
  --cream: #f3ece1;
  --muted: #b6a99a;
  --muted-2: #8a7c6e;
  --gold: #e0a944;

  --display: "Baloo Da 2", "Hind Siliguri", sans-serif;
  --body: "Hind Siliguri", sans-serif;
  --label: "Poppins", sans-serif;

  --maxw: 1080px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--cream);
  font-family:var(--body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
/* subtle film-grain texture over everything */
body::before{
  content:"";
  position:fixed;inset:0;
  pointer-events:none;
  z-index:1;
  opacity:0.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.nav-open{overflow:hidden;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
:focus-visible{outline:2px solid var(--red);outline-offset:3px;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important;transition-duration:0.01ms !important;scroll-behavior:auto !important;}
}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;}

.eyebrow{
  font-family:var(--label);
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--red);
  font-weight:600;
}

h1,h2,h3{font-family:var(--display);font-weight:700;margin:0;color:var(--cream);}

/* ============ Journey line signature ============ */
/* A dotted vertical line with reticle "stops" runs behind each section,
   echoing the dotted circle + telescope in the Durbeen logo and the
   travel/homecoming theme running through the songs. */
.journey{position:relative;}
.journey::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:1px;
  background-image:linear-gradient(var(--line-strong) 45%, transparent 0%);
  background-size:2px 14px;
  background-repeat:repeat-y;
  transform:translateX(-50%);
  opacity:0.5;
  pointer-events:none;
}
.stop{
  position:relative;
  z-index:2;
  width:14px;height:14px;
  margin:0 auto 18px;
  border-radius:50%;
  border:1px solid var(--red);
}
.stop::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:var(--red);
}

/* ============ Header ============ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(19,15,14,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:14px;padding-bottom:14px;
}
.brand{display:flex;align-items:center;gap:10px;}
.brand img,.custom-logo-link img{width:36px;height:36px;border-radius:50%;object-fit:cover;}
.brand span{font-family:var(--display);font-weight:700;font-size:19px;letter-spacing:0.01em;}
.nav{display:flex;gap:26px;}
.nav a{
  font-family:var(--label);font-size:13px;letter-spacing:0.06em;
  text-transform:uppercase;color:var(--muted);font-weight:500;
}
.nav a:hover{color:var(--red);}
@media (max-width:640px){.nav a{font-size:11px;}}

.header-actions{display:flex;align-items:center;gap:14px;}
.btn-small{padding:9px 16px;font-size:11px;}
.listen-cta{display:inline-flex;}

.nav-toggle{
  display:none;
  flex-direction:column;justify-content:center;gap:4px;
  width:34px;height:34px;
  background:none;border:1px solid var(--line-strong);border-radius:8px;
  cursor:pointer;
}
.nav-toggle span{display:block;width:16px;height:1.5px;background:var(--cream);margin:0 auto;transition:transform .2s, opacity .2s;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(5.5px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg);}

@media (max-width:820px){
  .listen-cta{display:none;}
  .nav-toggle{display:flex;}
  .nav{
    position:fixed;inset:0 0 0 auto;
    width:78vw;max-width:320px;
    background:var(--bg-soft);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:90px 28px 28px;
    transform:translateX(100%);
    transition:transform .28s ease;
    z-index:60;
    border-left:1px solid var(--line-strong);
  }
  .nav.open{transform:translateX(0);}
  .nav a{padding:14px 0;width:100%;border-bottom:1px solid var(--line);font-size:14px;}
}

/* ============ Hero ============ */
.hero{
  padding:88px 0 70px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-160px;right:-160px;
  width:420px;height:420px;
  border-radius:50%;
  border:1px dashed var(--line-strong);
}
.hero::after{
  content:"";
  position:absolute;
  top:-100px;right:-100px;
  width:300px;height:300px;
  border-radius:50%;
  border:1px dashed var(--line-strong);
}
.hero-grid{
  display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center;position:relative;z-index:1;
}
@media (max-width:820px){.hero-grid{grid-template-columns:1fr;}}
.hero h1{
  font-size:clamp(40px,6vw,64px);
  line-height:1.05;
  margin-top:14px;
}
.hero h1 em{color:var(--red);font-style:normal;}
.hero p.lede{
  color:var(--muted);
  font-size:18px;
  max-width:46ch;
  margin-top:18px;
}
.hero-cta{display:flex;gap:14px;margin-top:30px;flex-wrap:wrap;}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--label);font-size:13px;font-weight:600;
  letter-spacing:0.04em;text-transform:uppercase;
  padding:13px 22px;border-radius:999px;
  border:1px solid var(--line-strong);
  transition:border-color .2s, background .2s, color .2s;
}
.btn-primary{background:var(--red);border-color:var(--red);color:#160908;}
.btn-primary:hover{background:#c92e22;}
.btn-ghost:hover{border-color:var(--red);color:var(--red);}

.hero-photo{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line-strong);
  aspect-ratio:4/5;
}
.hero-photo img{width:100%;height:100%;object-fit:cover;}
.hero-photo .ring{
  position:absolute;inset:14px;
  border:1px dashed rgba(243,236,225,0.35);
  border-radius:10px;
  pointer-events:none;
}

/* ============ Section shell ============ */
section{padding:64px 0;}
.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 44px;
}
.section-head h2{font-size:clamp(28px,4vw,38px);margin-top:10px;}
.section-head p{color:var(--muted);margin-top:12px;}

/* ============ About ============ */
.about-grid{
  display:grid;grid-template-columns:0.9fr 1.1fr;gap:52px;align-items:center;
}
@media (max-width:820px){.about-grid{grid-template-columns:1fr;}}
.about-photo{
  border-radius:16px;overflow:hidden;border:1px solid var(--line-strong);
}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.about-copy h2{font-size:clamp(26px,3.6vw,34px);margin-top:10px;}
.about-copy p{color:var(--muted);margin-top:16px;}
.about-facts{
  display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:28px;
}
.fact{
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
  background:var(--bg-soft);
}
.fact b{display:block;font-family:var(--display);font-size:15px;color:var(--cream);}
.fact span{font-size:13px;color:var(--muted-2);}

/* ============ Featured tracks ============ */
.feature-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
@media (max-width:900px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.feature-grid{grid-template-columns:1fr;}}
.track-card{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:var(--bg-soft);
  transition:border-color .2s, transform .2s;
}
.track-card:hover{border-color:var(--red);transform:translateY(-3px);}
.track-art{
  position:relative;aspect-ratio:1/1;
  background:linear-gradient(155deg, var(--bg-soft-2), #2a1e18);
  display:flex;align-items:center;justify-content:center;
}
.track-art img{width:56px;height:56px;border-radius:50%;opacity:0.85;}
.track-art .play-btn{
  position:absolute;inset:0;
  width:100%;height:100%;
  background:rgba(19,15,14,0.25);
  border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .2s;
}
.track-art .play-btn svg{width:52px;height:52px;fill:var(--cream);filter:drop-shadow(0 2px 10px rgba(0,0,0,.5));}
.track-card:hover .play-btn,.track-art .play-btn:focus-visible{opacity:1;}
.track-body{padding:14px 16px 16px;}
.track-title{font-family:var(--body);font-weight:600;font-size:15px;}
.track-meta{font-size:12px;color:var(--muted-2);margin-top:4px;}
.track-platforms{display:flex;gap:10px;margin-top:12px;}
.pico{
  width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line-strong);
}
.pico svg{width:13px;height:13px;fill:var(--muted);}
.pico:hover svg{fill:var(--red);}
.pico-soon{opacity:0.35;cursor:not-allowed;}
.pico-soon svg{fill:var(--muted-2);}

/* ============ Discography accordion ============ */
.album-block{
  border:1px solid var(--line);
  border-radius:14px;
  margin-bottom:16px;
  overflow:hidden;
  background:var(--bg-soft);
}
.album-block summary{
  list-style:none;
  cursor:pointer;
  padding:20px 22px;
  display:flex;align-items:center;justify-content:space-between;
  font-family:var(--display);font-size:19px;
}
.album-block summary::-webkit-details-marker{display:none;}
.album-block summary .count{
  font-family:var(--label);font-size:12px;color:var(--muted-2);font-weight:500;
}
.album-block summary::after{
  content:"+";
  font-family:var(--label);
  color:var(--red);
  font-size:20px;
  margin-left:12px;
}
.album-block[open] summary::after{content:"–";}
.song-list{
  border-top:1px solid var(--line);
  padding:8px 22px 18px;
}
.album-cta{display:flex;gap:10px;flex-wrap:wrap;padding:14px 0 6px;}
.song-row{
  display:grid;
  grid-template-columns:22px 30px 1fr auto auto;
  align-items:center;
  gap:12px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  font-size:15px;
}
.song-row:last-child{border-bottom:none;}
.song-num{font-family:var(--label);font-size:12px;color:var(--muted-2);text-align:right;}
.song-play{
  width:30px;height:30px;border-radius:50%;
  border:1px solid var(--line-strong);
  background:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.song-play svg{width:12px;height:12px;fill:var(--cream);}
.song-play:hover{border-color:var(--red);}
.song-play:hover svg{fill:var(--red);}
.song-title-text{color:var(--cream);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.song-streams{font-family:var(--label);font-size:11px;color:var(--muted-2);white-space:nowrap;}
.song-platforms{display:flex;gap:6px;}
.song-platforms .pico{width:24px;height:24px;}
.song-platforms .pico svg{width:11px;height:11px;}
@media (max-width:560px){
  .song-row{grid-template-columns:18px 26px 1fr auto;}
  .song-streams{display:none;}
}

/* ============ Platforms / socials ============ */
.platform-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
@media (max-width:820px){.platform-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.platform-grid{grid-template-columns:1fr;}}
.platform{
  display:flex;align-items:center;gap:14px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
  background:var(--bg-soft);
  transition:border-color .2s;
}
.platform:hover{border-color:var(--red);}
.platform .ic{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg-soft-2);flex-shrink:0;
}
.platform .ic svg{width:18px;height:18px;fill:var(--cream);}
.platform b{font-size:14px;display:block;}
.platform span{font-size:12px;color:var(--muted-2);}

/* ============ Contact / footer ============ */
.contact{
  text-align:center;
}
.contact .mail{
  font-family:var(--display);
  font-size:clamp(22px,3.4vw,30px);
  color:var(--red);
  margin-top:14px;
  display:inline-block;
}
.contact .mail:hover{text-decoration:underline;}

.role-line{
  font-family:var(--label);font-size:12px;letter-spacing:0.05em;
  text-transform:uppercase;color:var(--gold);margin-top:6px;
}

.platform-soon{opacity:0.55;}
.platform-soon:hover{border-color:var(--line);}

/* ============ Scroll reveal ============ */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;}}

/* ============ Global mini player ============ */
.dbm-player{
  position:fixed;left:0;right:0;bottom:-100px;
  z-index:80;
  background:rgba(19,15,14,0.92);
  backdrop-filter:blur(14px);
  border-top:1px solid var(--line-strong);
  transition:bottom .3s ease;
}
.dbm-player.active{bottom:0;}
.dbm-player-inner{
  max-width:var(--maxw);margin:0 auto;
  padding:12px 20px;
  display:flex;align-items:center;gap:18px;
}
.dbm-player-track{display:flex;align-items:center;gap:12px;min-width:180px;}
.dbm-player-track img{width:38px;height:38px;border-radius:50%;flex-shrink:0;}
.dbm-player-meta{display:flex;flex-direction:column;overflow:hidden;}
.dbm-player-meta span:first-child{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;}
.dbm-player-meta span:last-child{font-size:11px;color:var(--muted-2);}
.dbm-player-controls{display:flex;align-items:center;gap:10px;flex:1;}
#dbm-player-toggle{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  background:var(--red);border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
#dbm-player-toggle svg{width:15px;height:15px;fill:#160908;}
.dbm-time{font-family:var(--label);font-size:11px;color:var(--muted-2);width:36px;flex-shrink:0;}
.dbm-progress{flex:1;accent-color:var(--red);}
.dbm-volume{width:70px;accent-color:var(--red);flex-shrink:0;}
.dbm-player-close{
  background:none;border:0;color:var(--muted);font-size:22px;cursor:pointer;line-height:1;
  padding:4px 6px;flex-shrink:0;
}
.dbm-player-close:hover{color:var(--red);}
@media (max-width:700px){
  .dbm-volume{display:none;}
  .dbm-player-meta span:first-child{max-width:100px;}
}
@media (max-width:480px){
  .dbm-player-inner{gap:10px;padding:10px 14px;}
  .dbm-time:last-of-type{display:none;}
}

footer{
  border-top:1px solid var(--line);
  padding:34px 0;
  text-align:center;
}
footer .wrap{display:flex;flex-direction:column;gap:10px;align-items:center;}
footer .flabel{font-family:var(--display);font-size:16px;}
footer .fnote{font-size:12px;color:var(--muted-2);}
footer .fnote a{color:var(--muted-2);}
footer .fnote a:hover{color:var(--red);}
footer .fnav{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin:6px 0;}
footer .fnav a{font-family:var(--label);font-size:11px;letter-spacing:0.05em;text-transform:uppercase;color:var(--muted);}
footer .fnav a:hover{color:var(--red);}
footer .fsocial{display:flex;gap:16px;margin-top:4px;}
footer .fsocial a{color:var(--muted);}
footer .fsocial a:hover{color:var(--red);}
footer .fdist{
  display:flex;align-items:center;gap:8px;
  margin-top:6px;
  font-family:var(--label);font-size:11px;
  letter-spacing:0.04em;text-transform:uppercase;
  color:var(--muted-2);
}
footer .fdist img{border-radius:4px;}
