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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 218, 185, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 192, 203, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(255, 182, 193, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: cardFloat 3s ease-in-out infinite;
}

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

.card h2 {
    text-align: center;
    color: #e91e63;
    font-size: 28px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.2);
    position: relative;
}

.card h2::after {
    content: '❤';
    position: absolute;
    right: 30%;
    color: #ff6b9d;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.card h2::before {
    content: '❤';
    position: absolute;
    left: 30%;
    color: #ff6b9d;
    animation: heartBeat 1.5s ease-in-out infinite 0.5s;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

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

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

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
    background: #fff;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-success:hover {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.links a {
    color: #e91e63;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.links a:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

.header-section {
    text-align: center;
    margin-bottom: 30px;
}

.header-section .logo {
    font-size: 48px;
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #ff6b9d, 0 0 20px #ff6b9d; }
    to { text-shadow: 0 0 20px #e91e63, 0 0 30px #e91e63; }
}

.header-section p {
    color: #888;
    font-size: 16px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.5);
    color: #fff;
}

.download-btn::before {
    content: '⬇';
    font-size: 18px;
}

.intro-section {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.intro-section h3 {
    color: #e91e63;
    margin-bottom: 15px;
    font-size: 20px;
}

.intro-section p {
    color: #666;
    line-height: 1.8;
}

.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    border: 2px solid #e91e63;
    animation: playerPulse 2s ease-in-out infinite;
}

@keyframes playerPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(233, 30, 99, 0.3); }
    50% { box-shadow: 0 10px 40px rgba(233, 30, 99, 0.5); }
}

.music-player .music-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    animation: musicRotate 3s linear infinite;
}

@keyframes musicRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-player .music-name {
    color: #e91e63;
    font-weight: 600;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-player .music-ctrl {
    background: none;
    border: none;
    color: #e91e63;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s;
}

.music-player .music-ctrl:hover {
    transform: scale(1.2);
}

.captcha-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-box input {
    flex: 1;
}

.captcha-box img {
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e8e8e8;
    transition: border-color 0.3s;
}

.captcha-box img:hover {
    border-color: #e91e63;
}

.countdown-btn {
    background: #ccc !important;
    cursor: not-allowed !important;
}

.page-switch {
    text-align: center;
    margin-top: 15px;
}

.page-switch a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 500;
}

.page-switch a:hover {
    text-decoration: underline;
}

.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}

.agreement input {
    width: auto;
}

.agreement label {
    margin: 0;
    color: #666;
    font-weight: normal;
}

.agreement a {
    color: #e91e63;
    text-decoration: none;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

.footer a {
    color: #e91e63;
    text-decoration: none;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .card {
        padding: 25px;
        border-radius: 20px;
    }
    
    .card h2 {
        font-size: 22px;
    }
    
    .music-player {
        bottom: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    
    .music-player .music-name {
        max-width: 100px;
    }
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-hearts .heart {
    position: absolute;
    color: rgba(255, 107, 157, 0.3);
    font-size: 20px;
    animation: floatUp 8s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}
