/*
Theme Name: 跃海推AI创作者中心
Theme URI: https://yuehaitui.com
Description: 跃海推AI创作者中心WordPress主题 - 基于Bootstrap 5.3.2框架开发
Author: 跃海推团队
Author URI: https://yuehaitui.com
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 响应式, Bootstrap, AI, 内容变现, 跃海推
Text Domain: yuehaitui
*/

/* ===== 基础样式重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

/* ===== WordPress兼容性样式 ===== */
.wp-site-blocks {
    padding: 0;
}

.wp-block-group {
    margin: 0;
}

main {
    display: block;
    width: 100%;
}

.entry-content {
    margin: 0;
}

.site-main {
    margin: 0;
    padding: 0;
}

/* ===== 头部背景图 ===== */
.hero-bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('assets/images/top_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.4;
    pointer-events: none;
}

/* ===== 主要背景样式 ===== */
.hero-bg-primary {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(26, 26, 46, 0.9) 50%, rgba(22, 33, 62, 0.9) 100%);
    z-index: -3;
}

.hero-bg-secondary {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: -2;
}

/* ===== 导航栏样式 ===== */
.yuehaitui-navbar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    z-index: 1050;
    min-height: 80px;
}

.yuehaitui-navbar.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    width: 100%;
    max-width: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo定位到左侧5% */
.navbar-brand {
    position: absolute;
    left: 5%;
    z-index: 10;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 0;
    display: flex;
    align-items: center;
}

/* 导航菜单和登录按钮定位到右侧5% */
.navbar-nav-container {
    position: absolute;
    right: 5%;
    z-index: 10;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.logo-container {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.qr-image {
    width: 100%;
    height: 100%;
   
}

.logo-container:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-container:hover .logo-image {
    filter: brightness(1.2);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.logo-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 14px;
    opacity: 0.5;
    filter: blur(8px);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.navbar-nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(236, 72, 153, 0.1);
    transform: translateY(-2px);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover .nav-indicator,
.navbar-nav .nav-link.active .nav-indicator {
    width: 80%;
}

.login-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6) !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-btn:hover .btn-bg {
    opacity: 1;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover .btn-shine {
    left: 100%;
}

/* ===== 主要内容区域 ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(22, 33, 62, 0.8) 100%);
    z-index: -3;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -2;
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===== 粒子效果 ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.6), rgba(139, 92, 246, 0.6));
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    top: 40%;
    right: 15%;
    animation-delay: 1s;
}

.particle-3 {
    width: 6px;
    height: 6px;
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    top: 60%;
    right: 25%;
    animation-delay: 3s;
}

.particle-5 {
    width: 14px;
    height: 14px;
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

.particle-6 {
    width: 8px;
    height: 8px;
    top: 80%;
    left: 30%;
    animation-delay: 5s;
}

.geometric-shapes {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===== 几何图形背景 ===== */
.geometric-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.geometric-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.geo-circle-1 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    bottom: 25%;
    right: 12%;
    animation-delay: 2s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(236, 72, 153, 0.1);
    top: 50%;
    left: 15%;
    animation-delay: 1s;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(139, 92, 246, 0.1);
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
}

.geo-hexagon-1 {
    width: 60px;
    height: 60px;
    background: rgba(236, 72, 153, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 70%;
    left: 25%;
    animation-delay: 4s;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.light-effect-1,
.light-effect-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.light-effect-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.light-effect-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: 30%;
    right: 15%;
    animation-delay: 2s;
}

/* ===== 浮动图标 ===== */
.floating-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.4), rgba(139, 92, 246, 0.4));
}

.icon-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.icon-1 { top: 15%; left: 12%; animation-delay: 0s; }
.icon-2 { top: 25%; right: 18%; animation-delay: 1s; }
.icon-3 { top: 45%; left: 8%; animation-delay: 2s; }
.icon-4 { top: 65%; right: 22%; animation-delay: 3s; }
.icon-5 { bottom: 35%; left: 15%; animation-delay: 4s; }
.icon-6 { bottom: 25%; right: 12%; animation-delay: 5s; }
.icon-7 { bottom: 45%; left: 25%; animation-delay: 6s; }
.icon-8 { top: 35%; right: 8%; animation-delay: 7s; }

/* 移除重复的light-effect定义 */

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ec4899 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
    display: block;
}

/* ===== 标题文字动画 ===== */
.title-word {
    display: inline-block;
    margin: 0 0.2em;
    animation: titleReveal 0.8s ease-out forwards;
    opacity: 1;
    transform: translateY(0);
    color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #ec4899 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.title-word.word-1 {
    animation-delay: 0.1s;
}

.title-word.word-2 {
    animation-delay: 0.3s;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-word.word-3 {
    animation-delay: 0.5s;
}

.title-word.word-4 {
    animation-delay: 0.7s;
}

.title-container {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;

}

.title-decoration {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 2px;
    opacity: 0.8;
}

.title-underline {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 2px;
    opacity: 0.6;
}

.animated-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animated-word:nth-child(1) { animation-delay: 0.1s; }
.animated-word:nth-child(2) { animation-delay: 0.2s; }
.animated-word:nth-child(3) { animation-delay: 0.3s; }
.animated-word:nth-child(4) { animation-delay: 0.4s; }
.animated-word:nth-child(5) { animation-delay: 0.5s; }

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.welcome-highlight {
    color: #ec4899;
    font-weight: 600;
}

/* 二维码区域样式 */
.qr-section {
    margin-bottom: 1.5rem;
}

.qr-header {
    margin-bottom: 1rem;
}

.qr-icon {
    color: #1aad19;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.qr-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== 副标题样式 ===== */
.subtitle-container {
    margin-bottom: 3rem;
}

.subtitle-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.subtitle-highlight {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.subtitle-icon {
    color: #ec4899;
    animation: pulse 2s ease-in-out infinite;
}

.subtitle-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(236, 72, 153, 0.1) !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
    color: #ec4899 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(236, 72, 153, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.2);
}

/* ===== CTA按钮样式 ===== */
.cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.3);
    font-size: 1.1rem !important;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.4);
}

.cta-secondary {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: 1rem 2rem !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    color: white !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.1rem !important;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(236, 72, 153, 0.5) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 30px;
}

/* ===== 统计数据样式 ===== */
.stats-container {
    margin-top: 2rem; /* 减小顶部间距 */
    padding: 1rem; /* 调整整体内边距，让内容更居中，减少左右过量内边距 */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 0.5rem; /* 减小上下内边距 */
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: clamp(1.2rem, 3vw, 2rem); 
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem; 
    display: block;
    line-height: 1.2; 
    /* 新增：确保文字不溢出，超出时自动换行（如果需要） */
    white-space: normal;
    /* 新增：让容器足够宽容纳文字 */
    width: 100%;
    /* 新增：如果文字还是溢出，可隐藏溢出部分（根据设计需求选择） */
    /* overflow: hidden;
    text-overflow: ellipsis; */
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ===== 特色标签样式 ===== */
.feature-tag {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.2);
}

/* ===== 浮动图标样式 ===== */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ec4899;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1) rotate(10deg);
    background: rgba(236, 72, 153, 0.2);
}

.icon-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 17px;
    filter: blur(8px);
    opacity: 0.7;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.icon-2 {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 30%;
    left: 8%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

/* ===== 模态框样式 ===== */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.yuehaitui-modal .modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.yuehaitui-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 100%);
    z-index: -1;
}

.modal-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: -40px;
    animation-delay: 4s;
}

.modal-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem 1.5rem 1rem !important;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(236, 72, 153, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.8), 
        rgba(118, 75, 162, 0.8), 
        transparent);
}

.header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
    z-index: -1;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.header-title {
    color: #000;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    color: #333;
}

/* 关闭按钮样式 */
.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-close::before {
    content: '×';
    font-size: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.btn-close:hover {
    background: rgba(236, 72, 153, 0.2) !important;
    border-color: rgba(236, 72, 153, 0.4) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.btn-close:hover::before {
    color: #ffffff;
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(236, 72, 153, 0.25) !important;
}

.modal-body {
    position: relative;
    z-index: 2;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.welcome-text {
    margin-bottom: 2.5rem;
    text-align: center;
}

.welcome-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.platform-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.qr-section {
    text-align: center;
}

.qr-header {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.qr-icon {
    color: #07c160;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 8px rgba(7, 193, 96, 0.3));
    margin-right: 0.5rem;
}

.qr-container {
    margin-bottom: 2.5rem;
}

.qr-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(236, 72, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.qr-frame:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(236, 72, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.qr-code {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%),
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%),
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 25px 25px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 二维码样式 */
.qr-code {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}



.login-options {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.login-option {
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    height: 50px;
    min-height: 50px;
}

.login-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.login-option:hover::before {
    left: 100%;
}

.login-option:hover,
.login-option.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    color: #667eea;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
}

.login-option i {
    font-size: 1.3rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.login-option:hover i {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
}

.login-option.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.agreement-text {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agreement-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

.agreement-link {
    color: #ec4899;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.agreement-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    transition: width 0.3s ease;
}

.agreement-link:hover {
    color: #8b5cf6;
    text-decoration: none;
}

.agreement-link:hover::after {
    width: 100%;
}

/* ===== 页脚样式 ===== */
.footer-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    backdrop-filter: blur(20px);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-right: 0.75rem;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.footer-brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #ec4899;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

.footer-address,
.footer-icp,
.footer-contact {
    margin-bottom: 0.25rem;
}

/* ===== 右侧浮动框 ===== */
.floating-sidebar {
    position: fixed;
    bottom: 5%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 16px;
    padding: 0.6rem 0.4rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    width: 70px;
    text-align: center;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.3rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.sidebar-item:hover {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    transform: translateX(-5px);
    text-decoration: none;
}

.sidebar-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    transition: all 0.3s ease;
}

.sidebar-item:hover .sidebar-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.sidebar-text {
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

/* ===== 弹出层样式 ===== */
.sidebar-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(236, 72, 153, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-right: 0.8rem;
    pointer-events: none;
}

.sidebar-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(20, 20, 30, 0.98);
}

.sidebar-item:hover .sidebar-tooltip {
     opacity: 1;
     visibility: visible;
     transform: translateY(-50%) translateX(-5px);
 }
 
 /* ===== Bootstrap Popover 自定义样式 ===== */
 .popover {
     background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
     border: 1px solid rgba(236, 72, 153, 0.3);
     border-radius: 12px;
     backdrop-filter: blur(20px);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
     max-width: 280px;
 }
 
 .popover-arrow::before {
     border-left-color: rgba(236, 72, 153, 0.3) !important;
 }
 
 .popover-arrow::after {
     border-left-color: rgba(20, 20, 30, 0.98) !important;
 }
 
 .popover-body {
     padding: 0;
     color: white;
 }
 
 .qr-popover {
     display: flex;
     align-items: center;
     gap: 1rem;
     padding: 1rem;
 }
 
 .qr-popover-img {
     width: 80px;
     height: 80px;
     border-radius: 8px;
     object-fit: cover;
     border: 2px solid rgba(236, 72, 153, 0.3);
 }
 
 .qr-popover-text {
     margin: 0;
     font-size: 0.9rem;
     font-weight: 500;
     color: rgba(255, 255, 255, 0.9);
     line-height: 1.4;
 }

/* ===== 客服按钮 ===== */
.customer-service {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* ===== 动画关键帧 ===== */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.95);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes scan {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(calc(100% - 3px)); opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .feature-tags {
        gap: 0.5rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .stats-container {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-sidebar {
        right: 1rem;
        min-width: 100px;
        padding: 1rem 0.8rem;
        gap: 0.8rem;
    }
    
    .sidebar-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .sidebar-text {
        font-size: 0.7rem;
    }
    
    .customer-service {
        bottom: 1rem;
        right: 1rem;
    }
    
    .service-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .yuehaitui-modal .modal-content {
        max-width: 350px;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.2rem 1.2rem 0.8rem !important;
    }
    
    .modal-body {
        padding: 1.2rem !important;
    }
    
    .qr-frame {
        width: 150px;
        height: 150px;
        padding: 15px;
    }
    
    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .header-title {
        font-size: 1.5rem;
    }
    
    .login-options {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .login-option {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .feature-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* ===== 打印样式 ===== */
@media print {
    .navbar,
    .customer-service,
    .floating-icons,
    .particles-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}
