@font-face {
  font-family: "FrogBlockSans";
  src: url("media/fonts/frogblocksans.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "LilySans";
  src: url("media/fonts/lilysans.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #071223;
  --bg-deep: #050d18;
  --panel: rgba(8, 23, 46, 0.72);
  --panel-strong: rgba(12, 30, 58, 0.9);
  --line: rgba(182, 230, 255, 0.18);
  --line-strong: rgba(182, 230, 255, 0.32);
  --text: #eff8ff;
  --muted: #c7d9ea;
  --leaf: #a7d95a;
  --leaf-deep: #77a934;
  --sun: #ffc56f;
  --blue: #7fd6ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1220px;
  --heading-font: "LilySans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "LilySans", "Trebuchet MS", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top, rgba(111, 195, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(255, 197, 111, 0.12), transparent 18%),
    linear-gradient(180deg, #0a1630 0%, #08101d 40%, #050b14 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
.lede {
  text-wrap: balance;
}

p,
li,
summary {
  text-wrap: pretty;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.15), rgba(5, 10, 20, 0.65)),
    url("media/hero-bg.jpg") center top / cover no-repeat;
  opacity: 0.42;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(167, 217, 90, 0.08), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(127, 214, 255, 0.08), transparent 20%),
    radial-gradient(circle at 70% 65%, rgba(255, 197, 111, 0.05), transparent 18%);
  pointer-events: none;
  z-index: -1;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.social-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem max(1.1rem, env(safe-area-inset-left)) 0.9rem max(1.1rem, env(safe-area-inset-right));
  background: rgba(5, 15, 28, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.social-bar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "FrogBlockSans", sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand span {
  font-size: 1rem;
}

.platform-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.platform-links {
  justify-content: flex-start;
}

.social-links {
  justify-content: flex-end;
}

.platform-links a,
.social-links a {
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.platform-links a:hover,
.platform-links a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible,
.platform-card:hover,
.platform-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(167, 217, 90, 0.45);
  color: var(--text);
  background: rgba(167, 217, 90, 0.08);
}

.social-links a[aria-current="page"] {
  border-color: rgba(167, 217, 90, 0.45);
  color: var(--text);
  background: rgba(167, 217, 90, 0.08);
}

.section {
  width: min(calc(100% - 2.4rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  padding: 3rem 0 1.5rem;
  align-items: start;
}

.hero-copy,
.hero-trailer,
.platform-card,
.game-features-panel,
.story-row,
.faq-list details,
.footer-inner {
  background: linear-gradient(180deg, rgba(14, 34, 63, 0.85), rgba(8, 22, 43, 0.76));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-trailer,
.footer-inner {
  padding: clamp(1.4rem, 2vw, 2rem);
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.footer-inner::before {
  content: "";
  position: absolute;
  inset: auto auto -8rem -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 217, 90, 0.24), transparent 72%);
  pointer-events: none;
}

.hero-logo {
  width: min(100%, 28rem);
  height: auto;
  margin: 0.2rem 0 1.25rem;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.34));
}

.hero-title {
  margin: 0 0 0.8rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: 0.015em;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--leaf);
  font-size: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading .eyebrow,
.story-copy .eyebrow,
.press-cta-panel .eyebrow,
.press-sheet-panel .eyebrow {
  color: var(--leaf);
}

.panel-heading h2,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.14;
  letter-spacing: 0.012em;
}

.lede {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.56;
}

.hero-body,
.panel-copy,
.section-heading p,
.story-copy p,
.faq-list p,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.56;
}

.panel-copy,
.section-heading p,
.story-copy p,
.faq-list p,
.footer-note {
  max-width: 62ch;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-pills li {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(127, 214, 255, 0.08);
  border: 1px solid rgba(127, 214, 255, 0.18);
  color: #f4fbff;
  line-height: 1.18;
}

.game-features {
  padding: 0 0 1.5rem;
}

.game-features-panel {
  width: 100%;
  padding: 1.35rem 1.5rem 1.5rem;
}

.game-features-panel .feature-pills {
  margin-top: 0;
}

.video-shell {
  position: relative;
  margin: 1rem 0 1rem;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-shell iframe,
.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.platforms,
.story,
.faq,
.site-footer {
  padding: 1.5rem 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.story .section-heading,
.faq .section-heading {
  max-width: none;
}

.section-heading p {
  margin-top: 0.7rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.platform-widget-card {
  align-items: flex-start;
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-head img {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: contain;
}

.platform-label {
  margin: 0 0 0.2rem;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card h3,
.story-copy h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  max-width: 40ch;
}

.store-embed {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 24, 0.52);
  overflow: hidden;
}

.store-embed-steam {
  padding: 0.75rem;
}

.store-embed-steam iframe {
  display: block;
  width: 100%;
  min-height: 190px;
  border: 0;
  border-radius: 16px;
  background: #1b2838;
}

.store-embed-apple {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(16, 24, 38, 0.9), rgba(7, 12, 22, 0.96));
}

.app-store-badge {
  display: block;
  width: min(250px, 100%);
  height: auto;
}

.platform-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.platform-card-link:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: -4px;
}

.platform-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--sun);
  font-weight: 700;
  text-decoration: none;
}

.platform-action::after {
  content: "→";
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(167, 217, 90, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(167, 217, 90, 0.28), rgba(119, 169, 52, 0.2));
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 197, 111, 0.55);
  background: linear-gradient(180deg, rgba(255, 197, 111, 0.26), rgba(167, 217, 90, 0.2));
}

.story {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.story-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem;
}

.story-row.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.story-row.reverse .story-media {
  order: 2;
}

.story-row.reverse .story-copy {
  order: 1;
}

.story-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.story-media img {
  width: 100%;
  height: auto;
}

.story-copy {
  padding: 0.6rem 0.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.15rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.24rem;
  line-height: 1.2;
  padding-right: 2rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--leaf);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin-top: 0.85rem;
}

.press-cta {
  padding: 1.5rem 0;
}

.press-cta-panel,
.press-sheet-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 34, 63, 0.85), rgba(8, 22, 43, 0.76));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.press-cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.2vw, 2.2rem);
  text-align: center;
}

.press-cta-panel h2,
.press-sheet-panel h1,
.press-sheet-panel h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.12;
}

.press-cta-panel h2,
.press-sheet-panel h1 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.press-sheet-panel h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.press-cta-panel p {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding-bottom: 3rem;
}

.footer-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  gap: 0.25rem;
  text-align: center;
}

.contact-link {
  display: inline-block;
  margin: 0.8rem 0 0.7rem;
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--sun);
}

.footer-inner h2 {
  max-width: 28ch;
  margin-inline: auto;
}

.footer-note {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.press-main {
  padding: 2.4rem 0 3rem;
}

.press-sheet-panel {
  padding: clamp(1.45rem, 2.3vw, 2.4rem);
}

.press-sheet-panel::before,
.press-cta-panel::before {
  content: "";
  position: absolute;
  inset: auto -5rem -7rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 111, 0.18), transparent 72%);
  pointer-events: none;
}

.press-sheet-intro {
  max-width: 54rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
}

.factsheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
  margin: 1rem 0 2rem;
}

.factsheet-item {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

.factsheet-item strong {
  color: #ffffff;
}

.factsheet-item a,
.press-sheet-panel a.inline-link {
  color: var(--sun);
  text-decoration: none;
}

.press-sheet-panel a.inline-link:hover,
.press-sheet-panel a.inline-link:focus-visible,
.factsheet-item a:hover,
.factsheet-item a:focus-visible {
  color: #ffd89a;
}

.press-trailer {
  margin-top: 0.5rem;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}

@media (min-width: 1025px) {
  :root {
    --max-width: 1342px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .factsheet-grid,
  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
  }

  .story-row.reverse .story-media,
  .story-row.reverse .story-copy {
    order: initial;
  }
}

@media (max-width: 760px) {
  .social-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-bar-left,
  .platform-links,
  .social-links {
    justify-content: flex-start;
  }

  .section {
    width: min(calc(100% - 1.3rem), var(--max-width));
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy,
  .hero-trailer,
  .platform-card,
  .game-features-panel,
  .press-cta-panel,
  .press-sheet-panel,
  .story-row,
  .faq-list details,
  .footer-inner {
    border-radius: 22px;
  }

  .story-row {
    padding: 0.9rem;
  }

  .platform-card {
    padding: 1.15rem;
  }

  .store-embed-steam {
    padding: 0.55rem;
  }

  .store-embed-steam iframe {
    min-height: 184px;
  }

  .store-embed-apple {
    min-height: 126px;
    padding: 1rem;
  }

  .press-main {
    padding-top: 1rem;
  }

  .footer-inner {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
