* {
  margin: 0;
  padding: 0;

}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
    color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
  letter-spacing: 1px;
  font-weight: 700;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
  line-height: 1.6;
}

.main{
  display: flex;
  width: 100%;
  margin: auto;
  gap: 20px;
  flex: 1;
}

.wave-container {
  height: 250px;
  background: #0a0e17;
  position: relative;
}

#wave {
  width: 100%;
  height: 100%;
}

.controls,.palybox {
  flex: 1;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
}

.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dce1e8;
  transition: all 0.3s ease;
}

.file-upload:hover {
  border-color: #6a11cb;
  background: #f0f5ff;
}

.file-upload label {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.file-upload span {
  font-size: 5rem;
  margin-bottom: 10px;
}

.file-upload p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 15px;
}

#fileInput {
  display: none;
}

.file-info {
  background: #e8f4ff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  font-size: 1rem;
}

.file-info .format-hint {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}


.settings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.setting-group {
  background: #eff1f3;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.setting-group h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.setting-group #formatTips{
  color:#666;
  line-height:1.5;
  font-size:0.9rem
}


.setting-option {
  flex: 1;
  min-width: 120px;
}

.setting-option select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #dce1e8;
  background: white;
  font-size: 1rem;
  transition: all 0.2s;
}

.setting-option select:focus {
  border-color: #6a11cb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

.setting-option select:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.buttons {
  display: flex;
  gap: 60px;
}

.control-btn {
  padding: 0 50px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
  transition: all 0.2s;
}

.control-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 117, 252, 0.6);
}

.control-btn:disabled {
  background: #cccccc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.progress-container {
  width: 100%;
  max-width: 730px;
  margin-top: 50px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #e0e7f1;
  border-radius: 6px;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
}

.progress {
  height: 100%;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  border-radius: 4px;
  width: 0%;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

.footer {
  width: 100%;
  padding: 20px;
  background: #fff;
  margin-top: 20px;
  border-radius: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature p {
  line-height: 1.7;
  color: #555;
}

footer {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  color: #666;
  font-size: 1rem;
}

.highlight {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
