@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

* {
  box-sizing: border-box;
}

/* Scoped to feb-exact container to avoid WordPress conflicts */
.feb-exact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  font-family: 'DM Sans', sans-serif;
  transition: background .4s ease-in;
  height: 90vh;
  position: relative;
}

.feb-exact.blue {
  background-color: #428aa6;
}

.feb-exact input[type=radio] {
  display: none;
}



.feb-exact .container {
  width: 100%;
  max-width: 700px;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.feb-exact .navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.feb-exact .nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feb-exact .nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.feb-exact .prev-btn {
  margin-left: -30px;
}

.feb-exact .next-btn {
  margin-right: -30px;
}

.feb-exact .cards {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
}

.feb-exact .card {
  position: absolute;
  width: 95%;
  height: 100%;
  left: 0;
  right: 0;
  margin: auto;
  transition: all .2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feb-exact .card-wrapper {
  width: 100%;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.feb-exact img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}

.feb-exact .card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(255,0,0,0.8), rgba(0,0,0,0.9));
  color: white;
  padding: 20px 15px 15px;
  border-radius: 0 0 10px 10px;
}

.feb-exact .card-info h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.feb-exact .card-info p {
  margin: 0 0 3px 0;
  font-size: 12px;
  color: white;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.feb-exact .card-info .time {
  font-size: 14px;
  font-weight: 500;
  color: white;
  opacity: 1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Exact same animation pattern as your reference */
.feb-exact #item-1:checked ~ .cards #song-3,
.feb-exact #item-2:checked ~ .cards #song-1,
.feb-exact #item-3:checked ~ .cards #song-2 {
  transform: translatex(-40%) scale(.8);
  opacity: .4;
  z-index: 0;
}

.feb-exact #item-1:checked ~ .cards #song-2,
.feb-exact #item-2:checked ~ .cards #song-3,
.feb-exact #item-3:checked ~ .cards #song-1 {
  transform: translatex(40%) scale(.8);
  opacity: .4;
  z-index: 0;
}

.feb-exact #item-1:checked ~ .cards #song-1,
.feb-exact #item-2:checked ~ .cards #song-2,
.feb-exact #item-3:checked ~ .cards #song-3 {
  transform: translatex(0) scale(1);
  opacity: 1;
  z-index: 1;
}

.feb-exact #item-1:checked ~ .cards #song-1 img,
.feb-exact #item-2:checked ~ .cards #song-2 img,
.feb-exact #item-3:checked ~ .cards #song-3 img {
  box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
}

/* Player component styles */
.feb-exact .player {
  background-color: #fff;
  border-radius: 8px;
  min-width: 320px;
  padding: 16px 10px;
}

.feb-exact .upper-part {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  height: 36px;
  overflow: hidden;
}

.feb-exact .play-icon {
  margin-right: 10px;
}

.feb-exact .song-info {
  width: calc(100% - 32px);
  display: block;
}

.feb-exact .song-info .title {
  color: #403d40;
  font-size: 14px;
  line-height: 24px;
}

.feb-exact .sub-line {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.feb-exact .subtitle,
.feb-exact .time {
  font-size: 12px;
  line-height: 16px;
  color: #c6c5c6;
}

.feb-exact .time {
  font-size: 12px;
  line-height: 16px;
  color: #a5a5a5;
  font-weight: 500;
  margin-left: auto;
}

.feb-exact .progress-bar {
  height: 3px;
  width: 100%;
  background-color: #e9efff;
  border-radius: 2px;
  overflow: hidden;
}

.feb-exact .progress {
  display: block;
  position: relative;
  width: 60%;
  height: 100%;
  background-color: #2992dc;
  border-radius: 6px;
}

.feb-exact .info-area {
  width: 100%;
  position: absolute;
  top: 0;
  left: 30px;
  transition: transform .4s ease-in;
}

/* Player state animations */
.feb-exact #item-1:checked ~ .player #test {
  transform: translateY(0);
}

.feb-exact #item-2:checked ~ .player #test {
  transform: translateY(-40px);
}

.feb-exact #item-3:checked ~ .player #test {
  transform: translateY(-80px);
}

/* Mobile responsive - 90vh */
@media (max-width: 768px) {
  .feb-exact {
    height: 90vh;
    padding: 20px 5px;
  }
  
  .feb-exact .card-wrapper {
    height: 60vh;
  }
  
  .feb-exact .player {
    min-width: 280px;
    padding: 12px 8px;
  }
  
  .feb-exact .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .feb-exact .prev-btn {
    margin-left: -25px;
  }
  
  .feb-exact .next-btn {
    margin-right: -25px;
  }
  
  .feb-exact .card-info h3 {
    font-size: 14px;
  }
  
  .feb-exact .card-info p {
    font-size: 11px;
  }
}