/* 工具下载页面通用样式（适用于 BBKEasyROOT 及后续工具页） */

.tool-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.tool-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tool-title h1 {
    border-left: none;
    padding-left: 0;
    margin-bottom: 8px;
}
.tool-title .version {
    color: var(--primary);
    font-weight: 500;
}
.download-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
}
.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
}
.download-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.download-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}
.download-info p {
    font-size: 14px;
    margin-bottom: 0;
}
.btn-download {
    background: var(--accent);
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.btn-download:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.file-desc {
    background: #f0f9ff;
    padding: 20px 24px;
    border-radius: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}
.developer-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-top: 20px;
}
.dev-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.dev-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dev-info h3 {
    margin-bottom: 6px;
}
.dev-info p {
    margin-bottom: 0;
    color: var(--text-light);
}
/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: var(--card-bg);
    max-width: 500px;
    width: 90%;
    border-radius: 24px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
}
.modal-content i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}
.modal-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}
.modal-content p {
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.6;
}
.modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.modal-btn {
    padding: 10px 28px;
    border-radius: 40px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.modal-confirm {
    background: var(--accent);
    color: white;
}
.modal-confirm:hover {
    background: var(--accent-hover);
}
.modal-cancel {
    background: #e2e8f0;
    color: var(--text);
}
.modal-cancel:hover {
    background: #cbd5e1;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 响应式 */
@media (max-width: 768px) {
    .tool-header { flex-direction: column; text-align: center; }
    .download-card { flex-direction: column; text-align: center; gap: 12px; }
    .developer-card { flex-direction: column; text-align: center; }
}