body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

#app {
    flex: 1; 
}

.download-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    background-color: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 15px;
}

.header-gap {
    height: 80px;
}

.site-footer {
    min-height: 50px; 
    padding-top: 15px;
    padding-bottom: 15px;
}

.download-card {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #eef2f5;
    margin: auto;
}

.download-page .return-link {
    margin-top: 20px;
    text-align: center;
}

.download-page .btn-small {
    font-size: 0.9em;
    padding: 5px 10px;
}

.download-page .btn-primary-outline {
    color: #007bff; 
    background-color: transparent;
    border: 1px solid #007bff;
    text-decoration: none;
}

.download-page .btn-primary-outline:hover {
    color: #fff;
    background-color: #007bff;
}

.card-header .game-image { width: 100%; height: 250px; object-fit: cover; display: block; background-color: #eee; }
.card-body { padding: 25px 30px; }
.game-title { font-size: 24px; font-weight: 700; color: #2c3e50; margin: 0 0 10px; }
.game-size { font-size: 15px; color: #7f8c8d; margin-bottom: 20px; }
.user-info { background-color: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 25px; font-size: 14px; border: 1px solid #e9ecef; }
.user-info p { margin: 0; }
.gold-count { font-weight: bold; color: #f39c12; }
.gold-status-low, .login-prompt { color: #e74c3c; }
.gold-status-ok { color: #27ae60; }
.download-links { display: flex; flex-direction: column; gap: 15px; }
.btn { display: flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 8px; text-decoration: none; font-size: 16px; font-weight: 600; transition: all 0.2s ease-in-out; border: none; cursor: pointer; color: white; text-align: center; }
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-quark { background-color: #3174ff; }
.btn-bt { background-color: #e67e22; }
.btn-foreign { background-color: #8e44ad; }
.btn-baidu { background-color: #2ecc71; }
.btn-disabled { background-color: #bdc3c7; color: #7f8c8d; cursor: not-allowed; }
.recommended { background-color: #e74c3c; color: white; padding: 3px 8px; border-radius: 12px; font-size: 12px; margin-left: 10px; font-weight: normal; }
.free-tag { background-color: #f1c40f; color: #333; padding: 3px 8px; border-radius: 12px; font-size: 12px; margin-left: 10px; font-weight: normal; }
.download-note { font-size: 13px; color: #95a5a6; text-align: center; margin-top: 8px; }
.download-note .cost { color: #e74c3c; font-weight: bold; }
.password-info { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e0e0; text-align: center; font-size: 16px; color: #34495e; }
.password-info strong { color: #e74c3c; background-color: #fdf2f2; padding: 4px 8px; border-radius: 4px; }
.loading-spinner, .error-message { text-align: center; padding: 50px; color: #555; }