/* index.css - 首页专属样式 */
.hero {
    text-align: center;
    padding: 48px 0 40px;
}
.big-logo-img {
    max-width: 90%;
    height: auto;
    width: auto;
    max-height: 150px;
    margin-bottom: 20px;
}
.download-buttons-hero {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.download-img-link {
    display: inline-block;
    transition: transform 0.2s ease;
}
.download-img-link:hover {
    transform: translateY(-3px);
}
.download-img {
    width: 266px;
    height: 73px;
    object-fit: contain;
    display: block;
}
@media (max-width: 860px) {
    .download-img {
        width: 200px;
        height: auto;
    }
}
@media (max-width: 700px) {
    .download-img {
        width: 160px;
        height: auto;
    }
}
/* 双栏布局 */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin: 20px 0 60px;
}
@media (max-width: 860px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.info-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 32px;
    padding: 28px 28px 32px;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.06), 0 0 0 1px #F2EBE3 inset;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(1px);
}
.info-card:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px -12px rgba(100, 50, 20, 0.12);
}
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2A241F;
    border-left: 4px solid #E76F42;
    padding-left: 16px;
    text-align: left;
}
.article-list {
    list-style: none;
    flex: 1;
}
.article-list li {
    margin-bottom: 22px;
    border-bottom: 1px solid #F7EFE8;
    padding-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}
.article-list a {
    text-decoration: none;
    color: #3C2D22;
    font-weight: 500;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    word-break: break-word;
}
.article-list a i {
    font-size: 0.7rem;
    color: #E76F42;
}
.article-list a:hover {
    color: #D64A26;
    transform: translateX(4px);
}
.article-date {
    font-size: 0.7rem;
    color: #AC8E74;
    background: #FCF7F2;
    padding: 2px 10px;
    border-radius: 30px;
    white-space: nowrap;
}
.video-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-player {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}
/* 版本介绍 */
.version-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 50px;
    position: relative;
    aspect-ratio: 1200 / 764;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}
.version-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(118, 167, 142);
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
    max-width: 85%;
    width: 100%;
    white-space: normal;
    word-break: break-word;
}
@media (max-width: 768px) {
    .version-text {
        font-size: 0.85rem;
        max-width: 90%;
    }
}
/* 职业介绍 */
.section {
    margin: 70px 0 60px;
}
.section-title-img {
    display: block;
    width: 350px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 30px;
    object-fit: contain;
}
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}
.career-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 32px;
    padding: 24px 16px 24px;
    text-align: center;
    border: 1px solid #F0E2D6;
    box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    backdrop-filter: blur(1px);
    cursor: pointer;
}
.career-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-4px);
    border-color: #E5C9B5;
}
.career-img {
    position: relative;
    width: 152px;
    height: 152px;
    margin: 0 auto 16px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    transition: background-position 0.2s ease, filter 0.2s ease;
    border-radius: 16px;
    overflow: hidden;
}
.career-img.gray-top {
    filter: grayscale(1);
    background-position: 0 0;
}
.career-img.color-bottom {
    filter: grayscale(0);
    background-position: 0 -152px;
}
.career-name {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFE6C7;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 2px;
    backdrop-filter: blur(2px);
    z-index: 2;
}
.career-detail {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.1);
    background: #2A241F;
}
.detail-bg {
    width: 100%;
    aspect-ratio: 1600 / 736;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}
.detail-text {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-width: 600px;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    overflow: visible;
    pointer-events: none;
    max-height: none;
    height: auto;
}
.career-name-img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.detail-text .para {
    margin-bottom: 24px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}
.detail-text .para strong {
    font-weight: 800;
    color: #FFD966;
}
@media (max-width: 860px) {
    .detail-text {
        left: 15px;
        right: 15px;
        font-size: 0.8rem;
    }
    .career-name-img {
        width: 250px;
    }
}
@media (max-width: 640px) {
    .detail-text {
        left: 10px;
        right: 10px;
    }
    .career-name-img {
        width: 200px;
    }
}