/* tuttermedia.com. Colours share Prove It's theme tokens (apps/mobile/src/lib/theme.ts). */
:root {
  --bg: #f5f6fb; --surface: #ffffff; --text: #121530; --muted: #4f5472; --border: #d3d6e6;
  --accent: #00708a; --on-accent: #ffffff; --reward: #7a5600;
  --navy: #0b1026; --navy-surface: #141a36; --navy-text: #eef1ff; --navy-muted: #a6acd0;
  --cyan: #3fd6f0; --gold: #f2c14e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1026; --surface: #141a36; --text: #eef1ff; --muted: #a6acd0; --border: #2c3460; --accent: #3fd6f0; --on-accent: #0b1026; --reward: #f2c14e; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--navy) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid #2c3460; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-text); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.01em; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #5b3cc4, #00708a); color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.25rem; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { color: var(--navy-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover { color: var(--navy-text); }
nav a.nav-cta { color: var(--navy); background: var(--cyan); }
@media (max-width: 560px) { nav a:not(.nav-cta) { display: none; } }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; }
.button.small { min-height: 46px; padding: 0 20px; font-size: 1rem; }
.button.primary { background: var(--cyan); color: var(--navy); }
.button.ghost { border-color: var(--cyan); color: var(--cyan); }
.button:hover { filter: brightness(1.08); }

.hero { background: radial-gradient(900px 480px at 10% 0%, rgba(91, 60, 196, 0.38), transparent 60%), radial-gradient(700px 480px at 95% 40%, rgba(63, 214, 240, 0.16), transparent 60%), var(--navy); color: var(--navy-text); padding: 88px 0 96px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 18em; }
.lede { color: var(--navy-muted); font-size: 1.2rem; margin: 0 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin: 0 0 10px; }
.eyebrow.accent { color: var(--accent); }

.section { padding: 80px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--border); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; margin: 0 0 32px; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; margin: 0 0 8px; }
.note { color: var(--muted); margin: 24px 0 0; }

.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.game { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; box-shadow: 0 22px 46px -32px rgba(11, 16, 38, 0.55); }
.game-art { display: block; background: radial-gradient(circle at 50% 40%, #1e2a66, var(--navy) 70%); border-radius: 16px; padding: 18px; }
.game h3 { font-size: 1.7rem; }
.game h3 a { color: var(--text); text-decoration: none; }
.game h3 a:hover { text-decoration: underline; }
.game-body p { color: var(--muted); margin: 0 0 18px; }
.game-body .status { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; background: color-mix(in srgb, var(--reward) 16%, transparent); color: var(--reward); }
@media (max-width: 760px) { .game { grid-template-columns: 1fr; } }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.about-copy p { color: var(--muted); font-size: 1.08rem; margin: 0 0 14px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 0; } }

.contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.contact p { color: var(--muted); margin: 0 0 12px; }
.contact a { font-weight: 700; overflow-wrap: anywhere; display: inline-block; min-height: 24px; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }

.follow-title { margin: 40px 0 14px; font-size: 1.15rem; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 700; text-decoration: none;
}
.socials a:hover { border-color: var(--accent); }
.socials span { color: var(--muted); font-weight: 600; }

.site-footer { background: var(--navy); color: var(--navy-muted); border-top: 1px solid #2c3460; padding: 26px 0 36px; font-size: 0.95rem; }
.site-footer a { color: var(--cyan); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-row p { margin: 0; }
