/*
Theme Name: Azure Future
Theme URI: https://www.weiruan-tech.com/azure-future
Author: 威软科技制作
Author URI: https://www.weiruan-tech.com
Description: 威软科技制作的大气高端渐变蓝科技主题，集成暗黑模式与玻璃拟态设计。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azure-future
Tags: one-column, grid-layout, custom-colors, dark-mode, editor-style
*/

/* * 注意：本主题核心样式使用 Tailwind CSS (通过CDN加载以方便演示)。
 * 在正式商业生产环境中，建议使用 Node.js 编译 Tailwind。
 */

/* 基础重置 */
body {
    overflow-x: hidden;
}

/* 玻璃拟态通用类 */
.glass {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.dark .glass {
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 渐变文字 */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #22d3ee, #3b82f6, #8b5cf6);
}
/* =========================================
   文章详情页正文排版 (Entry Content)
   ========================================= */
.entry-content {
    line-height: 1.8;
    color: #334155; /* Slate-700 */
}
.dark .entry-content {
    color: #cbd5e1; /* Slate-300 */
}

/* 标题样式 */
.entry-content h2, .entry-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b; /* Slate-800 */
}
.dark .entry-content h2, .dark .entry-content h3 {
    color: #f1f5f9; /* Slate-100 */
}
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.5rem; }

/* 段落间距 */
.entry-content p {
    margin-bottom: 1.5em;
}

/* 引用块 */
.entry-content blockquote {
    border-left: 4px solid #06b6d4; /* 主题色 */
    padding-left: 1rem;
    font-style: italic;
    color: #64748b;
    margin: 1.5em 0;
}

/* 列表 */
.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}
.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

/* 链接 */
.entry-content a {
    color: #06b6d4;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.entry-content a:hover {
    color: #3b82f6;
}

/* 图片 */
.entry-content img {
    border-radius: 0.75rem;
    margin: 2em 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* =========================================
   访问统计胶囊特效
   ========================================= */

/* 1. 呼吸灯动画定义 */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}
.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* 2. 胶囊悬停时的极光流转效果 */
.glass.group:hover {
    border-color: rgba(6, 182, 212, 0.5); /* 边框变亮 */
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), inset 0 0 10px rgba(6, 182, 212, 0.1);
}

/* 3. 数字字体的等宽优化 (防止数字跳动) */
.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}