/* latest sound efects */
.main-latest-section {
  z-index: 10;
  position: relative;
  margin-top: -50px;
  border-radius: 25px 25px 0 0;
  width: 100%;
  background: #ffffff;
  padding-top: 40px;
}

.sound-section {
  max-width: 1320px;
  margin: 0px auto;
  /* padding: 20px; */
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-bottom: 3px solid #b1dafc; */
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.title {
  font-size: 42px;
  font-weight: 700;
  color: #1d1f2c;
  line-height: 130%;
}

.right-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.top-text {
  font-size: 18px;
  color: #707070;
  font-weight: 400;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn {
  padding: 14px 28px;
  border-radius: 12px 0 0 12px;
  border: 1px solid #dfe6ef;
  background: #eaeff2;
  color: #606060;
  font-size: 18px;
  cursor: pointer;
  font-weight: 500;
}

.icon-btn {
  padding: 14px 28px;
  border-radius: 0px 12px 12px 0;
}

.tab-btn.active {
  border-radius: 12px;
  background: #171b2e;
  color: white;
  border-color: #171b2e;
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: white;
}

.sound-card {
  background: #f8fafb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-header {
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.logo {
  width: 60px;
  height: 60px;
}

.sound-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  line-height: 130%;
}

.player-row {
  margin: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eaeff2;
  padding: 12px 15px;
  border-radius: 8px;
}

.play-btn,
.volume-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #0b1237;
}

.wave img {
  width: 100%;
  opacity: 0.9;
}

.time {
  font-size: 14px;
  color: #444;
}

.actions {
  display: flex;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  border-top: 1px solid #d7dce0;
}

.action-btn {
  flex: 1;
  background: #edf2f5;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  font-size: 20px;
  color: #555;
}

.action-btn:not(:last-child) {
  border-right: 1px solid #d7dce0;
}

/* hover effect card */
.sound-card {
  background: #f8fafb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.3s ease;
}

.sound-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.12);
}


/* RESPONSIVE BREAKPOINTS   */

@media (max-width: 992px) {
  .sound-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 14px;
  }

  .right-actions {
    align-items: center;
  }

  .sound-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .title {
    font-size: 28px;
  }

  .tab-btn {
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .player-row {
    flex-wrap: flex;
    justify-content: center;
  }

  .time {
    font-size: 12px;
  }
  .top-text {
    text-align: center;
  }
  .tab-btn {
    padding: 14px 28px;
  }
}

@media (max-width: 400px) {
  .tab-btn {
    padding: 14px 12px;
    /* background: blanchedalmond; */
  }
}
@media (max-width: 320px) {
  .tab-btn {
    padding: 14px 12px;
    /* background: blanchedalmond; */
  }
}
