/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #0a0e17;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

body.light-theme {
    background-color: #f5f7fa;
    color: #1a1a1a;
}

.container {
    width: 80%;
    max-width: 2000px;
    margin: 0 auto;
}

/* 按钮样式 */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #00d9ff;
    color: #0a0e17;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: #00a8cc;
    transform: translateY(-2px);
}

/* 背景特效 */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    animation: float 20s linear infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.bg-effects.hidden {
    display: none;
}

/* 头部导航 */
.blog-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    background-color: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.light-theme .blog-header {
    background-color: rgba(245, 247, 250, 0.8);
    border-bottom-color: rgba(0,0,0,0.1);
}

.header-logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #00d9ff;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-top: 10px;
}

.header-nav a {
    color: inherit;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.header-nav a:hover {
    background-color: rgba(0, 217, 255, 0.2);
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    border: none;
    cursor: pointer;
}

.light-theme .theme-toggle {
    background-color: #ddd;
    color: #333;
}

/* 封面横幅 */
.hero-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #00d9ff;
}

.animate-title {
    animation: title-bounce 0.5s ease infinite alternate;
}

@keyframes title-bounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.banner-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.banner-img img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid #00d9ff;
    transition: transform 0.3s ease;
}

.img-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.img-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    cursor: pointer;
}

/* 博客章节 */
.blog-section {
    margin: 60px 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00d9ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 技能卡片 */
.ability-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ability-card {
    background-color: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: transform 0.2s ease;
}

.light-theme .ability-card {
    background-color: rgba(0,0,0,0.05);
}

.ability-card:hover {
    transform: translateY(-5px);
}

.ability-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00d9ff;
    color: #0a0e17;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.ability-desc {
    margin: 10px 0;
}

.ability-cost {
    font-size: 0.9rem;
    color: #999;
}

/* 技能演示区 */
.ability-demo-area {
    background-color: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
}

.demo-stage {
    position: relative;
    height: 150px;
    border: 2px solid #00d9ff;
    margin: 20px 0;
    overflow: hidden;
}

.demo-jett, .demo-target {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    transform: translateY(-50%);
}

.demo-jett {
    left: 50px;
    background-color: #00d9ff;
    color: #0a0e17;
}

.demo-target {
    right: 50px;
    background-color: #ff4444;
    color: #fff;
}

.demo-smoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(100,100,100,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.demo-knife {
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: #fff;
}

/* 玩法标签页 */
.playstyle-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 4px;
    cursor: pointer;
}

.tab.active {
    background-color: #00d9ff;
    color: #0a0e17;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 玩家笔记 */
.player-notes {
    margin-top: 30px;
}

.player-notes textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #00d9ff;
    background-color: rgba(255,255,255,0.05);
    color: inherit;
    margin: 10px 0;
}

.notes-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

#charCount {
    color: #999;
    font-size: 0.9rem;
}

/* 画廊 */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width:70%;
    height: 1000px;
    object-fit: cover;
}

.img-desc {
    padding: 10px;
    background-color: rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.gallery-controls {
    display: flex;
    gap: 20px;
}

/* 评论区 */
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #00d9ff;
    background-color: rgba(255,255,255,0.05);
    color: inherit;
}

.comments-list {
    margin-top: 20px;
}

.comment-item {
    background-color: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #00d9ff;
}

/* 页脚 */
.blog-footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .banner-title {
        font-size: 3rem;
    }
    .header-nav ul {
        flex-wrap: wrap;
    }
}