/* =====================================================
   INFO PAGES (/typing-test, /typing-race, /race-with-friends, /tug-of-war)
   Plain pages that explain each game for visitors and for search engines,
   with a big button that opens the game itself.
   ===================================================== */
.info-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.info { max-width: 980px; margin: 0 auto; padding: 8px 16px 40px; }

.info-hero { text-align: center; padding: 48px 0 36px; }
.info-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #ffb0201a; border: 1px solid #ffb02044; color: var(--accent);
  font-size: 13px; font-weight: 800; letter-spacing: 0.4px;
}
.info-hero h1 { margin: 16px auto 12px; max-width: 760px; font-size: clamp(32px, 6vw, 52px); line-height: 1.1; }
.info-hero h1 span { color: var(--accent); }
.info-lead { margin: 0 auto; max-width: 640px; color: #c3c6d3; font-size: 18px; line-height: 1.6; }
.info-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.info-cta .btn { font-size: 17px; padding: 14px 26px; }
.info-hero img { display: block; width: 100%; max-width: 760px; margin: 34px auto 0; border-radius: 18px; border: 1px solid #ffffff14; box-shadow: 0 20px 50px #0007; }

.info h2 { font-size: 26px; margin: 46px 0 16px; }
.info p, .info li { color: #c9cbd6; line-height: 1.7; font-size: 16px; }

.info-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.info-steps li, .info-grid > div {
  list-style: none; background: var(--card); border: 1px solid #ffffff10; border-radius: 16px; padding: 20px;
}
.info-steps { padding: 0; margin: 0; }
.info-steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px;
  border-radius: 10px; background: var(--accent); color: #1a1a1a; font-weight: 900;
}
.info-steps strong, .info-grid strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.info-grid .ico { font-size: 26px; display: block; margin-bottom: 6px; }
.info-grid p { margin: 0; }

.info-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; }
.info-table th, .info-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #ffffff0d; }
.info-table th { background: var(--panel); font-size: 14px; color: var(--muted); }
.info-table td { color: #c9cbd6; }

.faq details { background: var(--card); border: 1px solid #ffffff10; border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 16px; color: var(--text); }
.faq details p { margin: 0 0 14px; }

.info-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-more a {
  display: block; padding: 18px; border-radius: 14px; text-decoration: none;
  background: var(--card); border: 1px solid #ffffff10; color: var(--text); font-weight: 800;
  transition: transform 0.15s, border-color 0.15s;
}
.info-more a span { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 4px; }
.info-more a:hover { transform: translateY(-2px); border-color: #ffb02066; }

.info-final { text-align: center; margin-top: 50px; padding: 34px 20px; border-radius: 20px; background: linear-gradient(135deg, #ffb02022, #ffffff06); border: 1px solid #ffb02033; }
.info-final h2 { margin-top: 0; }

@media (max-width: 720px) {
  .info-steps, .info-grid, .info-more { grid-template-columns: 1fr; }
  .info-hero { padding-top: 30px; }
  .info-lead { font-size: 16px; }
}
