/* STEAM平台多开器更新页面样式 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #1b2838;
    color: #c7d5e0;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.8s ease-out;
}

.container {
    background-color: #2a475e;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-color: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(102, 192, 244, 0.4);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #ffffff;
    margin: 0;
    font-size: 28px;
}

.version {
    display: inline-block;
    background-color: #66c0f4;
    color: #fff;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 4px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.force-update-alert {
    background-color: #b71c1c;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ff8f00;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    from { box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3); }
    to { box-shadow: 0 4px 20px rgba(255, 143, 0, 0.5); }
}

.force-update-alert h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    display: block;
    font-size: 24px;
}

.force-update-alert h2::before {
    display: none;
}

.force-update-alert p {
    color: #fff;
    margin: 10px 0;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
}

.notification {
    background-color: #171d25;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
    border-left: 4px solid #f7b731;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 183, 49, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(247, 183, 49, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 183, 49, 0); }
}

.notification p {
    margin: 0;
    color: #f7b731;
    font-weight: bold;
}

.product-description {
    margin: 25px 0;
    line-height: 1.6;
    background-color: rgba(102, 192, 244, 0.05);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(102, 192, 244, 0.15);
}

.product-description p {
    margin: 0;
    color: #d4e7f7;
}

.update-content {
    background-color: #1b2838;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #66c0f4;
}

.update-content .link {
    color: #66c0f4;
    text-decoration: none;
    border-bottom: 1px dashed #66c0f4;
    padding-bottom: 1px;
    transition: all 0.2s;
}

.update-content .link:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    text-decoration: none;
}

h2 {
    color: #66c0f4;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 22px;
    background-color: #66c0f4;
    margin-right: 10px;
    border-radius: 3px;
}

h3 {
    color: #f7b731;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

ul {
    padding-left: 20px;
    list-style-type: none;
}

li {
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

li::before {
    content: "•";
    color: #66c0f4;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

.download-section {
    margin: 25px 0;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.download-option {
    background-color: rgba(102, 192, 244, 0.1);
    border-radius: 6px;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    border: 1px solid rgba(102, 192, 244, 0.2);
    transition: all 0.3s;
}

.download-option:hover {
    background-color: rgba(102, 192, 244, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-option h3 {
    color: #66c0f4;
    margin-top: 0;
    margin-bottom: 10px;
}

.download-option p {
    margin-bottom: 15px;
    color: #a4c7e0;
    font-size: 14px;
}

.download {
    background-color: #66c0f4;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.download:hover {
    background-color: #4fa4d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.download-icon {
    margin-right: 10px;
    font-size: 20px;
}

.download-info {
    background-color: #1b2838;
    border-radius: 6px;
    padding: 15px 20px;
    margin-top: 20px;
}

.download-info p {
    margin: 8px 0;
}

.important-note {
    background-color: rgba(247, 183, 49, 0.1);
    border-radius: 6px;
    padding: 15px 20px;
    margin: 30px 0;
    border: 1px solid rgba(247, 183, 49, 0.3);
}

.compliance-note {
    background-color: rgba(102, 192, 244, 0.07);
    border-radius: 6px;
    padding: 15px 20px;
    margin: 30px 0;
    border: 1px solid rgba(102, 192, 244, 0.2);
    border-left: 4px solid #66c0f4;
}

.compliance-note h3 {
    color: #66c0f4;
    margin-top: 0;
    margin-bottom: 10px;
}

.compliance-note p {
    line-height: 1.6;
    margin: 10px 0 0;
}

.compliance-note .link {
    font-weight: bold;
}

.link {
    color: #66c0f4;
    text-decoration: none;
    transition: color 0.2s;
}

.link:hover {
    color: #4fa4d6;
    text-decoration: underline;
}

.footer {
    margin-top: 40px;
    font-size: 14px;
    text-align: center;
    color: #8f98a0;
    border-top: 1px solid #3d6a8a;
    padding-top: 20px;
}

.links {
    margin-top: 15px;
}

.footer-link {
    color: #8f98a0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #c7d5e0;
}

.contact-info {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(102, 192, 244, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.contact-info p {
    margin: 5px 0;
    color: #a4c7e0;
}

.qq-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.qq-groups p {
    background-color: rgba(102, 192, 244, 0.15);
    padding: 5px 12px;
    border-radius: 4px;
    margin: 0;
    font-weight: bold;
    color: #66c0f4;
    transition: all 0.2s;
}

.qq-groups p:hover {
    background-color: rgba(102, 192, 244, 0.25);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    h2::before {
        display: none;
    }
    
    .download-options {
        flex-direction: column;
    }
    
    .download-option {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .download {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .contact-info {
        width: 100%;
        box-sizing: border-box;
    }
    
    .qq-groups {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .qq-groups p {
        width: 80%;
        text-align: center;
    }
    
    .modal-content {
        width: 90%;
    }
}

.support-channels {
    margin: 25px 0;
    padding: 20px;
    background-color: rgba(102, 192, 244, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(102, 192, 244, 0.15);
}

.support-channels h3 {
    color: #66c0f4;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.support-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.support-item {
    display: flex;
    background-color: rgba(42, 71, 94, 0.7);
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    border: 1px solid rgba(102, 192, 244, 0.2);
    transition: all 0.3s;
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.support-icon {
    width: 50px;
    height: 50px;
    background-color: #66c0f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    margin-right: 15px;
}

.support-details {
    flex: 1;
}

.support-details h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
}

.wechat-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wechat-link {
    display: inline-block;
    background-color: #2db72d;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background-color 0.2s;
}

.wechat-link:hover {
    background-color: #28a428;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.qrcode img {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 4px;
    margin-bottom: 5px;
}

.qrcode p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #a4c7e0;
}

.qrcode-img {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.qrcode-img:hover {
    transform: scale(1.05);
}

/* 模态框样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 300px;
    border: 3px solid #fff;
    border-radius: 4px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #66c0f4;
    text-decoration: none;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
} 