.container {
  padding: 0 1.25rem;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@font-face {
    font-family: myFont;
    src: url("font\FlowCircular-Regular.ttf");
}

body{
    font-family: myFont;
}
html {
  font-size: 16px;   
}
* {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}

:root {
  --bg-main: #0b0b0b;
  --bg-soft: #121212;
  --border-subtle: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #8a8a8a;
  --radius-soft: 16px;
  --radius-pill: 999px;
  --transition-soft: 0.2s ease;
}

body {
  margin: 0;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--bg-main);
  background-blend-mode: overlay;
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

header {
 background: transparent;     
 backdrop-filter: none;    
  -webkit-backdrop-filter: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
  background: transparent;
}

.app-header h1 {
  margin: 10px 0 0;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: whitesmoke; 
  background: transparent;
  border-bottom: none;
}

.tagline {
  margin: 6px 0 14px;
  font-size: 20px;
  color: var(--text-secondary);
}

.featured {
  margin: 30px 20px 18px;
  padding: 24px 20px;
  text-align: center;
}

.featured .label {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--text-muted);
}

.featured h2 {
  margin: 10px 0 8px;
}

.featured .meta {
  font-size: 1.8rem;
  color: whitesmoke;
  margin-bottom: 18px;
}

#featuredTitle {
  color: skyblue;
  font-size: 2rem;
}

#featuredPlay {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  font-size: 30px;
  font-weight: 500;

  background: whitesmoke;
  color: #000;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

#searchInput {
  width: calc(100% - 40px);
  margin: 28px 20px;
  padding: 18px 22px;
  font-size: 1.4rem;

  background: #0f0f0f;
  color: var(--text-primary);

  border-radius: 14px;
  border: 1px solid var(--border-subtle);

  outline: none;

  transition: border 0.2s ease, box-shadow 0.2s ease;
}

#searchInput:focus {
  border: 1px solid #4da8ff;
  box-shadow: 0 0 0 2px rgba(77,168,255,0.15);
}

.songs {
  margin: 34px 16px;
  font-size: 25px;
  transition: 
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    filter 0.18s ease;
}

.song:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.song:active {
  transform: scale(0.97);
}

.songs h3 {
  margin-bottom: 18px;
  font-size: 25px;
  font-weight: 500;
  color: var(--text-secondary);
}

#songList button {
  min-height:90px; 
  width: 70px;
  padding: 16px 18px;

  background: var(--bg-soft);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-soft);

  cursor: pointer;
  transition: transform var(--transition-soft),
              background var(--transition-soft),
              box-shadow var(--transition-soft);
}

#nowPlaying {
  margin: 22px 0;
  text-align: center;
  font-size: 25px;
  color: var(--text-secondary);
}

#player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  background: rgba(10,10,10,0.85);

  border-top: 1px solid var(--border-subtle);

  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  z-index: 9999;
}

.player-info {
  text-align: center;
}

#playerTitle {
  font-size: 2rem;
  font-weight: 600;
  color: skyblue;
}

#playerArtist {
  font-size: 1.8rem;
  color: whitesmoke
}

.player-controls {
  background: transparent;
  border: none;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

#playPauseBtn {
  width: 4.5rem;
  height: 4.5rem;

  font-size: 2.3rem;

  border-radius: 50%;

  border: none;
  cursor: pointer;

  background: #1db954;
  color: black;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.15s ease;
}

#playPauseBtn:active {
  transform: scale(0.92);
}

#progressBar {
  flex: 1;
  height: 10px;
  outline: none;
}

#currentTime,
#duration {
  font-size: 20px;
  color: var(--text-muted);
}

#player-bar button {
  background: transparent;
  border: none;
  color: whitesmoke;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2.375rem;   
  width: 3.625rem;      
  height: 3.625rem;}

.footer-inner {
  max-width:1000px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.site-footer {
  padding-top: 8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 500px;    
  margin: 0 auto 28px;
}

.footer-nav a {
  font-size: 25px; 
  color: var(--text-primary);
  text-decoration: none;
}


.footer-nav a:hover {
  text-decoration: underline;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 60px;    
  width: 60px;
  height: 60px;
  margin: 0 auto 30px; 
  border-radius: 50%;
  background: #1a1a1a;
  color: white;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  transform: scale(1.08);
  background: #216cf7;
  color: black;
}


.footer-disclaimer {
  font-size: 1.5rem; 
  line-height: 1.6;
  font-weight: 450;
  max-width: 1000px;
  margin: 0 auto 18px ;
  text-align: center;
  padding-bottom: 6rem;
}

.footer-copy {
  font-size: 25px;
  color: #6f6f6f;
  align-content: center;
  text-align: center;
}

.footer-social a {
  text-decoration: none;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: white;
}

.icon-circle svg {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
}
.section {
  margin-bottom: 52px;
    padding: 0 1.2rem;
}

.app-header {
  position: sticky;   
  top: 0;
  z-index: 100;
  text-align: center;

  border-bottom: 1px solid var(--border-subtle);

  position: relative; 
}

.hamburger {
  position: absolute;
  top: 1.5rem;        
  right: 1.25rem;    

  width: 3rem;         
  height: 2.5rem;   

  background: none;
  border: none;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10002;
}

.hamburger span {
  height: 0.1875rem;   
  width: 100%;
  background: #fff;
  border-radius: 0.125rem; 
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;                
  max-width: 21rem;           
  height: 100vh;
  background: #0b0b0b;
  z-index: 10001;
  padding-top: 5rem;           
  box-shadow: -0.6rem 0 2rem rgba(0,0,0,.6);

  display: flex;
  flex-direction: column;
  gap: 0;

  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu a {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;       
  font-size: 1.7rem;            
  font-weight: 500;
  color: #fff;
  text-decoration: none;

  border-bottom: 0.0625rem solid rgba(255,255,255,.06);
}

.side-menu a:active {
  background: rgba(255,255,255,.08);
}

.section-title {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: "myFont";
  letter-spacing: 0.1em;
  margin: 0 0 12px 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.track-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 1.8rem;
  padding: 0.6rem 1.5rem 1.4rem 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.5rem;
}

.track-row::-webkit-scrollbar {
  height: 6px;
}

.track-row::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.song {
  flex: 0 0 18rem;
  padding: 0.8rem;
  height: 22rem;
  background: rgba(255,255,255,0.02);
  padding: 0.6rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
  transition:
  transform 0.25s ease,
  box-shadow 0.25s ease,
  background 0.25s ease;
}

.song:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.song img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
}

.song.active {
  background: rgba(255,255,255,0.06); 
}

.song.active img {
  outline: 3px solid white;
}

.song-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  line-height: 1.25;
  margin-top: 10px;
  max-width: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.song-artist {
  font-size: 1.1rem;   
  font-weight: 600;
  color: whitesmoke;
}

#shuffleBtn,
#loopBtn {
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  border: none !important;
  color: #ffffff;
  -webkit-tap-highlight-color: transparent;
}

#shuffleBtn.active,
#loopBtn.active {
  color: #4da8ff;
}

#shuffleBtn i,
#loopBtn i,
#shuffleBtn svg,
#loopBtn svg {
  color: inherit !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

@media (hover: none) and (pointer: coarse) {
 .song:not(.active):hover {
    background: rgba(255,255,255,0.06);
    box-shadow: none;
    transform: none;
  }

  .song:active {
    filter: none;
    transform: none;
  }

.song img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.2s ease, outline 0.2s ease;
}
}
.content {
  flex: 1;
  padding-bottom: calc(var(--player-height) + 20px);
}