@font-face { font-family: 'Archivo Black'; font-weight: 400; font-display: swap; src: url('/assets/img/fonts/archivo-black-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400 800; font-display: swap; src: url('/assets/img/fonts/manrope-latin.woff2') format('woff2'); }

/* Palette: ink #0e1112, deep #0b2e35, petrol #14505c, mint #7fb3b9, mist #e3eeef, grey #8a8f8f */
:root {
  --ink: #0e1112; --deep: #0b2e35; --petrol: #14505c; --mint: #7fb3b9; --mist: #e3eeef; --grey: #8a8f8f;
  --radius-surface: 18px; /* surfaces */
  --radius-control: 999px; /* buttons and pills */
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100dvh; background: var(--ink); color: var(--mist); font-family: 'Manrope', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 45% at 50% 0%, rgba(20, 80, 92, .55), transparent 72%); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.page { width: min(100% - 32px, 460px); margin: 0 auto; padding: 24px 0 48px; }
@media (min-width: 760px) { .page { width: min(100% - 64px, 760px); padding-top: 40px; } }

/* header */
.head { position: relative; display: grid; justify-items: center; text-align: center; padding: 20px 0 8px; }
.lang { position: absolute; top: 0; right: 0; display: flex; gap: 2px; padding: 3px; border-radius: var(--radius-control); background: rgba(227, 238, 239, .08); font-size: .75rem; font-weight: 800; letter-spacing: .06em; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: var(--radius-control); color: var(--grey); }
.lang a[aria-current] { background: var(--mist); color: var(--deep); }
.mark { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 14px; border-radius: 50%; background: var(--deep); box-shadow: inset 0 0 0 1px rgba(127, 179, 185, .35); }
.mark svg { width: 44px; height: 31px; color: var(--mist); }
h1 { margin: 0; font: 400 1.9rem/1.1 'Archivo Black', sans-serif; letter-spacing: -.02em; }
.head p { margin: 8px 0 0; max-width: 30ch; color: var(--mint); font-weight: 600; font-size: .95rem; }

h2 { margin: 30px 0 12px; font: 400 1.15rem/1.2 'Archivo Black', sans-serif; letter-spacing: -.01em; }

/* tiles */
.bento { display: grid; gap: 10px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-surface); background: var(--deep); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0, 0, 0, .4); }
a.tile:active { transform: translateY(-1px) scale(.99); }

/* games */
.games { grid-template-columns: 1fr 1fr; }
.hero-tile { grid-column: 1 / -1; display: grid; aspect-ratio: 16 / 10; }
.hero-tile.has-mobile { aspect-ratio: 5 / 6; }
.hero-tile picture, .hero-tile img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.hero-tile picture { min-height: 0; }
.hero-tile::after { content: ''; grid-area: 1 / 1; background: linear-gradient(180deg, transparent 38%, rgba(14, 17, 18, .94) 92%); pointer-events: none; }
.hero-body { grid-area: 1 / 1; z-index: 1; align-self: end; padding: 18px; }
@media (min-width: 560px) { .hero-tile, .hero-tile.has-mobile { aspect-ratio: 16 / 9; } .hero-tile img { object-position: 22% 50%; } }
.hero-body h3 { margin: 0 0 4px; font: 400 1.5rem/1.1 'Archivo Black', sans-serif; letter-spacing: -.02em; }
.hero-body p { margin: 0 0 14px; max-width: 34ch; font-size: .9rem; color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-control); font-weight: 800; font-size: .85rem; white-space: nowrap; transition: transform .3s var(--ease), background .3s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--mist); color: var(--deep); }
.btn-light:hover { background: #fff; }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(227, 238, 239, .45); color: var(--mist); }
.btn-ghost:hover { background: rgba(227, 238, 239, .12); }

.game img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.game.wide { grid-column: 1 / -1; }
.game.wide img { aspect-ratio: 16 / 8; }
.game .meta { display: block; padding: 12px 14px 14px; }
.game .t { display: block; font: 400 1.05rem/1.2 'Archivo Black', sans-serif; letter-spacing: -.01em; }
.game .s { display: block; margin-top: 2px; font-size: .8rem; font-weight: 700; color: var(--mint); }

/* follow */
.social { grid-template-columns: 1fr 1fr; }
.social .tile { display: grid; align-content: space-between; gap: 22px; min-height: 112px; padding: 14px; }
.social svg { width: 28px; height: 28px; color: var(--mist); }
.social svg.plain { fill: none; stroke: currentColor; stroke-width: 1.6; }
.social .n { display: block; font-weight: 800; font-size: .95rem; }
.social .h { display: block; color: var(--mist); opacity: .72; font-size: .78rem; font-weight: 600; }
.social .tile:nth-child(4n + 1), .social .tile:nth-child(4n + 4) { background: var(--petrol); }
@media (max-width: 759px) { .social .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* work with us */
.rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-radius: var(--radius-surface); overflow: hidden; background: rgba(227, 238, 239, .08); }
.rows a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); transition: background .3s var(--ease); }
.rows a:hover { background: var(--deep); }
.rows .t { display: block; font-weight: 800; }
.rows .d { display: block; color: var(--grey); font-size: .85rem; }
.rows svg { width: 16px; height: 16px; fill: none; stroke: var(--mint); stroke-width: 1.6; }

.foot { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--grey); font-size: .8rem; }
.foot a { display: inline-flex; align-items: center; min-height: 32px; }
.foot a:hover { color: var(--mist); }

@media (min-width: 760px) {
  .social { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .head, section, .foot { animation: rise .7s var(--ease) both; }
  section { animation-delay: calc(var(--i, 0) * .08s); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .btn, .rows a { transition: none; }
  a.tile:hover, a.tile:active, .btn:active { transform: none; }
}
