/* Reset some defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    padding: 0;
}

body {
    position: relative;
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    color: #333;
}

/* 添加背景图的伪元素 */
body::before {
    content: "";
    position: fixed;
    /* 固定位置，不随滚动变化 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg.svg');
    /* 替换为你的图片路径 */
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    /* 控制透明度：0 完全透明，1 完全不透明 */
    z-index: -1;
    /* 确保在所有内容之后 */
}


/* 主体布局 */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    max-width: 960px;
    margin: auto;
}

/* Logo 图片 */
.title-logo {
    max-width: 300px;
    height: auto;
    margin-top: 2rem;
}

.character {
    height: auto;
    margin-bottom: -4.0rem;
}

/* 文本区域 */
.text-section1 {
    text-align: center;
    margin-bottom: 2rem;
}

.text-section1 h2 {
    font-size: 2.05rem;
    margin-bottom: -0.5rem;
}

.text-section1 p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* 图示图片 */
.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
    opacity: 0.8;
}

/* 中部 logo 条 */
.logo-bar {
    margin: 3rem auto;
    padding: 2rem 1rem;
    box-shadow: 0 -4px 6px -4px rgba(0, 0, 0, 0.5);
    /* 顶部阴影 */
    text-align: center;
}

.logo-bar .logos img {
    height: 50px;
    margin: 0 1rem;
    vertical-align: middle;
}

.text-section2 p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
    text-align: justify;
    margin-top: 5rem;
    margin-left: 16rem;
    margin-right: 16rem;
}

.text-section2 video {
    height: auto;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    margin-top: 3rem;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    opacity: 0.98;
}

.text-section2 p.caption {
    font-size: 12px;
    text-align: center;
    margin-top: 2rem;
    font-weight: bold;
    color: #333;
}

/* style.css */
.text-section2 table {
    width: 90%;
    margin: 2rem auto;
    max-width: 800px;
    border-collapse: collapse;
    font-family: 黑体;
    font-size: 16px;
}

.text-section2 th,
td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
}

.text-section2 thead {
    background-color: #f0f0f0;
}

.text-section2 tbody tr {
    background-color: #fafafa;
    opacity: 0.8;
}

.text-section2 tr.bold {
    font-weight: bold;
    color: #cb9574;
}

.text-section2 td.special {
    font-weight: bold;
    background-color: #ffebcc;
    opacity: 0.8;
}


.text-end {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    line-height: 1.5;
    text-align: justify;
    margin-top: 1rem;
    margin-left: 16rem;
    margin-right: 16rem;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.link-button {
    background-color: #fbebd3;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
}

.link-button:hover {
    background-color: #d2dbe3;
}

.link-button.secondary {
    background-color: #fbebd3;
}

.link-button.secondary:hover {
    background-color: #d2dbe3;
}

.video-show {
    padding: 40px;
}

.video-show p {
    font-size:xx-large;
    text-align: center;
    margin-top: -100px;
    margin-bottom: 80px;
    font-weight: bold;
}

.demo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 500px;
}

.thumbnail-list {
    width: 20%;
    display: flex;
    flex-direction:row;
    gap: 40px;
    max-width: 80px;
}

.thumbnail-list img {
    width: 100%;
    height: auto; /* 保持纵横比 */
    object-fit: contain; /* 避免图片拉伸 */
    border-radius: 8px;
    transition: transform 0.3s, border 0.3s;
    border: 3px solid transparent;
    cursor: pointer;
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    transform: scale(1.05);
    border-color:#ffffff;
}

.video-display {
    max-width: 800px;
    width: 100%;
}

.video-display video {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
    transition: opacity 0.3s ease-in-out;
}

.video-display .video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1); /* 白色半透明遮罩，调节透明度 */
    z-index: 2;
    pointer-events: none; /* 避免遮罩阻挡点击控制 */
    border-radius: 12px;
}

.footer {
    /* background-color: #e0e6ec; */
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #444;
    opacity: 0.6;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 1rem;
    color: #444;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
