/* 二维码样式 */
.qr-code {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    min-width: 180px;
    text-align: center;
}

.qr-code.active {
    opacity: 1;
    visibility: visible;
    bottom: 55px;
}

.qr-code:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

.qr-code img {
    width: 160px;
    height: 160px;
    display: block;
    margin: 0 auto;
}

.qr-code p {
    color: #333;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

.qr-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff2d75;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 11;
}

/* 软件下载模态框 */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.download-modal.active {
    visibility: visible;
    opacity: 1;
}

.download-content {
    background: rgba(25, 22, 50, 0.95);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 2px solid var(--accent);
}

.close-download {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close-download:hover {
    color: var(--accent);
}

.download-info {
    background: rgba(15, 12, 41, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.download-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.download-link {
    display: block;
    background: rgba(106, 17, 203, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    color: var(--light);
    word-break: break-all;
    transition: all 0.3s ease;
}

.download-link:hover {
    background: rgba(106, 17, 203, 0.5);
    transform: translateY(-3px);
}

.download-code {
    display: inline-block;
    background: rgba(255, 45, 117, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    color: var(--accent);
    margin-top: 10px;
}

.qr-code-download {
    margin-top: 20px;
}

.qr-code-download img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border: 5px solid white;
    border-radius: 10px;
}