.right-animation-wrap-online {
  padding-top: 0;
}
.online-tool-hero-tools {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.online-tool-compressor-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.94));
  box-shadow: 0 24px 54px rgba(19, 92, 140, 0.16);
}

.online-tool-compressor-card::before,
.online-tool-compressor-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.online-tool-compressor-card::before {
  width: 180px;
  height: 180px;
  top: -90px;
  right: -70px;
  background: radial-gradient(circle, rgba(102, 203, 255, 0.28), rgba(102, 203, 255, 0));
}

.online-tool-compressor-card::after {
  width: 140px;
  height: 140px;
  left: -72px;
  bottom: -72px;
  background: radial-gradient(circle, rgba(255, 118, 84, 0.14), rgba(255, 118, 84, 0));
}

.online-tool-compressor-card > * {
  position: relative;
  z-index: 1;
}
.online-tool-compressor-card h3 {
  margin: 10px 0 4px;
  color: #17233d;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
}

.online-tool-compressor-card p {
  margin: 0;
  color: #5a6a82;
  font-size: 1rem;
  line-height: 1.6;
}

.mp3-tool-stage {
  position: relative;
  margin-top: 16px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(226, 245, 255, 0.72);
  border: 1px solid rgba(141, 212, 248, 0.5);
}

.mp3-tool-surface {
  position: relative;
  height: 386px;
  overflow: hidden;
  border: 2px dashed #a9d8f5;
  border-radius: 20px;
  background: linear-gradient(180deg, #fdfefe 0%, #f7fbff 100%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mp3-tool-surface.is-dragover {
  border-color: #ff7a4c;
  box-shadow: 0 14px 28px rgba(91, 167, 214, 0.12);
  transform: translateY(-1px);
}

.mp3-tool-panel {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.mp3-tool-panel:not(.mp3-tool-panel-center) {
  justify-content: space-between;
}

.mp3-tool-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mp3-tool-panel-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mp3-tool-panel h4 {
  margin: 0;
  color: #17233d;
  font-size: 18px;
  font-weight: 800;
}

.mp3-tool-panel p {
  margin: 8px auto 12px;
  max-width: 310px;
  color: #607089;
  font-size: 0.875rem;
  line-height: 1.6;
}

.mp3-tool-panel-upload {
  padding: 0 18px;
}

.mp3-tool-uploadbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mp3-tool-upload-illustration {
  width: 180px;
  max-width: 60%;
  margin: 0 auto 12px;
}

.mp3-tool-upload-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.mp3-tool-limit {
  margin: 0 0 18px !important;
  color: #61728e !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 500;
}

.mp3-tool-actions,
.mp3-tool-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.mp3-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mp3-tool-btn:hover,
.mp3-tool-downloadcard:hover {
  transform: translateY(-1px);
}

.mp3-tool-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.mp3-tool-btn-primary {
  background: linear-gradient(135deg, #f35c4d, #ff7a4c);
  color: #fff;
  box-shadow: 0 12px 22px rgba(243, 92, 77, 0.2);
}

.mp3-tool-btn-secondary {
  background: #fff;
  color: #29435f;
  border: 1px solid rgba(142, 205, 240, 0.95);
}

.mp3-tool-label {
  margin: 0 0 6px;
  color: #8593aa;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mp3-tool-fileline,
.mp3-tool-config {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mp3-tool-config {
  margin-top: 10px;
}

.mp3-tool-filename,
.mp3-tool-resultname {
  margin: 0;
  color: #1a2a43;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-all;
  max-height: 44px;
  overflow: hidden;
}

.mp3-tool-meta,
.mp3-tool-resultmeta,
.mp3-tool-statustext,
.mp3-tool-configcopy {
  margin: 4px 0 0;
  color: #607089;
  font-size: 12px;
  line-height: 1.5;
}

.mp3-tool-select {
  width: 124px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cbe8f8;
  border-radius: 10px;
  background: #fff;
  color: #17355c;
  font-size: 13px;
  font-weight: 700;
}

.mp3-tool-progress {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(141, 205, 240, 0.28);
}

.mp3-tool-progressbar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7654, #6ecfff);
  transition: width 0.2s ease;
}

.mp3-tool-resultwrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mp3-tool-resultbody {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  text-align: center;
  padding: 8px 14px 0;
}

.mp3-tool-resultname {
  max-width: 100%;
  max-height: none;
  font-size: 17px;
}

.mp3-tool-resultmeta {
  margin: 0;
  font-size: 15px;
}

.mp3-tool-inline-actions {
  margin-top: 10px;
  flex-shrink: 0;
}

.mp3-tool-panel:not(.mp3-tool-panel-center) .mp3-tool-inline-actions {
  padding-top: 12px;
  border-top: 1px solid rgba(141, 205, 240, 0.28);
}

.mp3-tool-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 31, 51, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
}

.mp3-tool-modal[hidden] {
  display: none !important;
}

.mp3-tool-modal.show {
  display: flex;
}

body.mp3-tool-modal-open {
  overflow: hidden;
}

.mp3-tool-modalbox {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 26px 24px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  box-shadow: 0 28px 60px rgba(12, 58, 101, 0.24);
  text-align: left;
}

.mp3-tool-modalhero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 44px;
}

.mp3-tool-modalbadge {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 121, 76, 0.18), rgba(110, 207, 255, 0.26));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.mp3-tool-modalbadge span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f35c4d, #ff7a4c);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.mp3-tool-modalheadline h4 {
  margin: 0 0 6px;
  color: #17233d;
  font-size: 1.5rem;
  line-height: 1.12;
  font-weight: 800;
}

.mp3-tool-modalheadline p {
  margin: 0;
  max-width: none;
  color: #607089;
  font-size: 1rem;
  line-height: 1.6;
}

.mp3-tool-modalcontent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.mp3-tool-modalfeatures {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp3-tool-modalfeatures li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 20px;
  color: #233a57;
  font-size: 1rem;
  line-height: 1.5;
}

.mp3-tool-modalfeatures li:last-child {
  margin-bottom: 0;
}

.mp3-tool-modalfeatures li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f7fdc;
  font-weight: 700;
}

.mp3-tool-modalpreview {
  position: relative;
  height: 156px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #d6e8ff 0%, #b8dbff 48%, #d6f0ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.mp3-tool-modalpreview::before,
.mp3-tool-modalpreview::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(to bottom, rgba(23, 53, 92, 0.42) 0 10px, transparent 10px 18px);
  opacity: 0.7;
}

.mp3-tool-modalpreview::before {
  left: 7px;
}

.mp3-tool-modalpreview::after {
  right: 7px;
}

.mp3-tool-modalpreview-screen {
  position: absolute;
  inset: 10px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.9), rgba(160, 204, 255, 0.75));
  overflow: hidden;
}

.mp3-tool-modalpreview-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(94, 98, 242, 0.18), transparent 44%), linear-gradient(0deg, rgba(37, 168, 121, 0.22), transparent 32%);
}

.mp3-tool-modalpreview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-left: -21px;
  margin-top: -21px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(42, 86, 135, 0.15);
}

.mp3-tool-modalpreview-play::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  border-left: 14px solid #5f69ef;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.mp3-tool-modalcta {
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 245, 235, 0.98), rgba(252, 242, 228, 0.98));
  color: #2a3f5d;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.mp3-tool-modalghost {
  display: none;
}

.mp3-tool-modal[data-modal-mode="download"] .mp3-tool-modalbadge span {
  background: linear-gradient(135deg, #66b7ff, #5f69ef);
}

.mp3-tool-downloadcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 16px;
  margin: 18px auto 0;
  max-width: 560px;
}

.mp3-tool-downloadcard {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f35c4d, #ff7a4c);
  box-shadow: 0 14px 24px rgba(243, 92, 77, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mp3-tool-downloadcard-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mp3-tool-downloadcard-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.mp3-tool-downloadcard-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp3-tool-downloadcard-copy strong {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 800;
}

.mp3-tool-downloadcard-copy small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.35;
}

.mp3-tool-modalclose {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(226, 242, 251, 0.98);
  color: #55718c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(19, 64, 108, 0.12);
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.mp3-tool-modalclose:hover {
  background: #fff;
  color: #17233d;
  transform: translateY(-1px);
}
@media (max-width: 991px) {
  .mp3-tool-modal {
    padding: 20px;
  }

  .mp3-tool-modalbox {
    width: min(720px, calc(100vw - 24px));
    max-height: calc(100vh - 40px);
    padding: 24px 20px 20px;
  }

  .mp3-tool-modalcontent {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 18px;
  }

  .mp3-tool-modalpreview {
    height: 146px;
  }

  .mp3-tool-downloadcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .mp3-tool-modal {
    padding: 16px;
  }

  .mp3-tool-modalbox {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 32px);
    padding: 20px 16px 18px;
    border-radius: 22px;
  }

  .mp3-tool-modalclose {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .mp3-tool-modalhero {
    align-items: flex-start;
    gap: 12px;
    padding-right: 40px;
  }

  .mp3-tool-modalbadge {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .mp3-tool-modalbadge span {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .mp3-tool-modalheadline h4 {
    font-size: 1.5rem;
    line-height: 1.15;
  }

  .mp3-tool-modalheadline p,
  .mp3-tool-modalfeatures li,
  .mp3-tool-modalcta {
    font-size: 0.95rem;
  }

  .mp3-tool-modalcontent {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
  }

  .mp3-tool-modalpreview {
    width: min(100%, 220px);
    height: 152px;
    margin: 0 auto;
  }

  .mp3-tool-modalcta {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .mp3-tool-downloadcards {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px;
  }

  .mp3-tool-downloadcard {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .mp3-tool-downloadcard-copy strong {
    font-size: 1rem;
  }

  .mp3-tool-downloadcard-copy small {
    font-size: 0.8125rem;
  }
}

@media (max-width: 575px) {
  .online-tool-compressor-card {
    padding: 20px;
  }
 .right-animation-wrap-online {
	padding-top: 14px; 
 }
  .mp3-tool-surface {
    height: 430px;
  }

  .mp3-tool-upload-illustration {
    max-width: 66%;
  }

  .mp3-tool-fileline,
  .mp3-tool-config {
    flex-direction: column;
  }

  .mp3-tool-select,
  .mp3-tool-btn,
  .mp3-tool-inline-actions .mp3-tool-btn {
    width: 100%;
  }

  .mp3-tool-resultbody {
    gap: 42px;
  }

  .mp3-tool-modalbox {
    padding: 18px 14px 16px;
  }

  .mp3-tool-modalhero {
    gap: 10px;
    padding-right: 36px;
  }

  .mp3-tool-modalheadline h4 {
    font-size: 1.3125rem;
  }

  .mp3-tool-modalheadline p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .mp3-tool-modalfeatures li {
    margin-bottom: 10px;
    padding-left: 18px;
    font-size: 0.9375rem;
  }

  .mp3-tool-modalcta {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
@media (min-width: 768px) {
  .right-animation-wrap-online {
    padding-top: 30px;
  }
}
