/* ========================================================
   CanvasClashes — Content Pages Stylesheet
   Used across /about/, /how-to-play-*/, /faq/, /terms/, etc.
   ======================================================== */

.content-container {
    max-width: 980px;
    width: 100%;
    margin: 2.5rem auto 5rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumbs .sep {
    opacity: 0.5;
}

.content-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.95));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.content-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d2ff, #9d4edd, #00f5ff);
}

.content-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.content-title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.content-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 820px;
    margin-bottom: 1.2rem;
}

.content-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.content-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Article Body */
.article-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    margin-bottom: 2.5rem;
}

.article-body {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 2.2rem 0 1rem 0;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
}

.article-body h2:first-of-type {
    margin-top: 0;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 1.8rem 0 0.8rem 0;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
    margin: 0 0 1.5rem 1.8rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: #fff;
}

/* Callout Boxes */
.callout-box {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.callout-box.tip {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.callout-box.info {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.callout-box.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.callout-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.callout-content {
    flex: 1;
    font-size: 0.95rem;
}

.callout-content p:last-child {
    margin-bottom: 0;
}

/* Controls / Keyboards */
.key-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    font-size: 0.82rem;
    font-family: monospace;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

/* Game CTA Card */
.game-play-cta-card {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(157, 78, 221, 0.2));
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.15);
}

.game-play-cta-text h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.game-play-cta-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.btn-play-action {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #00d2ff, #0284c7);
    color: #fff;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    white-space: nowrap;
}

.btn-play-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(0, 210, 255, 0.3);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Related Guides Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.related-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.related-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    flex: 1;
}

.related-card .read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 1rem;
        margin: 1.5rem auto 3rem auto;
    }
    .content-hero {
        padding: 1.8rem 1.25rem;
    }
    .content-title {
        font-size: 1.75rem;
    }
    .article-card {
        padding: 1.5rem 1.25rem;
    }
    .game-play-cta-card {
        flex-direction: column;
        text-align: center;
    }
    .btn-play-action {
        width: 100%;
        justify-content: center;
    }
}
