/* ===== 重置和基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== 鬼灭之刃主题变量 ===== */
:root {
    --primary-red: #dc143c;
    --dark-red: #8b0000;
    --gold: #ffd700;
    --dark-blue: #191970;
    --black: #000000;
    --white: #ffffff;
    --gradient-bg: linear-gradient(135deg, 
        rgba(25, 25, 112, 0.95) 0%, 
        rgba(139, 0, 0, 0.85) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    --card-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    --hover-shadow: 0 20px 50px rgba(220, 20, 60, 0.5);
    
    /* 呼吸流派颜色变量 */
    --water-breathing-primary: #3498db;
    --water-breathing-secondary: #2980b9;
    --water-breathing-light: #85c1e9;
    --water-breathing-dark: #1a5276;
    
    --fire-breathing-primary: #e74c3c;
    --fire-breathing-secondary: #c0392b;
    --fire-breathing-light: #f1948a;
    --fire-breathing-dark: #922b21;
    
    --lightning-breathing-primary: #f39c12;
    --lightning-breathing-secondary: #d35400;
    --lightning-breathing-light: #f7dc6f;
    --lightning-breathing-dark: #9c640c;
    
    --stone-breathing-primary: #7f8c8d;
    --stone-breathing-secondary: #5d6d7e;
    --stone-breathing-light: #bdc3c7;
    --stone-breathing-dark: #34495e;
    
    --wind-breathing-primary: #27ae60;
    --wind-breathing-secondary: #229954;
    --wind-breathing-light: #82e0aa;
    --wind-breathing-dark: #196f3d;
    
    --love-breathing-primary: #e84393;
    --love-breathing-secondary: #fd79a8;
    --love-breathing-light: #fab1a0;
    --love-breathing-dark: #e84393;
    
    --snake-breathing-primary: #00b894;
    --snake-breathing-secondary: #00a085;
    --snake-breathing-light: #55efc4;
    --snake-breathing-dark: #008e76;
    
    --insect-breathing-primary: #a29bfe;
    --insect-breathing-secondary: #6c5ce7;
    --insect-breathing-light: #d6a2e8;
    --insect-breathing-dark: #5f27cd;
    
    --flower-breathing-primary: #fd79a8;
    --flower-breathing-secondary: #e84393;
    --flower-breathing-light: #ffcccc;
    --flower-breathing-dark: #d63031;
}

/* ===== 页面主体样式 ===== */
body {
    background: url('../img/mili.png'),
                var(--gradient-bg),
                radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    background-size: cover, cover, 200% 200%, 200% 200%;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    color: var(--white);
    overflow-x: hidden;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { background-position: center center, 0% 0%, 100% 100%; }
    50% { background-position: center center, 100% 100%, 0% 0%; }
}

/* ===== 导航栏样式 ===== */
.navbar {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(139, 0, 0, 0.7) 100%) !important;
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.navbar:hover {
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.4);
}

.navbar .navbar-nav > li > a,
.navbar .navbar-brand {
    color: var(--white) !important;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
    padding: 15px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .navbar-nav > li > a::before,
.navbar .navbar-brand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .navbar-nav > li > a:hover::before,
.navbar .navbar-brand:hover::before {
    width: 80%;
}

.navbar .navbar-nav > li > a:hover,
.navbar .navbar-brand:hover {
    color: var(--gold) !important;
    transform: translateY(-2px);
}

/* 下拉菜单样式 */
.navbar .dropdown-menu {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(139, 0, 0, 0.85) 100%) !important;
    border: 1px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    min-width: 200px;
    z-index: 1001;
}

.navbar .dropdown-menu > li > a {
    color: var(--white) !important;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar .dropdown-menu > li > a:hover {
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.3) 0%, 
        rgba(139, 0, 0, 0.4) 100%) !important;
    color: var(--gold) !important;
    transform: translateX(5px);
}

.navbar .dropdown-menu > li:last-child > a {
    border-bottom: none;
}

/* ===== 主容器样式 ===== */
.content-overlay {
    background: rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

.content-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(220, 20, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== 主标题样式 ===== */
.container h1 {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    border-radius: 2px;
}

.container h3, .container h4 {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    border-left: 5px solid var(--primary-red);
    padding-left: 20px;
    margin: 40px 0 20px 0;
    font-weight: 600;
    font-size: 1.8rem;
    position: relative;
}

.container h3::before, .container h4::before {
    content: '⚔️';
    margin-right: 10px;
    font-size: 1.2em;
}

/* ===== 角色卡片样式 ===== */
.kimetsu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.kimetsu-list .card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(240, 240, 240, 0.9));
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    isolation: isolate;
}

.kimetsu-list .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold), var(--dark-blue));
    z-index: 2;
}

.kimetsu-list .card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-red);
}

.kimetsu-list .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9);
}

.kimetsu-list .card:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.kimetsu-list .card h4 {
    color: var(--dark-red);
    margin: 15px 20px 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.kimetsu-list .card p {
    color: #555;
    margin: 0 20px 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ===== 呼吸流派列表样式 ===== */
.breathing-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.breathing-list li {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.breathing-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.breathing-list li:hover::before {
    left: 100%;
}

.breathing-list li:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}
.breathing-list li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    transition: color 0.3s ease;
}

.breathing-list li a:hover {
    color: var(--gold);
}

/* ===== 区块样式 ===== */
section {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6), 
        rgba(139, 0, 0, 0.3));
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold), var(--dark-blue));
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.4);
}

section h3, section h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

section p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

section ul {
    color: #e0e0e0;
    line-height: 1.7;
    margin-left: 20px;
}

section ul li {
    margin-bottom: 8px;
    position: relative;
}

section ul li::before {
    content: '✦';
    color: var(--gold);
    margin-right: 10px;
}

/* ===== 模态框样式 ===== */
.kimetsu-modal .modal-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98), 
        rgba(245, 245, 245, 0.95));
    border-radius: 25px;
    border: 3px solid var(--primary-red);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.kimetsu-modal .modal-header {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    border-bottom: 3px solid var(--gold);
    color: var(--white);
    padding: 20px;
}

.kimetsu-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.kimetsu-modal .modal-body {
    padding: 25px;
}

.kimetsu-modal .modal-body img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== 按钮样式 ===== */
.btn-detail {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white) !important;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;

/* ===== 侧边导航栏样式 ===== */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(139, 0, 0, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-right: 2px solid var(--gold);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.sidebar-nav:hover {
    box-shadow: 8px 0 30px rgba(220, 20, 60, 0.4);
}

.sidebar-nav .sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

.sidebar-nav .sidebar-header h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.sidebar-nav .sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav .sidebar-nav-list > li {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.sidebar-nav .sidebar-nav-list > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav .sidebar-nav-list > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(220, 20, 60, 0.3) 0%, 
        rgba(139, 0, 0, 0.4) 100%);
    transition: width 0.3s ease;
}

.sidebar-nav .sidebar-nav-list > li > a:hover::before {
    width: 5px;
}

.sidebar-nav .sidebar-nav-list > li > a:hover {
    color: var(--gold);
    padding-left: 30px;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav .dropdown-menu {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(139, 0, 0, 0.7) 100%);
    border: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
    min-width: 100%;
    padding: 0;
}

.sidebar-nav .dropdown-menu > li > a {
    padding: 12px 20px 12px 35px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sidebar-nav .dropdown-menu > li > a:hover {
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.2) 0%, 
        rgba(139, 0, 0, 0.3) 100%);
    color: var(--gold);
    padding-left: 40px;
}

.sidebar-nav .dropdown-menu > li:last-child > a {
    border-bottom: none;
}

/* 调整主内容区域以适应侧边栏 */
.content-with-sidebar {
    margin-left: 280px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

/* 响应式设计 - 移动设备 */
@media (max-width: 768px) {
    .sidebar-nav {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 2px solid var(--gold);
    }
    
    .content-with-sidebar {
        margin-left: 0;
    }
    
    .sidebar-nav .sidebar-header {
        padding: 15px;
    }
    
    .sidebar-nav .sidebar-nav-list > li > a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

/* 侧边栏滚动条样式 */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--primary-red));
}
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
    color: var(--gold) !important;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .container h1 {
        font-size: 2.5rem;
    }
    
    .kimetsu-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .breathing-list {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px;
        margin: 15px 0;
    }
}
@media (max-width: 480px) {
    .container h1 {
        font-size: 2rem;
    }
    
    .navbar .navbar-nav > li > a {
        padding: 10px 15px;
        font-size: 1rem;
    }
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--primary-red));
}

/* ===== 加载动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== 粒子效果背景（可选） ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== 高级动画效果 ===== */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(220, 20, 60, 0.6); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== 英雄区域动画 ===== */
.hero-section h1 {
    animation: glow 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

/* ===== 技能卡片样式 ===== */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.technique-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(240, 240, 240, 0.9));
    border-radius: 15px;
    padding: 25px;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    isolation: isolate;
    text-align: center;
    overflow: hidden;
}

.technique-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold), var(--dark-blue));
    z-index: 2;
}

.technique-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 水之呼吸技能卡片样式 */
.breathing-water .technique-card {
    background: linear-gradient(145deg, 
        rgba(52, 152, 219, 0.15), 
        rgba(41, 128, 185, 0.1));
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.breathing-water .technique-card::before {
    background: linear-gradient(90deg, 
        var(--water-breathing-primary), 
        var(--water-breathing-light), 
        var(--water-breathing-secondary));
}

.breathing-water .technique-card:hover {
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
    border-color: var(--water-breathing-primary);
}

.breathing-water .technique-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: waterFlow 3s ease-in-out infinite;
}

.breathing-water .technique-card h4 {
    color: var(--water-breathing-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.breathing-water .technique-card p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.breathing-water .technique-level {
    background: linear-gradient(135deg, 
        var(--water-breathing-primary), 
        var(--water-breathing-secondary));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* 炎之呼吸技能卡片样式 */
.breathing-fire .technique-card {
    background: linear-gradient(145deg, 
        rgba(231, 76, 60, 0.15), 
        rgba(192, 57, 43, 0.1));
    border: 2px solid rgba(231, 76, 60, 0.3);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
}

.breathing-fire .technique-card::before {
    background: linear-gradient(90deg, 
        var(--fire-breathing-primary), 
        var(--fire-breathing-light), 
        var(--fire-breathing-secondary));
}

.breathing-fire .technique-card:hover {
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.3);
    border-color: var(--fire-breathing-primary);
}

.breathing-fire .technique-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: fireBurst 2s ease-in-out infinite;
}

.breathing-fire .technique-card h4 {
    color: var(--fire-breathing-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.breathing-fire .technique-card p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.breathing-fire .technique-level {
    background: linear-gradient(135deg, 
        var(--fire-breathing-primary), 
        var(--fire-breathing-secondary));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* 技能详情标签样式 */
.technique-details {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.detail-tag {
    background: rgba(0, 0, 0, 0.1);
    color: #555;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 水之呼吸动画效果 */
@keyframes waterFlow {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.8));
    }
}

/* 炎之呼吸动画效果 */
.breathing-animation {
    height: 200px;
    margin: 2rem 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.water-flow {
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    background-size: 400% 400%;
    animation: waterFlow 3s ease-in-out infinite;
}

.fire-burst {
    background: linear-gradient(90deg, #e74c3c, #c0392b, #e74c3c);
    background-size: 400% 400%;
    animation: fireBurst 2s ease-in-out infinite;
}

.lightning-strike {
    background: linear-gradient(90deg, #f39c12, #d35400, #f39c12);
    background-size: 400% 400%;
    animation: lightning 1.5s ease-in-out infinite;
}

.stone-shield {
    background: linear-gradient(90deg, #7f8c8d, #5d6d7e, #7f8c8d);
    background-size: 400% 400%;
    animation: stonePulse 4s ease-in-out infinite;
}

.wind-gust {
    background: linear-gradient(90deg, #27ae60, #229954, #27ae60);
    background-size: 400% 400%;
    animation: windGust 2.5s ease-in-out infinite;
}

.love-heart {
    background: linear-gradient(90deg, #e84393, #fd79a8, #e84393);
    background-size: 400% 400%;
    animation: heartBeat 3s ease-in-out infinite;
}

.snake-strike {
    background: linear-gradient(90deg, #00b894, #00a085, #00b894);
    background-size: 400% 400%;
    animation: snakeMove 2s ease-in-out infinite;
}

.insect-swarm {
    background: linear-gradient(90deg, #a29bfe, #6c5ce7, #a29bfe);
    background-size: 400% 400%;
    animation: insectSwarm 2.5s ease-in-out infinite;
}

.flower-bloom {
    background: linear-gradient(90deg, #fd79a8, #e84393, #fd79a8);
    background-size: 400% 400%;
    animation: flowerBloom 3.5s ease-in-out infinite;
}

/* 呼吸动画关键帧 */
@keyframes waterFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fireBurst {
    0%, 100% { 
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 0 0 40px rgba(231, 76, 60, 0.8);
    }
}

@keyframes lightning {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.8;
    }
    25% { 
        background-position: 25% 50%;
        opacity: 1;
        box-shadow: 0 0 30px rgba(243, 156, 18, 0.7);
    }
    50% { 
        background-position: 50% 50%;
        opacity: 0.9;
    }
    75% { 
        background-position: 75% 50%;
        opacity: 1;
        box-shadow: 0 0 30px rgba(243, 156, 18, 0.7);
    }
}

@keyframes stonePulse {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(127, 140, 141, 0.4);
    }
}

@keyframes windGust {
    0%, 100% { 
        background-position: 0% 50%;
        transform: translateX(0);
    }
    25% { 
        background-position: 25% 50%;
        transform: translateX(-5px);
    }
    50% { 
        background-position: 50% 50%;
        transform: translateX(0);
    }
    75% { 
        background-position: 75% 50%;
        transform: translateX(5px);
    }
}

@keyframes heartBeat {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    25% { 
        background-position: 25% 50%;
        transform: scale(1.05);
    }
    50% { 
        background-position: 50% 50%;
        transform: scale(1);
    }
    75% { 
        background-position: 75% 50%;
        transform: scale(1.03);
    }
}

@keyframes snakeMove {
    0%, 100% { 
        background-position: 0% 50%;
        transform: skewX(0deg);
    }
    25% { 
        background-position: 25% 50%;
        transform: skewX(-5deg);
    }
    50% { 
        background-position: 50% 50%;
        transform: skewX(0deg);
    }
    75% { 
        background-position: 75% 50%;
        transform: skewX(5deg);
    }
}

@keyframes insectSwarm {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.8;
    }
    25% { 
        background-position: 25% 50%;
        opacity: 1;
        box-shadow: 0 0 20px rgba(162, 155, 254, 0.5);
    }
    50% { 
        background-position: 50% 50%;
        opacity: 0.9;
    }
    75% { 
        background-position: 75% 50%;
        opacity: 1;
        box-shadow: 0 0 20px rgba(162, 155, 254, 0.5);
    }
}

@keyframes flowerBloom {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1) rotate(0deg);
    }
    25% { 
        background-position: 25% 50%;
        transform: scale(1.02) rotate(2deg);
    }
    50% { 
        background-position: 50% 50%;
        transform: scale(1.05) rotate(0deg);
    }
    75% { 
        background-position: 75% 50%;
        transform: scale(1.02) rotate(-2deg);
    }
}

/* 呼吸流派页面整体样式 */
.breathing-detail-page.breathing-water {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.1) 0%, 
        rgba(41, 128, 185, 0.05) 50%, 
        rgba(26, 82, 118, 0.1) 100%);
}

.breathing-detail-page.breathing-fire {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.1) 0%, 
        rgba(192, 57, 43, 0.05) 50%, 
        rgba(146, 43, 33, 0.1) 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .techniques-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .technique-card {
        padding: 20px;
    }
    
    .technique-icon {
        font-size: 2.5rem;
    }
}


.scroll-indicator div {
    animation: bounce 2s infinite;
}

/* ===== 卡片悬停效果增强 ===== */
.character-card {
    position: relative;
    overflow: hidden;
}

.character-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.character-card:hover::after {
    left: 100%;
}

/* ===== 时间线动画 ===== */
.timeline-item {
    animation: slideInFromLeft 0.8s ease-out;
}

.timeline-item:nth-child(even) {
    animation: slideInFromRight 0.8s ease-out;
}

/* ===== 呼吸流派特殊效果 ===== */
.breathing-list li {
    position: relative;
}

.breathing-list li::after {
    content: '💨';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.breathing-list li:hover::after {
    opacity: 1;
}

/* ===== 柱之榜卡片动画 ===== */
.pillar-card {
    transition: all 0.4s ease;
    position: relative;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold), var(--dark-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* ===== 联系卡片动画 ===== */
.contact-card {
    transition: all 0.3s ease;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.contact-card:hover::after {
    width: 80%;
}

/* ===== 页面加载动画 ===== */
.page-load-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 2s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-content {
    text-align: center;
    color: var(--gold);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 响应式动画调整 ===== */
@media (max-width: 768px) {
    .character-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .pillar-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .contact-card:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

/* ===== 滚动触发动画 ===== */
.scroll-trigger {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-trigger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 文字渐变效果 ===== */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-red), var(--gold), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== 浮动元素效果 ===== */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== 霓虹灯效果 ===== */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--primary-red),
        0 0 40px var(--primary-red),
        0 0 80px var(--primary-red);
    animation: neon 1.5s ease-in-out infinite alternate;
}

@keyframes neon {
    from {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--primary-red),
            0 0 40px var(--primary-red),
            0 0 80px var(--primary-red);
    }
    to {
        text-shadow: 
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px var(--primary-red),
            0 0 20px var(--primary-red),
            0 0 40px var(--primary-red);
    }
}