/* sudokuprism.com: design C ("Play it here", dark), picked on the website canvas 2026-12-04. */
@font-face { font-family: Figtree; font-weight: 500; font-display: swap; src: url(/fonts/Figtree-Medium.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/Figtree-Bold.woff2) format("woff2"); }

:root {
  --bg: #120C1C; --card: #1E1530; --text: #F3EEF9; --soft: #CFC6DD; --faint: #A89CBC;
  --line: rgba(255,255,255,.1); --gold: #F9C810; --violet: #3B1E6E;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; font-family: Figtree, system-ui, sans-serif; font-weight: 500; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
a:hover { color: #FFFFFF; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 700; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.glow { background: radial-gradient(60% 50% at 70% 40%, rgba(171,26,106,.45), rgba(18,12,28,0) 70%), radial-gradient(40% 40% at 85% 75%, rgba(249,108,12,.3), rgba(18,12,28,0) 70%); }
.name { background: linear-gradient(90deg, #C04A9A 0%, #E80946 40%, #F96C0C 70%, #F9C810 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* the icon beside "Sudoku" over "PRISM", as the game's lobby writes it */
.brand { display: flex; align-items: center; gap: 18px; color: inherit; text-decoration: none; }
.brand img { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.brand .words { display: flex; flex-direction: column; gap: 2px; line-height: 1; font-weight: 700; }
.brand .sudoku { font-size: 44px; }
.brand .prism { font-size: 35px; letter-spacing: .2em; color: rgba(255,255,255,.92); }
.brand.small { gap: 12px; }
.brand.small img { width: 44px; height: 44px; border-radius: 11px; box-shadow: none; }
.brand.small .sudoku { font-size: 21px; }
.brand.small .prism { font-size: 16.5px; }

.buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 26px; border-radius: 29px; background: #FFFFFF; color: var(--violet); text-decoration: none; font-weight: 700; font-size: 17px; }
.play:hover { color: var(--violet); background: #F3EEF9; }
.play svg { width: 18px; height: 18px; }
.badge img { height: 58px; width: auto; }

.phone { display: block; border-radius: 40px; border: 10px solid #000000; overflow: hidden; background: #000000; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.55); }
.phone img { width: 100%; height: auto; }
.phone.small { border-radius: 28px; border-width: 7px; }

/* home */
.hero { padding-top: 88px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero .text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero .brand { padding-bottom: 12px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.hero h1 { font-size: clamp(44px, 6.4vw, 68px); line-height: 1; letter-spacing: -0.02em; }
.lede { font-size: 20px; line-height: 1.55; color: var(--soft); max-width: 30em; }
.hero .side { flex: 0 1 340px; min-width: 240px; margin: 0 auto; }

.inside { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.inside h2 { font-size: 40px; text-align: center; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }

.features { padding-top: 8px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; }
.features div { display: flex; flex-direction: column; gap: 12px; }
.features h3 { font-size: 22px; }
.features p { font-size: 16px; line-height: 1.6; color: var(--soft); }
.tile { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 700; font-size: 21px; }

.ready { padding-bottom: 96px; }
.ready > div { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 48px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ready h2 { font-size: 34px; margin-bottom: 8px; }
.ready p { font-size: 18px; color: var(--soft); }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--faint); }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }

/* privacy, terms, 404 */
.top { padding-top: 24px; padding-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top .play { height: 48px; padding: 0 22px; font-size: 16px; }
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); letter-spacing: -0.02em; margin-bottom: 10px; }
.doc .meta { color: var(--faint); font-size: 16px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--soft); }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 12px 0; padding-left: 22px; }
.missing { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.missing h1 { font-size: clamp(40px, 7vw, 64px); letter-spacing: -0.02em; }

/* /play: the Defold HTML5 build beside the words (layout B on the website canvas, 2026-12-04);
   play/index.html sizes the game */
.top-bar { border-bottom: 1px solid var(--line); }
.top-bar .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar .badge img { height: 44px; }
.playpage { background: radial-gradient(50% 55% at 30% 40%, rgba(171,26,106,.3), rgba(18,12,28,0) 70%) no-repeat, var(--bg); }
.play-main { padding-top: 24px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 56px; }
#play-stage { flex: 0 0 auto; max-width: 100%; }
#app-container { position: relative; margin: 0 auto; max-width: 100%; }
#canvas-container { position: relative; border-radius: 16px 16px 0 0; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(0,0,0,.5); }
#canvas { display: block; width: 100%; border: 0; outline: 0; }
#canvas-container:fullscreen { border-radius: 0; }
#canvas-container:fullscreen #canvas { height: 100% !important; }
/* Defold's page turns selection off over the game: a selection dragged onto it stops the engine
   getting mouse ups in Chrome on Windows */
#app-container, #app-container * { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.canvas-app-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: rgba(255,255,255,.12); }
.canvas-app-progress-bar { height: 6px; background: linear-gradient(90deg, #C04A9A, #E80946, #F96C0C, #F9C810); transform-origin: left; transition: transform 1s ease; }
.play-bar { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--card); border-radius: 0 0 16px 16px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; color: var(--faint); }
.play-bar button { display: flex; align-items: center; gap: 7px; font: 700 14px Figtree, system-ui, sans-serif; color: var(--gold); background: none; border: 0; padding: 0; cursor: pointer; }
.play-bar button:hover { color: #FFFFFF; }
.play-bar svg { width: 16px; height: 16px; }
.play-bar kbd { font: 700 12px Figtree, system-ui, sans-serif; color: var(--text); border: 1px solid rgba(255,255,255,.22); border-radius: 5px; padding: 1px 6px; }
.play-note { margin: 24px; font-size: 16px; line-height: 1.6; color: var(--soft); }
.play-about { flex: 1 1 360px; max-width: 560px; min-width: 0; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.play-about h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; }
.play-about h2 { font-size: 22px; margin-top: 10px; }
.play-about p, .play-about li { font-size: 17px; line-height: 1.6; color: var(--soft); }
.play-about ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
@media (hover: none) { .play-bar .key { display: none; } }
@media (max-width: 560px) {
  .top-bar .wrap { padding: 12px 16px; }
  .top-bar .badge img { height: 40px; }
  .play-main { padding: 12px 12px 56px; gap: 40px; }
  .play-about { padding: 0 4px; }
  .play-about h1 { font-size: 28px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 48px; }
  .brand img { width: 72px; height: 72px; border-radius: 17px; }
  .brand .sudoku { font-size: 36px; }
  .brand .prism { font-size: 28.5px; }
  .lede { font-size: 18px; }
  .inside h2 { font-size: 32px; }
  .shots { gap: 20px; }
  .phone.small { border-radius: 22px; border-width: 5px; }
  .ready > div { padding: 36px 24px; }
}
