/* ============================================
   GAME SEO SECTION
   "How to play" + FAQ block shown beneath every game.
   Gives each game page real, indexable copy and an <h1>
   without changing the play area above it.
   ============================================ */

.game-seo {
    position: relative;
    z-index: 1;
    margin: 4rem auto 2rem;
    padding: 0 1rem;
    max-width: 1100px;
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--text-secondary, rgba(255, 255, 255, 0.85));
}

.game-seo__inner {
    background: var(--glass-bg, rgba(10, 6, 22, 0.5));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, 0.7));
}

.game-seo__title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    color: var(--text-primary, #fff);
    letter-spacing: -0.01em;
}

.game-seo__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
}

.game-seo h2 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-primary, #00f0ff);
    margin: 0 0 1rem;
}

.game-seo__howto p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.game-seo__q {
    border-top: 1px solid var(--divider-color, rgba(255, 255, 255, 0.05));
    padding: 0.75rem 0;
}

.game-seo__q:last-of-type {
    border-bottom: 1px solid var(--divider-color, rgba(255, 255, 255, 0.05));
}

.game-seo__q summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary, #fff);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.98rem;
}

.game-seo__q summary::-webkit-details-marker { display: none; }

.game-seo__q summary::after {
    content: '+';
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    color: var(--accent-primary, #00f0ff);
    font-weight: 400;
    transition: transform 0.25s ease;
}

.game-seo__q[open] summary::after { transform: rotate(45deg); }

.game-seo__q p {
    margin: 0.75rem 0 0;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-tertiary, rgba(255, 255, 255, 0.6));
}

.game-seo__more {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--divider-color, rgba(255, 255, 255, 0.05));
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
    font-size: 0.9rem;
}

.game-seo__more span { color: var(--text-tertiary, rgba(255, 255, 255, 0.6)); }

.game-seo__more a {
    color: var(--text-primary, #fff);
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.game-seo__more a:hover,
.game-seo__more a:focus-visible {
    border-color: var(--border-color-hover, rgba(0, 240, 255, 0.4));
    color: var(--accent-primary, #00f0ff);
    outline: none;
}

@media (max-width: 760px) {
    .game-seo { margin-top: 2.5rem; }
    .game-seo__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media print {
    .game-seo { display: none; }
}
