/* Maze Explorer — maze.danilop.net. The game's own look: torchlit amber on dungeon night,
   parchment text, the system serif (New York on Apple devices). */
:root {
  --night: #0e0c14;
  --amber: #4a2c18;
  --ember: #241812;
  --parchment: #f9edd1;
  --muted: #c9b99b;
  --accent: #f39a2b;
  --rim: rgba(201, 138, 58, 0.45);
}
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--parchment);
  background: radial-gradient(ellipse at 50% -10%, rgba(243, 154, 43, 0.28), transparent 60%),
              linear-gradient(180deg, var(--amber) 0%, var(--ember) 32%, var(--night) 100%) fixed;
  font: 18px/1.6 ui-serif, "New York", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
header { text-align: center; margin-bottom: 40px; }
header img { width: 112px; height: 112px; border-radius: 24px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }
h1 { font-size: 2.6rem; line-height: 1.1; margin: 20px 0 6px; letter-spacing: 0.01em; }
h1 a { color: inherit; text-decoration: none; }
.tagline { color: var(--muted); font-style: italic; margin: 0; }
h2 { font-size: 1.5rem; margin: 40px 0 8px; color: var(--accent); }
h3 { font-size: 1.15rem; margin: 24px 0 4px; }
p, li { color: var(--parchment); }
a { color: var(--accent); }
nav { display: flex; gap: 20px; justify-content: center; margin-top: 18px; font-size: 1rem; }
.shots { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 32px 0; }
.shots img { width: min(220px, 30%); min-width: 150px; border-radius: 18px; border: 1px solid var(--rim);
             box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }
.cta { text-align: center; margin: 32px 0; }
.cta a { display: inline-block; padding: 12px 28px; border-radius: 999px; background: var(--accent);
         color: #1b1108; font-weight: 700; text-decoration: none; }
.card { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--rim); border-radius: 16px; padding: 4px 22px 18px; }
.bmc { --bmc-accent: #f39a2b; --bmc-on-accent: #1b1108;
  margin: 3rem auto 2rem; max-width: 36rem; padding: 1.75rem 1.25rem; text-align: center;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.bmc-intro { margin: 0 0 1rem; font-size: 1rem; line-height: 1.5; opacity: .85; }
.bmc-button { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .65rem 1.4rem; border-radius: 999px; text-decoration: none;
  font: 600 1rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .01em;
  background: var(--bmc-accent); color: var(--bmc-on-accent);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 14px color-mix(in srgb, var(--bmc-accent) 35%, transparent);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.bmc-button:hover { transform: translateY(-2px); filter: brightness(1.06);
  box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 10px 24px color-mix(in srgb, var(--bmc-accent) 45%, transparent); }
.bmc-button:active { transform: translateY(0) scale(.98); filter: brightness(.97); }
.bmc-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--bmc-accent) 60%, white); outline-offset: 3px; }
.bmc-cup { flex: none; }
.bmc-steam path { opacity: .55; transform-origin: center bottom; }
.bmc-button:hover .bmc-steam path, .bmc-button:focus-visible .bmc-steam path { animation: bmc-steam 1.1s ease-in-out infinite; }
.bmc-button:hover .bmc-steam path:nth-child(2) { animation-delay: .15s; }
.bmc-button:hover .bmc-steam path:nth-child(3) { animation-delay: .3s; }
@keyframes bmc-steam { 0%,100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1.5px); } }
.bmc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .bmc-button, .bmc-steam path { transition: none; animation: none !important; } .bmc-button:hover { transform: none; } }
footer { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 56px; }
@media (max-width: 520px) {
  body { font-size: 17px; }
  h1 { font-size: 2.1rem; }
}
