/* 首页专用样式 */

/* 主要按钮样式 - 立即下载客户端 */
.mu-button {
    background: linear-gradient(135deg, #e5c07b, #d4a76a);
    border: 2px solid #e5c07b;
    color: #1a1a2e;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(229, 192, 123, 0.3);
}

.mu-button::before {
    content: '';
    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.6s ease;
}

.mu-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(229, 192, 123, 0.4);
    border-color: #f3d799;
}

.mu-button:hover::before {
    left: 100%;
}

.mu-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(229, 192, 123, 0.4);
}

/* 次要按钮样式 - 免费注册账号 */
.mu-button-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    border: 2px solid #6c757d;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.mu-button-secondary::before {
    content: '';
    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.6s ease;
}

.mu-button-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(108, 117, 125, 0.4);
    border-color: #818a91;
}

.mu-button-secondary:hover::before {
    left: 100%;
}

.mu-button-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* 金牛奇迹紫色按钮 */
.mu-button-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: 2px solid #8b5cf6;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.mu-button-purple::before {
    content: '';
    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.6s ease;
}

.mu-button-purple:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
    border-color: #a78bfa;
}

.mu-button-purple:hover::before {
    left: 100%;
}

.mu-button-purple:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* 下载按钮通用样式 */
.download-button {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: 2px solid #8b5cf6;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.download-button::before {
    content: '';
    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.6s ease;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
    border-color: #a78bfa;
}

.download-button:hover::before {
    left: 100%;
}

.download-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Windows下载按钮 */
.windows-download {
    background: linear-gradient(135deg, #0078d7, #005a9e);
    border-color: #0078d7;
}

.windows-download:hover {
    border-color: #106ebe;
}

/* Mac下载按钮 */
.mac-download {
    background: linear-gradient(135deg, #0071e3, #004a8c);
    border-color: #0071e3;
}

.mac-download:hover {
    border-color: #0060cc;
}

/* Android下载按钮 */
.android-download {
    background: linear-gradient(135deg, #3ddc84, #34a853);
    border-color: #3ddc84;
}

.android-download:hover {
    border-color: #2da961;
}

/* iOS下载按钮 */
.ios-download {
    background: linear-gradient(135deg, #a28aee, #8e75dd);
    border-color: #a28aee;
}

.ios-download:hover {
    border-color: #9173e2;
}

/* 角色卡片效果增强 */
.character-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.character-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.character-card:hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 1.5s;
}

@keyframes shimmer {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 计数器动画增强 */
.counter {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, #e5c07b, #d4a76a, #e5c07b);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 特色卡片悬停效果 */
.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #e5c07b, #f3d799);
}

/* 浮动动画 */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatFast {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 渐入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 动画延迟类 */
.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* 波纹效果 */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(10);
        opacity: 0;
    }
}

/* 网站统计图表效果 */
.stats-chart {
    position: relative;
    overflow: hidden;
}

.stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e5c07b, #d4a76a);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s ease-out;
}

@keyframes fillBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* 脉冲效果 */
.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(229, 192, 123, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(229, 192, 123, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(229, 192, 123, 0.3); }
}

/* 浮动轨道动画 */
@keyframes floatOrb {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -15px) rotate(10deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(-15px, 15px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* 闪光动画 */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* 发光文字动画 */
@keyframes glow {
    0% { text-shadow: 0 0 5px #e5c07b, 0 0 10px #e5c07b, 0 0 15px #e5c07b; }
    50% { text-shadow: 0 0 10px #f3d799, 0 0 20px #f3d799, 0 0 30px #f3d799; }
    100% { text-shadow: 0 0 5px #e5c07b, 0 0 10px #e5c07b, 0 0 15px #e5c07b; }
}

/* 浮动粒子动画 */
@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.3; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.7; }
}

/* 滑动进入动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 淡入缩放动画 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 滚动动画样式 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 区块悬停效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 注册页面地铁图样式 */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-number.active {
    background: linear-gradient(135deg, #e5c07b, #d4a76a);
    color: #1a1a2e;
    border: 2px solid #e5c07b;
    box-shadow: 0 0 15px rgba(229, 192, 123, 0.5);
}

.step-number.pending {
    background: #444;
    color: #888;
    border: 2px solid #666;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #444;
    position: relative;
    transition: all 0.3s ease;
}

.step-line.completed {
    background: linear-gradient(90deg, #e5c07b, #d4a76a);
}

.step-line.pending {
    background: #444;
}

/* 浮动元素动画 */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-fast {
    animation: floatFast 4s ease-in-out infinite;
}

/* 英雄区域背景 */
.hero-bg {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

/* 粒子样式 */
.particle {
    position: absolute;
    background: rgba(229, 192, 123, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

/* 装饰粒子 */
.decor-particle {
    position: absolute;
    background: rgba(229, 192, 123, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 10s ease-in-out infinite;
}

/* 鼠标跟随器 */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(229, 192, 123, 0.3);
    border: 2px solid #e5c07b;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.mouse-follower.is-hovering {
    width: 40px;
    height: 40px;
    background: rgba(229, 192, 123, 0.2);
}

/* 流星效果 */
.meteor {
    position: fixed;
    width: 2px;
    height: 20px;
    background: linear-gradient(90deg, transparent, #e5c07b);
    top: -20px;
    transform-origin: bottom center;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    animation: meteorFall 2s linear forwards;
}

@keyframes meteorFall {
    0% {
        transform: rotate(-45deg) translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translateY(calc(100vh + 100%));
        opacity: 0;
    }
}

/* 金色主题颜色 */
.text-gold {
    color: #e5c07b;
}

.bg-gold {
    background-color: #e5c07b;
}

.border-gold {
    border-color: #e5c07b;
}

/* 紫色主题颜色 */
.text-mu-purple {
    color: #8b5cf6;
}

.bg-mu-purple {
    background-color: #8b5cf6;
}

/* 玻璃卡片效果增强 */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 背景渐变颜色 */
.gold-gradient {
    background: linear-gradient(135deg, #e5c07b, #d4a76a);
}

.purple-gradient {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* 文字阴影效果 */
.text-shadow-gold {
    text-shadow: 0 2px 4px rgba(229, 192, 123, 0.3);
}

/* 金色黑色渐变背景 */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-gold-black {
    --tw-gradient-from: #1a1a2e;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(26, 26, 46, 0));
}

/* 金色浅色渐变 */
.gold-light {
    color: #f3d799;
}

/* 背景图透明度和叠加效果 */
.opacity-40 {
    opacity: 0.4;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-40 {
    opacity: 0.4;
}

/* 背景渐变叠加 */
.from-gray-900/70 {
    --tw-gradient-from: rgba(17, 24, 39, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0));
}

.via-gray-900/40 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(17, 24, 39, 0.4), var(--tw-gradient-to);
}

.to-transparent {
    --tw-gradient-to: transparent;
}
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-button::before {
    content: '';
    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.6s ease;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.02);
}

.download-button:hover::before {
    left: 100%;
}

.download-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Windows按钮 */
.download-button-windows {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    border: 2px solid #0078d4;
}

.download-button-windows:hover {
    background: linear-gradient(135deg, #106ebe, #005a9e);
    box-shadow: 0 12px 30px rgba(0, 120, 212, 0.4);
    border-color: #40a9ff;
}

/* Mac按钮 */
.download-button-mac {
    background: linear-gradient(135deg, #6c757d, #495057);
    border: 2px solid #6c757d;
}

.download-button-mac:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    box-shadow: 0 12px 30px rgba(108, 117, 125, 0.4);
    border-color: #adb5bd;
}

/* Android按钮 */
.download-button-android {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: 2px solid #28a745;
}

.download-button-android:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
    border-color: #6f42c1;
}

/* iOS按钮 */
.download-button-ios {
    background: linear-gradient(135deg, #000000, #333333);
    border: 2px solid #000000;
}

.download-button-ios:hover {
    background: linear-gradient(135deg, #333333, #666666);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border-color: #999999;
}

/* 角色卡片效果增强 */
.character-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.character-card:hover {
    transform: translateY(-12px) scale(1.03) rotateY(5deg);
    border-color: #d4af37;
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.4), 0 0 30px rgba(212, 175, 55, 0.2);
}

.character-card:hover::before {
    left: 100%;
}

/* 计数器动画增强 */
.counter {
    font-family: 'Arial Black', sans-serif;
    background: linear-gradient(135deg, #d4af37, #f5d388, #d4af37);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 特色卡片悬停效果 */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.feature-card:hover::after {
    width: 300px;
    height: 300px;
}

/* 浮动动画 */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-180deg); }
}

.animate-float { animation: float-slow 4s ease-in-out infinite; }
.animate-float-fast { animation: float-fast 3s ease-in-out infinite; }

/* 渐入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }

/* 波纹效果 */
@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* 网站统计图表效果 */
.stats-chart {
    position: relative;
    overflow: hidden;
}

.stats-bar {
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f5d388);
    border-radius: 2px;
    transform-origin: left;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* 脉冲效果 */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes floatOrb {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px #d4af37, 0 0 10px #d4af37, 0 0 15px #d4af37;
    }
    50% {
        text-shadow: 0 0 10px #d4af37, 0 0 20px #d4af37, 0 0 30px #d4af37;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 滚动动画样式 */
.animate-in {
    animation: fadeInScale 0.8s ease-out;
}

.slide-in {
    animation: slideInUp 0.6s ease-out;
}

/* 区块悬停效果 */
section {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

section:hover {
    transform: perspective(1000px) rotateX(2deg) !important;
}