@font-face {
  font-family: Plex;
  src: url('/home-assets/assets/plex-sans-latin.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f3e7;
  --card: #fffcf5;
  --ink: #182237;
  --muted: #45536a;
  --line: #d7cebb;
  --night: #151d32;
  --gold: #f3c669;
  font: 16px/1.45 Plex, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, h1, h2, p, ul { margin: 0; }
a { color: inherit; text-underline-offset: .19em; }
a:focus-visible, button:focus-visible { outline: 3px solid #2443d4; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1120px, 100% - 64px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 2; top: 10px; left: 12px; padding: 10px; background: var(--card); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead { background: var(--night); color: var(--card); }
.masthead .shell, .site-footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.brand img { display: block; flex: none; border-radius: 8px; }
.masthead a:focus-visible { outline-color: var(--gold); }
.play { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 16px; border-radius: 7px; background: #374bcf; color: white; font-weight: 700; text-decoration: none; }
.play:hover { background: #2b3ca8; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 342px; margin-top: 20px; overflow: hidden; border-radius: 16px; background: var(--night); color: var(--card); }
.hero picture, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero picture { left: 26%; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.hero::after { content: ''; background: linear-gradient(90deg, #151d32 23%, #151d32e8 37%, #151d3200 70%); }
.hero-copy { padding: 28px 48px 60px; }
.hero h1 { font-size: clamp(3.25rem, 7.4vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.hero p { max-width: 22rem; margin-top: 15px; color: #f1e7d5; font-size: clamp(1rem, 2vw, 1.2rem); }

.actions { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: -34px 18px 14px; }
.action { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 13px; min-height: 92px; padding: 14px 16px; border: 1px solid #0003; border-radius: 12px; box-shadow: 0 4px 0 #151d3220; text-decoration: none; }
.discord { background: #404bc7; color: white; }
.discord:hover { background: #333da9; }
.telegram { background: #006a9f; color: white; }
.telegram:hover { background: #005681; }
.buy { background: var(--gold); color: #241e14; }
.buy:hover { background: #ffd88b; }
.action-mark { display: block; object-fit: contain; }
.buy .action-mark { border-radius: 9px; }
.action-copy { min-width: 0; }
.action strong { display: block; font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 750; line-height: 1.08; letter-spacing: -.025em; }
.action small { display: block; margin-top: 4px; font-size: .875rem; font-weight: 500; }

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 18px 14px; }
.platform { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 9px 14px; text-decoration: none; }
.platform img { flex: none; display: block; border-radius: 6px; image-rendering: pixelated; }
.platform strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.platform small { display: block; margin-top: 2px; font-size: .875rem; }
.cherry { border: 1px solid #e1bfc8; border-radius: 9px; background: #f8e8ed; color: #60192e; }
.cherry:hover { background: #f4dbe3; }
.seeker { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid #c6cdec; border-radius: 9px; background: #e9edfd; color: #1e3089; }
.seeker .platform { border-radius: 9px 0 0 9px; }
.seeker .platform:hover { background: #dde3fb; }
.seeker-listing { display: inline-flex; align-items: center; min-height: 44px; margin-right: 8px; padding-inline: 9px; border-left: 1px solid #c6cdec; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.seeker-listing:hover { background: #dde3fb; }

.mint { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; margin-inline: 18px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.mint-details { min-width: 0; }
.mint h2 { font-size: .875rem; line-height: 1.2; color: var(--muted); }
.mint code { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: .875rem; user-select: all; }
.mint-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.mint-tools a, .mint button { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.mint button { justify-content: center; min-width: 62px; padding-inline: 10px; border: 1px solid #b5bed5; border-radius: 6px; background: #eef0fb; color: #172d96; font-family: inherit; cursor: pointer; }
.mint button:hover { background: #e0e6fd; }
.mint-tools a:hover { color: #172d96; }

.directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 34px 18px 40px; }
.directory h2 { margin-bottom: 11px; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.022em; }
.directory ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.directory li { border-bottom: 1px solid var(--line); }
.directory a { display: flex; align-items: center; gap: 12px; min-height: 59px; padding-block: 9px; font-weight: 700; text-decoration: none; }
.directory a:hover { color: #172d96; text-decoration: underline; }
.directory small { display: block; margin-top: 1px; color: var(--muted); font-size: .875rem; font-weight: 400; }
.printer-links strong { font-weight: inherit; text-decoration: underline; }
.world-links img { flex: none; width: 64px; height: 45px; border-radius: 5px; object-fit: cover; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.social img { margin-right: 2px; }

@media (max-width: 900px) {
  .actions { margin: 12px 0; }
  .platforms, .mint, .directory { margin-inline: 0; }
  .action { gap: 9px; padding-inline: 11px; }
  .action-mark { width: 32px; height: 32px; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .masthead .shell { min-height: 64px; }
  .hero { align-items: end; min-height: 258px; margin-top: 12px; border-radius: 12px; }
  .hero picture { left: 0; }
  .hero img { object-position: 50% 43%; }
  .hero::after { background: linear-gradient(0deg, #151d32 0%, #151d32f2 29%, #151d32bd 49%, #151d3220 77%, transparent 100%); }
  .hero-copy { padding: 60px 18px 24px; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .hero p { max-width: 22rem; margin-top: 8px; }
  .actions { grid-template-columns: minmax(0, 1fr); gap: 9px; margin: 12px 0; }
  .action { min-height: 68px; gap: 13px; padding: 9px 13px; border-radius: 9px; }
  .action-mark { width: 35px; height: 35px; }
  .action strong { font-size: 1.3rem; }
  .action small { margin-top: 3px; }
  .platforms { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-block: 0 12px; }
  .platform { min-height: 60px; }
  .mint { gap: 5px 14px; margin-inline: 0; padding: 12px 13px; }
  .mint-tools { min-height: 44px; }
  .directory { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 29px 0 34px; }
}

@media (max-width: 365px) {
  .brand { gap: 7px; font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .play { padding-inline: 12px; }
  .platform { gap: 8px; padding-inline: 10px; }
  .platform img { width: 32px; height: 32px; }
  .platform strong { font-size: 1rem; }
  .seeker-listing { margin-right: 4px; padding-inline: 6px; }
}
