:root {
    --primary-color: #6366f1;
    --secondary-color: #818cf8;
    --background-color: #EEF2FF;
    --gradient-start: #E0E7FF;
    --gradient-end: #EEF2FF;
    --card-background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-container { }

.logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header h1 {
    font-size: 2rem;
    color:#778899;
    margin: 0;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.version-selection {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.version-card {
    background: var(--card-background);
    padding: 1.2rem;
    width: 230px;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.version-card.selected {
    border: 2.5px solid #ff0040 !important;
    background-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}

.version-card.selected:hover {
    border: 2.5px solid #ff0040 !important;
    background-color: #ffffff;
}

.xiaochengxu {    background: #f27474;    width: 50%;    margin: auto;    padding: 15px;border-radius: 0.5rem;    text-align: center;}
.xiaochengxu a {text-decoration: none;text-decoration: none;    color: #fff;    font-size: 20px;    font-weight: 600;}
/*pc 设置icon大小*/
.card-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.9;margin-top: 20px;
}

.card-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0.3rem 0;
    font-weight: 600;
}

.version-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.5rem 0;
    letter-spacing: 0.5px;
}

.popularity {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    opacity: 0.8;
}

.recommended {
    border: 2px solid var(--primary-color);
}

.recommend-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.start-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.start-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.footer-text {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.instructions {
    background-color: var(--card-background);
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1);
    text-align: left;
    max-width: 800px;
    transition: transform 0.3s ease;
}

.instructions:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}

.instructions h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.instructions ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.instructions li {
    margin: 1rem 0;
    padding: 1rem;
    background-color: rgba(99, 102, 241, 0.05);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 3px solid var(--primary-color);
}

.instructions li b {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.history {
    background-color: var(--card-background);
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1);
    text-align: left;
    max-width: 800px;
    transition: transform 0.3s ease;
}

.history:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}

.history h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.history ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.history li {
    margin: 1rem 0;
    padding: 1rem;
    background-color: rgba(99, 102, 241, 0.05);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 3px solid var(--primary-color);
}

.history li b {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card-content {
    position: relative;
    padding-top: 0.5rem;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.version-card.selected .card-icon {
    color: var(--primary-color);
    opacity: 1;
}

.version-card.selected .version-type {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .logo-container {    }
    
    .logo-container img {height: 4.5rem;    margin: 0 auto;    display: block;}

    .logo {
        border-width: 2px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
        margin: 0.3rem 0;
    }

    .description {
        font-size: 0.9rem;
        margin: 0.3rem 0;
        padding: 0 1rem;
    }

    .version-selection {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 0.3rem;
        margin: 1rem 0;
        padding: 0;
        width: 100%;
    }

    .version-card {
        flex: 1;
        width: calc(33.33% - 0.4rem);
        min-width: 0;
        padding: 0.5rem;
        margin: 2px;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

    .card-content {
        padding-top: 0.3rem;
    }

    .card-content h2 {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }

    .version-type {
        font-size: 1rem;
        margin: 0.2rem 0;
    }

    .popularity {
        font-size: 0.65rem;
        margin: 0.5rem 0;
    }

    .card-content::before {
        width: 30px;
        height: 2px;
    }

    .instructions, .history {
        margin: 1rem 0;
        padding: 1rem;
        border-radius: 0.8rem;
    }

    .instructions h3, .history h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.3rem;
    }

    .instructions ul, .history ul {
        margin: 0;
    }

    .instructions li, .history li {
        margin: 0.8rem 0;
        padding: 0.8rem;
        font-size: 0.85rem;
        line-height: 1.5;
        border-left: 2px solid var(--primary-color);
    }
    .instructions li p, .history li p {text-align: justify;}
    .instructions li b, .history li b {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .instructions + .history {
        margin-top: 1.5rem;
    }

    .instructions:hover, .history:hover {
        transform: none;
        box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1);
    }
    
    .floating-buttons {
        display: none; /* 隐藏右下角的PC端按钮 */
    }
    
    /* 添加移动端底部固定按钮样式 */
    .mobile-bottom-buttons {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .mobile-button {
        flex: 1;
        padding: 10px;
        text-align: center;
        color: white;
        font-size: 16px;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .mobile-button i {
        font-size: 16px;
    }

    .mobile-report-btn {
        background-color: #f27474;
    }

    .mobile-wechat-btn {
        background-color: #07C160;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-buttons {
        display: none;
    }
}
@media (max-width: 375px) {
    .logo-container {
        width: 70px;
        height: 70px;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.85rem;
    }

    .version-card {
        padding: 0.4rem;
    }

    .card-icon {
        font-size: 5rem;
    }

    .card-content h2 {
        font-size: 0.9rem;
    }

    .version-type {
        font-size: 0.7rem;
    }

    .popularity {
        font-size: 0.6rem;
    }

    .instructions, .history {
        padding: 0.8rem;
    }

    .instructions h3, .history h3 {
        font-size: 1.1rem;
    }

    .instructions li, .history li {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .instructions li b, .history li b {
        font-size: 0.9rem;
    }
}
/* 右下角找回报告按钮样式 */
.recover-report-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #f27474;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.recover-report-button i {
    font-size: 18px;
    margin-right: 8px;
}

.recover-report-button span {
    font-size: 14px;
    font-weight: 500;
}

.recover-report-button:hover {
    background-color: #3a59c7;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* 适配移动设备 */
@media (max-width: 768px) {
    .recover-report-button {
        right: 15px;
        bottom: 15px;
        padding: 8px 12px;
    }

    .recover-report-button i {
        font-size: 16px;
    }

    .recover-report-button span {
        font-size: 12px;
    }
}

.news-section {
    margin: 29px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.news-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列布局 */
    gap: 15px;
}

.news-item {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    /*transition: transform 0.3s ease;*/
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 2px 12px rgba(0,0,0,0.12);*/
}

.news-image {
    width: 100%;
    height: 100px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 10px;
}

.news-content h4 {
    font-size: 10px;
    margin: 0 0 -13px 0;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    color: #888;
    font-size: 12px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr); /* 手机端2列布局 */
        gap: 10px;
    }

    .news-image {
        height: 90px;
    }

    .news-content {
        padding: 8px;
    }

    .news-content h4 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-list {
        grid-template-columns: repeat(1, 1fr); /* 小屏幕1列布局 */
    }
}


.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-button {
    background-color: #f27474;
    color: white;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-button i {
    font-size: 18px;
    margin-right: 8px;
}

.floating-button span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.floating-button:hover {
    background-color: #3a59c7;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.wechat-button {
    background-color: #008040;
}

.wechat-button:hover {
    background-color: #06ae56;
}

/* 添加媒体查询，在移动端隐藏按钮 */
@media (max-width: 768px) {
    .floating-buttons {
        display: none;
    }
}

/* 修改news-section相关样式 */
.news-section {
    margin: 29px auto;
    padding: 30px;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.news-section h3 {
    margin-top:-1px;
    border-top:20px;
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    text-align: center;
    display: inline-block;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 10px;
}

.news-item {
    border: 1px solid #f0f0f0;
    border-radius: 0px;
    overflow: hidden;
    /*transition: transform 0.3s ease;*/
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
}

.news-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 8px;height: 50px;
    background: #fff;
}

.news-content h4 {
    font-size: 16px;
    margin: 0 0 -17px 0;
    color: #333333;
    line-height: 1.4;    font-weight: 500;text-align: justify;
}

.news-meta {
    color: #888;
    font-size: 14px;
}

/* 保持移动端的响应式布局 */
@media (max-width: 768px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }
    
    .news-section {
        padding: 15px;
        margin: 20px 0px;margin-bottom: 50px;
    }

    .news-image {
        height: 100px; /* 调整图片高度 */
    }

    .news-content {
        padding: 8px; /* 减小内边距 */
    }

    .news-meta {
        font-size: 12px; /* 减小字体大小 */
    }
}

/* 更小屏幕的适配 */
@media (max-width: 375px) {
    .news-image {
        height: 90px; /* 更小屏幕进一步调整图片高度 */
    }

    .news-content h4 {
        font-size: 13px;
    }
}

.recommend-tag {
    position: absolute;
    top: -1px;
    right: -2px;
    padding: 5px 15px;
    font-size: 0.99rem;
    color: white;
    font-weight: 500;
    writing-mode: horizontal-tb;
    z-index: 1;
}

/* 为不同版本设置不同的标签背景色 */
.version-card:nth-child(1) .recommend-tag {
    background: #818cf8;
}

.version-card:nth-child(2) .recommend-tag {
    background: #FF6699;
}

.version-card:nth-child(3) .recommend-tag {
    background: #ff0060;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .recommend-tag {
        font-size: 0.75rem;
        padding: 4px 6px;
        right: -2px;
    }
}