/* ============== AISS 2026 主样式 ============== */

:root {
    --bg-deep:        #073a8a;       /* 深蓝主背景 */
    --bg-mid:         #0d4caa;       /* 中蓝 */
    --bg-hero:        #0849b0;       /* Hero 区蓝 */
    --color-green:    #5cff5c;       /* 主绿色高亮 */
    --color-green-2:  #3eea3e;
    --color-green-3:  #2cd92c;
    --color-white:    #ffffff;
    --color-gray:     rgba(255,255,255,0.75);
    --color-gray-2:   rgba(255,255,255,0.55);
    --color-card-bg:  rgba(8, 50, 130, 0.55);
    --color-card-bd:  rgba(92, 255, 92, 0.7);
    --color-submit:   #1d8e7e;       /* 提交要求青绿条 */
    --color-submit-2: #18806f;
    --color-time:     #5cff5c;
    --max-w:          1200px;        /* 主内容最大宽度 */
    --pad-x:          40px;          /* PC 端左右内边距 */
}

body {
    background: linear-gradient(180deg, #0849b0 0%, #05309b 45%, #0c378d 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.page-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: url("../pic/bg_full.png") top center no-repeat;
    background-size: 100% auto;
}

/* ====================== Hero 头部 ====================== */
.hero {
    position: relative;
    padding: 60px var(--pad-x) 80px;
    text-align: center;
}

/* 顶部双实验室 Logo */
.hero__top {
    margin-bottom: 50px;
}
.hero__top-inner {
    display: inline-block;
}
.tsinghua-labs-img {
    width: 660px;
    max-width: 100%;
    height: auto;
}

/* Hero 主区 */
.hero__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.hero__aiss {
    flex-shrink: 0;
}
.aiss-logo-img {
    width: 280px;
    height: auto;
}

.hero__title {
    text-align: left;
    color: var(--color-white);
}
.hero__title-en {
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
    font-weight: 500;
}
.hero__title-cn {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 0 0 18px rgba(92,255,92,0.25);
}
.hero__title-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 0;
}
.hero__title-line {
    flex: 1;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
}
.hero__title-date {
    font-size: 20px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    margin: 0;
}

/* 副标语 */
.hero__tagline {
    margin: 40px auto 0;
    max-width: 900px;
}
.tag-pill {
    display: inline-block;
    font-size: 38px;
    font-weight: 600;
    color: var(--color-green);
    letter-spacing: 4px;
    text-shadow: 0 0 22px rgba(92,255,92,0.45);
    margin-bottom: 18px;
}
.hero__desc {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    line-height: 1.8;
}

/* 两侧装饰点已并入背景图 bg_rings.png，不再单独渲染 */

/* ====================== 双卡片区 ====================== */
.cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: var(--max-w);
    margin: 60px auto 0;
    padding: 0 var(--pad-x);
}

.info-card {
    background: var(--color-card-bg);
    border: 2px solid var(--color-card-bd);
    border-radius: 22px;
    padding: 40px 50px 50px;
    position: relative;
    backdrop-filter: blur(2px);
}

.info-card__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-green);
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 6px;
    text-shadow: 0 0 16px rgba(92,255,92,0.3);
}
.info-card__subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

/* 七大研究方向 */
.direction-list {
    padding: 0 4px;
}
.direction-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 20px;
    color: var(--color-white);
}
.dir-index {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #ffffff;
    color: #05309b;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--color-green);
    font-size: 16px;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
}
.dir-name {
    flex: 1;
}

/* 核心平台 */
.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 14px;
}
.platform-mark {
    width: 50px;
    height: auto;
    display: block;
    flex-shrink: 0;
}
.platform-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-white);
}
.platform-tagline {
    text-align: center;
    color: var(--color-green);
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.platform-list {
    padding: 0 6px;
}
.platform-item {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}
.platform-item::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 19px;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

/* ====================== 奖项 + 时间双栏 ====================== */
.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--max-w);
    margin: 70px auto 0;
    padding: 0 var(--pad-x);
}

.info-block {
    position: relative;
}
.block-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 6px;
}
.title-arrow {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    vertical-align: -3px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 8 L31 31 M31 13 L31 31 L13 31' fill='none' stroke='%235cff5c' stroke-width='4.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.block-subtitle-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}
.block-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    letter-spacing: 1px;
    white-space: nowrap;
    margin-bottom: 0;
}
.subtitle-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.5) 0%, transparent 100%);
}

/* 参赛与奖项 */
.awards-requirement {
    margin-bottom: 30px;
}
.req-line {
    font-size: 18px;
    color: #1d8e7e;
    margin-bottom: 8px;
}
.req-line--strong {
    font-size: 22px;
    color: var(--color-white);
    font-weight: 600;
    margin-top: 4px;
}

.award-list {
    margin-bottom: 24px;
}
.award-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
}
.award-medal {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.award-medal img {
    width: 100%;
    height: auto;
}
.award-info {
    flex: 1;
    min-width: 0;
}
.award-name {
    font-size: 22px;
    font-weight: 700;
    color: #1d8e7e;
    margin-bottom: 4px;
}
.award-money {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
}
.award-count {
    background: #1d8e7e;
    color: #ffffff;
    width: 76px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 17px;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    box-sizing: border-box;
}

.extra-support {
    margin-top: 16px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    padding-left: 76px;
}

/* 时间线 */
.timeline {
    position: relative;
    padding: 6px 0 6px 6px;
    width: 460px;
    /* 使竖线(位于盒内 x=146px)恰好落在栏位水平中心 */
    margin: 0 0 0 calc(50% - 146px);
}
.timeline::before {
    content: "";
    position: absolute;
    left: 145px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        #1d8e7e 8%,
        #1d8e7e 92%,
        transparent 100%);
}
.timeline-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    position: relative;
}
.timeline-date {
    width: 150px;
    text-align: right;
    padding-right: 26px;
    flex-shrink: 0;
}
.date-y {
    display: block;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}
.date-m {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1d8e7e;
    line-height: 1.2;
}
.timeline-dot {
    position: absolute;
    left: 131px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 2px solid var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(92,255,92,0.55);
}
.timeline-name {
    flex: 1;
    font-size: 22px;
    color: var(--color-white);
    padding-left: 30px;
}
.timeline-name--link {
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.timeline-name--link:hover {
    color: var(--color-green);
    text-shadow: 0 0 12px rgba(92,255,92,0.4);
}

/* 第四个时间节点样式（截止+时间）*/
.m-prefix {
    display: inline-block;
    font-size: 14px;
    color: #1d8e7e;
    font-weight: 400;
    margin-right: 4px;
    vertical-align: middle;
}

/* ====================== 提交要求区 ====================== */
.submit-section {
    margin: 80px 0 0;
    padding: 34px var(--pad-x);
    background:
        linear-gradient(90deg, rgba(29,142,126,0.95) 0%, rgba(24,128,111,0.95) 100%);
    color: var(--color-white);
}
.submit-inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
    max-width: var(--max-w);
    margin: 0 auto;
}
.submit-head {
    min-width: 0;
}
.submit-title {
    font-size: 34px;
    font-weight: 700;
    color: #7ef29a;
    letter-spacing: 3px;
    white-space: nowrap;
}
.submit-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    margin-top: 8px;
    letter-spacing: 1px;
}
.submit-list {
    padding-top: 4px;
}
.submit-item {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
}
.submit-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,255,255,0.4);
}

/* ====================== 二维码区 ====================== */
.qr-section {
    margin: 60px auto 0;
    max-width: var(--max-w);
    padding: 40px var(--pad-x) 60px;
    text-align: center;
}
.qr-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 6px;
}
.qr-title-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
}
.qr-title-line--left {
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.5) 100%);
}
.qr-title-line--right {
    background: linear-gradient(to left, transparent 0%, rgba(255,255,255,0.5) 100%);
}
.qr-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: 4px;
    text-shadow: 0 0 18px rgba(92,255,92,0.3);
}
.qr-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.qr-row {
    display: flex;
    justify-content: center;
    gap: 110px;
    flex-wrap: wrap;
}
.qr-item {
    text-align: center;
}
/* 二维码图片本身是白色圆角方块，直接展示，不加任何额外背景框 */
.qr-img-box {
    width: 191px;
    height: 191px;
    margin: 0 auto 16px;
    transition: transform 0.25s ease;
}
.qr-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qr-item:hover .qr-img-box {
    transform: translateY(-4px);
}
.qr-label {
    font-size: 18px;
    color: var(--color-white);
    letter-spacing: 2px;
}

/* ====================== Footer ====================== */
.footer {
    text-align: center;
    padding: 30px var(--pad-x);
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    border-top: 1px solid rgba(92,255,92,0.15);
    margin-top: 30px;
}
.footer-org {
    margin-bottom: 6px;
}

/* ====================== 响应式 ====================== */

/* 平板横屏 1199 ~ 769 */
@media screen and (max-width: 1199px) {
    :root {
        --pad-x: 30px;
    }
    .hero {
        padding: 50px var(--pad-x) 60px;
    }
    .tsinghua-labs-img {
        width: 540px;
    }
    .aiss-logo-img {
        width: 220px;
    }
    .hero__main {
        gap: 40px;
    }
    .hero__title-cn {
        font-size: 44px;
    }
    .hero__title-en {
        font-size: 20px;
    }
    .tag-pill {
        font-size: 30px;
    }
    .info-card {
        padding: 30px 30px 36px;
    }
    .info-card__title {
        font-size: 30px;
    }
    .submit-inner {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    .submit-section {
        padding: 24px 30px;
    }
    .qr-img-box {
        width: 160px;
        height: 160px;
    }
}

/* 平板竖屏 768 ~ 481 */
@media screen and (max-width: 768px) {
    :root {
        --pad-x: 20px;
    }
    /* 窄屏下页面变高，背景改为按宽度缩放、只铺上部，下部由 body 渐变延续 */
    .page-wrap {
        background-size: 100% auto;
    }
    .hero {
        padding: 40px var(--pad-x) 50px;
    }
    .hero__top {
        margin-bottom: 30px;
    }
    .tsinghua-labs-img {
        width: 90%;
    }
    .hero__main {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 30px;
    }
    .hero__title {
        text-align: center;
    }
    .hero__title-cn {
        font-size: 32px;
        letter-spacing: 2px;
    }
    .hero__title-en {
        font-size: 16px;
        letter-spacing: 1px;
    }
    .hero__title-meta {
        flex-direction: column;
        gap: 0;
    }
    .hero__title-line {
        width: 80%;
        margin: 8px auto 12px;
    }
    .hero__title-date {
        font-size: 16px;
        text-align: center;
        margin-top: 0;
        padding-right: 0;
    }
    .tag-pill {
        font-size: 22px;
        letter-spacing: 1px;
    }
    .hero__desc {
        font-size: 15px;
    }

    /* 卡片变单列 */
    .cards-row,
    .info-row,
    .submit-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .info-card {
        padding: 24px 20px 30px;
    }
    .info-card__title {
        font-size: 26px;
        letter-spacing: 2px;
    }
    .direction-item {
        font-size: 17px;
    }
    .platform-name {
        font-size: 22px;
    }
    .platform-item {
        font-size: 14px;
    }
    .block-title {
        font-size: 26px;
    }
    .req-line--strong {
        font-size: 18px;
    }
    .award-name {
        font-size: 18px;
    }
    .award-money {
        font-size: 14px;
    }
    .award-count {
        font-size: 13px;
        width: 60px;
        height: 27px;
        line-height: 27px;
    }
    .extra-support {
        padding-left: 0;
        font-size: 14px;
    }
    .timeline::before {
        left: 110px;
    }
    .timeline-date {
        width: 110px;
        padding-right: 16px;
    }
    .date-m {
        font-size: 22px;
    }
    .timeline {
        width: auto;
    }
    .timeline-dot {
        left: 96px;
    }
    .timeline-name {
        font-size: 17px;
        padding-left: 22px;
    }
    .timeline-name--link:hover {
        color: var(--color-green);
    }
    .submit-section {
        padding: 20px;
    }
    .submit-title {
        font-size: 26px;
    }
    .submit-item {
        font-size: 14px;
    }
    .qr-row {
        gap: 40px;
    }
    .qr-title {
        font-size: 26px;
    }
    .qr-title-line {
        width: 80px;
    }
    .qr-img-box {
        width: 140px;
        height: 140px;
    }
    .qr-label {
        font-size: 15px;
    }
}

/* 手机 < 480 */
@media screen and (max-width: 480px) {
    :root {
        --pad-x: 14px;
    }
    .hero__title-cn {
        font-size: 24px;
    }
    .hero__title-en {
        font-size: 13px;
    }
    .tag-pill {
        font-size: 18px;
    }
    .hero__desc {
        font-size: 13px;
    }
    .info-card__title {
        font-size: 22px;
    }
    .direction-item {
        font-size: 15px;
        padding: 8px 0;
    }
    .dir-index {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 14px;
        margin-right: 10px;
    }
    .timeline::before {
        left: 88px;
    }
    .timeline-date {
        width: 88px;
        padding-right: 12px;
    }
    .timeline-dot {
        left: 80px;
        width: 14px;
        height: 14px;
    }
    .timeline-name {
        font-size: 15px;
        padding-left: 18px;
    }
    .timeline-name--link:hover {
        color: var(--color-green);
    }
    .date-m {
        font-size: 18px;
    }
    .qr-img-box {
        width: 116px;
        height: 116px;
    }
    .qr-label {
        font-size: 13px;
    }
    .footer {
        font-size: 12px;
    }
}

/* 给所有 data-hotspot 添加调试样式（可选） */
[data-hotspot] {
    transition: outline-color 0.2s ease;
}
/* [data-hotspot]:hover {
    outline: 1px dashed rgba(92,255,92,0.5);
    outline-offset: 4px;
    cursor: pointer;
} */