/* Empower Games. The brand (Drew, 27 November 2026): Night, White, Cyan, Blue, Violet, and the signature gradient
   from cyan through blue to violet. About 80% dark neutrals, 15% white and muted text, 5% electric accents. */
:root {
  --night: #0a0e1f; --deep: #070a17; --panel: #10152a; --panel-2: #141a33; --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff; --muted: #9ba3c2; --soft: #c9cee3;
  --cyan: #00e5ff; --blue: #0078ff; --violet: #a543ff;
  --brand: linear-gradient(90deg, var(--cyan), var(--blue) 52%, var(--violet));
  --display: "Avenir Next", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --chamfer: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--night); color: var(--white); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
/* Faint scanlines over everything */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0 1px, transparent 1px 3px); }
a { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 60; background: var(--cyan); color: var(--night); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Top bar */
header.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 14, 31, 0.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brand); opacity: 0.5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font: italic 800 16px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.brand img { width: auto; height: 30px; }
.brand b { color: var(--cyan); font-style: normal; font-weight: 700; letter-spacing: 0.32em; font-size: 12px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 28px; font: 600 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
nav a:hover { color: var(--white); }

/* Hero: the logo between the brand sheet's two arcs, over a grid floor running to the horizon */
.hero { position: relative; min-height: min(90vh, 800px); display: grid; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(circle 820px at -380px calc(100% + 300px), rgba(0, 229, 255, 0.07) 80%, rgba(0, 229, 255, 0.5) 97%, rgba(0, 229, 255, 0.15) 98.5%, transparent 100%),
    radial-gradient(circle 820px at calc(100% + 380px) -300px, rgba(165, 67, 255, 0.07) 80%, rgba(165, 67, 255, 0.45) 97%, rgba(165, 67, 255, 0.15) 98.5%, transparent 100%),
    radial-gradient(50% 45% at 50% 45%, rgba(0, 120, 255, 0.16), transparent 70%),
    var(--night); }
.floor { position: absolute; left: -50%; right: -50%; bottom: -12%; height: 46%; z-index: -2; transform: perspective(380px) rotateX(64deg); transform-origin: 50% 0;
  background-image: linear-gradient(rgba(0, 120, 255, 0.42) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(0, 120, 255, 0.3) 1.5px, transparent 1.5px);
  background-size: 64px 64px; animation: run 1.8s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
@keyframes run { to { background-position: 0 64px, 0 0; } }
.hero .wrap { padding-top: 56px; padding-bottom: 130px; display: flex; flex-direction: column; align-items: center; }
.tag { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.45); padding: 9px 14px; margin: 0 0 34px; }
.logo { margin: 0; width: min(540px, 86vw); }
/* Every few seconds the logo splits into cyan and violet for a moment */
.logo img { width: 100%; animation: split 5s steps(1) infinite; }
@keyframes split {
  0%, 90%, 100% { filter: none; transform: none; }
  91% { filter: drop-shadow(-5px 0 rgba(0, 229, 255, 0.85)) drop-shadow(5px 0 rgba(165, 67, 255, 0.85)); transform: translateX(2px); }
  92.5% { filter: drop-shadow(4px 0 rgba(0, 229, 255, 0.8)) drop-shadow(-4px 0 rgba(165, 67, 255, 0.8)); transform: translateX(-3px) skewX(-4deg); }
  94% { filter: drop-shadow(-2px 0 rgba(0, 229, 255, 0.7)) drop-shadow(2px 0 rgba(165, 67, 255, 0.7)); transform: none; }
}
.hero .lead { max-width: 560px; font-size: 21px; margin: 34px 0 34px; color: var(--soft); }
.hero .lead strong { color: var(--white); font-weight: 600; }

/* Chamfered buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn { display: inline-block; padding: 16px 28px; font: 800 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--night); background: var(--cyan); clip-path: var(--chamfer); transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translate(2px, -2px); background: var(--white); }
.btn.ghost { color: var(--white); background: transparent; clip-path: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cyan); color: var(--cyan); }

/* A ticker of the games' names */
.ticker { position: relative; overflow: hidden; background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--brand); opacity: 0.6; }
.ticker::before { top: -1px; }
.ticker::after { bottom: -1px; }
.ticker div { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { font: italic 800 20px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; padding: 18px 28px; white-space: nowrap; color: var(--white); }
.ticker span::after { content: ""; display: inline-block; width: 26px; height: 3px; margin: 0 0 5px 56px; background: var(--brand); transform: skewX(-30deg); }
@keyframes tick { to { transform: translateX(-50%); } }

section { padding: 100px 0; }
.label { font: 700 12px/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan); margin: 0 0 16px; }
h2 { font: italic 800 clamp(38px, 6vw, 64px)/1 var(--display); text-transform: uppercase; margin: 0 0 18px; letter-spacing: 0.01em; }
.intro { max-width: 620px; color: var(--muted); margin: 0 0 56px; }

/* The games: one panel each, picture on one side, words on the other, alternating */
.game { display: grid; grid-template-columns: 1.35fr 1fr; margin-bottom: 36px; background: var(--panel); clip-path: var(--chamfer); position: relative; transition: background 0.3s; }
.game:hover { background: var(--panel-2); }
.game:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.game:nth-child(even) .shot { order: 2; }
.game .shot { position: relative; overflow: hidden; min-height: 300px; background: #000; }
.game .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.game:hover .shot img { transform: scale(1.04); }
.game .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, var(--panel)); }
.game:nth-child(even) .shot::after { background: linear-gradient(270deg, transparent 62%, var(--panel)); }
.game .info { position: relative; padding: 42px 42px 42px 34px; display: flex; flex-direction: column; justify-content: center; }
.game .info::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand); }
.game .num { font: 700 12px/1 var(--mono); letter-spacing: 0.24em; color: var(--muted); margin: 0 0 16px; text-transform: uppercase; }
.game .num b { color: var(--cyan); font-weight: 700; }
.game h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font: italic 800 38px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.game h3 img { width: 48px; height: 48px; border-radius: 22%; }
.game p { margin: 0 0 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li { font: 600 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); color: var(--soft); }
.chips li.status { border-color: rgba(0, 229, 255, 0.5); color: var(--cyan); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.store img { height: 44px; width: auto; transition: transform 0.15s; }
.store:hover img { transform: translateY(-2px); }
.chips li.status.soon { border-color: rgba(165, 67, 255, 0.6); color: #c99bff; }
.more { font: 800 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); text-decoration: none; align-self: flex-start; padding-bottom: 8px; background: var(--brand) 0 100% / 100% 2px no-repeat; }
.more::after { content: " \2192"; }
.more:hover { color: var(--cyan); }

/* The developer */
.dev { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dev .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.stats div { position: relative; background: var(--panel); padding: 22px 22px 20px 25px; clip-path: var(--chamfer); }
.stats div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--cyan), var(--blue), var(--violet)); }
.stats dt { font: 700 11px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.stats dd { margin: 0; font: italic 800 28px/1.05 var(--display); text-transform: uppercase; }
.dev p { color: var(--muted); margin: 0 0 16px; }

/* Contact */
.contact { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 50% 100%, rgba(0, 120, 255, 0.16), transparent 70%); }
.contact .intro { margin-left: auto; margin-right: auto; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); font: 12px/1.7 var(--mono); letter-spacing: 0.06em; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--muted); margin-right: 20px; }
footer a:hover { color: var(--cyan); }

/* Text pages: privacy, not found */
.page { max-width: 760px; padding: 70px 0 60px; }
.page h1 { font: italic 800 clamp(44px, 8vw, 76px)/1 var(--display); text-transform: uppercase; margin: 0 0 14px; }
.page h2 { font: 700 24px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-transform: none; margin: 40px 0 8px; color: var(--white); }
.page p, .page li { color: var(--soft); }
.page .btns { justify-content: flex-start; margin-top: 30px; }
.small { color: var(--muted); font-size: 14px; }
.count-toggle { margin-left: 6px; padding: 6px 14px; border: 1.5px solid var(--cyan); background: transparent; color: var(--white); font: 600 13px/1.4 var(--mono); cursor: pointer; }
.count-toggle:hover { background: rgba(0, 229, 255, 0.12); }

@media (max-width: 860px) {
  .game, .game:nth-child(even) { grid-template-columns: 1fr; }
  .game:nth-child(even) .shot { order: 0; }
  .game .shot { min-height: 0; aspect-ratio: 16 / 9; }
  .game .shot::after, .game:nth-child(even) .shot::after { background: linear-gradient(180deg, transparent 62%, var(--panel)); }
  .game .info { padding: 28px 24px 32px; }
  .dev .wrap { grid-template-columns: 1fr; gap: 34px; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  nav a { margin-left: 16px; font-size: 12px; letter-spacing: 0.06em; }
  nav a.wide { display: none; }
  .brand span { display: none; }
  .game h3 { font-size: 30px; }
  .stats { grid-template-columns: 1fr; }
  .hero .wrap { padding-bottom: 110px; }
  .hero .lead { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .floor, .ticker div, .logo img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Each game's own colours, beside Empower Games' (site/games.mjs theme) */
:root { --g1: var(--cyan); --g2: var(--violet); }
.t-highline { --g1: #ff3ea5; --g2: #39e0ff; }
.t-circuit27 { --g1: #ffb020; --g2: #39e0ff; }
.t-skirun27 { --g1: #ff4b3e; --g2: #a8e1ff; }
.t-bauernschnapsen { --g1: #c8a04a; --g2: #c8423b; }
.game h3 a { color: inherit; text-decoration: none; }
.game h3 a:hover { color: var(--g1); }
.game .info::before { background: linear-gradient(90deg, var(--g1), var(--g2)); }

/* A game's page: its picture behind its name */
.ghero { position: relative; overflow: hidden; isolation: isolate; min-height: min(78vh, 700px); display: grid; align-items: end; border-bottom: 1px solid var(--line); }
.ghero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ghero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 14, 31, 0.94) 0%, rgba(10, 14, 31, 0.7) 45%, rgba(10, 14, 31, 0.15) 100%), linear-gradient(0deg, var(--night) 0%, rgba(10, 14, 31, 0) 45%); }
.ghero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--g1), var(--g2)); }
.ghero .wrap { width: 100%; padding-top: 110px; padding-bottom: 64px; }
.crumbs { font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.ghero .num { font: 700 12px/1 var(--mono); letter-spacing: 0.24em; color: var(--soft); margin: 0 0 14px; text-transform: uppercase; }
.ghero .num b { color: var(--g1); }
.gname { display: flex; align-items: center; gap: 20px; margin: 0 0 14px; font: italic 800 clamp(34px, 9vw, 104px)/0.95 var(--display); text-transform: uppercase; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.gname img { width: clamp(52px, 8vw, 84px); height: auto; border-radius: 22%; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.glogo { margin: 0 0 18px; width: min(460px, 80vw); }
.ghead { max-width: 640px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; margin: 0 0 22px; font-weight: 600; }
.ghero .chips li { background: rgba(10, 14, 31, 0.55); }
.ghero .actions .btn { padding: 14px 22px; }

.gintro { padding: 80px 0 40px; }
.big { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.5; max-width: 860px; margin: 0 0 56px; color: var(--soft); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--panel); padding: 24px 24px 22px; clip-path: var(--chamfer); position: relative; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: linear-gradient(90deg, var(--g1), var(--g2)); }
.feature h3 { margin: 0 0 8px; font: italic 800 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.gshots { padding: 40px 0; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shots img { width: 100%; border: 1px solid var(--line); }

.gstory { padding: 60px 0; }
.gstory .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.gstory .label { color: var(--g1); }
.gstory p { color: var(--soft); margin: 0; }

.gprices { padding: 60px 0; background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.tier { background: var(--panel); padding: 24px; clip-path: var(--chamfer); }
.tier h3 { margin: 0 0 6px; font: 700 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.tier strong { display: block; font: italic 800 34px/1.1 var(--display); margin: 4px 0 8px; }
.tier p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tier.best { box-shadow: inset 0 0 0 1.5px var(--g1); }

.gget { text-align: center; padding: 90px 0; }
.gget .intro { margin-left: auto; margin-right: auto; }
.gget .actions { justify-content: center; }

.gmore { padding: 50px 0 80px; border-top: 1px solid var(--line); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--panel); clip-path: var(--chamfer); text-decoration: none; color: var(--white); position: relative; transition: background 0.2s; }
.other::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--g1), var(--g2)); opacity: 0; transition: opacity 0.2s; }
.other:hover { background: var(--panel-2); }
.other:hover::after { opacity: 1; }
.other img { width: 48px; height: 48px; border-radius: 22%; }
.other strong { display: block; font: italic 800 18px/1.2 var(--display); text-transform: uppercase; }
.other small { color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .features, .gstory .wrap, .price, .others { grid-template-columns: 1fr; }
  .gstory .wrap { gap: 30px; }
  .shots { grid-template-columns: 1fr; }
  .ghero::before { background: linear-gradient(0deg, var(--night) 0%, rgba(10, 14, 31, 0.86) 55%, rgba(10, 14, 31, 0.35) 100%); }
  .ghero .wrap { padding-top: 90px; padding-bottom: 44px; }
}
.gprices h2 { font-size: clamp(30px, 4vw, 44px); }
.gstory .label { margin-bottom: 12px; }
.gget .actions { gap: 16px 30px; }
