/* =========================================================
GENERAL RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html,
body {
width: 100%;
min-height: 100%;
}

body {
font-family: "Segoe UI", Arial, sans-serif;
background: #fff;
color: #000;
text-align: center;

display: flex;
flex-direction: column;

min-height: 100vh;
}

/* =========================================================
HEADER
========================================================= */

header {
padding: 10px 20px;
background: #fff;
}

.logo-container {
display: flex;
flex-direction: column;
align-items: center;
}

.logo {
display: block;
width: min(50vw, 300px);
height: auto;
}

header h1 {
font-size: 2rem;
font-weight: 600;
}

/* =========================================================
MAIN
========================================================= */

main {
flex: 1;

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

width: 100%;
padding: 10px 20px;
}

section {
margin: 10px 0;
}

.listen {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;

width: 100%;
}

section h2 {
margin-bottom: 15px;

font-size: 1.6rem;
font-weight: 600;

color: #ffcc00;
}

/* =========================================================
AUDIO
========================================================= */

audio {
width: 90%;
max-width: 400px;
outline: none;
}

/* =========================================================
PLAY BUTTON
========================================================= */

.play-button {
width: 25vw;
height: 25vw;

min-width: 100px;
min-height: 100px;

max-width: 150px;
max-height: 150px;

display: flex;
align-items: center;
justify-content: center;

font-size: clamp(30px, 7vw, 60px);
line-height: 1;

background: #ff9900;
color: #111;

font-weight: bold;

border: none;
border-radius: 50%;

cursor: pointer;

box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

transition:
background 0.2s ease,
transform 0.1s ease;
}

.play-button:hover {
background: #ffdb4d;
}

.play-button:active {
transform: scale(0.95);
}

/* =========================================================
CURRENT TRACK CONTAINER
========================================================= */

#current-track {
width: 100%;
max-width: 600px;

margin-top: 10px;

text-align: center;
}

/* =========================================================
NOW PLAYING
========================================================= */

.now-playing {
width: 100%;
margin: 0 0 25px 0;
}

.now-playing-label {
display: block;

margin-bottom: 5px;

font-size: 16px;
line-height: 1.2;
font-weight: 600;

color: #ff9900;
}

.current-title {
display: block;

font-size: 32px;
line-height: 1.15;
font-weight: 600;

color: #333;
}

.current-artist {
display: block;

margin-top: 3px;

font-size: 22px;
line-height: 1.2;
font-weight: 400;

color: #666;
}

/* =========================================================
PREVIOUSLY PLAYED
========================================================= */

.previously-played {
display: block;

width: 100%;

border-top: 1px solid #ddd;

margin: 0;
padding-top: 10px;

font-size: 14px;
line-height: 1.3;

text-align: center;
}

.previously-played h3 {
display: block;

margin: 0 0 6px 0;
padding: 0;

font-size: 14px;
line-height: 1.2;
font-weight: 600;

color: #999;
}

.previous-track {
display: block;

width: 100%;

margin: 0;
padding: 2px 0;

font-family: "Segoe UI", Arial, sans-serif;

font-size: 14px;
line-height: 1.3;
font-weight: 400;

color: #666;

white-space: nowrap;
}

/* =========================================================
FOOTER
========================================================= */

footer {
padding: 15px;

background: #1a1a1a;

border-top: 1px solid #333;

color: #ccc;

font-size: 1.5rem;
}

footer p {
margin: 0;
}

/* =========================================================
CONTACT
========================================================= */

.contact p {
margin: 8px 0;
}

.contact a {
color: #ffcc00;
text-decoration: none;
}

.contact a:hover {
text-decoration: underline;
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 600px) {

.logo {
width: min(70vw, 280px);
}

section h2 {
font-size: 1.4rem;
}

.current-title {
font-size: 26px;
}

.current-artist {
font-size: 19px;
}

footer {
font-size: 1rem;
}

.previous-track {
font-size: 13px;
}

}
