/* ==========================================================
   SEO Content Enhancements for Burnout Drift 3
   Optimized for readability, user engagement, and core web vitals
   ========================================================== */

.game-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 16px 0 20px 0;
    border-bottom: 3px solid #ff4757;
    padding-bottom: 12px;
}

.seo-lead-text {
    font-size: 17px;
    line-height: 1.65;
    color: #2f3542;
    background: #f1f2f6;
    border-left: 4px solid #ff4757;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
}

.seo-section-heading {
    font-size: 20px;
    font-weight: 700;
    color: #2f3542;
    margin: 28px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-section-heading::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: #ff4757;
    border-radius: 4px;
}

.seo-sub-heading {
    font-size: 17px;
    font-weight: 600;
    color: #1e272e;
    margin: 20px 0 10px 0;
}

/* Feature grid */
.seo-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0 26px 0;
}

.seo-feature-card {
    background: #f8f9fa;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.seo-feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
    margin-top: 0;
    margin-bottom: 8px;
}

.seo-feature-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #57606f;
    margin-bottom: 0;
}

/* Real image figures */
.seo-figure-wrapper {
    margin: 20px 0;
    text-align: center;
}

.seo-game-figure {
    display: inline-block;
    background: #f1f2f6;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #dfe4ea;
    max-width: 100%;
}

.seo-game-figure img {
    border-radius: 6px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.seo-game-figure figcaption {
    font-size: 13px;
    font-weight: 600;
    color: #747d8c;
    margin-top: 8px;
    text-align: center;
}

/* Controls table */
.seo-table-container {
    overflow-x: auto;
    margin: 18px 0 24px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.seo-controls-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
}

.seo-controls-table th {
    background: #2f3542;
    color: #ffffff;
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
}

.seo-controls-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f2f6;
    color: #2f3542;
}

.seo-controls-table tr:nth-child(even) {
    background: #f8f9fa;
}

.seo-controls-table kbd {
    display: inline-block;
    padding: 2px 7px;
    font-family: monospace;
    font-size: 12px;
    color: #2f3542;
    background: #e4e7eb;
    border: 1px solid #ced6e0;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/* FAQ accordion / card items */
.seo-faq-container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seo-faq-item {
    background: #f8f9fa;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    padding: 16px 18px;
}

.seo-faq-question {
    font-size: 16px;
    font-weight: 700;
    color: #1e272e;
    margin-top: 0;
    margin-bottom: 8px;
}

.seo-faq-answer {
    font-size: 14px;
    line-height: 1.6;
    color: #57606f;
    margin-bottom: 0;
}

/* Badges for related game links */
.seo-related-games {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 22px 0;
}

.seo-game-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f2f6;
    border: 1px solid #dfe4ea;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: #2f3542 !important;
    font-style: normal !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.seo-game-pill:hover {
    background: #ff4757;
    color: #ffffff !important;
    border-color: #ff4757;
    transform: translateY(-1px);
}

.seo-game-pill img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .game-main-title {
        font-size: 20px;
    }
    .seo-section-heading {
        font-size: 18px;
    }
    .seo-feature-grid {
        grid-template-columns: 1fr;
    }
}
