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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

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

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.header h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.app-desc {
    font-size: 16px;
    color: #666;
}

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

.download-section h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.download-card {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

.card-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.version {
    font-size: 14px;
    color: #999;
    background-color: #f5f5f5;
    padding: 4px 12px;
    border-radius: 12px;
}

.card-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.download-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.download-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.android-btn {
    background-color: #ff416c;
    color: white;
}

.ios-btn {
    background-color: #ff4b2b;
    color: white;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    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="white"><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="white"><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: 12px;
    color: #999;
    margin-top: 12px;
    text-align: center;
}

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

.tips-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #333;
}

.tips-list {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tips-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.tips-list li:before {
    content: "•";
    color: #ff416c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.footer p {
    font-size: 12px;
    color: #999;
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .download-card {
        padding: 20px;
    }
    
    .download-btn {
        padding: 14px;
    }
}

@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: 16px;
    height: 16px;
    margin-left: 8px;
    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); }
}