/* 针对 Safari 的字体平滑优化 */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    /* Safari 10+ */
    body {
      -webkit-font-smoothing: antialiased; /* 更精细的抗锯齿，可能减轻粗体感 */
      /* 极端情况可尝试：-webkit-font-smoothing: subpixel-antialiased; */
    }
  }




  html,body {
    font-weight: 400;
  }

  /* 仅 Safari 调整字体大小 */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
      body {
        font-size: 95%; /* 略微缩小字体，视觉上可能更细 */
        line-height: 1.5; /* 配合调整行高，避免拥挤 */
      }
    }
  }
/* 根字体大小由JavaScript动态设置，不在此处设置静态值 */

/* 定义本地Rubik字体 */
@font-face {
    font-family: 'Rubik';
    src: url('./fonts/Rubik-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 斜体字体 */
@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/static/Rubik-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}




html, body {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


html {
    overflow: hidden;
    /* 核心：保留滚动功能 */
    overflow-y: auto;

    -ms-overflow-style: none;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    /* 移动端特殊处理：防止滚动条占位 */
    -webkit-mask-image: -webkit-linear-gradient(top, #fff, #fff);
    mask-image: linear-gradient(top, #fff, #fff);
    -webkit-overflow-scrolling: touch;
}

/* WebKit 内核浏览器（Chrome/Safari/移动端浏览器） */
html::-webkit-scrollbar,
.hideScrollBar ::-webkit-scrollbar {
    display: none;
    /* 基础隐藏 */
    width: 0;
    /* 强制宽度为0（覆盖部分浏览器默认） */
    height: 0;
    /* 水平滚动条高度为0 */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* 针对iOS Safari的额外优化 */
html::-webkit-scrollbar-track {
    background: transparent;
    /* 轨道透明 */
}


.base-color {
    color: #FFFFFF;
}

/* 确保首页区域光标为默认箭头 */
body,
#container,
.volumetric-light,
.gradient-bg {
    cursor: default;
}

body {
    overflow-x: hidden;
    background: #000;
    /* height: 330vh; */
    /* 缩小到0.6倍：550vh * 0.6 = 330vh 3699vh * 0.6 = 2219vh */
    cursor: default;
}

#container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 15;
    cursor: default;
    pointer-events: none;
}

@media (min-width: 1280px) {
    .container {
        min-height: 28.125rem;
    }
}

/* 删除光芒效果层样式 */

/* 体积光效果 */
.volumetric-light {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(255, 255, 255, 0.03) 10deg,
            transparent 20deg,
            rgba(135, 206, 235, 0.03) 30deg,
            transparent 40deg,
            rgba(255, 255, 255, 0.03) 50deg,
            transparent 60deg);
    opacity: 0;
    animation: rotate 20s linear infinite;
    filter: blur(0.125rem);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 16;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 渐变背景层 */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 1);
    /* background: linear-gradient(135deg, #FFFFFF 0%, #000000 100%); */
    transition: opacity 0.6s ease;
    z-index: 20;
}

/* 品牌标题区域 */
.brand-header {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -240%);
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    z-index: 25;
    pointer-events: none;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.brand-tip {
    font-size: 1rem;
    color: #cbcbcb;
    margin-bottom: 0.5rem;
    margin-top: -0.625rem;
    opacity: 0;
    letter-spacing: 0.5px;
    transition: opacity 1.2s cubic-bezier(0.4, 0.2, 0.2, 1);
    animation: brandTipBreath 3.2s ease-in-out infinite;
    user-select: none;
}

@keyframes brandTipBreath {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}



.brand-header .brand-title {
    font-size: 4rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0.25rem 1.25rem rgba(255, 255, 255, 0.5);
    /* letter-spacing: 2px; */
    transition: all 0.3s ease;
    animation: textGlow 4s ease-in-out infinite;
}

/* 手机界面自适应 */
@media (max-width: 768px) {
    .brand-header .brand-title {
        font-size: 1.75rem !important;
        /* letter-spacing: 0.8px !important; */
    }
}

@media (max-width: 480px) {
    .brand-header .brand-title {
        font-size: 1.25rem !important;
        /* letter-spacing: 0.4px !important; */
    }
}

@media (max-width: 360px) {
    .brand-header .brand-title {
        font-size: 1rem !important;
        /* letter-spacing: 0.2px !important; */
    }
}

@media (max-width: 320px) {
    .brand-header .brand-title {
        font-size: 0.875rem !important;
        /* letter-spacing: 0.1px !important; */
    }
}



@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0.25rem 1.25rem rgba(255, 255, 255, 0.5);
    }

    50% {
        text-shadow: 0 0.375rem 1.875rem rgba(255, 255, 255, 0.8), 0 0 2.5rem rgba(255, 255, 255, 0.3);
    }
}


/* 最终显示的文字 */
.final-text {
    position: absolute;
    top: 215vh;
    /* 稍微下移到2.15倍屏幕高度处 */
    left: 50%;
    transform: translate(-50%, -20%);
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
    z-index: 25;
    max-width: 60%;
    pointer-events: none;
}

.final-text h2 {
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 0 1.25rem rgba(255, 255, 255, 0.8), 0 0 2.5rem rgba(255, 255, 255, 0.4), 0 0 3.75rem rgba(255, 255, 255, 0.3), 0 0 5rem rgba(255, 255, 255, 0.2);
    animation: whiteGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 1.875rem rgba(255, 255, 255, 0.6)) drop-shadow(0 0 3.125rem rgba(255, 255, 255, 0.4)) drop-shadow(0 0 4.375rem rgba(255, 255, 255, 0.2));
}

.final-text h2 .highlight {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 1.875rem rgba(255, 255, 255, 1), 0 0 3.125rem rgba(255, 255, 255, 0.6);
    animation: whiteHighlightPulse 2s ease-in-out infinite;
}

@keyframes whiteGlow {

    0%,
    100% {
        text-shadow: 0 0 1.25rem rgba(255, 255, 255, 0.8), 0 0 2.5rem rgba(255, 255, 255, 0.4), 0 0 3.75rem rgba(255, 255, 255, 0.3), 0 0 5rem rgba(255, 255, 255, 0.2);
        filter: drop-shadow(0 0 1.875rem rgba(255, 255, 255, 0.6)) drop-shadow(0 0 3.125rem rgba(255, 255, 255, 0.4)) drop-shadow(0 0 4.375rem rgba(255, 255, 255, 0.2));
    }

    50% {
        text-shadow: 0 0 1.875rem rgba(255, 255, 255, 1), 0 0 3.75rem rgba(255, 255, 255, 0.8), 0 0 5rem rgba(255, 255, 255, 0.5), 0 0 6.25rem rgba(255, 255, 255, 0.3);
        filter: drop-shadow(0 0 2.5rem rgba(255, 255, 255, 0.8)) drop-shadow(0 0 3.75rem rgba(255, 255, 255, 0.6)) drop-shadow(0 0 5rem rgba(255, 255, 255, 0.4)) drop-shadow(0 0 6.25rem rgba(255, 255, 255, 0.2));
    }
}

@keyframes whiteHighlightPulse {

    0%,
    100% {
        text-shadow: 0 0 1.875rem rgba(255, 255, 255, 1), 0 0 3.125rem rgba(255, 255, 255, 0.6);
    }

    50% {
        text-shadow: 0 0 2.5rem rgba(255, 255, 255, 1), 0 0 4.375rem rgba(255, 255, 255, 0.8), 0 0 6.25rem rgba(255, 255, 255, 0.4);
    }
}

/* Footer模块样式 */
.footer-module {
    /* opacity: 0; */
    transition: opacity 0.4s ease;
}

.footer-module.visible {
    opacity: 1;
}

/* 移除锁定样式，footer将直接显示在下一页 */

.footer {
    /* 蓝白渐变+透明磨砂 */
    background: linear-gradient(135deg, rgba(234, 246, 255, 0.7) 0%, rgba(203, 231, 255, 0.7) 100%);
    backdrop-filter: blur(1.5rem) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0.5rem 2rem rgba(0, 80, 200, 0.08), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
    /* 移除圆角，让footer横向占满屏幕 */
    border-radius: 0;
    /* 占满整个屏幕宽度 */
    width: 100%;
    max-width: none;
    /* 文字颜色深色 */
    color: #222;
    padding: 3.75rem 2.5rem 1.875rem 2.5rem;
    margin: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.footer-content {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 40px; */
    display: flex;
    margin-bottom: 2.5rem;
}

.footer-section:last-child {
    margin-left: 1.25rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5625rem;
    color: #333;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #333;
}

.brand-section {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5625rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: bold;
    color: #333;
    font-size: 1.125rem;
    backdrop-filter: blur(1.25rem) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.brand-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5625rem;
}

.social-icons {
    display: flex;
    gap: 0.9375rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(1.25rem) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.social-icon:hover {
    background-color: rgba(99, 102, 241, 0.8);
    color: #ffffff;
    transform: translateY(-0.125rem);
}

.contact-info {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-label {
    color: #333;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-label:first-child {
    margin-top: 0;
}

.newsletter-section {
    margin-top: 1.875rem;
}

.newsletter-section p {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5625rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.5625rem;
    background-color: rgba(255, 255, 255, 0.12);
    color: #333;
    font-size: 0.875rem;
    outline: none;
    backdrop-filter: blur(1.25rem) saturate(180%);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-button {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.5625rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 3.125rem;
    backdrop-filter: blur(1.25rem) saturate(180%);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.newsletter-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1.5625rem;
    text-align: center;
    color: #666;
    font-size: 0.8125rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.footer-bottom a {
    color: rgba(99, 102, 241, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: rgba(81, 70, 229, 0.9);
}

/* @media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
} */

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 1.25rem 1.25rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-button {
        align-self: flex-start;
    }
}

/* 移动端响应式样式 */
@media (max-width: 768px) {

    /* Final Text 移动端适配 */
    .final-text {
        top: 200vh;
        /* 调整位置适应移动端 */
        max-width: 90%;
        /* 增加宽度占比 */
        transform: translate(-50%, -10%);
    }

    .final-text h2 {
        font-size: 1.5rem;
        /* 减小字体大小 */
        line-height: 1.4;
        padding: 0 0.9375rem;
    }

    /* Footer 移动端适配 */
    /* .footer-module {
        top: 260vh;
    } */

    .footer {
        padding: 1.875rem 0.9375rem 1.25rem 0.9375rem;
        /* 减少内边距 */
    }

    .footer-content {
        grid-template-columns: 1fr;
        /* 单列布局 */
        gap: 1.5625rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .footer-section ul li {
        margin-bottom: 0.625rem;
    }

    .footer-section ul li a {
        font-size: 0.8125rem;
    }

    .logo {
        margin-bottom: 1.25rem;
    }

    .logo-icon {
        width: 2.1875rem;
        height: 2.1875rem;
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .brand-description {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }

    .social-icons {
        gap: 0.75rem;
    }

    .social-icon {
        width: 2.1875rem;
        height: 2.1875rem;
        font-size: 0.875rem;
    }

    .footer-bottom {
        padding-top: 1.25rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    /* 小屏手机适配 */
    .final-text {
        top: 190vh;
        max-width: 95%;
    }

    .final-text h2 {
        font-size: 1.25rem;
        padding: 0 0.625rem;
    }

    /* .footer-module {
        top: 250vh;
    } */

    .footer {
        padding: 1.5625rem 0.75rem 0.9375rem 0.75rem;
    }

    .footer-content {
        gap: 1.25rem;
    }

    .footer-section h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.9375rem;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

    .footer-section ul li a {
        font-size: 0.75rem;
    }

    .logo-icon {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.875rem;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .brand-description {
        font-size: 0.75rem;
        margin-bottom: 0.9375rem;
    }

    .social-icon {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.75rem;
    }

    .footer-bottom {
        padding-top: 0.9375rem;
        font-size: 0.6875rem;
    }
}

@media (max-width: 360px) {

    /* 超小屏手机适配 */
    .final-text {
        top: 180vh;
        max-width: 98%;
    }

    .final-text h2 {
        font-size: 1.125rem;
        padding: 0 0.5rem;
    }

    /* .footer-module {
        top: 240vh;
    } */

    .footer {
        padding: 1.25rem 0.625rem 0.75rem 0.625rem;
    }

    .footer-content {
        gap: 0.9375rem;
    }

    .footer-section h3 {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        margin-bottom: 0.375rem;
    }

    .footer-section ul li a {
        font-size: 0.6875rem;
    }

    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8125rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .brand-description {
        font-size: 0.6875rem;
        margin-bottom: 0.75rem;
    }

    .social-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.6875rem;
    }

    .footer-bottom {
        padding-top: 0.75rem;
        font-size: 0.625rem;
    }
}

/* 横屏模式适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .final-text {
        top: 160vh;
    }

    .final-text h2 {
        font-size: 1.125rem;
    }

    /* .footer-module {
        top: 200vh;
    } */

    .footer {
        padding: 1.25rem 0.9375rem 0.9375rem 0.9375rem;
    }

    /* .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    } */
}

/* 导航模块移动端适配 */
@media (max-width: 768px) {
    .corner-brand {
        display: none;
        /* top: 15px;
        left: 15px;
        gap: 8px; */
    }

    .corner-star {
        width: 1.5rem;
        height: 1.5rem;
    }

    .corner-title {
        font-size: 1.125rem;
        /* letter-spacing: 0.5px; */
    }
}

@media (max-width: 480px) {
    /* .corner-brand {
        top: 12px;
        left: 12px;
     
    } */

    .corner-star {
        width: 1.25rem;
        height: 1.25rem;
    }

    .corner-title {
        font-size: 1rem;
        /* letter-spacing: 0.3px; */
    }
}

@media (max-width: 360px) {
    .corner-brand {
        /* top: 10px;
        left: 10px; */
        /* padding: 6px 10px; */
        /* gap: 5px; */
        /* border-radius: 6px; */
    }

    .corner-star {
        width: 1.125rem;
        height: 1.125rem;
    }

    .corner-title {
        font-size: 0.875rem;
        /* letter-spacing: 0.2px; */
    }
}

#info {
    display: none;
}

.corner-brand {
    position: absolute;
    top: 1.25rem;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    /* padding: 12px 16px; */
    cursor: default;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2.5rem);
    transition: all 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);

    /* 导航模块背景 - 模糊效果 */
    /* background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.3) inset; */
}

.vector-log-img {
    width: 10.5rem;
}

.corner-brand.visible {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .corner-brand.visible {
        opacity: 0;
    }
}

.corner-star {
    width: 1.75rem;
    height: 1.75rem;
    filter: drop-shadow(0 0.125rem 0.375rem rgba(255, 255, 255, 0.4));
    transition: transform 0.3s ease;
}

.corner-brand:hover .corner-star {
    transform: translateY(-0.125rem);
}

.corner-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #000000;
    /* letter-spacing: 1px; */
    text-shadow: 0 0.125rem 0.5rem rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.corner-brand:hover .corner-title {
    color: #333333;
}


.scroll-hint {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
}

.mobile-scroll-hint {
    color: white;
    text-align: center;
    animation: mobile-bounce 2s infinite;
    cursor: pointer;
    margin: 2.1875rem auto 0;
}

.hint-text {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hint-text {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }

    .hint-arrow {
        font-size: 0.875rem;
    }
}

.hint-arrow {
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-0.625rem);
    }

    60% {
        transform: translateX(-50%) translateY(-0.3125rem);
    }
}

@keyframes mobile-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-0.625rem);
    }

    60% {
        transform: translateY(-0.3125rem);
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 1.5rem;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* max-width: 1160px; */
    /* 1440设计稿基准 */
    justify-content: space-between;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* 等比缩放计算 (1080/1440=0.75) */
@media (max-width: 768px) {
    footer {
        max-width: 48rem;
        /* 1024*0.75 */
    }
}

@media (max-width: 768px) {
    footer {
        max-width: 36rem;
        /* 768*0.75 */
    }
}

@media (max-width: 480px) {
    footer {
        max-width: 22.5rem;
        /* 480*0.75 */
    }
}

@media (max-width: 360px) {
    footer {
        max-width: 16.875rem;
        /* 360*0.75 */
    }
}

@media (min-width: 768px) {
    footer {
        width: 100%;
        padding: 0px;
    }
}

.footer-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer_btn {
    margin-right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 10px; */
    border-radius: 0.75rem;
    cursor: pointer;

    &:hover {
        background-color: rgba(255, 255, 255, 0.10);
    }
}

.contact-link {
    cursor: pointer;

    &:hover {
        span {
            color: #fff;
        }
    }
}

.contact-link,
.copyright {
    /* font-family: 'Rubik', sans-serif; */
}

.footer-right {
    flex-shrink: 0;
}

.annotation-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 400;
}

.discord-img {
    margin: 0 1.5rem 0 1rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    footer {
        padding: 0 1.25rem;
    }

    .annotation-text {
        font-size: 0.9375rem;
    }

    .discord-img {
        margin: 0 1.25rem 0 0.75rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2.5rem 1.25rem 1.25rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    .footer-section:last-child {
        margin-left: 0;
        margin-top: 1.25rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-button {
        align-self: flex-start;
    }
}




@media (max-width: 768px) {
    footer {
        bottom: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 24.375rem;
        height: 3.5rem;
        padding: 0 1rem;
        border-radius: 0.625rem;
        background: rgba(15, 15, 15, .9);
        border: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, .35);
        backdrop-filter: blur(0.375rem);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* hide desktop footer module shell */
    #footerModule {
        display: none;
    }

    .footer-right {
        text-align: right;
    }

    .annotation-text {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, .85);
    }

    .discord-img {
        margin: 0 0.75rem 0 0.5rem;
        width: 1.125rem;
    }

    .x-log-img {
        width: 1.125rem;
    }
}

@media (max-width: 360px) {
    footer {
        padding: 0 0.5rem;
        bottom: 0.5rem;
    }

    .annotation-text {
        font-size: 0.6875rem;
    }

    .discord-img {
        margin: 0 0.5rem 0 0.25rem;
        width: 1rem;
    }

    .x-log-img {
        width: 1rem;
    }
}

.white-text {
    color: rgba(255, 255, 255, 0.3);
    font-size: 3.75rem;
}

/* mobile footer styles */
#mobileFooter {
    /* position: fixed; */
    width: 100vw;
    /* position: absolute; */
    /* left: 0;
    right: 0;
    bottom: 17px; */
    z-index: 80;
}

.m-footer-container {
    background: rgba(15, 15, 15, .9);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.5rem;
    width: 100%;
    /* border: 1px solid rgba(255, 255, 255, .1); */
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, .35); */
    backdrop-filter: blur(0.375rem);
    transform: translateY(-0.75rem);
}

.m-footer {
    height: 100%;
    /* max-width: 420px; */
    /* padding: 0 16px; */
    display: flex;
    align-items: center;
    justify-content: space-between;

}

@media (max-width: 768px) {
    .m-footer {
        width: 90%;
    }
}

/* @media (max-width: 768px) {
    .m-footer {
        width: 576px;
    }
}

@media (max-width: 480px) {
    .m-footer {
        width: 360px;
    }
}

@media (max-width: 360px) {
    .m-footer {
        width: 270px;
    }
} */




.m-left {
    display: flex;
    align-items: center;

    >a {
        display: flex;
        align-items: center;
    }
}

.m-left .discord-img {
    margin-left: 0.75rem;
    width: 1.125rem;
}

.m-left .x-log-img {
    width: 1.125rem;
}

.m-right {
    color: rgba(255, 255, 255, .6);
    font-size: 0.875rem;
}

.m-copyright {
    text-align: center;
    color: rgba(255, 255, 255, .55);
    font-size: 0.75rem;
    margin: 0.375rem 0 0.5rem;
}

@media (min-width: 769px) {
    #mobileFooter {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #mobileFooter {
        display: block;
    }
}


.position-content {
    position: relative;
    width: 80%;
    /* min-width: 1160px; */
    /* 1440设计稿基准 */
    margin: 200vh auto 0;
    height: auto;
    pointer-events: auto;
    z-index: 26;
    opacity: 0;
    transition: opacity 0.6s ease;
    max-width: calc(100% - 2rem);
    box-sizing: border-box;
    /* padding-bottom: 80px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.position-content.visible {
    opacity: 1;
}

/* 等比缩放计算 (1080/1440=0.75) */

@media (min-width: 768px) {

    .position-content {
        min-width: 72.5rem;
    }
}

.main-padding-content {
    width: 100%;
}

@media (max-width: 768px) {
    .position-content {
        width: 100%;
    }
    .main-padding-content {
        /* width: 576px; */
        width: 100%;
    }
    
}

@media (max-width: 480px) {
    /* .main-padding-content {
        width: 360px;
    } */
}

@media (max-width: 360px) {
    /* .main-padding-content {
        width: 270px;
    } */
}

/* Feature sections in main */
.feature {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 1px; */
    /* gap: calc(100vw - (100vw /  0.48)); */
    /* gap: (100vw - 0.48vw - 339px);
    
    /* gap: calc(32vw - 360px); */
    gap: calc(32vw - 22.5rem);
    align-items: center;
    padding: 4.5rem 0;
    opacity: 0;
    transform: translateY(1.75rem) scale(.98);
    filter: blur(0.375rem);
    transition:
        opacity .5s ease,
        transform .6s cubic-bezier(.22, .61, .36, 1),
        filter .6s ease;

}

@media (min-width: 769px) {

    /* .feature {
        grid-template-columns: 1fr 1fr;
    } */
    .feature {
        display: flex;
        min-height: 30rem;
        align-items: stretch;
    }

    .feature .reveal-right-content {
        /* order: 1; */
        width: 22.5rem;
        height: inherit;

    }

    .doubleReval .feature {
        justify-content: space-between;
    }

    .singleReval {
        min-width: 50rem;
        width: 70%;
        margin: 0 auto;
    }

    .singleReval img, .singleReval video{
        width: 24vw;
    }

    .doubleReval .shot {
        width: 60%;
        overflow: hidden;
    }

    .doubleReval .shot .doubleImgContainer {
        display: flex;
        width: 100%;
    }

    .doubleReval .shot .doubleImgContainer .mode-video {
        /* flex: 1; */
        width: 100%;
        flex-shrink: 0;
    }

    .feature .reveal-right-desc {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .feature.inverse .shot {
        order: 2;
    }

    .reveal-right-content {
        /* flex: 1; */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.feature.inview {
    opacity: 1;
    transform: translateY(0) scale(1);
    /* grid-template-columns: 1fr 1fr; */
}

.feature.inview {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.feature.outview {
    opacity: 0;
    transform: translateY(1.75rem) scale(.98);
    filter: blur(0.375rem);
}

/* Sub-element stagger for a smoother entrance */
.feature .shot,
.feature .reveal-right-content {
    opacity: 0;
    transform: translateY(0.625rem);
    transition: opacity .45s ease, transform .55s ease;
}

.feature.inview .shot {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .06s;
}

.feature.inview .reveal-right-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .12s;
}

.feature .reveal-right-main>* {
    opacity: 0;
    transform: translateY(0.375rem);
    transition: opacity .4s ease, transform .5s ease;
}

.feature.inview .reveal-right-main>h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .18s;
}

.feature.inview .reveal-right-main>p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .24s;
}

.feature.inview .reveal-right-main>.btn-pill {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s;
}

.feature .reveal-right-desc {
    line-height: 1.75rem;
    font-size: 1.125rem;
}

/* Respect user preferences */
@media (prefers-reduced-motion: reduce) {

    .feature,
    .feature .shot,
    .feature .reveal-right-content,
    .feature .reveal-right-main>* {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}


.feature .number {
    font-size: 1.5rem;
    /* letter-spacing: .1em; */
    font-weight: 600;
    /* margin-bottom: 10px; */
}

.number-mobile {
    display: none;
}

.number-desktop {
    display: block;
}

/* .mode-video {
    height: 480px;
} */

@media (max-width: 768px) {
    .shot {
        width: 100%;
    }
    .mode-video {
        width: 100%;
        /* height: 457px; */
    }

}

.title-desktop {
    margin-top: 0.625rem;
}

.feature h3 {
    margin: 0;
    font-size: 1.25rem;
    /* letter-spacing: .2px; */
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .feature h3 {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 768px) {
    .feature p {
        margin: 0 3.1875rem 1.875rem 0;
        color: rgb(255, 255, 255);
    }

    .feature h3 {
        font-size: 2rem;
    }
}

.feature p {
    margin: 0 0 1.875rem 0;
    color: rgb(255, 255, 255);
}

.feature .shot {
    /* background: #0b0b0b; */
    /* border-radius: 12px; */
    /* overflow: hidden; */
    flex-shrink: 0;
    /* border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 6px 30px rgba(0, 0, 0, .35); */
}

.feature .shot .mode-video {
    display: block;
    border-radius: 0.75rem;
    /* width: 100%;
    height: auto; */
}

.btn-pill {
    display: inline-block;
    width: auto;
    display: inline-block;
    padding: 0.625rem 2.5625rem;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 62.4375rem;
    color: #FFF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all .25s ease;
    align-self: start;
    cursor: pointer;
}


@media (max-width: 768px) {
    .btn-pill {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .btn-pill:hover {
        background: rgba(255, 255, 255, .1);
        border-color: rgba(255, 255, 255, .55);
        transform: translateY(-1px);
    }
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    margin: 1.5rem 0;
    opacity: .6;
}

.reveal {
    opacity: 1;
    transform: none;
}

/* placeholder retained for compatibility; styles are driven by .feature/.inview */

.meta {
    color: rgba(255, 255, 255, .6);
    font-size: 0.75rem;
    margin-bottom: 0.375rem;
}

@media (max-width: 768px) {
    .feature {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
        margin-bottom: 5.375rem;
    }

    .feature h3 {
        font-size: 1.75rem;
    }

    .feature p {
        font-size: 1rem;
    }

    .feature.inverse {
        grid-template-columns: 1fr;
    }

    /* Mobile: center number + content text and button */
    .reveal-right-content {
        align-items: center;
        text-align: center;
        gap: 0.875rem;
        height: 28.5625rem;
    }

    .reveal-right-main {
        align-items: center;
    }

    .btn-pill {
        align-self: center;
    }

    /* .feature .number {
        margin-bottom: 4px;
    } */

    /* Show the mobile number above the image; hide desktop number */
    .number-mobile {
        display: block;
        order: 0;
        grid-column: 1 / -1;
        text-align: center;
        /* margin-bottom: 12px; */
    }

    .number-desktop {
        display: none;
    }

    .reveal-underline {
        display: none;
    }

    /* 优化移动端图片显示 */
    .feature .shot {
        display: flex;
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
        /* margin-bottom: 36px; */
    }

    .feature .shot img {
        /* max-width: 100%;
        height: auto; */
        /* border-radius: 8px; */
    }

   

}




/* Three-line headline section */
.headline-section {
    padding-top: 8.4375rem;
    position: relative;
    /* min-height: 50vh; */
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .headline-section {
        padding-top: 0;
    }
}


.section-top-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.rendered-title {
    /* padding-left: 68px; */
    width: 100%;
    margin-top: 8.4375rem;
    margin-bottom: 8.4375rem;
    text-align: right;
}

@media (max-width: 768px) {
    .rendered-title {
        display: none;
        margin-top: 3rem;
    }

}




@media (max-width: 768px) {
    .headline-section {
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
    }

    .headline-section .container {
        justify-content: center;
    }
}



/* @media (max-width: 768px) {
    .headline-section {
        min-height: 40vh;
    }
}

@media (max-width: 480px) {
    .headline-section {
        min-height: 50vh;
    }
}

@media (max-width: 360px) {
    .headline-section {
        min-height: 55vh;
    }
} */

.headline {
    /* font-size: clamp(28px, 5.2vw, 64px); */
    font-size: 3.75rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

.rendered-title span {
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
}

@media (max-width: 768px) {
    .headline {
        font-size: 1.875rem;
        font-family: 'Rubik', sans-serif;
    }

    .rendered-title span {
        font-size: 1rem;
    }

    .pc-scroll-hint {
        display: none;
    }

    .mobile-scroll-hint {
        display: block;
        margin-top: 2.8125rem;
        margin-bottom: 3.75rem;
    }

}

@media (min-width: 768px) {
    .pc-scroll-hint {
        display: block;
    }

    .mobile-scroll-hint {
        display: none;
    }
}

.headline .line {
    display: block;
}

.headline .line+.line {
    margin-top: 0.625rem;
}

.headline .word {
    color: rgba(255, 255, 255, .22);
    transition: color .28s ease;
}

.headline .word.active {
    color: #fff;
}

.reveal-right-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reveal-right-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reveal-underline {
    height: 0.125rem;
    width: 1.25rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0.1875rem;
}
