/* Blog Article Game Style Override */
/* Optimized for readability with game aesthetic */

/* Override body background for blog articles */
body {
    background: #1a1a2e !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.6 !important; /* Reduced from 1.8 */
}

/* Article Header - Game Style */
.article-header {
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95)) !important;
    color: white !important;
    padding: 3rem 2rem !important;
    text-align: center;
    border-bottom: 4px solid #8b7355;
    box-shadow: 0 4px 0 rgba(0,0,0,0.5);
}

.article-header h1 {
    font-family: 'Press Start 2P', 'Courier New', monospace !important;
    font-size: clamp(1.2rem, 4vw, 2rem) !important;
    margin-bottom: 1.5rem !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #ffd700 !important;
    text-shadow:
        3px 3px 0 #ff6b00,
        6px 6px 0 rgba(0,0,0,0.5);
    line-height: 1.4 !important;
}

.article-meta {
    font-size: 0.85rem !important;
    opacity: 0.9;
    color: #fff !important;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

/* Article Content - Game Panel Style */
.article-content {
    max-width: 850px;
    margin: 3rem auto !important;
    padding: 3rem !important;
    background: rgba(40, 40, 60, 0.95) !important;
    border: 4px solid #8b7355 !important;
    border-radius: 0 !important;
    box-shadow:
        8px 8px 0 rgba(0,0,0,0.5),
        inset 0 0 0 2px rgba(255,215,0,0.1) !important;
    color: #ddd !important; /* Light gray text for readability */
}

.article-content h2 {
    color: #ffd700 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.5rem !important;
    font-family: 'Press Start 2P', 'Courier New', monospace !important;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
    line-height: 1.5 !important;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8b7355;
}

.article-content h3 {
    color: #87ceeb !important;
    margin-top: 1.8rem !important;
    margin-bottom: 0.8rem !important;
    font-size: 1.2rem !important;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
    line-height: 1.4 !important;
}

.article-content p {
    margin-bottom: 1rem !important; /* Reduced from 1.2rem */
    color: #ddd !important;
    line-height: 1.6 !important; /* Reduced from 1.8 */
}

.article-content strong {
    color: #ffd700 !important;
    font-weight: bold;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem !important;
    margin-bottom: 1rem !important; /* Reduced from 1.2rem */
    color: #ddd !important;
}

.article-content li {
    margin-bottom: 0.5rem !important; /* Reduced from 0.8rem */
    line-height: 1.5 !important;
    color: #ddd !important;
}

.article-content li strong {
    color: #ffd700 !important;
}

/* Highlight Box - Quest/Tooltip Style */
.highlight-box {
    background: rgba(255, 215, 0, 0.15) !important;
    border: 3px solid #ffd700 !important;
    border-left: 6px solid #ffd700 !important;
    padding: 1.2rem !important;
    margin: 1.5rem 0 !important;
    border-radius: 0 !important;
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.5),
        inset 0 0 20px rgba(255,215,0,0.1);
    color: #fff !important;
}

.highlight-box strong {
    color: #ffd700 !important;
}

/* Example Box - Item Description Style */
.example-box {
    background: rgba(135, 206, 235, 0.15) !important;
    border: 3px solid #87ceeb !important;
    border-left: 6px solid #87ceeb !important;
    padding: 1.2rem !important;
    margin: 1.5rem 0 !important;
    border-radius: 0 !important;
    box-shadow:
        4px 4px 0 rgba(0,0,0,0.5),
        inset 0 0 20px rgba(135,206,235,0.1);
    color: #fff !important;
}

.example-box strong {
    color: #87ceeb !important;
}

/* CTA Box - Boss Battle Style */
.cta-box {
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)) !important;
    color: white !important;
    padding: 2rem !important;
    text-align: center;
    border: 4px solid #8b7355 !important;
    border-radius: 0 !important;
    margin: 2rem 0 !important;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

.cta-box h3 {
    color: #ffd700 !important;
    margin-bottom: 1rem !important;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
}

.cta-box p {
    color: #fff !important;
    margin-bottom: 1rem !important;
}

/* CTA Button - Power-up Button Style */
.cta-button {
    display: inline-block !important;
    background: #ffd700 !important;
    color: #1a1a2e !important;
    padding: 1rem 2rem !important;
    text-decoration: none !important;
    border: 3px solid #ff6b00 !important;
    border-radius: 0 !important;
    font-weight: bold !important;
    margin-top: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
    transition: all 0.1s;
}

.cta-button:hover {
    background: #ffed4e !important;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

.cta-button:active {
    transform: translate(1px, 1px);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

/* Links in content */
.article-content a {
    color: #87ceeb !important;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Code blocks (if any) */
.article-content code {
    background: rgba(26, 26, 46, 0.8) !important;
    color: #87ceeb !important;
    padding: 0.2rem 0.5rem;
    border: 1px solid #666;
    font-family: 'Courier New', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.2rem !important;
        line-height: 1.5 !important;
    }

    .article-content {
        padding: 1.5rem !important;
        margin: 2rem 1rem !important;
    }

    .article-content h2 {
        font-size: 1.2rem !important;
    }

    .article-content h3 {
        font-size: 1rem !important;
    }
}
