/* 自定义基础样式补充 Tailwind */

:root {
    --primary: #0EA5E9;
    --primary-glow: rgba(14, 165, 233, 0.5);
}

body {
    scroll-behavior: smooth;
}

/* 玻璃拟态质感卡片 */
.glass-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* 渐变发光文本 */
.glow-text {
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

/* 按钮渐变与发光 */
.btn-primary {
    background: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #38BDF8 0%, #3B82F6 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* 自定义动画 */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 导航栏滚动变色状态 */
.nav-scrolled {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* 隐藏滚动条但保持可滚动 (针对特殊容器) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
