* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.container {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(245, 87, 108, 0.3);
}

.subtitle {
    font-size: 24px;
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.description {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    display: block;
    padding: 18px 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.btn-green {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

.music-player {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.music-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.music-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sound-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.sound-wave span {
    width: 3px;
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.sound-wave.playing span:nth-child(1) { animation-delay: 0s; }
.sound-wave.playing span:nth-child(2) { animation-delay: 0.1s; }
.sound-wave.playing span:nth-child(3) { animation-delay: 0.2s; }
.sound-wave.playing span:nth-child(4) { animation-delay: 0.3s; }

.sound-wave:not(.playing) span {
    animation: none;
    height: 40%;
}

@keyframes wave {
    0%, 100% { height: 40%; }
    50% { height: 100%; }
}

.music-details {
    flex: 1;
    min-width: 0;
}

.music-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 13px;
    color: #666;
}

.music-control {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.music-control svg {
    width: 20px;
    height: 20px;
}

.music-control .hidden {
    display: none;
}

.music-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.footer-text {
    text-align: center;
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .btn {
        font-size: 16px;
        padding: 16px 25px;
    }
}
