@charset "UTF-8";

*,
*:before,
*:after,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    width: 100%;
    height: 100%;
    font-size: 20px;
}
body {
    width: 100%;
    height: 100%;
    font-family: -apple-system-font, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, 宋体;
    font-size: 0.8rem;
    background: #f7f9fb;
    color: #222;
}

.page-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-sizing: border-box;
    padding-bottom: 100px; /* 留出底部空间避免内容被按钮遮挡 */
}

/* 图片静态列表 */
.images-section {
    width: 100%;
}
.image-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    /*gap: 20px;*/
}
.image-list img {
    width: 100%;
    /*border-radius: 18px;*/
    /*box-shadow: 0 4px 24px 0 rgba(58,122,254,0.08);*/
    /*object-fit: cover;*/
    /*max-height: 320px;*/
    background: #eaf2ff;
    display: block;
}

/* 视频区 */
.video-section {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}
.video-wrapper {
    width: calc(100% - 40px);
    min-height: 180px;
    margin: 0 20px;
    border-radius: 18px;
    overflow: hidden;
    /*box-shadow: 0 2px 12px 0 rgba(58,122,254,0.10);*/
    background: #000;
}
.video-wrapper video {
    width: 100%;
    display: block;
    background: #000;
}

/* 报名按钮 */
.cta-section {
    max-width: 700px;
    margin: 0 auto;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -2px 12px 0 rgba(58,122,254,0.08);
    padding: 16px 0 12px 0;
    display: flex;
    justify-content: center;
    z-index: 100;
}
.cta-btn {
    width: 80%;
    background: linear-gradient(90deg, #3A7AFE 60%, #F5A623 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 18px 56px;
    box-shadow: 0 2px 12px 0 rgba(58,122,254,0.13);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
    background: linear-gradient(90deg, #3A7AFE 80%, #F5A623 100%);
    box-shadow: 0 8px 32px 0 rgba(58,122,254,0.18);
}

/* 弹窗表单 */
.modal {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(58,122,254,0.18);
    padding: 36px 32px 28px 32px;
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover { color: #3A7AFE; }
.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #3A7AFE;
}
.signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.signup-form label {
    font-size: 15px;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.signup-form input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
}
.signup-form input:focus {
    border: 1px solid #3A7AFE;
}
.modal-submit {
    background: linear-gradient(90deg, #3A7AFE 60%, #F5A623 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 12px 0;
    margin-top: 8px;
    box-shadow: 0 2px 12px 0 rgba(58,122,254,0.13);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    width: 100%;
}
.modal-submit:hover {
    background: linear-gradient(90deg, #3A7AFE 80%, #F5A623 100%);
    box-shadow: 0 8px 32px 0 rgba(58,122,254,0.18);
}
