/* 基础样式 */
* {
    box-sizing: border-box;
}

body {
    background: #f6f8fa;
    margin: 0;
    padding: 20px;
    font-family: 'Segoe UI', Calibri, Arial, Helvetica, sans-serif;
}

/* 容器样式 */
.container {
    max-width: 740px;
    margin: 3% auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 32px 24px;
}

/* 标题样式 */
.title {
    color: #222;
    font-size: 2.5rem;
    text-align: center;
    font-weight: 600;
    margin: 0 0 10px;
    letter-spacing: 1px;
}

.subtitle {
    color: #222;
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    margin: 0 0 40px;
}

/* 下载区域通用样式 */
.download-section {
    border-radius: 12px;
    padding: 18px 12px;
    margin-bottom: 32px;
}

.client-section {
    border: 1px solid #f97b00;
}

.web-section {
    border: 1px solid #1506ee;
}

/* 下载项样式 */
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 63px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 18px;
    padding: 0 10px;
    transition: background 0.2s;
}

.download-item:hover {
    background: #f3f7fa;
    border-radius: 8px;
}

.download-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* 项目名称 */
.item-name {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
    color: #333;
}

/* 按钮通用样式 */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 185px;
    height: 44px;
    border-radius: 8px;
    text-decoration: none;
    margin-left: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

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

/* 按钮颜色变体 */
.btn-orange { background: #f97b00; }
.btn-green { background: #90c31f; }
.btn-blue { background: #1506ee; }

/* 按钮内部元素 */
.btn-icon {
    height: 28px;
    width: 28px;
    margin-right: 12px;
}

.btn-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px #7a3d00;
    letter-spacing: 0.5px;
}

/* JRE链接样式 */
.jre-links {
    display: flex;
    gap: 32px;
    margin-left: 24px;
}

.jre-link-item {
    flex: 1;
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 32px;
}

.jre-link-item p {
    color: #666;
    font-weight: 400;
    font-size: 0.98rem;
    margin: 0;
    transition: color 0.2s;
}

.jre-link-item:hover p {
    color: #333;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 12px 4px 16px;
        margin-top: 18px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .download-item {
        flex-direction: column;
        height: auto;
        padding: 15px 5px;
    }

    .btn {
        min-width: 140px;
        height: 38px;
        margin-left: 0;
        margin-top: 12px;
    }

    .btn-icon {
        height: 22px;
        width: 22px;
        margin-right: 8px;
    }

    .item-name {
        font-size: 1rem;
    }

    .jre-links {
        flex-direction: column;
        gap: 8px;
        margin-left: 0;
    }
}