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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0d0c0a 0%, #1a1512 100%);
    color: #dccfc7;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(174, 139, 109, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(174, 139, 109, 0.08) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(2%, 2%); }
    50% { transform: translate(0, 4%); }
    75% { transform: translate(-2%, 2%); }
}

.header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
    position: relative;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(174, 139, 109, 0.3);
    position: relative;
    z-index: 1;
}

.icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #AE8B6D 0%, #F1E1D3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #403226;
    font-size: 48px;
    font-weight: bold;
    border: 2px solid rgba(174, 139, 109, 0.5);
}

.glow-effect {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(174, 139, 109, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

.header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f0d9c3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.app-desc {
    font-size: 18px;
    color: #8c7f77;
    margin-bottom: 30px;
}

.download-section {
    margin-bottom: 60px;
}

.download-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #eddcc9;
    text-align: center;
}

.download-card {
    background: rgb(40, 27, 19);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(174, 139, 109, 0.2);
    overflow: hidden;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(174, 139, 109, 0.2);
    border-color: rgba(174, 139, 109, 0.5);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(174, 139, 109, 0) 0%, rgba(174, 139, 109, 0.6) 50%, rgba(174, 139, 109, 0) 100%);
    animation: cardGlow 3s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #eddcc9;
}

.version {
    font-size: 14px;
    color: #8c7f77;
    background: rgba(174, 139, 109, 0.2);
    padding: 6px 16px;
    border-radius: 16px;
    border: 1px solid rgba(174, 139, 109, 0.3);
}

.card-desc {
    font-size: 16px;
    color: #8c7f77;
    margin-bottom: 25px;
}

.download-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(174, 139, 109, 0.4);
}

.download-btn:active {
    transform: translateY(-1px);
}

.android-btn {
    background: linear-gradient(0deg, #AE8B6D 0%, #F1E1D3 100%);
    color: #403226;
}

.ios-btn {
    background: linear-gradient(0deg, #AE8B6D 0%, #F1E1D3 100%);
    color: #403226;
}

.btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.android-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23403226"><path d="M17.5,1.91C15.79,2.43 13.96,3.16 12,4.06C10.04,3.16 8.21,2.43 6.5,1.91C4.74,2.46 3.27,3.82 2.94,5.63L3.93,6.19C4.13,5.35 4.79,4.66 5.66,4.39C7.34,3.83 9.17,3.5 11,3.5C12.83,3.5 14.66,3.83 16.34,4.39C17.21,4.66 17.87,5.35 18.07,6.19L19.06,5.63C18.73,3.82 17.26,2.46 15.5,1.91M12,18.5C13.83,18.5 15.66,18.17 17.34,17.61C18.21,17.34 18.87,16.65 19.07,15.81L18.08,15.25C17.88,16.09 17.22,16.78 16.35,17.05C14.67,17.61 12.84,17.94 11,17.94C9.16,17.94 7.33,17.61 5.65,17.05C4.78,16.78 4.12,16.09 3.92,15.25L2.93,15.81C3.13,16.65 3.79,17.34 4.66,17.61C6.34,18.17 8.17,18.5 10,18.5H12Z" /></svg>');
}

.ios-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23403226"><path d="M18.71,19.5C17.88,20.74 16.33,21.5 14.5,21.5C12.67,21.5 11.12,20.74 10.29,19.5L1.29,4.5C0.46,3.26 0.46,1.74 1.29,0.5C2.12,-0.74 3.67,-1.5 5.5,-1.5C7.33,-1.5 8.88,-0.74 9.71,0.5L12,4L14.29,0.5C15.12,-0.74 16.67,-1.5 18.5,-1.5C20.33,-1.5 21.88,-0.74 22.71,0.5C23.54,1.74 23.54,3.26 22.71,4.5L18.71,19.5M17,15.5C17,16.38 16.64,17.19 16,17.74V19.5C16,20.05 15.55,20.5 15,20.5H9C8.45,20.5 8,20.05 8,19.5V17.74C7.36,17.19 7,16.38 7,15.5V14H17V15.5Z" /></svg>');
}

.download-tip {
    font-size: 14px;
    color: #8c7f77;
    margin-top: 15px;
    text-align: center;
}

.qr-section {
    margin-bottom: 60px;
    text-align: center;
}

.qr-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #eddcc9;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #AE8B6D 0%, #F1E1D3 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.qr-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.qr-icon {
    font-size: 80px;
    z-index: 1;
}

.qr-hint {
    font-size: 14px;
    color: #8c7f77;
}

.tips-section {
    margin-bottom: 60px;
}

.tips-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #eddcc9;
    text-align: center;
}

.tips-list {
    background: rgb(35, 29, 29);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(174, 139, 109, 0.2);
}

.tips-list li {
    font-size: 16px;
    color: #8c7f77;
    margin-bottom: 15px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.tips-list li:before {
    content: "•";
    color: #AE8B6D;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.info-section {
    margin-bottom: 60px;
}

.info-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #eddcc9;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: rgb(35, 29, 29);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(174, 139, 109, 0.2);
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 14px;
    color: #8c7f77;
    margin-bottom: 8px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: #dccfc7;
}

.footer {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(174, 139, 109, 0.2);
    position: relative;
}

.footer p {
    font-size: 14px;
    color: #8c7f77;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 14px;
    color: #AE8B6D;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #F1E1D3;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #AE8B6D, #F1E1D3);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    .header h1 {
        font-size: 32px;
    }
    
    .download-card {
        padding: 25px;
    }
    
    .download-btn {
        padding: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        gap: 15px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.download-btn:active {
    animation: pulse 0.3s ease;
}

.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading:after {
    content: "";
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(35, 29, 29, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(174, 139, 109, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(174, 139, 109, 0.7);
}