/* Finikit — shared content page styles (games pages, articles, etc.) */

.games-container { max-width: 720px; margin: 0 auto; }
.games-hero { text-align: center; padding: 32px 0 24px; }
.games-hero h1 { font-size: 1.6rem; margin-bottom: 8px; }
.games-hero p { color: var(--text-muted); font-size: .92rem; }
.games-section { margin: 20px 0; }
.games-section details { border: 1px solid var(--border); border-radius: 10px; background: var(--card); overflow: hidden; }
.games-section summary { padding: 14px 18px; font-size: 1.05rem; font-weight: 700; cursor: pointer; user-select: none; outline: none; list-style: none; display: flex; align-items: center; gap: 8px; color: var(--text); }
.games-section summary::-webkit-details-marker { display: none; }
.games-section summary::before { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--text-muted); width: 20px; text-align: center; transition: transform .2s; display: inline-block; }
.games-section details[open] summary::before { content: '\2212'; }
.games-section summary:hover { background: var(--bg); }
.game-item, .link-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-top: 1px solid var(--border); text-decoration: none; color: inherit; transition: background .12s; }
.game-item:hover, .link-item:hover { background: #f8fafc; }
.game-item .icon { font-size: 1.6rem; min-width: 40px; text-align: center; line-height: 1.3; }
.game-item .info { flex: 1; min-width: 0; }
.game-item .info h3 { font-size: 1rem; margin: 0 0 4px; color: var(--text); }
.game-item .info p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.game-item .info .platforms { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.platform-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 600; text-decoration: none; border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; min-height: 32px; }
.platform-tag:hover { border-color: var(--primary); color: var(--primary); }
.link-item { flex-direction: row; align-items: center; }
.link-item .domain { font-size: .72rem; color: var(--text-muted); background: var(--bg); padding: 2px 8px; border-radius: 4px; white-space: nowrap; margin-left: auto; min-width: 60px; text-align: center; }
.link-item .info { flex: 1; }
.link-item .info h3 { font-size: .92rem; margin: 0 0 2px; color: var(--text); }
.link-item .info p { font-size: .8rem; color: var(--text-muted); margin: 0; }
.link-subhead { padding: 14px 18px 4px; font-size: .82rem; font-weight: 700; color: var(--primary); border-top: 1px solid var(--border); }
.section-desc { padding: 0 18px 10px; font-size: .82rem; color: var(--text-muted); }
.cta-box { background: var(--primary-light); border-radius: 12px; padding: 24px; text-align: center; margin: 28px 0; }
.cta-box h3 { margin: 0 0 8px; font-size: 1.1rem; }
.cta-box a { font-weight: 700; color: var(--primary); margin: 0 8px; }
@media (max-width: 640px) {
  .games-hero h1 { font-size: 1.3rem; }
  .game-item { flex-direction: column; gap: 8px; }
  .game-item .icon { font-size: 1.3rem; min-width: auto; }
  .link-item { flex-wrap: wrap; }
  .link-item .domain { margin-left: 0; }
  .games-section summary { font-size: .95rem; padding: 12px 14px; }
}
