/* Amirus Studio home: the octopus logo's red on deep ink. Each game card borrows its own game's look. */
@font-face { font-family: "Martius"; src: url("fonts/Martius-Regular.ttf?v=2") format("truetype"); font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Bold.ttf?v=1") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0d0b10;
  --ink-2: #17141c;
  --red: #e3242b;
  --red-deep: #9e1218;
  --paper: #f4efe8;
  --mute: #a39ca8;
  --line: rgba(244, 239, 232, 0.12);
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: #ff6a6f; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid #ffd27a; outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.wordmark { font: 900 20px/1 var(--body); letter-spacing: 0.22em; color: #fff; text-decoration: none; }
.wordmark span { color: var(--red); }
.top nav { margin-left: auto; display: flex; gap: 22px; }
.top nav a { color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.top nav a:hover { color: var(--red); }

.intro { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.intro::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(227, 36, 43, 0.28), transparent 62%);
  pointer-events: none;
}
.intro .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.intro h1 { font: 900 clamp(40px, 6.6vw, 80px)/0.98 var(--body); letter-spacing: -0.02em; margin: 0 0 22px; }
.intro p { max-width: 44ch; color: #d9d2dc; font-size: clamp(17px, 1.8vw, 20px); margin: 0; }
.intro .logo { width: 100%; max-width: 480px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(227, 36, 43, 0.25)); }

.games { padding: 8px 0 clamp(56px, 8vw, 96px); }
.games h2, .about h2 { font: 800 clamp(26px, 3.4vw, 36px)/1.1 var(--body); margin: 0 0 24px; }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }

.card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; min-height: 100%; transition: transform 0.18s ease; }
.card:hover { transform: translateY(-4px); color: inherit; }
.card .art { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 26px; line-height: 1.05; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; }
.card .status { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card .go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; }

/* Neon Dash card: neon grid night */
.card.neon { background: #140824; color: #d9ccf2; box-shadow: inset 0 0 0 1px rgba(63, 243, 255, 0.35); border-radius: 0; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.card.neon h3 { font-family: "Martius", sans-serif; font-weight: 400; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; text-shadow: 2px 0 #ff3ea5, -2px 0 #3ff3ff; }
.card.neon .status { background: #ff3ea5; color: #fff; }
.card.neon .go { color: #3ff3ff; }
.card.neon .art { aspect-ratio: 16 / 10; object-position: center 30%; }

/* Jarvolution card: warm cream and orange */
.card.jar { background: linear-gradient(160deg, #ffe7b8, #ffb07a); color: #2b2138; }
.card.jar h3 { font-weight: 900; color: #fff; text-shadow: 0 2px 0 rgba(43, 33, 56, 0.35); font-size: 30px; }
.card.jar .status { background: #2b2138; color: #ffe7b8; }
.card.jar .go { color: #2b2138; }
.card.jar .art { object-position: right center; }

/* Sharkco card: deep sea and brass */
.card.shark { background: linear-gradient(180deg, #0a3550, #06192a); color: #cfe7ef; box-shadow: inset 0 0 0 1px rgba(214, 170, 88, 0.45); }
.card.shark h3 { font-family: "Cinzel", Georgia, serif; font-weight: 700; color: #f2d58c; letter-spacing: 0.02em; }
.card.shark .status { background: #d6aa58; color: #06192a; }
.card.shark .go { color: #f2d58c; }

.about { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.about .wrap { max-width: 780px; }
.about p { color: #d9d2dc; }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--mute); }

.not-found { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.not-found h1 { font: 900 clamp(48px, 10vw, 104px)/1 var(--body); margin: 0 0 10px; }
.not-found h1 span { color: var(--red); }
.not-found .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 18px; }

@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .intro .wrap { grid-template-columns: 1fr; }
  .intro .logo { max-width: 300px; order: -1; justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } .card:hover { transform: none; } }
