/* ============================================
   Chaos Abyss Guide - Styles
   Player perspective, long-form content
   ============================================ */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.article-header {
    padding: 180px 20px 120px;
    text-align: center;
    position: relative;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #05070c);
    pointer-events: none;
}

.article-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.article-header p {
    font-size: 1.2rem;
    color: var(--abyss-light);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.toc {
    background: #0a0e16;
    border: 1px solid #2a2f3d;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 60px;
}

.toc h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--abyss-light);
}

.toc ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.toc li {
    margin: 0;
}

.toc a {
    color: #b0bedb;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.toc a:hover {
    color: var(--abyss-purple);
}

.chapter-marker {
    font-size: 0.75rem;
    color: var(--abyss-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h2 {
    font-size: 2rem;
    color: var(--abyss-purple);
    margin: 50px 0 25px 0;
    border-left: 4px solid var(--abyss-purple);
    padding-left: 20px;
}

h3 {
    font-size: 1.3rem;
    color: var(--abyss-light);
    margin: 35px 0 15px 0;
}

p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: #d1d1d1;
}

.quote-box {
    border-left: 4px solid var(--abyss-purple);
    padding: 24px 30px;
    margin: 40px 0;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.08), transparent);
    font-style: italic;
    color: #e0e0e0;
    border-radius: 0 16px 16px 0;
}

.disclaimer-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--abyss-purple);
    border-radius: 16px;
    padding: 20px 25px;
    margin: 30px 0 50px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 1.5rem;
}

.disclaimer-box p {
    margin: 0;
    flex: 1;
}

.stat-highlight {
    background: linear-gradient(135deg, var(--abyss-dark), #0a1620);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--abyss-purple);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #8a94a8;
}

.floor-timeline {
    margin: 30px 0;
}

.floor-group {
    background: #0f121b;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
}

.floor-range {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--abyss-light);
    margin-bottom: 8px;
}

.floor-desc {
    font-size: 0.9rem;
    color: #b0bedb;
    margin-bottom: 10px;
}

.floor-difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.easy { background: #2ecc71; color: #000; }
.medium { background: #f39c12; color: #000; }
.hard { background: #e67e22; color: #000; }
.extreme { background: #e74c3c; color: #fff; }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.pillar-card {
    background: #0f121b;
    border: 1px solid #2a2f3d;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.pillar-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--abyss-light);
    margin-bottom: 10px;
}

.pillar-desc {
    font-size: 0.85rem;
    color: #8a94a8;
    margin-bottom: 15px;
}

.pillar-check {
    font-size: 0.8rem;
    color: #2ecc71;
    margin-top: 6px;
}

.role-section {
    margin: 30px 0;
}

.character-rankings {
    margin: 15px 0;
}

.char-rank {
    background: #0f121b;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 10px;
}

.s-tier { border-left: 4px solid #ffd700; }
.a-tier { border-left: 4px solid #c0c0c0; }
.b-tier { border-left: 4px solid #cd7f32; }

.char-name {
    font-weight: bold;
    font-size: 1rem;
}

.char-rating {
    float: right;
    font-weight: bold;
}

.s-tier .char-rating { color: #ffd700; }
.a-tier .char-rating { color: #c0c0c0; }

.char-reason {
    font-size: 0.8rem;
    color: #8a94a8;
    margin-top: 8px;
}

.team-composition {
    background: #0f121b;
    border: 1px solid #2a2f3d;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.team-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(0,0,0,0.3));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    border-bottom: 1px solid #2a2f3d;
}

.team-icon {
    font-size: 1.5rem;
}

.team-info {
    flex: 1;
}

.team-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.team-desc {
    font-size: 0.75rem;
    color: #8a94a8;
}

.team-difficulty {
    padding: 4px 12px;
    background: #e74c3c;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
}

.team-members {
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    font-size: 0.9rem;
    border-bottom: 1px solid #2a2f3d;
}

.member {
    font-weight: bold;
    color: var(--abyss-light);
}

.team-strategy {
    padding: 15px 20px;
    font-size: 0.85rem;
    color: #b0bedb;
}

.enemy-card {
    background: #0f121b;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
}

.enemy-name {
    font-weight: bold;
    color: var(--abyss-light);
    margin-bottom: 10px;
}

.enemy-pattern {
    font-size: 0.85rem;
    color: #b0bedb;
    line-height: 1.6;
}

.blessings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.blessing-card {
    background: #0f121b;
    border-radius: 16px;
    padding: 20px;
}

.blessing-card.s { border-top: 3px solid #ffd700; }
.blessing-card.a { border-top: 3px solid #c0c0c0; }
.blessing-card.b { border-top: 3px solid #cd7f32; }
.blessing-card.f { border-top: 3px solid #6a7080; }

.blessing-tier {
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.blessing-card.s .blessing-tier { color: #ffd700; }
.blessing-card.a .blessing-tier { color: #c0c0c0; }

.blessing-name {
    font-weight: bold;
    margin-bottom: 6px;
}

.blessing-effect {
    font-size: 0.75rem;
    color: #8a94a8;
    margin-bottom: 8px;
}

.blessing-reason {
    font-size: 0.7rem;
    color: var(--abyss-light);
}

.adjustment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.adjustment-card {
    background: #0f121b;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.adjustment-name {
    font-weight: bold;
    color: var(--abyss-light);
    margin-bottom: 10px;
}

.adjustment-change {
    font-size: 0.75rem;
    font-family: monospace;
    background: #0a0e16;
    padding: 4px 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.adjustment-reason {
    font-size: 0.75rem;
    color: #8a94a8;
}

.mental-tips {
    margin: 30px 0;
}

.mental-tip {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tip-number {
    width: 36px;
    height: 36px;
    background: var(--abyss-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
}

.tip-content {
    flex: 1;
}

.tip-content strong {
    color: var(--abyss-light);
}

.tip-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--abyss-purple);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 25px 0;
}

/* 警告框 */
.warning-box {
    background: rgba(255, 94, 107, 0.1);
    border-left: 4px solid #ff5e6b;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 0 12px 12px 0;
}

.conclusion-card {
    background: linear-gradient(135deg, #0f121b, #0a0e16);
    border: 1px solid var(--abyss-purple);
    border-radius: 20px;
    padding: 35px;
    margin: 40px 0;
}

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #2a2f3d;
    font-style: italic;
    color: #8a94a8;
}

.build-choices {
    text-align: center;
    margin: 40px 0;
}

.choice-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.choice-btn {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--abyss-purple);
    padding: 10px 24px;
    border-radius: 40px;
    color: var(--abyss-light);
    text-decoration: none;
    transition: 0.2s;
}

.choice-btn:hover {
    background: var(--abyss-purple);
    color: #000;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    .toc ul {
        grid-template-columns: 1fr;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .blessings-grid {
        grid-template-columns: 1fr;
    }
    .adjustment-grid {
        grid-template-columns: 1fr;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

