/* template/default/css/common.css */
/* 深色科幻风格 - 全局公共样式 */

/* 全局基础样式 */
body {
    background: #0b0e14;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
}

/* 科技字体 */
.ai-font {
    font-family: 'Orbitron', monospace;
}

/* 玻璃效果 */
.glass-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(18, 25, 35, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.1);
}

/* 文字渐变效果 */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, #06b6d4, #3b82f6);
}

/* 顶部导航栏 */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* 导航链接样式 */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    color: #06b6d4;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-link:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}
.nav-link i {
    margin-right: 6px;
}

/* 二进制背景效果 */
.binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.binary-stream {
    position: absolute;
    color: #06b6d4;
    font-family: monospace;
    font-size: 12px;
    opacity: 0.3;
    animation: binaryFall linear infinite;
}

@keyframes binaryFall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* 主内容区域 */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-container {
        padding: 0 0.75rem;
    }
}