@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");
@import url("fontawesome-all.min.css");

:root {
  --ink: #f7f3ed;
  --muted: #aeb1bc;
  --line: rgba(247, 243, 237, .18);
  --panel: rgba(8, 14, 32, .9);
  --orange: #ff6a00;
  --blue: #2d75e5;
  --space: #050816;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  background: var(--space);
  font: 16px/1.6 "Manrope", sans-serif;
}
body::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, .2), rgba(5, 8, 22, .72)),
    url("../../images/starfield.png") center top / cover fixed;
  background-repeat: no-repeat;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
.shell { margin: 0 auto; max-width: 1180px; padding-left: 28px; padding-right: 28px; }

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 22, .9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.nav-wrap { align-items: center; display: flex; gap: 36px; min-height: 70px; }
.brand { align-items: center; display: flex; }
.brand-mark {
  border-radius: 4px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  width: 220px;
}
nav { display: flex; gap: 28px; margin-left: auto; }
nav a { color: var(--muted); font-size: 13px; font-weight: 700; padding: 24px 0 20px; position: relative; }
nav a:hover, nav a.active { color: var(--ink); }
nav a.active::after { background: var(--orange); bottom: 0; content: ""; height: 2px; left: 0; position: absolute; right: 0; }
.nav-beta {
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(255, 106, 0, .22);
  color: var(--space);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 15px;
  white-space: nowrap;
}
.nav-beta:hover { background: #ff812b; color: var(--space); }

.hero {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 410px;
  overflow: hidden;
  padding-bottom: 56px;
  padding-top: 56px;
  position: relative;
  text-align: center;
}
.hero::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 22, .45), rgba(5, 8, 22, .58));
  content: "";
  inset: 0;
  position: absolute;
}
.hero-content { max-width: 980px; position: relative; z-index: 1; }
.eyebrow { color: #ff9c5d; font: 500 11px/1.2 "DM Mono", monospace; letter-spacing: .13em; margin: 0 0 20px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.07em; line-height: .98; }
h1 { font-size: clamp(44px, 6vw, 78px); margin-bottom: 22px; }
h2 { font-size: clamp(39px, 5vw, 62px); margin-bottom: 25px; }
em { color: var(--orange); font-style: normal; }
.hero-lede { color: var(--ink); font-size: 21px; margin: 0 auto; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 34px 0 0; }
.button {
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 15px;
  justify-content: center;
  letter-spacing: .02em;
  padding: 17px 34px;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); box-shadow: 0 8px 25px rgba(255, 106, 0, .22); }
.button-primary { color: var(--space); font-size: 16px; }
.button-primary:hover { background: #ff812b; color: var(--space); }
.button-secondary { background: rgba(39, 110, 226, .2); border-color: rgba(75, 145, 255, .7); }
.button-secondary:hover { background: var(--blue); }
.beta-pill, .tag {
  color: #ff9b5a;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .08em;
  position: relative;
  text-transform: uppercase;
  top: -.18em;
}
.nav-beta .beta-pill, .button-primary .beta-pill, .card-link-beta .beta-pill, .platform-badge.beta .beta-pill {
  color: var(--space);
  font-size: 9px;
}
.hero-meta { color: var(--muted); display: flex; font: 11px "DM Mono", monospace; gap: 28px; justify-content: center; text-transform: uppercase; }
.hero-meta strong { color: var(--ink); font-size: 17px; margin-right: 5px; }
.hero-caption {
  bottom: 32px;
  color: rgba(247, 243, 237, .62);
  display: flex;
  font: 10px "DM Mono", monospace;
  gap: 20px;
  letter-spacing: .16em;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
}

.games-section, .catalog-section, .about-section, .contact-section {
  border-top: 1px solid var(--line);
  padding-bottom: 82px;
  padding-top: 76px;
}
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.text-link { border-bottom: 1px solid var(--orange); display: inline-block; font-size: 13px; font-weight: 700; padding-bottom: 4px; }
.text-link span, .card-link span { color: var(--orange); margin-left: 7px; }
.game-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.game-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color .2s, transform .2s; }
.game-card:hover { border-color: rgba(255, 106, 0, .7); transform: translateY(-5px); }
.card-art { display: block; height: 190px; object-fit: cover; width: 100%; }
.game-card-beta .card-art { object-position: center 58%; }
.card-body { padding: 20px; }
.card-title { align-items: baseline; display: flex; gap: 9px; justify-content: space-between; }
.card-title h3 { font-size: 18px; letter-spacing: -.03em; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 14px; line-height: 1.5; min-height: 42px; }
.platform { color: #757d99; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.card-link { color: var(--ink); font-size: 12px; font-weight: 800; }
.card-link-beta {
  align-items: center;
  background: var(--orange);
  border-radius: 5px;
  box-shadow: 0 8px 25px rgba(255, 106, 0, .22);
  color: var(--space);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  padding: 11px 15px;
  width: fit-content;
}
.card-link-beta:hover { background: #ff812b; color: var(--space); }
.platform-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.platform-badge {
  align-items: center;
  border: 1px solid rgba(247, 243, 237, .22);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font: 11px "DM Mono", monospace;
  gap: 8px;
  height: 50px;
  min-height: 50px;
  overflow: hidden;
  padding: 0;
  transition: border-color .2s, color .2s, background .2s;
}
.platform-badge:hover { background: rgba(255, 255, 255, .08); border-color: var(--orange); color: var(--ink); }
.platform-badge > span { color: var(--ink); font-size: 12px; line-height: 1; }
.platform-badge.android > span { font-size: 0; }
.platform-badge.android > span::before { content: "\f17b"; font-family: "Font Awesome 5 Brands"; font-size: 12px; }
.platform-badge.ios > span { font-size: 0; }
.platform-badge.ios > span::before { content: "\f179"; font-family: "Font Awesome 5 Brands"; font-size: 12px; }
.platform-badge.android, .platform-badge.ios, .platform-badge.crazygames { width: 174px; }
.platform-badge.crazygames { padding: 0; }
.platform-logo { display: block; height: 100%; object-fit: contain; width: 100%; }
.platform-badge.android .platform-logo { height: 94%; margin: auto; width: 94%; }
.platform-badge.beta {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 8px 25px rgba(255, 106, 0, .22);
  color: var(--space);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 0 15px;
}
.platform-badge.beta:hover { background: #ff812b; border-color: #ff812b; color: var(--space); }

.catalog-section { background: rgba(5, 8, 22, .32); }
.catalog-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.catalog-card { align-items: stretch; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; transition: border-color .2s, transform .2s; }
.catalog-card:hover { border-color: rgba(255, 106, 0, .7); transform: translateY(-5px); }
.catalog-card > img { aspect-ratio: 1 / 1; background: rgba(5, 8, 22, .72); display: block; height: auto; object-fit: contain; width: 100%; }
.catalog-card > img.crown-icon { background: rgba(5, 8, 22, .72); object-fit: contain; padding: 18px; }
.catalog-card > div { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.catalog-card > .catalog-art { align-items: center; display: flex; flex: none; height: 160px; justify-content: center; padding: 0; width: 100%; }
.catalog-card h3 { font-size: 16px; letter-spacing: -.03em; line-height: 1.25; margin-bottom: 8px; }
.catalog-card span { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.catalog-card > div > .platform-links { margin-top: auto; }
.catalog-card img.platform-logo { height: 100%; object-fit: contain; width: 100%; }

.about-section { align-items: center; display: flex; gap: 30px; justify-content: space-between; }
.about-panel { max-width: 580px; }
.about-panel > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.about-stat { align-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); display: flex; flex-direction: column; font: 11px/1.4 "DM Mono", monospace; height: 220px; justify-content: center; text-align: center; text-transform: uppercase; width: 220px; }
.stat-number { color: var(--orange); font: 100px/.7 "Manrope", sans-serif; letter-spacing: -.1em; }
.contact-section { align-items: end; display: flex; justify-content: space-between; }
.contact-copy { max-width: 380px; }
.contact-copy p { color: var(--muted); }
.discord-button { align-items: center; display: inline-flex; gap: 10px; }
.discord-icon { border-radius: 50%; height: 22px; width: 22px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font: 11px "DM Mono", monospace; }
.footer-wrap { align-items: center; display: flex; gap: 20px; justify-content: space-between; min-height: 90px; }
.store-links { display: flex; gap: 18px; }
.store-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav-wrap { gap: 18px; }
  nav { gap: 18px; }
  .hero { min-height: 390px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .shell { padding-left: 20px; padding-right: 20px; }
  .site-header { position: relative; }
  .nav-wrap { flex-wrap: wrap; padding-bottom: 12px; padding-top: 12px; }
  .brand { flex: 1; }
  .brand-mark { height: 40px; width: 185px; }
  nav { margin-left: 0; order: 3; width: 100%; }
  nav a { padding: 6px 0 4px; }
  .nav-beta { font-size: 10px; padding: 8px 10px; }
  .hero { min-height: 430px; padding-top: 55px; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 8, 22, .58), rgba(5, 8, 22, .64)); }
  .hero-caption { bottom: 22px; flex-direction: column; gap: 3px; right: 20px; }
  .hero-lede, .about-panel > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions, .button { width: 100%; }
  .hero-meta { gap: 12px; }
  .section-heading, .about-section, .contact-section, .footer-wrap { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 20px; }
  .games-section, .catalog-section, .about-section, .contact-section { padding-bottom: 65px; padding-top: 65px; }
  .game-grid, .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card > img, .catalog-card > .catalog-art { height: auto; }
  .about-stat { height: 170px; width: 170px; }
  .stat-number { font-size: 75px; }
  .footer-wrap { gap: 12px; justify-content: center; padding-bottom: 24px; padding-top: 24px; }
  .footer-note { display: none; }
}
