:root {
  --cream: #fbfaf5;
  --ink: #141414;
  --orange: #ff4d1f;
  --muted: #3a3a3a;
  --discord: #5865f2;
  --kofi: #29abe0;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  /* Blurred in-game screenshot, lightened so the logos stay readable */
  background:
    linear-gradient(rgba(251, 250, 245, 0.35), rgba(251, 250, 245, 0.55)),
    url("assets/bg-blur.jpg") center / cover no-repeat fixed,
    var(--cream);
}

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

a { color: inherit; }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}
.hero-logo {
  width: min(480px, 90%, 60vh);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}
.studio-logo {
  width: min(200px, 50%);
  margin: 8px auto 12px;
}
.pitch {
  margin: 0 0 36px;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(251, 250, 245, 0.9);
}

/* Action buttons, stacked vertically */
.actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(400px, 100%);
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bowlby One", "Inter", sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 16px 20px;
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
/* Brand icon, then label, then an external-link icon on the far right */
.btn-icon { width: 26px; height: 26px; flex-shrink: 0; }
.btn-ext { width: 18px; height: 18px; flex-shrink: 0; margin-left: auto; opacity: 0.9; }
.btn-primary { background: var(--orange); font-size: 1.4rem; }
.btn-discord { background: var(--discord); }
.btn-kofi { background: var(--kofi); }

/* Footer with socials at the very bottom */
.footer {
  padding: 28px 24px;
  text-align: center;
}
.socials { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.socials a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.copyright { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Links left empty in links.js: disabled, with a "Coming soon" tooltip */
.is-disabled { position: relative; cursor: not-allowed; }
.btn.is-disabled { filter: saturate(0.35) brightness(0.95); }
.btn.is-disabled:hover,
.btn.is-disabled:active { transform: none; box-shadow: 4px 4px 0 var(--ink); }
.btn.is-disabled .btn-ext { display: none; }
.socials a.is-disabled { border-color: rgba(20, 20, 20, 0.35); }
.socials a.is-disabled svg { opacity: 0.4; }
.socials a.is-disabled:hover { background: #fff; color: inherit; }
.is-disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.is-disabled[data-tooltip]:hover::after { opacity: 1; filter: none; }

@media (max-width: 560px) {
  .hero, .footer { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 32px; padding-bottom: 32px; }
  /* background-attachment: fixed is janky on mobile */
  body { background-attachment: scroll; }
  .btn { font-size: 1rem; padding-left: 16px; padding-right: 16px; }
  .btn-primary { font-size: 1.2rem; }
}
