/* 样式保持不变，与原始代码一致 */
:root {
    --primary: #8a2be2;
    --primary-light: #9b4afa;
    --secondary: #ff6b6b;
    --accent: #4ecdc4;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gold: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

body {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    color: var(--light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 使用动态背景图片 */
    background: var(--dynamic-background) no-repeat center center;
    background-size: cover;
    opacity: var(--background-opacity, 0.5);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    background: rgba(138, 43, 226, 0.3);
    padding: 5px 15px;
    border-radius: 8px;
}

.logo i {
    color: var(--primary-light);
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.support-link {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.support-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.support-link i {
    margin-right: 8px;
}

.hero {
    text-align: center;
    padding: 40px 0 30px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #ff6b6b, #4ecdc4, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
}

.announcement {
    background: rgba(255, 193, 7, 0.15);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 12px;
    margin: 30px auto;
    backdrop-filter: blur(5px);
    max-width: 900px;
    text-align: center;
}

.announcement h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #ffc107;
}

.announcement h3 i {
    margin-right: 10px;
}

.announcement p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.category-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    margin: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.category-btn i {
    margin-right: 8px;
}

.category-btn:hover, .category-btn.active {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.products-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px auto;
    max-width: 90%;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 280px;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.product-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    text-align: center;
}

.product-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-outline {
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--light);
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--secondary);
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.form-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: var(--primary-light);
}

.payment-options {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.payment-option {
    flex: 1;
    text-align: center;
    padding: 15px;
    margin: 0 10px;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.payment-option:hover, .payment-option.selected {
    border-color: var(--primary-light);
    background: rgba(138, 43, 226, 0.1);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background: var(--warning);
    color: #000;
}

.status-completed {
    background: var(--success);
    color: white;
}

.status-processing {
    background: var(--accent);
    color: white;
}

.payment-processing {
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.order-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.payment-success {
    text-align: center;
    padding: 30px;
    animation: successAnimation 0.6s ease-out;
}

@keyframes successAnimation {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.success-checkmark::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    animation: scaleIn 0.3s ease-out;
}

.success-checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    animation: confettiFall 1s ease-out forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100px) rotate(360deg); opacity: 0; }
}

.order-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: left;
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.countdown {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid var(--danger);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.countdown-text {
    color: var(--danger);
}

.qrcode-container {
    text-align: center;
    margin: 20px 0;
}

.qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-info {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid var(--success);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.card-info h3 {
    color: var(--success);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.card-info h3 i {
    margin-right: 10px;
}

.card-code {
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    word-break: break-all;
    font-family: monospace;
    line-height: 1.5;
    text-align: center;
}

.card-instructions {
    text-align: left;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.card-instructions h4 {
    margin-bottom: 10px;
    color: var(--accent);
}

.card-instructions ul {
    padding-left: 20px;
}

.card-instructions li {
    margin-bottom: 8px;
}

.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 40px;
    overflow: hidden;
}

.music-player.expanded {
    max-width: 300px;
}

.music-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.music-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0 3px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.music-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.music-info {
    margin-left: 8px;
    font-size: 0.75rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s;
}

.music-player.expanded .music-info {
    opacity: 1;
}

.music-progress {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-left: 8px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.music-player.expanded .music-progress {
    opacity: 1;
}

.music-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-light);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.music-toggle {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    margin-left: 5px;
}

.music-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sakura {
    position: fixed;
    top: -50px;
    width: 15px;
    height: 15px;
    background: #ffc6d5;
    border-radius: 50% 0 50% 0;
    opacity: 0.7;
    z-index: 100;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translate3d(0, 100vh, 0) rotate(360deg);
    }
}

.dragon {
    position: fixed;
    width: 150px;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><path d="M10,25 Q30,5 50,25 Q70,45 90,25" fill="none" stroke="%23FFD700" stroke-width="2" id="dragonPath"/><path d="M90,25 L85,20 L90,15 Z" fill="%23FFD700"/><circle cx="15" cy="25" r="5" fill="%23FFD700"/><circle cx="17" cy="23" r="2" fill="%23FFFFFF"/></svg>');
    background-repeat: no-repeat;
    z-index: 99;
    pointer-events: none;
    filter: drop-shadow(0 0 5px var(--gold));
    animation: flyAround 30s linear infinite, roar 5s infinite;
}

@keyframes flyAround {
    0% { top: 10%; left: -150px; transform: scaleX(1); }
    25% { top: 70%; left: 50%; transform: scaleX(1); }
    26% { top: 70%; left: 50%; transform: scaleX(-1); }
    50% { top: 20%; left: 100%; transform: scaleX(-1); }
    51% { top: 20%; left: 100%; transform: scaleX(1); }
    75% { top: 80%; left: 50%; transform: scaleX(1); }
    76% { top: 80%; left: 50%; transform: scaleX(-1); }
    100% { top: 10%; left: -150px; transform: scaleX(-1); }
}

@keyframes roar {
    0%, 95%, 100% { transform: scale(1) rotate(0deg); }
    5%, 10% { transform: scale(1.2) rotate(5deg); }
    15%, 20% { transform: scale(1.2) rotate(-5deg); }
}

.roar-effect {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
    z-index: 98;
    pointer-events: none;
    opacity: 0;
    animation: roarEffect 2s forwards;
}

@keyframes roarEffect {
    0% { transform: scale(0); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid var(--danger);
    color: #f8d7da;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid var(--success);
    color: #d4edda;
}

.alert i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* index.html - 添加支付成功提示样式 */
.payment-success-notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--success);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 2000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  animation: slideInRight 0.5s ease-out;
}

.payment-success-notice i {
  margin-right: 10px;
  font-size: 1.5rem;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
  .payment-success-notice {
    top: 10px;
    right: 10px;
    left: 10px;
    text-align: center;
  }
           
  .hero h1 {
      font-size: 2rem;
  }
           
  .product-card {
      width: 100%;
      max-width: 300px;
  }
           
  .payment-options {
      flex-direction: column;
  }
           
  .payment-option {
      margin: 5px 0;
  }
           
  .music-player {
      bottom: 10px;
      right: 10px;
      padding: 8px 12px;
      width: calc(100% - 20px);
      max-width: 40px;
      justify-content: center;
  }
           
  .music-player.expanded {
      max-width: 250px;
  }
           
  .music-info {
      max-width: 100px;
      font-size: 0.7rem;
  }
           
  .music-progress {
      width: 50px;
  }
           
  .dragon {
      width: 100px;
      height: 50px;
  }

  .payment-success-notice {
      top: 10px;
      right: 10px;
      left: 10px;
      text-align: center;
  }
}
       
@media (max-width: 480px) {
  .dragon {
      display: none;
  }
           
  .music-player {
      max-width: 35px;
  }
           
  .music-player.expanded {
      max-width: 200px;
  }
           
  .music-btn {
      width: 25px;
      height: 25px;
      font-size: 0.8rem;
  }
           
  .music-toggle {
      width: 25px;
      height: 25px;
      font-size: 0.9rem;
  }
           
  .card-code {
      font-size: 1rem;
      padding: 10px;
  }
}
/* 音乐播放器样式优化 - 覆盖原有样式 */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 12px;
    display: flex;
    align-items: center;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 50px;
    overflow: hidden;
    height: 50px;
}

.music-player.expanded {
    max-width: 320px;
    border-radius: 25px;
    padding: 12px 20px;
}

.music-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
}

.music-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light);
    font-size: 0.9rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0;
    transform: scale(0);
}

.music-player.expanded .music-btn {
    opacity: 1;
    transform: scale(1);
}

.music-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.music-info {
    margin-left: 12px;
    font-size: 0.8rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s 0.1s;
}

.music-player.expanded .music-info {
    opacity: 1;
}

.music-progress {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-left: 12px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s 0.2s;
}

.music-player.expanded .music-progress {
    opacity: 1;
}

.music-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
}

.music-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 5px;
    background: white;
    border-radius: 50%;
    transform: translateX(50%);
}

.music-toggle {
    background: var(--primary);
    border: none;
    color: var(--light);
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    margin-left: 8px;
    flex-shrink: 0;
}

.music-toggle:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.music-player.expanded .music-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.music-player.expanded .music-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 音乐播放器动画效果 */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(138, 43, 226, 0); }
    100% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
}

.music-player.playing .music-toggle {
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .music-player {
        bottom: 10px;
        right: 10px;
        max-width: 45px;
        height: 45px;
    }
    
    .music-player.expanded {
        max-width: 280px;
    }
    
    .music-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .music-info {
        font-size: 0.75rem;
        max-width: 120px;
    }
    
    .music-progress {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .music-player {
        max-width: 40px;
        height: 40px;
    }
    
    .music-player.expanded {
        max-width: 240px;
    }
    
    .music-toggle {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}