/* 妖姬动漫 - 神秘魅惑的二次元动漫世界样式 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Cinzel', 'Noto Sans SC', serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 神秘动画效果 */
.mystical-animation {
    animation: mysticalFloat 5s ease-in-out infinite;
}

@keyframes mysticalFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translateY(-20px) scale(1.03);
        filter: brightness(1.2);
    }
}

/* 魅惑动画效果 */
.enchanted-animation {
    animation: enchantedGlow 4s ease-in-out infinite;
}

@keyframes enchantedGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05) rotate(3deg);
        filter: brightness(1.3);
    }
}

/* 皇室动画效果 */
.royal-animation {
    animation: royalMajesty 6s ease-in-out infinite;
}

@keyframes royalMajesty {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: brightness(1) drop-shadow(0 0 10px rgba(147, 51, 234, 0.3));
    }
    33% {
        transform: translateY(-15px) scale(1.02);
        filter: brightness(1.15) drop-shadow(0 0 20px rgba(147, 51, 234, 0.5));
    }
    66% {
        transform: translateY(-8px) scale(1.01);
        filter: brightness(1.08) drop-shadow(0 0 15px rgba(147, 51, 234, 0.4));
    }
}

/* 禅意动画效果 */
.zen-animation {
    animation: zenBalance 7s ease-in-out infinite;
}

@keyframes zenBalance {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        filter: brightness(1);
    }
    25% {
        transform: translateY(-12px) rotate(2deg);
        filter: brightness(1.1);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
        filter: brightness(1);
    }
    75% {
        transform: translateY(-6px) rotate(-2deg);
        filter: brightness(1.05);
    }
}

/* 排行榜动画效果 */
.ranking-animation {
    animation: rankingShine 4s ease-in-out infinite;
}

@keyframes rankingShine {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.08);
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.7);
    }
}

/* 卡片悬停动画效果 */
.mystical-card-hover {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mystical-card-hover:hover {
    transform: translateY(-20px) scale(1.08);
    box-shadow: 0 40px 80px rgba(147, 51, 234, 0.3);
}

/* 神秘卡片动画 */
.mystical-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mystical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.3), transparent);
    transition: left 0.8s;
}

.mystical-card:hover::before {
    left: 100%;
}

.mystical-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(147, 51, 234, 0.4);
}

/* 神秘分类卡片动画 */
.mystical-category-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mystical-category-card::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.9s;
}

.mystical-category-card:hover::before {
    left: 100%;
}

.mystical-category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 35px 70px rgba(147, 51, 234, 0.5);
}

/* 图标动画 */
.mystical-icon {
    animation: mysticalPulse 3s ease-in-out infinite;
}

@keyframes mysticalPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        filter: brightness(1.5);
    }
}

.enchanted-icon {
    animation: enchantedSway 4s ease-in-out infinite;
}

@keyframes enchantedSway {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(8deg) scale(1.1);
    }
    75% {
        transform: rotate(-8deg) scale(1.1);
    }
}

.sparkle-icon {
    animation: sparkleEffect 2.5s ease-in-out infinite;
}

@keyframes sparkleEffect {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 5px currentColor);
    }
    50% {
        transform: scale(1.4);
        filter: brightness(1.8) drop-shadow(0 0 15px currentColor);
    }
}

.royal-icon {
    animation: royalGlow 3.5s ease-in-out infinite;
}

@keyframes royalGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px currentColor);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(15deg);
        filter: drop-shadow(0 0 20px currentColor);
    }
}

.zen-icon {
    animation: zenRotate 8s linear infinite;
}

@keyframes zenRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flame-icon {
    animation: flameFlicker 1.5s ease-in-out infinite;
}

@keyframes flameFlicker {
    0%, 100% {
        transform: scale(1) rotate(-2deg);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.15) rotate(2deg);
        filter: brightness(1.3);
    }
}

.nature-icon {
    animation: natureSway 4s ease-in-out infinite;
}

@keyframes natureSway {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

.mystical-eye {
    animation: eyeBlink 3s ease-in-out infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

.mystical-orb {
    animation: orbGlow 4s ease-in-out infinite;
}

@keyframes orbGlow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px currentColor);
    }
    50% {
        transform: scale(1.2);
        filter: brightness(1.5) drop-shadow(0 0 25px currentColor);
    }
}

.ice-icon {
    animation: iceShimmer 3s ease-in-out infinite;
}

@keyframes iceShimmer {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.4);
    }
}

.wizard-icon {
    animation: wizardMagic 5s ease-in-out infinite;
}

@keyframes wizardMagic {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(10deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(-10deg) scale(1.1);
    }
}

.ancient-scroll {
    animation: scrollUnroll 6s ease-in-out infinite;
}

@keyframes scrollUnroll {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.2);
    }
}

.fan-icon {
    animation: fanWave 3s ease-in-out infinite;
}

@keyframes fanWave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(45deg);
    }
}

.flower-icon {
    animation: flowerBloom 4s ease-in-out infinite;
}

@keyframes flowerBloom {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
}

.mountain-icon {
    animation: mountainMajesty 5s ease-in-out infinite;
}

@keyframes mountainMajesty {
    0%, 100% {
        transform: translateY(0px);
        filter: brightness(1);
    }
    50% {
        transform: translateY(-5px);
        filter: brightness(1.2);
    }
}

.cloud-icon {
    animation: cloudFloat 6s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(10px);
    }
}

.feather-icon {
    animation: featherFloat 4s ease-in-out infinite;
}

@keyframes featherFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(10deg);
    }
}

.sun-icon {
    animation: sunShine 3s linear infinite;
}

@keyframes sunShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.moon-icon {
    animation: moonPhase 8s ease-in-out infinite;
}

@keyframes moonPhase {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

.lightning-icon {
    animation: lightningStrike 2s ease-in-out infinite;
}

@keyframes lightningStrike {
    0%, 90%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    95% {
        opacity: 0.3;
        transform: scale(1.2);
    }
}

/* 排行榜选项卡样式 */
.ranking-tab {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.ranking-tab:hover::before {
    left: 100%;
}

.ranking-tab.active {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(147, 51, 234, 0.5);
}

/* 排行榜项目动画 */
.ranking-item {
    transition: all 0.5s ease;
    position: relative;
}

.ranking-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
}

.ranking-item:hover::before {
    opacity: 1;
}

/* 页面过渡动画 */
.page-transition {
    animation: pageSlideIn 1.5s ease-out;
}

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

/* 淡入动画 */
.animate-fade-in {
    animation: fadeIn 1.8s ease-out;
}

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

/* 弹跳进入动画 */
.bounce-in {
    animation: bounceIn 1.2s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 滑入效果 */
.slide-in-left {
    animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1.2s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 缩放淡入效果 */
.scale-fade-in {
    animation: scaleFadeIn 1.2s ease-out;
}

@keyframes scaleFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 返回顶部按钮 */
#back-to-top {
    transition: all 0.5s ease;
}

#back-to-top.show {
    transform: translateY(0);
    opacity: 1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9333ea, #7c3aed);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7c3aed, #6d28d9);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    .ranking-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .ranking-item > * {
        margin-bottom: 1rem;
    }
}

/* 加载动画 */
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(147, 51, 234, 0.3);
    border-top: 6px solid #9333ea;
    border-radius: 50%;
    animation: spin 1.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 文本渐变效果 */
.text-gradient {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 神秘渐变背景 */
.mystical-gradient-bg {
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 0.1) 0%, 
        rgba(124, 58, 237, 0.1) 50%, 
        rgba(109, 40, 217, 0.1) 100%);
}

/* 神秘光效 */
.mystical-glow {
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(147, 51, 234, 0.2);
}

/* 神秘能量动画 */
.mystical-energy {
    animation: mysticalEnergy 3s ease-in-out infinite alternate;
}

@keyframes mysticalEnergy {
    from {
        transform: translateY(0px);
        box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2);
    }
    to {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .mystical-card-hover:hover {
        transform: none;
        box-shadow: none;
    }
    
    .mystical-category-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .mystical-category-card:hover::before {
        left: -100%;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .text-gradient {
        background: #ffffff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
    .page-transition,
    .mystical-card-hover,
    .ranking-item,
    .ranking-tab,
    .mystical-icon,
    .enchanted-icon,
    .sparkle-icon,
    .royal-icon,
    .zen-icon,
    .flame-icon,
    .nature-icon {
        animation: none;
        transition: none;
    }
}

/* 焦点可见性 */
.focus-visible:focus {
    outline: 3px solid #9333ea;
    outline-offset: 3px;
}

/* 无障碍支持 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* 自定义动画 */
@keyframes mysticalFloatUp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-25px);
    }
}

.float-up-animation {
    animation: mysticalFloatUp 5s ease-in-out infinite;
}

/* 渐变边框效果 */
.gradient-border {
    position: relative;
    background: linear-gradient(45deg, #9333ea, #7c3aed);
    padding: 3px;
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: #000000;
    border-radius: 17px;
    z-index: -1;
}

/* 脉冲效果 */
.pulse-effect {
    animation: mysticalPulseEffect 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes mysticalPulseEffect {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .7;
    }
}

/* 旋转效果 */
.rotate-effect {
    transition: transform 0.8s ease;
}

.rotate-effect:hover {
    transform: rotate(360deg);
}

/* 缩放效果 */
.scale-effect {
    transition: transform 0.4s ease;
}

.scale-effect:hover {
    transform: scale(1.2);
}

/* 阴影效果 */
.shadow-glow {
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.4);
}

.shadow-glow:hover {
    box-shadow: 0 0 50px rgba(147, 51, 234, 0.6);
}

/* 玻璃态效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 渐变文字动画 */
.gradient-text-animation {
    background: linear-gradient(-45deg, #9333ea, #7c3aed, #6d28d9, #fbbf24);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: mysticalGradientShift 4s ease infinite;
}

@keyframes mysticalGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 悬浮阴影效果 */
.floating-shadow {
    box-shadow: 
        0 12px 30px rgba(147, 51, 234, 0.3),
        0 20px 60px rgba(124, 58, 237, 0.2);
    transition: all 0.4s ease;
}

.floating-shadow:hover {
    box-shadow: 
        0 20px 40px rgba(147, 51, 234, 0.4),
        0 30px 80px rgba(124, 58, 237, 0.3);
    transform: translateY(-6px);
}

/* 打字机效果 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #9333ea;
    white-space: nowrap;
    animation: mysticalTyping 4s steps(40, end), mysticalBlinkCaret 1s step-end infinite;
}

@keyframes mysticalTyping {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes mysticalBlinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: #9333ea; }
}

/* 能量波效果 */
.energy-wave {
    position: relative;
    overflow: hidden;
}

.energy-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.4), transparent);
    animation: mysticalEnergyWave 2.5s infinite;
}

@keyframes mysticalEnergyWave {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 多层阴影效果 */
.multi-shadow {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24),
        0 12px 25px rgba(147, 51, 234, 0.1),
        0 20px 50px rgba(124, 58, 237, 0.1);
}

/* 高度样式 */
.h-18 {
    height: 4.5rem;
}

/* 间距样式 */
.space-x-10 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 2.5rem;
}

/* 自定义容器 */
.container-mystical {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 特殊效果组合 */
.mystical-magic-card {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 10px 25px rgba(147, 51, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.mystical-magic-card:hover {
    background: linear-gradient(145deg, #111827 0%, #0f172a 100%);
    box-shadow: 
        0 20px 40px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-6px) scale(1.03);
}

/* 动态背景 */
.dynamic-bg {
    background: linear-gradient(-45deg, #9333ea, #7c3aed, #6d28d9, #ec4899);
    background-size: 400% 400%;
    animation: mysticalDynamicBg 8s ease infinite;
}

@keyframes mysticalDynamicBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 神秘光束效果 */
.mystical-beam {
    position: relative;
    overflow: hidden;
}

.mystical-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(147, 51, 234, 0.4), 
        rgba(124, 58, 237, 0.4), 
        transparent);
    animation: mysticalBeamEffect 3s infinite;
}

@keyframes mysticalBeamEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 神秘边框动画 */
.mystical-border {
    border: 2px solid transparent;
    background: linear-gradient(#1f2937, #1f2937) padding-box,
                linear-gradient(45deg, #9333ea, #7c3aed) border-box;
    animation: mysticalBorder 4s ease-in-out infinite;
}

@keyframes mysticalBorder {
    0%, 100% { 
        background: linear-gradient(#1f2937, #1f2937) padding-box,
                    linear-gradient(45deg, #9333ea, #7c3aed) border-box;
    }
    50% { 
        background: linear-gradient(#1f2937, #1f2937) padding-box,
                    linear-gradient(45deg, #7c3aed, #6d28d9) border-box;
    }
}

/* 神秘动画 */
.mystical-animation-effect {
    animation: mysticalEffect 5s ease-in-out infinite;
}

@keyframes mysticalEffect {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: brightness(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
        filter: brightness(1.1);
    }
    50% {
        transform: translateY(0px) scale(1);
        filter: brightness(1);
    }
    75% {
        transform: translateY(-4px) scale(1.01);
        filter: brightness(1.05);
    }
}

/* 圆角样式 */
.rounded-4xl {
    border-radius: 2rem;
}

/* 阴影样式 */
.shadow-3xl {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* 边框样式 */
.border-3 {
    border-width: 3px;
}

/* 容器样式 */
.max-w-8xl {
    max-width: 1408px;
}

/* 特殊动画效果 */
.mystical-special-effect {
    position: relative;
    overflow: hidden;
}

.mystical-special-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(147, 51, 234, 0.2), transparent);
    animation: mysticalRotate 6s linear infinite;
}

@keyframes mysticalRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 文字效果 */
.mystical-text-effect {
    background: linear-gradient(45deg, #9333ea, #7c3aed, #6d28d9, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: mysticalTextShimmer 3s ease-in-out infinite;
}

@keyframes mysticalTextShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* 互动效果 */
.mystical-interactive {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mystical-interactive:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px rgba(147, 51, 234, 0.3);
}

/* 背景装饰 */
.mystical-decoration {
    position: relative;
}

.mystical-decoration::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 0.2;
    animation: mysticalFloatUp 4s ease-in-out infinite;
}

/* 心跳效果 */
.heartbeat-animation {
    animation: mysticalHeartbeat 2s ease-in-out infinite;
}

@keyframes mysticalHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.12);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.12);
    }
    70% {
        transform: scale(1);
    }
}

/* 神秘光晕效果 */
.mystical-glow-effect {
    position: relative;
}

.mystical-glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #9333ea, #7c3aed, #6d28d9);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mystical-glow-effect:hover::before {
    opacity: 0.4;
}

/* 柔和过渡 */
.soft-transition {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 神秘色彩动画 */
.mystical-color-shift {
    animation: mysticalColorShift 5s ease-in-out infinite;
}

@keyframes mysticalColorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}