/* =========================================================
   SUNDARI RECORDS — STORE
   Design tokens
   Color:  bg #17090a (near-black maroon), maroon #3a0f10,
           maroon-light #5c1618, gold #d4af37, gold-light #f3d78a,
           red-accent #8f1d1d, cream #f6ecd9
   Type:   'Cinzel' (EN display) + 'Yatra One' (HI display / song titles)
           + 'Mukta' (body, HI+EN)
   Motif:  gold ornamental corner-frame on every card (from the
           brand poster), wax-seal "SOLD" stamp overlay
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Yatra+One&family=Mukta:wght@400;500;600;700&display=swap');

:root{
  --bg-deep:#17090a;
  --bg-panel:#20100f;
  --maroon:#3a0f10;
  --maroon-light:#5c1618;
  --red-accent:#8f1d1d;
  --red-accent-light:#b7341f;
  --gold:#d4af37;
  --gold-light:#f3d78a;
  --gold-dark:#a8791c;
  --cream:#f6ecd9;
  --ink:#1c0e0a;
  --muted:#c9b199;
  --radius:14px;
  --shadow-lg:0 20px 50px rgba(0,0,0,.55);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:
    radial-gradient(ellipse at top, #2a1112 0%, var(--bg-deep) 55%),
    var(--bg-deep);
  color:var(--cream);
  font-family:'Mukta',sans-serif;
  line-height:1.6;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.container{max-width:1180px;margin:0 auto;padding:0 20px;}

h1,h2,h3,.display{
  font-family:'Cinzel',serif;
  letter-spacing:.04em;
  color:var(--gold-light);
  margin:0;
}
.hi-display{font-family:'Yatra One',cursive; line-height:1.35;}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:linear-gradient(180deg, rgba(23,9,10,.97), rgba(23,9,10,.9));
  border-bottom:1px solid rgba(212,175,55,.25);
  backdrop-filter:blur(6px);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:12px; padding-bottom:12px;
}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{height:44px; width:44px;}
.brand .name{font-family:'Cinzel',serif; font-size:20px; color:var(--gold-light); letter-spacing:.08em;}
.brand .name small{display:block; font-family:'Mukta',sans-serif; font-size:10px; letter-spacing:.25em; color:var(--muted); font-weight:600;}
.nav-links{display:flex; gap:26px; font-size:14px; font-weight:600;}
.nav-links a{color:var(--muted); transition:color .2s; margin-left:26px;}
.nav-links a:first-child{margin-left:0;}
.nav-links a:hover{color:var(--gold-light);}

/* ---------- hero ---------- */
.hero{
  position:relative; overflow:hidden;
  padding:76px 0 64px;
  border-bottom:1px solid rgba(212,175,55,.2);
  background:
    linear-gradient(180deg, rgba(23,9,10,.55), rgba(23,9,10,.92)),
    url('../img/banner.jpg') center/cover no-repeat;
}
.hero .eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold); font-weight:700; margin-bottom:18px;
}
.hero .eyebrow::before,.hero .eyebrow::after{content:'';width:26px;height:1px;background:var(--gold);}
.hero h1{font-size:46px; max-width:760px;}
.hero p.sub{color:var(--muted); font-size:17px; max-width:600px; margin-top:16px;}
.hero .cta-row{margin-top:32px; display:flex; gap:16px; flex-wrap:wrap;}

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 28px; border-radius:999px; font-weight:700; font-size:14.5px;
  border:1px solid transparent; cursor:pointer; transition:transform .15s, box-shadow .15s;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{
  background:linear-gradient(135deg, var(--red-accent-light), var(--red-accent));
  color:var(--cream); border-color:var(--gold);
  box-shadow:0 10px 24px rgba(143,29,29,.45);
}
.btn-ghost{border-color:rgba(212,175,55,.5); color:var(--gold-light);}
.btn-block{width:100%; justify-content:center;}
.btn:disabled{opacity:.55; cursor:not-allowed; transform:none;}

/* ---------- section heading ---------- */
.section{padding:64px 0;}
.section-head{text-align:center; margin-bottom:40px;}
.section-head .eyebrow{color:var(--gold); font-size:12px; letter-spacing:.3em; text-transform:uppercase; font-weight:700;}
.section-head h2{font-size:32px; margin-top:8px;}

/* ---------- song grid & card (ornamental gold frame = signature element) ---------- */
.song-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:28px;
}
.search-box-wrap{max-width:480px; margin:0 auto 36px;}
.search-box{
  width:100%; padding:14px 20px; border-radius:999px; border:1.5px solid rgba(212,175,55,.4);
  background:var(--bg-panel); color:var(--cream); font-family:'Mukta',sans-serif; font-size:15px;
}
.search-box::placeholder{color:#8b7666;}
.search-box:focus{outline:none; border-color:var(--gold);}
.song-card{
  position:relative;
  background:linear-gradient(160deg, var(--bg-panel), var(--maroon) 140%);
  border-radius:var(--radius);
  padding:10px;
  box-shadow:var(--shadow-lg);
  transition:transform .25s ease;
}
.song-card:hover{transform:translateY(-6px);}
.song-card .frame{
  border:1.5px solid var(--gold);
  border-radius:10px;
  padding:8px;
  position:relative;
}
.song-card .frame::before,.song-card .frame::after,
.song-card .frame .corner-tl, .song-card .frame .corner-br{
  content:''; position:absolute; width:16px; height:16px; border:2px solid var(--gold-light);
}
.song-card .frame::before{top:-3px;left:-3px;border-right:none;border-bottom:none;}
.song-card .frame::after{bottom:-3px;right:-3px;border-left:none;border-top:none;}
.song-cover{
  aspect-ratio:1/1; width:100%; object-fit:cover; border-radius:6px;
  background:#000;
}
.song-card .body{padding:16px 8px 6px;}
.song-card .title-hi{font-size:20px; color:var(--gold-light);}
.song-card .title-en{font-size:12px; color:var(--muted); margin-top:2px;}
.song-meta{margin-top:12px; font-size:13px; color:var(--muted); display:grid; gap:4px;}
.song-meta b{color:var(--cream); font-weight:600;}
.song-footer{display:flex; align-items:center; justify-content:space-between; margin-top:16px; padding:0 8px 10px;}
.price-tag{font-family:'Cinzel',serif; font-size:18px; color:var(--gold-light); font-weight:700;}

/* sold ribbon */
.sold-stamp{
  position:absolute; top:18px; right:-34px; width:150px;
  background:var(--red-accent); color:var(--cream);
  text-align:center; font-weight:800; font-size:12px; letter-spacing:.15em;
  padding:6px 0; transform:rotate(38deg);
  box-shadow:0 4px 10px rgba(0,0,0,.4);
  border:1px dashed var(--gold-light);
  z-index:5;
}

/* ---------- song detail page ---------- */
.detail-wrap{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;}
@media (max-width:860px){.detail-wrap{grid-template-columns:1fr;}}
.detail-cover{border:2px solid var(--gold); border-radius:var(--radius); padding:10px; background:var(--bg-panel);}
.detail-cover img{border-radius:8px;}
.badge-folk{
  display:inline-block; margin-top:14px; font-size:11px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); border:1px solid var(--gold); padding:6px 14px; border-radius:999px;
}
.detail-info h1{font-size:34px; margin-bottom:6px;}
.credit-list{list-style:none; margin:22px 0; padding:0; display:grid; gap:10px;}
.credit-list li{display:flex; justify-content:space-between; border-bottom:1px dashed rgba(212,175,55,.25); padding-bottom:8px; font-size:14.5px;}
.credit-list li span:first-child{color:var(--muted);}
.credit-list li span:last-child{font-weight:600; color:var(--cream);}
.price-box{
  margin-top:24px; padding:20px; border:1px solid rgba(212,175,55,.4); border-radius:var(--radius);
  background:rgba(212,175,55,.06); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
}
.price-box .amount{font-family:'Cinzel',serif; font-size:30px; color:var(--gold-light);}

/* audio player */
.player-box{margin-top:26px; background:var(--bg-panel); border:1px solid rgba(212,175,55,.25); border-radius:var(--radius); padding:18px;}
.player-box .label{font-size:12px; letter-spacing:.15em; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:10px;}
.player-controls{display:flex; align-items:center; gap:14px;}
.play-btn{
  width:46px; height:46px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold-light),var(--gold-dark)); color:var(--ink); font-size:16px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.progress-track{flex:1; height:6px; background:rgba(255,255,255,.12); border-radius:999px; overflow:hidden;}
.progress-fill{height:100%; width:0%; background:linear-gradient(90deg,var(--gold),var(--red-accent-light));}
.time-label{font-size:12px; color:var(--muted); min-width:76px; text-align:right;}
.preview-note{margin-top:10px; font-size:12.5px; color:var(--muted); font-style:italic;}

/* purchase form */
.buy-form{margin-top:20px; display:grid; gap:12px;}
.buy-form input{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid rgba(212,175,55,.35);
  background:var(--bg-panel); color:var(--cream); font-family:'Mukta',sans-serif; font-size:14.5px;
}
.buy-form input::placeholder{color:#8b7666;}
.buy-form input:focus{outline:none; border-color:var(--gold);}

/* whatsapp floating button */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:60;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.4); font-size:28px; color:#fff;
  border:2px solid rgba(255,255,255,.5);
}

/* about / founder */
.about-wrap{display:grid; grid-template-columns:280px 1fr; gap:44px; align-items:center;}
@media (max-width:760px){.about-wrap{grid-template-columns:1fr; text-align:center;}}
.founder-photo{border-radius:var(--radius); border:2px solid var(--gold); overflow:hidden;}
.about-wrap p{color:var(--muted); font-size:15.5px; max-width:560px;}

/* footer */
.site-footer{border-top:1px solid rgba(212,175,55,.2); padding:40px 0; margin-top:40px; background:var(--bg-panel);}
.footer-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; font-size:13.5px; color:var(--muted);}
.footer-badges{display:flex; gap:18px; flex-wrap:wrap; margin-top:14px; font-size:12.5px;}

/* utility */
.text-center{text-align:center;}
.empty-state{text-align:center; padding:60px 20px; color:var(--muted);}
.toast{
  position:fixed; top:20px; left:50%; transform:translateX(-50%);
  background:var(--maroon); border:1px solid var(--gold); color:var(--cream);
  padding:12px 22px; border-radius:10px; font-size:14px; z-index:100; box-shadow:var(--shadow-lg);
}
