/* Retro Games – information pages /about /help /contact /privacy-policy /terms /copyright (inc/info-page.php).
   Loaded after css/game.css (colours, header, footer, .play button). */
.info-hero {
	padding: 40px 0 26px;
	border-bottom: 1px solid var(--line);
	background: radial-gradient(600px 220px at 0% 0%, rgba(245, 184, 46, .12), transparent 70%);
}
.kicker { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.info-hero .lead { margin: 12px 0 0; font-size: 18px; max-width: 64ch; }
.updated { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 32px; }
.info-nav { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; }
.info-nav-title { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-nav a { padding: 8px 12px; border-radius: 10px; color: #d6d9df; font-weight: 600; font-size: 15px; }
.info-nav a:hover { background: rgba(255, 255, 255, .05); text-decoration: none; color: var(--fg); }
.info-nav a[aria-current] { background: rgba(245, 184, 46, .12); color: var(--accent); }
.info-nav .info-nav-play { margin-top: 14px; border: 1px solid var(--line); color: var(--accent); }

.info-body { min-width: 0; max-width: 780px; }
.info-body > :first-child { margin-top: 0; }
.info-body h2 { margin: 40px 0 12px; font-size: 23px; line-height: 1.25; scroll-margin-top: 72px; }
.info-body h3 { margin: 24px 0 6px; font-size: 17px; color: var(--fg); }
.info-body p, .info-body li { color: #d6d9df; }
.info-body p { margin: 0 0 14px; }
.info-body ul, .info-body ol { margin: 0 0 16px; padding-left: 22px; }
.info-body li { margin: 0 0 8px; }
.info-body code { font-size: 13px; background: rgba(255, 255, 255, .07); border-radius: 5px; padding: 1px 6px; }
kbd { display: inline-block; min-width: 1.6em; padding: 0 6px; border: 1px solid rgba(255, 255, 255, .22); border-bottom-width: 2px; border-radius: 6px; background: rgba(255, 255, 255, .06); font: 600 13px/1.5 ui-monospace, Consolas, monospace; text-align: center; color: var(--fg); }

/* on-page contents */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); background: rgba(255, 255, 255, .04); }
.toc a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* about */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.stats div { padding: 18px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.stats b { display: block; font-size: 34px; line-height: 1; color: var(--accent); }
.stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
ul.ticks { list-style: none; padding: 0; }
ul.ticks li { position: relative; padding-left: 30px; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.cta .play { padding: 12px 24px; }
.cta .play:hover { text-decoration: none; }
.btn-line { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 12px; border: 1px solid var(--line); color: var(--fg); font-weight: 700; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* help */
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa { border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--fg); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--accent); }
.qa[open] summary::after { content: "–"; }
.qa summary:hover { color: var(--accent); }
.qa-a { padding: 0 18px 4px; }
.note { margin-top: 30px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(245, 184, 46, .35); background: rgba(245, 184, 46, .07); }
.note p { margin: 0; }
.info-copyright .note { margin: 0 0 8px; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--fg); transition: border-color .15s, transform .15s; }
.ccard:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.ccard b { font-size: 17px; }
.ccard > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }
.ccard .u { color: var(--accent); }
.cicon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18px; }
.big-mail { font-size: 22px; font-weight: 700; }
.addr { font-style: normal; color: #d6d9df; padding: 14px 18px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .03); border-radius: 0 10px 10px 0; margin: 0 0 14px; line-height: 1.7; }

/* contact form (only way to reach us; ajax/contact.php) */
.cform { margin-top: 18px; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 72px; }
.cform .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cform .field > span { font-size: 14px; font-weight: 700; color: var(--fg); }
.cform .field small { font-weight: 500; color: var(--muted); }
.cform input, .cform select, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 10px 12px; }
.cform textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 184, 46, .2); }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chint { margin: -4px 0 0 !important; font-size: 14px; color: var(--muted) !important; padding: 10px 12px; border-left: 3px solid var(--accent); background: rgba(245, 184, 46, .06); border-radius: 0 8px 8px 0; }
.cfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cfoot .play { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 17px; padding: 12px 26px; }
.cfoot .play:disabled { opacity: .6; cursor: wait; }
.cstatus { font-size: 15px; font-weight: 600; color: #7ddc8a; }
.cstatus[data-ok="0"] { color: #ff8a80; }
.small-print { margin: 0 !important; font-size: 13px; color: var(--muted) !important; }
@media (max-width: 560px) { .cform { padding: 16px; } .cform .row2 { grid-template-columns: 1fr; } }

/* privacy / copyright */
.table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.ptable th, .ptable td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #d6d9df; }
.ptable th { background: rgba(255, 255, 255, .04); color: var(--fg); font-size: 13px; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:first-child { white-space: nowrap; color: var(--fg); }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 860px) {
	.info-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
	.info-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; order: 2; padding-top: 24px; border-top: 1px solid var(--line); }
	.info-nav-title { width: 100%; }
	.info-nav a { border: 1px solid var(--line); padding: 6px 12px; font-size: 14px; }
	.info-nav .info-nav-play { margin-top: 0; }
}
@media (max-width: 560px) {
	.info-hero { padding: 26px 0 20px; }
	.info-hero .lead { font-size: 16px; }
	.contact-cards { grid-template-columns: 1fr; }
	.stats { gap: 8px; }
	.stats div { padding: 14px 12px; }
	.stats b { font-size: 26px; }
	.big-mail { font-size: 18px; word-break: break-all; }
}
@media (max-width: 560px) {
	.table-wrap { border: 0; overflow: visible; }
	.ptable { min-width: 0; }
	.ptable thead { display: none; }
	.ptable tr { display: block; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
	.ptable td { display: block; border: 0; padding: 4px 14px; white-space: normal !important; }
	.ptable td:first-child { padding-top: 12px; font-weight: 700; }
	.ptable td:last-child { padding-bottom: 12px; }
	.ptable td[data-l]:not(:first-child)::before { content: attr(data-l) ": "; color: var(--muted); font-size: 12px; font-weight: 700; }
}
