@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
  --accent:#000000;
  --bg-overlay: rgba(10,10,12,0.55);
  --text:#f7f7f9;
  --nav-gray: rgba(255,255,255,0.06);
}
/* Global selection color */
::selection{background:#2f2f2f;color:#ffffff}
::-moz-selection{background:#2f2f2f;color:#ffffff}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--text);
  background-image: url('../background.png');
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;

  /* Sticky footer layout */
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* Top navbar */
.topnav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 20px;
  background:rgba(0,0,0,0.85);
  z-index:30;
  backdrop-filter: blur(6px);
  transition:transform .32s cubic-bezier(.2,.9,.2,1),opacity .28s ease;
}
.topnav .cover{display:flex;align-items:center;gap:10px;transition:transform .35s ease,opacity .35s ease}
.topnav .cover img{width:64px;height:64px;object-fit:cover;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.5)}
.topnav .nav-title{font-weight:700;color:var(--text);margin-left:10px}
.topnav .nav-links .btn{color:var(--text);text-decoration:none;margin-left:12px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);display:inline-flex;align-items:center;height:36px;min-width:88px;justify-content:center}

/* Listen button with embedded play/stop controls */
.listen-btn{display:inline-flex;align-items:center;gap:8px;cursor:pointer;user-select:none;position:relative;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,0.06);transition:padding .22s ease,width .22s ease;height:36px}
.listen-btn .label{display:inline-block}
.listen-btn .controls{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;height:28px;opacity:0;transform:scaleX(0);transform-origin:left;transition:transform .18s ease,opacity .18s ease;margin-left:0}
.listen-btn .controls .icon{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06);color:var(--text);height:28px;width:36px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transform:translateY(6px);opacity:0;transition:transform .18s ease,opacity .18s ease}
.listen-btn.expanded{padding-right:14px}
.listen-btn.expanded .controls{opacity:1;transform:scaleX(1);margin-left:8px}
.listen-btn.expanded .controls .icon{transform:translateY(0);opacity:1}
.listen-btn:hover .controls{opacity:1;transform:scaleX(1);margin-left:8px}
.listen-btn:hover .controls .icon{transform:translateY(0);opacity:1}
.listen-btn:focus-within .controls{opacity:1;transform:scaleX(1);margin-left:8px}
.listen-btn.playing{border-color:var(--nav-gray);box-shadow:0 6px 18px rgba(0,0,0,0.32)}


/* when scrolling down hide the cover */
.topnav.hide-cover .cover{transform:translateX(-120%);opacity:0}
.topnav.nav-hidden{transform:translateY(-120%);opacity:0}

.hero{padding:40px 30px;text-align:left;background:transparent}
.hero + .artists{margin-top:10px}

main{width:90%;max-width:1200px;margin:100px auto;padding:40px;flex:1}
.song-title{font-size:48px;margin:0 0 16px}
.lead{font-size:18px;line-height:1.5;max-width:800px;color:rgba(247,247,249,0.92)}

.artists{display:flex;flex-direction:column;gap:28px;margin-top:30px}
.artist-card{display:flex;align-items:center;gap:20px;padding:20px;border-radius:10px;background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));}
.artist-photo img{width:auto;height:auto;max-width:320px;border-radius:10px;object-fit:cover}
  .artists{display:flex;flex-direction:row;gap:32px;margin-top:24px;align-items:flex-start}
  .artist-card{display:flex;align-items:center;gap:20px;padding:18px;border-radius:10px;background:transparent;flex:1}
  .artist-photo img{width:auto;height:auto;max-width:200px;border-radius:10px;object-fit:cover;cursor:default;pointer-events:none}
  .artist-card.right{flex-direction:row-reverse}
  .artist-info{flex:1}
.artist-info h2{margin:0 0 6px}
.artist-info p{margin:0;color:rgba(247,247,249,0.88)}

.site-footer{margin-top:48px;padding:28px 20px;background:rgba(0,0,0,0.9);color:rgba(255,255,255,0.7)}
.footer-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}
.footer-links a{color:rgba(255,255,255,0.65);text-decoration:none;margin-left:12px}

/* Responsive */
@media (max-width:800px){
  .song-title{font-size:36px}
  .artists{flex-direction:column}
  .artist-card{flex-direction:column;align-items:flex-start}
  .artist-card.right{flex-direction:column}
  .artist-photo img{width:100%;height:auto;max-width:none}
  .topnav .nav-links{display:none}
}

/* Page-section visibility control for SPA-like behavior */
.page-section{display:none}
.page-section.active{display:block}

/* -----------------------------
   Hide scrollbars site-wide but preserve scrolling
   - Firefox: `scrollbar-width: none`
   - IE/Edge: `-ms-overflow-style: none`
   - WebKit: set scrollbar width/height to 0
   ----------------------------- */

html, body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* WebKit browsers (Chrome, Edge, Safari) */
*::-webkit-scrollbar{width:0;height:0;background:transparent}

/* Also hide any element-specific scrollbars while keeping scroll behavior */
*{ -ms-overflow-style: none; scrollbar-width: none; }

/* Accessibility: keep focus outlines for keyboard users */
*:focus-visible{outline:2px solid rgba(255, 255, 255, 0.06);outline-offset:2px}

/* Cookie modal styles */
.cookie-modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center}
.cookie-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.55);backdrop-filter:blur(4px)}
.cookie-panel{position:relative;z-index:61;max-width:760px;width:92%;background:linear-gradient(180deg, rgba(0,0,0,0.96), rgba(0,0,0,0.94));border-radius:12px;padding:22px;border:1px solid rgba(255,255,255,0.04);box-shadow:0 12px 40px rgba(0,0,0,0.6)}
.cookie-header h3{margin:0 0 6px;font-size:20px}
.cookie-header p{margin:0;color:rgba(255,255,255,0.84)}
.cookie-form{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.cookie-categories{display:flex;flex-direction:column;gap:10px;border:none;padding:0;margin:0}
.cookie-row{display:flex;gap:12px;align-items:flex-start}
.cookie-row input[type="checkbox"]{width:18px;height:18px;margin-top:4px}
.cookie-row .muted{font-size:13px;color:rgba(255,255,255,0.72)}
.cookie-buttons{display:flex;gap:10px;justify-content:flex-end;margin-top:6px}
.cookie-buttons .btn{padding:8px 12px;height:36px;min-width:88px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid rgba(255,255,255,0.06);color:var(--text);background:rgba(0,0,0,0.8)}
.cookie-buttons .btn:hover{border-color:var(--nav-gray);box-shadow:0 6px 18px rgba(0,0,0,0.32)}

/* Footer action aligns with site button styles */
.footer-actions .btn{padding:8px 12px;height:36px;min-width:88px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);color:var(--text);background:rgba(0,0,0,0.8)}
.footer-actions .btn:hover{border-color:var(--nav-gray);box-shadow:0 6px 18px rgba(0,0,0,0.32)}
.cookie-modal[hidden]{display:none}

@media (max-width:520px){
  .cookie-panel{padding:16px}
  .cookie-buttons{flex-direction:column-reverse;align-items:stretch}
  .cookie-buttons .btn{width:100%}
}
