body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: linear-gradient(-45deg, #0f2027,#203a43,#2c5364,#1b2735);
  background-size: 400% 400%;
  animation: gradientBG 20s ease infinite;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
@keyframes gradientBG {
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

.container {
  text-align: center;
  transform: scale(1.2);
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #d4af37;
  text-shadow: 0 0 15px #000;
}

.player{
    background: linear-gradient(to bottom,#383b40,#4a4d52);
    border: 2px solid #d4af37;
    border-radius: 12px;
    margin: 23px auto;
    padding: 23px 55px;
    width: 250px;
    cursor: pointer;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.05);
    transition: box-shadow 0.34s, transform 0.3s;


}

.player.active {
  box-shadow: 0 0 25px 6px rgba(253,215,0,0.8);
  background: linear-gradient(270deg,#444,#555,#666);
  background-size: 400% 400%;
  animation: activeGlow 8s ease infinite;

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

.label {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 12px;
  display: block;
}

.clock {
  font-size: 3rem;
  font-weight: bold;
  transition: transform 0.15s ease,color 0.3s ease;
}
.clock.tick{
    transform:scale(1.15);
    color:#ffd700;
}

.controls {
  margin: 25px auto;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

button, select {
  background: #2e2b26;
  color: #fff;
  border: 2px solid #d4af37;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 6px #000;
}

button:hover, select:hover {
  background: #3c362f;
  transform: scale(1.05);
}

select {
  appearance: none;
  font-size: 1rem;
}
