/* 重庆旭影文化 - 首页样式（复刻参考站动效样式） */
* { font: inherit; color: inherit; outline: 0; border: 0; margin: 0; padding: 0; font-style: normal; list-style: none; -webkit-box-sizing: border-box; box-sizing: border-box; }
html { font: 10px/1 "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html, body { height: 100%; width: 100%; }
a { text-decoration: none; background-color: transparent; -webkit-transition: all .3s ease; transition: all .3s ease; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.container { width: 100%; max-width: 1100px; padding: 0 20px; margin: 0 auto; height: 100%; display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-align: center; -webkit-box-align: center; align-items: center; position: relative; }

.site-wrapper { height: 100%; min-width: 1024px; }
#ub-wrapper { position: relative; z-index: 5; height: 100%; }
#ub-wrapper .section { position: relative; color: #fff; height: 100%; }
.section-bg { position: absolute; width: 100%; height: 100%; text-align: center; overflow: hidden; }

/* 加载动画 */
.ub-loading { position: fixed; left: 0; right: 0; bottom: 0; top: 0; background: #28a5f5; z-index: 9999; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
.loading-icon { height: 40px; width: 40px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
.loading-icon span { -webkit-box-flex: 0; -ms-flex: none; flex: none; width: 3px; height: 5px; border-radius: 10px; background: #fff; opacity: 0; -webkit-animation: load 1s ease infinite; animation: load 1s ease infinite; }
.loading-icon span:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; }
.loading-icon span:nth-child(3) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; }
.loading-icon span:nth-child(4) { -webkit-animation-delay: 0.6s; animation-delay: 0.6s; }
.loading-icon span:nth-child(5) { -webkit-animation-delay: 0.8s; animation-delay: 0.8s; }
@-webkit-keyframes load { 0%, 100% { height: 5px; opacity: 0; } 50% { height: 40px; opacity: 1; } }
@keyframes load { 0%, 100% { height: 5px; opacity: 0; } 50% { height: 40px; opacity: 1; } }

/* 按钮 */
.ub-button { display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-pack: center; -webkit-box-pack: center; justify-content: center; border-radius: 30px; overflow: hidden !important; position: relative; padding: 14px 0; font-size: 16px; color: #fff; z-index: 1; }
.ub-button:before, .ub-button:after { content: ""; position: absolute; }
.ub-button:before { top: 0; bottom: 0; left: 1px; right: 1px; border-radius: 30px; border: 1px solid currentColor; }
.ub-button:after { top: 0; left: 0; bottom: 0; width: 0; background: currentColor; -webkit-transition: all .5s cubic-bezier(0.86, 0, 0.07, 1); transition: all .5s cubic-bezier(0.86, 0, 0.07, 1); }
.ub-button:hover:after { width: 100%; }
.ub-button span { position: relative; z-index: 1; left: 0; color: currentColor; -webkit-transition: all .5s cubic-bezier(0.86, 0, 0.07, 1); transition: all .5s cubic-bezier(0.86, 0, 0.07, 1); font-family: '微软雅黑'; }
.ub-button:hover span { color: #000; left: 10px; }
.ub-button i { font-size: 12px; position: absolute; z-index: 1; right: 30px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); -webkit-transition: all .5s cubic-bezier(0.86, 0, 0.07, 1); transition: all .5s cubic-bezier(0.86, 0, 0.07, 1); }
.ub-button:hover i { right: 20px; color: #000; }

/* 图标 */
.ub-icon.ub-yes:before { content: "✓"; font-style: normal; }
.ub-icon.ub-arrow-right:before { content: "→"; font-style: normal; }

/* 文本块 */
.ub-box .ub-text h3 { margin-bottom: 20px; line-height: 53px; font-size: 24px; text-transform: uppercase; font-family: '微软雅黑'; font-weight: normal; color: #fff; }
.ub-box .ub-text2 h3 { margin-bottom: 20px; line-height: 48px; font-size: 30px; text-transform: uppercase; font-family: '微软雅黑'; font-weight: normal; color: #fff; }
.ub-box .ub-text2 h3 font { font-size: 60px; }

/* 第1屏 */
.section1 .home-text { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin-top: -100px; text-transform: capitalize; text-align: center; }
.section1 .home-text h2 { font-size: 110px; font-family: "Arial Black", "微软雅黑", sans-serif; }
.section1 .home-text .subtitle { font-size: 27px; margin-top: 20px; font-family: "微软雅黑"; }
.section1 .flow-bottom { display: -ms-flexbox; display: -webkit-box; display: flex; position: absolute; bottom: 100px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
.section1 .btnlist { width: 250px; }

/* 底部版权及备案号栏 */
.copyright-bar { position: absolute; left: 0; bottom: 20px; width: 100%; text-align: center; font-size: 12px; color: #95b1cb; font-family: '微软雅黑'; line-height: 1.6; }
.copyright-bar a { color: #95b1cb; }
.copyright-bar a:hover { color: #00ccff; }

/* 第2屏 */
.section2 .ub-box .ub-text h5 { font-size: 16px; border-radius: 3px; padding: 5px; background: #017b9a; display: inline-block; margin-bottom: 20px; }
.section2 .ub-box .ub-text p { margin-bottom: 12px; display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-align: center; -webkit-box-align: center; align-items: center; color: #95b1cb; }
.section2 .ub-box .ub-text p i { margin-right: 5px; color: #3e88d3; }

/* 第3屏（滚筒场景） */
.section5 .ub-box { -ms-flex: 1; -webkit-box-flex: 1; flex: 1; display: -ms-flexbox; display: -webkit-box; display: flex; }
.section5 .ub-box .ub-text { text-align: left; width: 433px; }
.section5 .ub-box .ub-text p { line-height: 20px; color: #95b1cb; }

/* 第4屏（品牌页脚） */
.section7 .ub-box { -ms-flex: 1; -webkit-box-flex: 1; flex: 1; }
.section7 .ub-box .ub-text { text-align: center; }
.section7 .ub-box .ub-text p { line-height: 20px; color: #95b1cb; }
.section7 .brand-logo { width: 90px; margin-bottom: 10px; }

.abwap { font-size: 24px; }
.myzls { font-size: 20px; }
.footermyen { font-size: 16px; letter-spacing: 2px; }

/* 背景层（视差星空） */
.mod-bg-layer-1 { position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.mod-bg-layer-1 .inner { width: 100%; height: 100%; background: #000 url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=deep%20dark%20night%20sky%20starfield%2C%20pure%20black%20space%20background%2C%20many%20tiny%20white%20stars%2C%20subtle%20faint%20dark%20blue%20nebula%2C%20very%20dark%2C%20minimal%2C%20seamless%20texture%2C%20astrophotography&image_size=square_hd") repeat-y center top; background-attachment: fixed; }
.mod-bg-layer-2 { position: fixed; z-index: 2; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.mod-bg-layer-2 .inner { width: 100%; height: 100%; background: url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=sparse%20scattered%20tiny%20glowing%20white%20stars%20on%20pure%20black%20background%2C%20minimal%20small%20star%20dots%20pattern%2C%20dark%20space%2C%20seamless%20tileable%20texture&image_size=square_hd") repeat center top; background-attachment: fixed; }
.mod-star-list { position: absolute; z-index: 3; left: 0; right: 0; width: 100%; height: 100%; overflow: hidden; }
.mod-star-list .inner { position: relative; width: 100%; height: 100%; }

/* 流星（CSS 绘制，替代原站缺失的 bg_meteor.png） */
.mod-star-list .meteor { position: absolute; width: 114px; height: 67px; }
.mod-star-list .meteor .box { opacity: 0; width: 100%; height: 100%; position: relative; }
.mod-star-list .meteor .box:before { content: ""; position: absolute; left: 0; bottom: 0; width: 131px; height: 2px; border-radius: 2px; background: -webkit-linear-gradient(left, #fff, rgba(255,255,255,0)); background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: rotate(-30.5deg); transform: rotate(-30.5deg); }
.mod-star-list .meteor .box:after { content: ""; position: absolute; left: -2px; bottom: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; -webkit-box-shadow: 0 0 8px 2px rgba(255,255,255,.7); box-shadow: 0 0 8px 2px rgba(255,255,255,.7); }
.mod-star-list .meteor .action { -webkit-animation-name: meteor; -webkit-animation-duration: 4s; -webkit-animation-timing-function: linear; -webkit-animation-iteration-count: infinite; animation-name: meteor; animation-duration: 4s; animation-timing-function: linear; animation-iteration-count: infinite; }
@-webkit-keyframes meteor {
    0% { opacity: 0; -webkit-transform: translate3d(200%, -200%, 0); }
    15% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }
    30% { opacity: 0; -webkit-transform: translate3d(-200%, 200%, 0); }
    100% { opacity: 0; -webkit-transform: translate3d(-200%, 200%, 0); }
}
@keyframes meteor {
    0% { opacity: 0; -webkit-transform: translate(200%, -200%); transform: translate(200%, -200%); }
    15% { opacity: 1; -webkit-transform: translate(0, 0); transform: translate(0, 0); }
    30% { opacity: 0; -webkit-transform: translate(-200%, 200%); transform: translate(-200%, 200%); }
    100% { opacity: 0; -webkit-transform: translate(-200%, 200%); transform: translate(-200%, 200%); }
}

/* 星星（CSS 绘制，替代原站缺失的 bg_star.png） */
.mod-star-list .star { position: absolute; width: 28px; height: 28px; }
.mod-star-list .star .box { width: 100%; height: 100%; border-radius: 50%; background: -webkit-radial-gradient(circle, #fff 0%, rgba(255,255,255,.45) 30%, rgba(255,255,255,0) 65%); background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.45) 30%, rgba(255,255,255,0) 65%); }
.mod-star-list .star .action { -webkit-animation-name: star; -webkit-animation-duration: 2s; -webkit-animation-timing-function: linear; -webkit-animation-iteration-count: infinite; animation-name: star; animation-duration: 2s; animation-timing-function: linear; animation-iteration-count: infinite; }
@-webkit-keyframes star {
    0% { -webkit-transform: scale(0.5); }
    30% { -webkit-transform: scale(1); }
    60% { -webkit-transform: scale(0.5); }
    100% { -webkit-transform: scale(0.5); }
}
@keyframes star {
    0% { transform: scale(0.5); }
    30% { transform: scale(1); }
    60% { transform: scale(0.5); }
    100% { transform: scale(0.5); }
}

/* 右侧圆点导航 */
#fp-nav { display: block; position: fixed; z-index: 10; right: 15px; top: 50%; margin-top: -125px; }
#fp-nav li { width: 20px; height: 20px; margin: 7px; position: relative; }
#fp-nav li a { display: block; position: relative; z-index: 11; width: 100%; height: 100%; padding: 0; cursor: pointer; text-decoration: none; border: 5px solid rgba(22, 155, 215, 0.01); border-radius: 50%; -webkit-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; }
#fp-nav li a span { height: 10px; width: 10px; display: block; background-color: rgba(22, 155, 215, 0.5); border-radius: 50%; position: absolute; z-index: 11; left: 0; top: 0; -webkit-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; }
#fp-nav li a:hover span, #fp-nav li a.active span, #fp-nav li a.active:hover span { background-color: #169bd7; }
#fp-nav li a:hover, #fp-nav li a.active, #fp-nav li a.active:hover { border: 5px solid rgba(22, 155, 215, 0.3); }

@media (max-width: 768px) {
    .footermyen { font-size: 12px; letter-spacing: 0; }
    .myzls { font-size: 14px; }
    .container { width: auto; }
    .section1 .home-text h2 { font-size: 50px; }
    .section1 .home-text .subtitle { font-size: 12px; }
    #page1canvasWrap, #page2canvasWrap, #page5canvasWrap, #page7canvasWrap { opacity: 0.4; }
    .site-wrapper { min-width: 0; }
    .ub-box .ub-text h3 { line-height: 28px; font-size: 14px; font-family: '微软雅黑'; font-weight: normal; color: #fff; width: 100%; margin: 0 auto; }
    .ub-box .ub-text2 h3 { line-height: 28px; font-size: 18px; font-family: '微软雅黑'; font-weight: normal; color: #fff; margin-bottom: 10px; }
    .ub-box .ub-text2 h3 font { font-size: 24px; }
    .flow-bottom { -ms-flex-wrap: wrap; flex-wrap: wrap; text-align: center; }
    .section1 .btnlist { margin: 0 auto; }
    .section1 .home-text { margin-top: -250px; }
    #page2canvasWrap { padding-top: 50%; }
    #page5canvasWrap .scene, #page5canvasWrap .scene * { top: 70%; }
    .section5 .ub-box { margin-top: -100px; }
    #fp-nav { display: none !important; }
    .container { width: 100%; }
}
