/* Phobos Base — shared site styles */

:root {
  --bg: #0b0d12;
  --bg-raised: #141821;
  --text: #e8eaf0;
  --text-dim: #9aa1b0;
  --accent: #ff5a1f;      /* fire orange pulled from the Heli-Hell logo */
  --accent-hover: #ff7a42;
  --border: #232837;
  --max-width: 1080px;
}

/* Flock Hunt page theme: swap the accent to the logo's yellow. Yellow needs
   dark text on filled buttons to stay readable. */
.theme-flock-hunt {
  --accent: #e8cb00;
  --accent-hover: #ffe133;
}

.theme-flock-hunt .btn-primary,
.theme-flock-hunt .btn-primary:hover,
.theme-flock-hunt .btn-secondary:hover { color: #0b0d12; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

main { flex: 1; }

h2 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  width: 100%;
}

.brand-logo { height: 44px; width: auto; display: block; }

.site-header nav {
  display: flex;
  gap: 1.75rem;
}

.site-header nav a {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.site-header nav a:hover { color: var(--accent); }

/* Studio hero */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-logo {
  max-width: 480px;
  width: 75%;
}

.tagline {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

/* Game cards */
.game-card {
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  color: var(--text);
  max-width: 616px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--text);
}

.game-card img { display: block; width: 100%; }

.game-card-body { padding: 1.25rem 1.5rem; }

.game-card-body h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }

.game-card-body p { color: var(--text-dim); margin-bottom: 0.75rem; }

.game-card-body .cta { color: var(--accent); font-weight: 600; }

/* Game page hero
   Key art has the helicopter dead center, so the hero is tall and the
   logo + buttons anchor to the top, over the storm sky — the heli and
   fire stay visible below them. Bottom gradient fades into the page bg. */
.game-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(11, 13, 18, 0) 55%, rgba(11, 13, 18, 0.92)),
    var(--hero-image) var(--hero-position, center top) / cover no-repeat;
}

.game-hero--heli-hell { --hero-image: url("/assets/heli-hell-keyart.jpg"); }

/* Flock Hunt: the birds and cameras live in the top half of the art, so the
   logo + button anchor to the bottom over the clouds and rooftops. The art is
   very wide (3.1:1), so the hero is shorter than Heli-Hell's. */
.game-hero--flock-hunt {
  --hero-image: url("/assets/flock-hunt-hero.jpg");
  --hero-position: center;
  /* Size by aspect ratio (not viewport height) so the wide art isn't
     over-cropped on tall screens; the min-height keeps room for the logo
     and button on narrow phones. */
  width: 100%;          /* explicit width stops min-height transferring into a min-width via the ratio */
  aspect-ratio: 2 / 1;
  min-height: 480px;
  align-items: flex-end;
}

.game-hero--flock-hunt .game-hero-content { padding-top: 6rem; }

.game-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;   /* lets the % -width logo shrink on phones instead of overflowing */
  padding: 4rem 1.5rem 3rem;
}

.game-hero .btn-secondary,
.game-hero .btn-disabled {
  background: rgba(11, 13, 18, 0.55);
}

.game-hero-logo {
  max-width: 640px;
  width: 90%;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

/* About section with capsule art */
.about-media {
  margin-top: 2rem;
}

.about-media img {
  display: block;
  width: 100%;
  max-width: 616px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Buttons */
.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 2px solid var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.btn-secondary { color: var(--accent); background: transparent; }

.btn-secondary:hover { color: #fff; border-color: var(--accent-hover); background: var(--accent-hover); }

.btn-disabled {
  border-color: var(--border);
  color: var(--text-dim);
  background: transparent;
  cursor: default;
}

.note { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.75rem; }

/* Press kit */
.presskit h2 { margin-top: 3rem; }
.presskit h2:first-of-type { margin-top: 0; }

.factsheet {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 2rem;
}

.factsheet dt { color: var(--text-dim); font-weight: 600; }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.asset-grid img {
  display: block;
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem;
}

ul.features { padding-left: 1.25rem; }

/* Contact + footer */
.contact { text-align: center; }

.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .hero { padding-top: 4rem; }
  .factsheet { grid-template-columns: 1fr; gap: 0; }
  .factsheet dd { margin-bottom: 0.75rem; }
}
