/* ================== Reset & 基础变量 ================== */
:root {
    --theme-color: #6713c9;
    --theme-color-light: #ee3c70;
    --nav-font-size: .53rem;
    --footer-font-size: 1.125rem;
    --swiper-pagination-bullet-width: 20px;
    --swiper-pagination-bullet-height: 20px;
    --swiper-pagination-color: #ee3c70;
    --swiper-navigation-size: 30px;
    --font-size-module-title: 2.75rem;
    --font-size-title: 2.25rem;
    --font-size-desc: 1.25rem;
    --font-size-footer: 1rem;
    --font-size-footer-sub: 0.875rem;
    --icon-width: 1.625rem;
    --icon-height: 1.625rem;
}

/* ================== 全局 Reset ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.2;
}

@font-face {
    font-family: 'iconfont';
    src: url('../fonts/iconfont.ttf?t=1748310802894') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
}

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

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
}*/

html {
    font-size: 16px;
    overflow-x: hidden;
}

/* 平板及以上 */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .container {
        max-width: 720px;
    }
}

/* 小型桌面显示器 */
@media (min-width: 1024px) {
    html {
        font-size: 17px;
    }
}

/* 中等桌面显示器 */
@media (min-width: 1440px) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 20px;
    }
}


/* 大屏显示器 */


body {
    margin: 0;
    /* font-family: "Roboto", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

picture {
    display: inline-block;
    width: 100%;
}

main,
.main-content,
.page-content {
    flex: 1 0 auto;
}

/* ================== Header & 导航 ================== */
/* header 顶部警告条 */
.top-bar {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* header 容器 */
.site-header {
    position: relative;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 9999;
}

/* header 主体布局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-height: 60px;
}

.main-header {
    height: 5rem;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

/* 小型桌面显示器 */
@media (min-width: 1024px) {
    .container {
        max-width: 61rem;
    }
}


@media (min-width: 1920px) {
    .main-header{
        max-width: 70rem;
    }
}

/* logo 样式 */
.logo {
    height: 40px;
    width: auto;
    margin-right: 100px;
    margin-right: 5rem;
}

/* 主导航 */
.nav {
    flex-grow: 1;
    text-align: right;
    height: 100%;
    font-weight: 700;
}

/* 导航列表 */
.nav-list {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* 导航项 */
.nav-item {
    flex: 1;
    position: relative;
    height: 100%;
}

/* 导航链接 */
.nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    color: var(--theme-color);
    transition: color 0.2s, background 0.2s;
}

.nav-item a,
.dropdown-menu li a {
    transition: background 0.2s, color 0.2s;
}

.nav-item a:hover {
    color: #fff;
    background-color: var(--theme-color);
}

.nav-item.dropdown:hover>a,
.nav-item.dropdown:focus-within>a {
    color: #fff;
    background-color: var(--theme-color);
}

/* 下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-size: var(--font-size-nav-main);
    list-style: none;
    padding: 0;
    background: #fff;
    z-index: 10;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    font-size: var(--font-size-nav-sub);
    height: 60px;
    padding: 0 10px;
    color: #fff;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    white-space: normal;
    word-break: break-all;
}

.nav-item.dropdown:hover .dropdown-menu li a,
.nav-item.dropdown:focus-within .dropdown-menu li a {
    background: var(--theme-color);
    color: #fff;
}

.nav-item.dropdown:hover .dropdown-menu li a:hover,
.nav-item.dropdown:focus-within .dropdown-menu li a:hover {
    background: var(--theme-color-light);
    color: #fff;
}

/* ========== 移动端菜单栏 ========== */
/* 汉堡按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    position: relative;
}

.menu-toggle .bar {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 4px;
    background: var(--theme-color);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle .bar:nth-child(1) {
    top: 10px;
}

.menu-toggle .bar:nth-child(2) {
    top: 18px;
}

.menu-toggle .bar:nth-child(3) {
    top: 26px;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
}



/* ================== Footer 页脚 ================== */
footer {
    background: var(--theme-color);
    background: #000;
    color: #fff;
    /* margin-top: .6rem; */
    padding-top: 3.75rem;
    flex-shrink: 0;
    width: 100%;
}

h3.menu-title {
    font-size: var(--font-size-footer);
}

.footer-container {
    /* 页脚主内容区 */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 9.375rem;
    gap: 10%;
    font-size: var(--font-size-footer-sub);
}

.footer-left {
    /* 页脚左侧 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-right {
    /* 页脚右侧 */
    flex: 7 1 0;
    min-width: 0;
    width: 80%;
}

.subscribe-section {
    /* 订阅区 */
    height: auto;
    margin-top: 1.5rem;
    width: 100%;
}

.subscribe-section form {
    display: flex;
    align-items: center;
    width: 100%;
}

.subscribe-section .subscribe-input {
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
    border: none;
    text-indent: 1.25rem;
    padding: .5rem 0;
    height: 2rem;
    width: 70%;
}

.subscribe-section .subscribe-btn {
    border-bottom-right-radius: .375rem;
    border-top-right-radius: .375rem;
    border: none;
    background: var(--theme-color-light);
    color: #fff;
    width: 30%;
    height: 2rem;
    padding: .5rem 15px;
    margin-left: -0.3rem;
    cursor: pointer;
}

ul.contact-list {
    margin: 1.5rem auto;
}

ul.contact-list .contact-item {
    padding-bottom: 0.625rem;
}

ul.contact-list li.contact-item:nth-child(1) a>span.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/sprites.png) -1px 0px;
}

ul.contact-list li.contact-item:nth-child(2) a>span.icon {
    display: inline-block;
    width: 23px;
    height: 20px;
    background: url(../images/sprites.png) -39px 2px;
}

ul.contact-list li.contact-item:nth-child(3) p>span.icon {
    display: inline-block;
    width: 17px;
    height: 20px;
    background: url(../images/sprites.png) -78px 2px;
}

ul.contact-list .contact-item span.icon {
    margin-right: 0.75rem;
}

span.contact-icon {
    margin-right: 0.75rem;
}

.social-links {
    /* 社交链接 */
    display: flex;
    flex-direction: row;
    /* margin: 2rem auto; */
    justify-content: left;
    gap: 10px;
}

.social-links .link>a {
    display: inline-block;
    width: 1.66rem;
    height: 1.66rem;
    text-align: center;
    background: #fff;
    border-radius: 50%;
}

.social-links span.social-icon {
    display: inline-block;
    color: var(--theme-color);
    padding: 5px;
    border-radius: 50%;
}

.social-links span.social-icon:hover {
    background: var(--theme-color-light);
    color: #fff;
    transform: scale(1.1);
}

/* .social-links li.link:nth-child(1) a{
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/sprites.png) -33px 19px;
}

.social-links li.link:nth-child(2) a{
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/sprites.png) -33px 19px;
}

.social-links li.link:nth-child(3) a{
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/sprites.png) -33px 19px;
} */

ul.footmenu-list {
    /* 页脚菜单 */
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

ul.footmenu-list .menu-item {
    width: 20%;
}

h3 {
    font-size: 1.3125rem;
}

ul.submenu-list li a {
    transition: color 0.2s;
}

ul.submenu-list li:hover a {
    color: var(--theme-color-light);
}

ul.submenu-list {
    margin-top: 2rem;
    font-size: var(--font-size-footer-sub);
}

ul.submenu-list li {
    margin-top: 15px;
}

.footer-bottom {
    /* 页脚底部 */
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
}

.footer-bottom .warning>p {
    margin-bottom: 0;
}

div.copyright {
    margin-top: 20px;
}

.corner-title {
    position: relative;
    display: inline-block;
    padding: 20px 30px;
    text-align: center;
    color: #6a0dad;
    font-size: var(--font-size-module-title);
    font-weight: bold;
    line-height: 1;
    background: #ffffff;
    box-sizing: border-box;
}

.corner-title::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    border-top: 4px solid #ee3c70;
    border-left: 4px solid #ee3c70;
}

.corner-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-bottom: 4px solid #ee3c70;
    border-right: 4px solid #ee3c70;
}


/* =========================右边fixed图片块============================ */
.fixed-content {
    bottom: 136px;
    cursor: pointer;
    position: fixed;
    right: 20px;
    z-index: 1000;
}

.fixed-item {
    position: relative;
    margin-top: 1.125rem;
    font-size: 0;
    border-radius: 10px 0px 0px 10px;
    text-align: center;
}

.fixed-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
}

.fixed-item.fade-out {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}


.fixed-item a {
    border-radius: 16px;
    display: block;
    width: 100px;
}

.fixed-item span {
    align-items: center;
    background: #000;
    border-radius: 18px;
    color: #fff;
    display: flex;
    font-size: 12px;
    height: 18px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: -8px;
    width: 18px;
}

.fixed-item .fixed-text {
    font-size: var(--font-size-footer-sub);
    font-size: 8px;
    padding: .5rem 0;
}

.fixed-item:first-child .fixed-text {
    background: #263238;
}

.fixed-item:last-child .fixed-text {
    background: #414270;
}

@media only screen and (max-width: 1440px) {
    .main-header {
        height: 5rem;
    }

    footer {
        padding: 2rem 0;
    }

    .footer-container {
        margin: 0 5rem;
    }

}

/* ================== 响应式：Header & Footer ================== */

@media (max-width: 768px) {

    :root {
        --font-size-module-title: 2rem;
        --font-size-title: 1.75rem;
        --font-size-desc: 1rem;
        --font-size-footer-sub: 0.875rem;
    }

    .site-header {
        position: relative;
    }

    .main-header.container {
        flex-direction: row;
        justify-content: left;
        align-items: center;
        height: 4rem;
        padding: 0 10px;
        position: relative;
    }

    .logo {
        margin: 0 auto;
        height: 36px;
        z-index: 101;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav {
        height: auto !important;
        position: absolute;
        left: 0;
        top: 60px;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        z-index: 9999;
        max-height: 0;
        overflow: hidden;
        text-align: left;
        transition: max-height 0.6s cubic-bezier(.4, 0, .2, 1);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav.open {
        max-height: 100vh;
        overflow: auto;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav-list {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        background: #fff;
        position: static;
        overflow: visible;
    }

    .nav-list>.nav-item {
        display: block;
        width: 100%;
        position: static;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .nav-item>a {
        width: 100%;
        display: block;
        padding: 8px 20px;
        box-sizing: border-box;
        color: #222;
        background: #fff;
        border: none;
        margin: 0;
    }

    .dropdown-menu {
        display: block !important;
        width: 100%;
        position: static;
        margin: 0;
        padding: 0 0 0 28px;
        box-sizing: border-box;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(.4, 0, .2, 1);
    }

    .nav.open .dropdown-menu {
        max-height: 500px;
        overflow: visible;
    }

    .dropdown-menu .submenu-item {
        border-bottom: 1px solid #eee;
        margin: 0;
        padding: 0;
    }

    .dropdown-menu .submenu-item a {
        padding: 10px 20px;
        color: #444;
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none;
        margin: 0;
    }

    .dropdown-menu li a {
        display: block;
        height: auto;
        padding: 8px 20px;
        color: #444;
        white-space: normal;
        word-break: break-all;
        transition: none;
    }

    .nav-item.dropdown:hover>a,
    .nav-item.dropdown:focus-within>a {
        color: #222;
        background: #fff;
    }

    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown:focus-within .dropdown-menu {
        display: none;
    }

    .nav.open .dropdown-menu {
        display: block;
    }

    .footer-container {
        flex-direction: column;
        margin: 20px;
        box-sizing: border-box;
    }

    .subscribe-section {
        display: flex;
    }

    .subscribe-section .subscribe-input {
        width: 70%;
    }

    .subscribe-section .subscribe-btn {
        width: 30%;
        margin-left: -30px;
    }

    .social-links .link>a {
        width: 1.625rem;
        height: 1.625rem;
    }

    .footer-right {
        flex: initial;
        width: 100%;
        margin-top: 1.5rem;
    }

    ul.contact-list {
        margin: 1.5rem 0;
    }

    ul.footmenu-list {
        flex-direction: column;
    }

    ul.footmenu-list .menu-item {
        width: 100%;
        margin: 10px auto;
    }

    ul.submenu-list,
    ul.submenu-list li {
        margin-top: 1rem;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/*  age verify*/

.age-popup{
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    color: #fff;
}

.age-popup .age-box{
    position: absolute;
    max-width: 600px;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    text-align: center;
    font-size: 16px;
}

.age-box .title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin: 60px 0 24px;
}

.age-box .age-warning{
    line-height: 1.5;
}

.age-box .btn-box {
    margin-top: 40px;
    font-size: 0;
}

.age-box .btn-box button {
    width: calc(50% - 12px);
    max-width: 160px;
    height: 48px;
    font-size: 16px;
    border-radius: 0;
    cursor: pointer;
}

.btn {
    color: #fff;
    position: relative;
    display: inline-block;
    height: 40px;
    line-height: 38px;
    border: none;
    border-radius: 38px;
    overflow: hidden;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    background-color: #FD9251;
    -webkit-transition: color 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86),border 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: color 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86),border 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: 1;
    /* -webkit-tap-highlight-color:initial; */
}

.btn {
    background: #6713c9;
}

.age-box .btn-border {
    background: #000;
    border: 1px solid #FFFFFF;
    color: #fff;
    margin-right: 24px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .age-box {
        font-size: 14px;
        padding: 0 24px;
    }

    .age-box .title {
        font-size: 24px;
        margin: 40px 0 16px;
    }
    .age-box .btn-box button {
        max-width: 136px;
    }

    /*.fixed-content {*/
    /*    left: 20px;*/
    /*}*/

    .fixed-item span{
        left: 90px;
    }
}