/* Article Page Styles */

.article-main {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Article Header */
.article-header {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: white;
    font-weight: 500;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-summary {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

/* Article Body */
.article-body {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.content-section h3 {
    color: white;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
}

.content-section h4 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin: 1.2rem 0 0.8rem;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.content-section ul, .content-section ol {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
}

.content-section li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Info Boxes */
.info-box, .tip-box, .warning-box, .success-box {
    padding: 1.2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
}

.tip-box {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

.success-box {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}

.info-box h3, .tip-box h4, .warning-box h4, .success-box h4 {
    margin-bottom: 1rem;
    color: white;
}

/* Password Cards */
.password-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.password-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.password-card:hover {
    transform: translateY(-3px);
}

.password-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.password-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.password-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.password-value {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1rem;
    user-select: all;
}

.password-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Puzzle Items */
.puzzle-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.puzzle-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
}

.puzzle-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.puzzle-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* System Passwords */
.system-passwords {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.system-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.system-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.system-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Character Cards */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.character-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
}

.character-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.character-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.character-info strong {
    color: white;
}

.character-info ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.character-info li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Tips Section */
.tips-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tip-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-top: 4px solid #10b981;
}

.tip-category h3 {
    color: white;
    margin-bottom: 1rem;
}

.tip-category ul {
    padding-left: 1.5rem;
}

.tip-category li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Location Events */
.location-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.event-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #06b6d4;
}

.event-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.event-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Warning Section */
.warning-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.warning-item {
    background: rgba(239, 68, 68, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.warning-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.warning-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Advanced Tips */
.advanced-tips {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.advanced-tips h3 {
    color: white;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.advanced-tips h3:first-child {
    margin-top: 0;
}

.advanced-tips p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #8b5cf6;
}

.faq-item h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* Final Notes */
.final-tip, .final-note, .final-advice {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 3rem 0;
    text-align: center;
}

.final-tip h3, .final-note h3, .final-advice h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.final-tip p, .final-note p, .final-advice p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.location-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.location-item:hover {
    transform: translateY(-3px);
}

.location-item h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.location-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Article Footer */
.article-footer {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tags {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tag-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-main {
        padding-top: 70px;
    }
    
    .article-header, .article-body, .article-footer {
        padding: 1.2rem;
    }
    
    .article-title {
        font-size: 1.7rem;
    }
    
    .content-section {
        margin-bottom: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.6rem;
    }
    
    .password-grid, .character-grid, .tips-section, .location-events, .warning-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.2rem 0;
    }
    
    .article-actions {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .article-actions .btn-secondary,
    .article-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-header, .article-body, .article-footer {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .content-section {
        margin-bottom: 1.2rem;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .content-section h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem;
    }
    
    .content-section p {
        margin-bottom: 1rem;
    }
    
    .password-card, .character-card, .tip-category, .event-item, .warning-item {
        padding: 1rem;
    }
    
    .final-tip, .final-note, .final-advice {
        padding: 1.2rem;
    }
    
    .info-box, .tip-box, .warning-box, .success-box {
        padding: 1rem;
        margin: 1.2rem 0;
    }
}
