* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  --bg: #EBEBEB;
  --black: #333333;
  --prog: #A4B7BE;
}

body {
  height: 100vh;
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: linear-gradient(135deg, #0071BC, #009245, #FCEE21, #F15A24);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  padding: 1rem;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1 {
  font-size: 3rem;
  margin-top: 2rem;
  color: #fff;
}

p {
  font-size: 1.1rem;
  color: #eee;
  margin-bottom: 2rem;
}

.logo {
  width: 160px;
  height: auto;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

/* === PLAYER === */
.player {
  width: 90%;
  max-width: 300px;
  min-height: 500px;
  margin: 2rem auto;
  padding: 2.5rem 1rem;
  background: var(--bg);
  border-radius: 15px;
  border: 1px solid rgb(223, 223, 223);
  position: relative;
  box-shadow: 8px 8px 25px rgba(0,0,0,0.15);
}

.player::before {
  content: '';
  display: block;
  background: #333;
  width: 90px;
  height: 15px;
  border-radius: 0 0 50% 50%; 
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.art {
  display: block;
  width: 150px;
  height: 150px;
  margin: 1rem auto;
  border-radius: 50%;
  border: 4px solid #EBEBED;
  box-shadow: 16px 16px 57px #acacac, -16px -16px 57px #ffffff;
  animation: rolling-disk 7.5s linear infinite;
}

.info {
  margin: 1.2rem 0;
  text-align: center;
}

.info h1 {
  color: var(--black);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
}

.info p {
  font-size: 1rem;
  color: var(--prog);
}

.prog {
  padding: 10px 0;
}

.prog-time {
  padding: 3px 5px;
  color: var(--prog);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

.prog-time > p {
  font-size: 0.75rem;
}

.prog-bar {
  width: 100%;
  height: 10px;
  padding: 1px;
  border-radius: 25px;
  background: linear-gradient(145deg, #fbfbfb, #d4d4d4);
  box-shadow: 5px 5px 10px #a5a5a5, -5px -5px 10px #ffffff;
}

.prog-bar-inner {
  height: 8px;
  background: var(--prog);
  border-radius: 25px;
  animation: timer 30s linear 0.1s;
}

.buttons {
  margin: 2rem 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  color: var(--prog);
  border-radius: 50%;
  margin: 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 5px 10px #d4d4d4, -5px -5px 10px #ffffff;
}

.button-md {
  width: 3rem;
  height: 3rem;
  opacity: 0.9;
}

.bar {
  width: 50%;
  height: 2px;
  margin: auto;
  background: var(--prog);
  border-radius: 25px;
  position: absolute;
  left: 25%;
  bottom: 1rem;
}

.credit {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

footer {
  margin-top: 20px;
  position: relative;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #3d3939ff;
  font-size: 0.9rem;
}

.hitradio {
  color: red;
}

@keyframes timer {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes rolling-disk {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}

/* === ✅ RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .player {
    width: 95%;
    max-width: 320px;
    padding: 2rem 1rem;
  }

  .art {
    width: 130px;
    height: 130px;
  }

  .button-md {
    width: 2.8rem;
    height: 2.8rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  p {
    font-size: 0.95rem;
  }

  .player {
    padding: 1.5rem 0.8rem;
  }

  .art {
    width: 110px;
    height: 110px;
  }

  .info h1 {
    font-size: 1.2rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
