@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Bricolage';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #141228;
  --bg-deep: #0E0C1F;
  --surface: #1F1C3A;
  --raised: #221F42;
  --line: #2F2B52;
  --line-strong: #3E3A68;
  --ink: #F1EFFA;
  --ink-2: #C9C5E2;
  --muted: #A9A4C8;
  --soft: #CFCBE8;
  --accent: #F2B33D;
  --frame: #2E2B55;
  --body: 'Inter', system-ui, sans-serif;
  /* Bricolage has no Greek, so Greek headings fall through to Inter. */
  --display: 'Bricolage', 'Inter', system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { 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(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 10; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
:lang(el) .eyebrow { letter-spacing: 0.1em; }
.icon { flex: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; font-weight: 500; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600; }
.lang > * { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--bg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #F6C566; color: var(--bg); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-quiet { border-color: #6B67A0; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 4px; color: var(--muted); font-weight: 500; }

/* Home hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 72px 56px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1:lang(el) { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.hero .btn-row { margin-top: 8px; }

.feature { flex: 1 1 460px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; padding: 32px; background: var(--raised); border: 1px solid #36325F; border-radius: 28px; text-decoration: none; color: #fff; }
.feature:hover { color: #fff; border-color: #4C4785; }
.feature-text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-text img { border-radius: 18px; }
.feature .eyebrow { font-size: 12px; color: var(--accent); }
.feature-name { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.02; letter-spacing: -0.02em; }
.feature-blurb { color: var(--soft); line-height: 1.5; }
.feature-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); margin-top: 6px; }
.feature-shot { flex: none; width: 210px; height: 373px; object-fit: cover; border-radius: 24px; border: 6px solid var(--frame); }

.strip { overflow: hidden; padding: 8px 0 40px; }
.strip > div { display: flex; gap: 14px; justify-content: center; width: max-content; margin: 0 auto; }
@media (min-width: 1600px) { .strip > div { width: auto; } }
.strip img { width: 56px; height: 56px; border-radius: 14px; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-bottom: 72px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.promise { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.promise h3, .festival h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.promise p { font-size: 15px; color: var(--muted); }

/* Catalogue */
.games { padding-block: 24px 96px; scroll-margin-top: 16px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.02; }
.h2:lang(el) { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.02em; }
.section-head p, .count { font-size: 17px; color: var(--muted); }
.count { font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters[hidden] { display: none; }
.pill { min-height: 44px; padding: 11px 18px; border-radius: 999px; font: 600 15px var(--body); background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); cursor: pointer; }
.pill span { opacity: 0.7; font-weight: 500; }
.pill:hover { border-color: var(--muted); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.game-card { display: flex; flex-direction: column; gap: 14px; min-height: 196px; padding: 20px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.game-card:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .game-card:hover { transform: none; } }
.game-card[hidden] { display: none; }
.game-head { display: flex; align-items: center; gap: 14px; }
.game-head img { width: 60px; height: 60px; border-radius: 14px; flex: none; }
.game-head > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.game-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; }
.game-sub { font-size: 13px; color: var(--muted); }
.game-short { font-size: 15px; color: var(--ink-2); }
.game-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.play-short { display: none; }
.badge { font-size: 12px; font-weight: 600; background: var(--bg); color: var(--accent); padding: 4px 10px; border-radius: 999px; }

/* Festivals */
.festivals { background: var(--bg-deep); border-block: 1px solid var(--line); scroll-margin-top: 0; }
.festivals .wrap { display: flex; flex-direction: column; gap: 40px; padding-block: 88px; }
.festivals-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.festivals-head .eyebrow { color: var(--accent); }
.festivals-head p { font-size: 17px; line-height: 1.55; color: var(--soft); }
.festival-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.festival { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #24224A; border: 1px solid #3A3768; border-radius: 20px; }
.festival h3 { font-size: 22px; }
.festival p { font-size: 14px; color: #B7B2D6; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: 96px; }
.about h2 { flex: 1 1 320px; }
.about > div { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 32px; font-size: 14px; color: var(--muted); }
.site-footer .brand-word { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: var(--muted); padding: 8px 0; }
.site-footer nav a:hover { color: var(--accent); }

/* Game page */
.game-hero { background: var(--bg-deep); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.game-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--game, var(--accent)); }
.game-hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px; padding-top: 56px; }
.game-intro { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-bottom: 72px; }
.crumbs { font-size: 14px; color: #B7B2D6; }
.crumbs a { color: #B7B2D6; }
.game-intro > img { width: 96px; height: 96px; border-radius: 24px; }
.game-intro h1 { font-size: clamp(44px, 5.5vw, 68px); line-height: 0.98; letter-spacing: -0.035em; }
.game-intro h1:lang(el) { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.02em; }
.game-kicker { font-size: 17px; font-weight: 600; color: var(--accent); }
.game-intro .lead { color: var(--soft); }
.game-intro .lead + .lead { font-size: 17px; }
.shots { flex: 1 1 520px; min-width: 0; display: flex; justify-content: center; align-items: center; gap: 18px; padding-bottom: 56px; }
/* Store screenshots carry captions at the top, so they are shown whole. */
.shots img { width: 30%; max-width: 180px; height: auto; border-radius: 20px; border: 5px solid var(--frame); }
.shots img:nth-child(2) { width: 36%; max-width: 220px; border-radius: 24px; }
.inside { padding-block: 88px 56px; }
.inside .h2 { margin-bottom: 32px; font-size: clamp(32px, 3.6vw, 44px); }
.inside-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.inside-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.inside-card .eyebrow { color: var(--accent); font-size: 12px; }
.inside-card ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.inside-card li::marker { color: var(--accent); }
.outro { margin-top: 28px; font-size: 17px; color: var(--ink-2); max-width: 40em; display: flex; flex-direction: column; gap: 10px; }
.related { padding-block: 32px 96px; }
.related .h2 { font-size: clamp(28px, 3vw, 36px); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.mini { display: flex; gap: 14px; align-items: center; padding: 18px; text-decoration: none; color: var(--ink); }
.mini:hover { color: var(--ink); border-color: var(--line-strong); }
.mini img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.mini > span { display: flex; flex-direction: column; gap: 3px; }
.mini .game-name { font-size: 18px; }

/* Simple pages */
.prose { max-width: 720px; padding-block: 88px 120px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose h1 { color: var(--ink); font-size: clamp(36px, 5vw, 56px); line-height: 1.04; margin-bottom: 8px; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .site-header .wrap { gap: 8px 16px; padding-block: 12px; }
  .site-nav { order: 3; flex-basis: 100%; gap: 0 20px; }
  .brand span { font-size: 22px; }
  .hero { padding-block: 32px 24px; gap: 32px; }
  .lead { font-size: 17px; }
  .feature { padding: 20px; gap: 20px; }
  .feature-shot { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .pill { flex: none; white-space: nowrap; }
  .grid { grid-template-columns: 1fr; gap: 8px; }
  .game-card { min-height: 0; padding: 12px; flex-direction: row; align-items: center; }
  .game-head { flex: 1 1 auto; min-width: 0; }
  .game-head img { width: 48px; height: 48px; border-radius: 12px; }
  .game-name { font-size: 17px; }
  .game-short, .game-foot .badge { display: none; }
  .game-foot { margin: 0; flex: none; }
  .game-foot > span:first-child { background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-size: 13px; }
  .game-foot svg, .play-long { display: none; }
  .play-short { display: inline; }
  .games { padding-bottom: 56px; }
  .festivals .wrap { padding-block: 56px; }
  .about { padding-block: 56px; }
  .game-intro { padding-bottom: 40px; }
  .shots { gap: 10px; }
  .inside { padding-block: 56px 32px; }
  .inside-grid { grid-template-columns: 1fr; }
}
