/* ===============================================
   天机首页样式 - index.css
   作者: 天机开发团队
   =============================================== */

:root {
    --mystic-purple: #6a4c93;
    --mystic-dark: #1a0033;
    --mystic-gold: #ffd700;
    --mystic-copper: #b87333;
    --mystic-blue: #1e3a8a;
    --mystic-cyan: #06b6d4;
    --text-light: #e0e7ff;
    --text-dim: #9ca3af;
    --bg-dark: #0a0118;
    --card-bg: rgba(26, 0, 51, 0.6);
}

/* ==================== 基础样式 ==================== */
html {
    scroll-behavior: smooth;
}

.index-page {
    margin: 0;
    padding: 0;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

.main-container {
    position: relative;
    z-index: 1;
}

/* ==================== 宇宙星空背景 ==================== */
.cosmos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: radial-gradient(ellipse at center, #1a0033 0%, #0a0118 50%, #000000 100%);
}

/* 星星效果 */
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 1000px 1000px;
    animation: starFloat linear infinite;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    animation-duration: 200s;
}

.stars2 {
    background-image: 
        radial-gradient(3px 3px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 10% 60%, white, transparent),
        radial-gradient(1px 1px at 40% 40%, white, transparent);
    animation-duration: 300s;
    opacity: 0.8;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 90% 90%, white, transparent),
        radial-gradient(1px 1px at 30% 20%, white, transparent),
        radial-gradient(2px 2px at 70% 80%, white, transparent);
    animation-duration: 400s;
    opacity: 0.6;
}

@keyframes starFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
}

/* 星云效果 */
.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(106, 76, 147, 0.2) 0%, transparent 50%);
    filter: blur(40px);
    animation: nebulaPulse 20s ease-in-out infinite;
}

@keyframes nebulaPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ==================== 浮动的八卦符号 ==================== */
.floating-symbols {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 215, 0, 0.3);
    animation: floatSymbol var(--duration, 20s) var(--delay, 0s) infinite linear;
    filter: blur(0.5px);
}

@keyframes floatSymbol {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.symbol:nth-child(odd) { left: calc(10% + var(--delay) * 5%); }
.symbol:nth-child(even) { right: calc(10% + var(--delay) * 5%); }

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(26, 0, 51, 0.9), transparent);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.brand-icon {
    font-size: 2rem;
    color: var(--mystic-gold);
    animation: rotateTaiji 10s linear infinite;
}

@keyframes rotateTaiji {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--mystic-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-login {
    border: 1px solid var(--mystic-gold);
    border-radius: 20px;
    padding: 8px 20px;
}

.nav-link-register {
    background: linear-gradient(135deg, var(--mystic-purple), var(--mystic-blue));
    border-radius: 20px;
    padding: 8px 20px;
}

.nav-link-register:hover {
    background: linear-gradient(135deg, var(--mystic-blue), var(--mystic-purple));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(106, 76, 147, 0.4);
}

/* ==================== 新版英雄区 - 紧凑型左右分栏 ==================== */
.hero-section-compact {
    padding: 100px 30px 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 左侧文字内容 */
.hero-text {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--mystic-gold);
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title-new {
    margin-bottom: 20px;
}

.title-highlight {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper), var(--mystic-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 200%;
    line-height: 1.1;
}

.title-desc {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 8px;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 500px;
}

/* 特性列表 */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-feature-item i {
    color: var(--mystic-gold);
    font-size: 1rem;
}

/* 按钮组 */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    color: var(--mystic-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--mystic-gold);
    color: var(--mystic-gold);
    background: rgba(255, 215, 0, 0.1);
}

/* 右侧太极视觉区 */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.taiji-container-new {
    position: relative;
    width: 320px;
    height: 320px;
}

.taiji-wrapper {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.taiji {
    width: 200px;
    height: 200px;
    position: relative;
    animation: rotateTaiji 20s linear infinite;
}

.yin-yang {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
}

.yin-yang::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: #000000;
    border-radius: 50%;
    top: 25%;
    left: 0;
}

.yin-yang::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: #ffffff;
    border-radius: 50%;
    top: 25%;
    right: 0;
}

.yin-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.yang-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000000;
    border-radius: 50%;
    top: 50%;
    right: 25%;
    transform: translate(50%, -50%);
    z-index: 10;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 260px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 3s ease-in-out infinite;
}

.energy-field {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: energyPulse 4s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

@keyframes energyPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* 八卦装饰符号 */
.bagua-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: rotateBagua 60s linear infinite reverse;
}

.bagua-symbol {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 215, 0, 0.4);
    top: 50%;
    left: 50%;
    transform-origin: center;
    transform: rotate(var(--angle)) translateY(-150px) rotate(calc(-1 * var(--angle)));
}

@keyframes rotateBagua {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== 快速功能入口区 ==================== */
.quick-entry-section {
    padding: 40px 30px 60px;
    position: relative;
}

.quick-entry-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-entry-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.15), rgba(30, 58, 138, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-entry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-entry-card:hover {
    transform: translateY(-4px);
    border-color: var(--mystic-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.quick-entry-card:hover::before {
    opacity: 1;
}

.entry-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--mystic-dark);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.entry-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.entry-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.entry-content p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.entry-arrow {
    color: var(--mystic-gold);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.quick-entry-card:hover .entry-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 旧版英雄区样式保留（兼容） */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 30px 50px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
}

.taiji-container {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.hero-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper), var(--mystic-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 200%;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    color: var(--text-dim);
    letter-spacing: 5px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-mystical {
    position: relative;
    padding: 15px 40px;
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.btn-primary-mystical {
    background: linear-gradient(135deg, var(--mystic-purple), var(--mystic-blue));
    color: white;
    border-color: var(--mystic-gold);
}

.btn-secondary-mystical {
    background: transparent;
    color: var(--mystic-gold);
    border-color: var(--mystic-gold);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn-mystical:hover .btn-glow {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-mystical:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(106, 76, 147, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--mystic-gold);
    border-bottom: 2px solid var(--mystic-gold);
    transform: rotate(45deg);
    opacity: 0.5;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ==================== 新版功能展示区 - 紧凑型设计 ==================== */
.features-section-new {
    padding: 60px 30px 80px;
    position: relative;
}

.section-header-new {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--mystic-gold);
    margin-bottom: 16px;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-subtitle-new {
    font-size: 1.1rem;
    color: var(--text-dim);
}

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 功能卡片新样式 */
.feature-card-new {
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.1), rgba(30, 58, 138, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card-new:hover {
    transform: translateY(-4px);
    border-color: var(--mystic-gold);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.15);
}

.feature-card-new.feature-large {
    grid-column: span 1;
}

.feature-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon-new {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--mystic-dark);
    flex-shrink: 0;
}

.feature-icon-new.icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
}

.feature-icon-new.icon-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.feature-icon-new.icon-cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.feature-icon-new.icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.feature-info {
    flex: 1;
    min-width: 0;
}

.feature-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.feature-arrow {
    color: var(--mystic-gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.feature-card-new:hover .feature-arrow {
    opacity: 1;
    transform: translateX(0);
}

.feature-highlights {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.feature-highlights span {
    padding: 4px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--mystic-gold);
}

/* 旧版功能展示区样式保留（兼容） */
.features-section {
    padding: 100px 30px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    letter-spacing: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.1), rgba(30, 58, 138, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--mystic-gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.feature-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent);
    border-radius: 50%;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.feature-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--mystic-gold);
    margin-bottom: 15px;
    text-align: center;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
    opacity: 0.9;
}

.feature-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--mystic-gold);
    transition: all 0.3s ease;
}

/* ==================== 新版统计区 - 紧凑型设计 ==================== */
.stats-section-new {
    padding: 50px 30px;
    position: relative;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.15), rgba(30, 58, 138, 0.15));
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card-new {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card-new:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.stat-icon-new {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(184, 115, 51, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--mystic-gold);
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-number-new {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mystic-gold);
    line-height: 1.2;
}

.stat-label-new {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ==================== 新版关于区 - 紧凑型设计 ==================== */
.about-section-new {
    padding: 60px 30px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-left {
    position: relative;
}

.about-title-new {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    margin-top: 12px;
}

.about-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-feature i {
    color: var(--mystic-gold);
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-quote-new {
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(184, 115, 51, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mystic-dark);
    font-size: 1rem;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--mystic-gold);
    line-height: 1.8;
    margin-bottom: 12px;
}

.quote-source-new {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: normal;
}

/* ==================== 新版CTA区 - 紧凑型设计 ==================== */
.cta-section-new {
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.2), rgba(30, 58, 138, 0.2));
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text {
    flex: 1;
}

.cta-title-new {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mystic-gold);
    margin-bottom: 8px;
}

.cta-subtitle-new {
    font-size: 1rem;
    color: var(--text-dim);
}

.btn-cta-new {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    color: var(--mystic-dark);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    flex-shrink: 0;
}

.btn-cta-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-cta-new i {
    transition: transform 0.3s ease;
}

.btn-cta-new:hover i {
    transform: translateX(4px);
}

/* 旧版统计区样式保留（兼容） */
.stats-section {
    padding: 80px 30px;
    position: relative;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.2), rgba(30, 58, 138, 0.2));
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffd700" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,138.7C672,128,768,128,864,144C960,160,1056,192,1152,197.3C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.stats-content {
    position: relative;
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--mystic-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* 旧版关于区样式保留（兼容） */
.about-section {
    padding: 100px 30px;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
    opacity: 0.9;
}

.about-quote {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(184, 115, 51, 0.1));
    border-left: 4px solid var(--mystic-gold);
    border-radius: 10px;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--mystic-gold);
    position: relative;
}

.quote-source {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: normal;
}

/* 旧版CTA区样式保留（兼容） */
.cta-section {
    padding: 100px 30px;
    background: radial-gradient(circle at center, rgba(106, 76, 147, 0.3), transparent);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--mystic-gold);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.btn-cta {
    font-size: 1.2rem;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    color: var(--bg-dark);
    border-color: transparent;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--mystic-copper), var(--mystic-gold));
}

/* ==================== 页脚 - 优化版 ==================== */
.footer {
    padding: 40px 30px 30px;
    background: linear-gradient(to bottom, rgba(10, 1, 24, 0.95), rgba(0, 0, 0, 0.98));
    border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-icon {
    font-size: 1.5rem;
    color: var(--mystic-gold);
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--mystic-gold), var(--mystic-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mystic-gold);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--mystic-gold);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.7;
}

.footer-tech i {
    color: var(--mystic-gold);
}

/* ==================== 响应式设计 ==================== */

/* 新版英雄区响应式 - 大平板 */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .title-highlight {
        font-size: 3.5rem;
    }
    
    .title-desc {
        font-size: 1.75rem;
    }
    
    .taiji-container-new {
        width: 280px;
        height: 280px;
    }
    
    .quick-entry-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 新版功能卡片响应式 */
    .features-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 新版统计区响应式 - 大平板 */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 新版关于区响应式 - 大平板 */
    .about-container {
        gap: 40px;
    }
    
    .about-title-new {
        font-size: 1.75rem;
    }
    
    /* 新版CTA区响应式 - 大平板 */
    .cta-container {
        gap: 30px;
    }
    
    .cta-title-new {
        font-size: 1.5rem;
    }
}

/* 平板和小屏幕 */
@media (max-width: 768px) {
    /* 新版英雄区移动端 */
    .hero-section-compact {
        padding: 80px 20px 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .title-highlight {
        font-size: 3rem;
    }
    
    .title-desc {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .taiji-container-new {
        width: 240px;
        height: 240px;
    }
    
    .taiji-wrapper {
        width: 160px;
        height: 160px;
    }
    
    .taiji {
        width: 160px;
        height: 160px;
    }
    
    .orbit-ring {
        width: 200px;
        height: 200px;
    }
    
    .energy-field {
        width: 240px;
        height: 240px;
    }
    
    .bagua-symbol {
        font-size: 1.2rem;
        transform: rotate(var(--angle)) translateY(-110px) rotate(calc(-1 * var(--angle)));
    }
    
    /* 快速入口移动端 */
    .quick-entry-section {
        padding: 30px 20px 50px;
    }
    
    .quick-entry-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quick-entry-card {
        padding: 16px 20px;
    }
    
    .entry-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .entry-arrow {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* 新版功能卡片移动端 */
    .features-section-new {
        padding: 50px 20px 60px;
    }
    
    .section-title-new {
        font-size: 2rem;
    }
    
    .features-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card-new {
        padding: 20px;
    }
    
    .feature-icon-new {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .feature-info h3 {
        font-size: 1.05rem;
    }
    
    .feature-info p {
        font-size: 0.85rem;
    }
    
    .feature-highlights {
        margin-top: 12px;
    }
    
    .feature-highlights span {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    /* 新版统计区移动端 */
    .stats-section-new {
        padding: 40px 20px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card-new {
        padding: 20px;
    }
    
    .stat-icon-new {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .stat-number-new {
        font-size: 1.5rem;
    }
    
    .stat-label-new {
        font-size: 0.85rem;
    }
    
    /* 新版关于区移动端 */
    .about-section-new {
        padding: 50px 20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-left {
        order: 1;
    }
    
    .about-right {
        order: 0;
    }
    
    .about-title-new {
        font-size: 1.75rem;
    }
    
    .about-desc {
        font-size: 0.95rem;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .about-quote-new {
        padding: 24px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    /* 新版CTA区移动端 */
    .cta-section-new {
        padding: 40px 20px;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .cta-title-new {
        font-size: 1.5rem;
    }
    
    .cta-subtitle-new {
        font-size: 0.95rem;
    }
    
    .btn-cta-new {
        width: 100%;
        justify-content: center;
    }
    
    /* 旧版样式兼容 */
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-mystical {
        width: 200px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 新版页脚移动端 */
    .footer {
        padding: 30px 20px 24px;
    }
    
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .hero-section-compact {
        padding: 70px 16px 30px;
    }
    
    .title-highlight {
        font-size: 2.5rem;
    }
    
    .title-desc {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-feature-item {
        font-size: 0.85rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .taiji-container-new {
        width: 200px;
        height: 200px;
    }
    
    .taiji-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .taiji {
        width: 140px;
        height: 140px;
    }
    
    .orbit-ring {
        width: 170px;
        height: 170px;
    }
    
    .energy-field {
        width: 200px;
        height: 200px;
    }
    
    .bagua-symbol {
        font-size: 1rem;
        transform: rotate(var(--angle)) translateY(-90px) rotate(calc(-1 * var(--angle)));
    }
    
    .quick-entry-card {
        padding: 14px 16px;
    }
    
    .entry-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .entry-content h3 {
        font-size: 1rem;
    }
    
    .entry-content p {
        font-size: 0.8rem;
    }
    
    /* 旧版样式兼容 */
    .navbar {
        padding: 15px 0;
    }
    
    .nav-content {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-link-login,
    .nav-link-register {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    /* 新版功能卡片小屏幕 */
    .features-section-new {
        padding: 40px 16px 50px;
    }
    
    .section-header-new {
        margin-bottom: 30px;
    }
    
    .section-title-new {
        font-size: 1.75rem;
    }
    
    .section-subtitle-new {
        font-size: 1rem;
    }
    
    .feature-card-new {
        padding: 16px;
    }
    
    .feature-icon-new {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .feature-info h3 {
        font-size: 1rem;
    }
    
    .feature-info p {
        font-size: 0.8rem;
    }
    
    /* 新版统计区小屏幕 */
    .stats-section-new {
        padding: 30px 16px;
    }
    
    .stat-card-new {
        padding: 16px;
        gap: 12px;
    }
    
    .stat-icon-new {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .stat-number-new {
        font-size: 1.35rem;
    }
    
    .stat-label-new {
        font-size: 0.8rem;
    }
    
    /* 新版关于区小屏幕 */
    .about-section-new {
        padding: 40px 16px;
    }
    
    .about-container {
        gap: 30px;
    }
    
    .about-title-new {
        font-size: 1.5rem;
    }
    
    .about-desc {
        font-size: 0.9rem;
    }
    
    .about-feature {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .about-quote-new {
        padding: 20px;
    }
    
    .quote-icon {
        width: 36px;
        height: 36px;
        top: -14px;
        left: 20px;
        font-size: 0.9rem;
    }
    
    .quote-text {
        font-size: 0.95rem;
    }
    
    .quote-source-new {
        font-size: 0.85rem;
    }
    
    /* 新版CTA区小屏幕 */
    .cta-section-new {
        padding: 30px 16px;
    }
    
    .cta-title-new {
        font-size: 1.35rem;
    }
    
    .cta-subtitle-new {
        font-size: 0.9rem;
    }
    
    .btn-cta-new {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* 新版页脚小屏幕 */
    .footer {
        padding: 24px 16px 20px;
    }
    
    .footer-main {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .footer-brand-name {
        font-size: 1.1rem;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .footer-copyright,
    .footer-tech {
        font-size: 0.8rem;
    }
}

/* ==================== 动画优化 ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}