.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.bg-grid {
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

/* 阿拉伯语下的字体覆盖与字号微调 */
html[dir="rtl"] body { font-family: 'Cairo', sans-serif; font-size: 1.05rem; }
html[dir="rtl"] .font-tech { font-family: 'Cairo', sans-serif; }

/* 确保画布层绝对置底，且不阻挡点击事件 */
#particle-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* 地图容器样式优化 */
.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 50px #050505;
    pointer-events: none;
}
/* =========================================
   V2.1.6 磁性阻尼光标样式 (仅对带鼠标的设备生效) 
   ========================================= */
@media (any-pointer: fine) {
    * { cursor: none !important; } /* 全局抹除原生光标 */
    
    .cursor-dot, .cursor-circle {
        position: fixed;
        top: 0; left: 0;
        pointer-events: none; /* 绝对不能阻挡点击事件 */
        z-index: 10000;
        border-radius: 50%;
        will-change: transform;
    }
    .cursor-dot {
        width: 6px; height: 6px;
        background-color: #D4AF37;
        box-shadow: 0 0 10px #D4AF37;
    }
    .cursor-circle {
        width: 20px; height: 20px;
        border: 1px solid rgba(212, 175, 55, 0.4);
        transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                    height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                    background-color 0.3s ease, border-color 0.3s ease;
    }
    /* 悬停在可点击元素上的交互形态 */
    .cursor-circle.hovered {
        width: 32px; height: 32px;
        background-color: rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 1);
        backdrop-filter: blur(2px);
    }
}