/* My Scout Life — landing (Hovgaard-inspired structure, football-night aesthetic) */

@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,600;0,700;1,600&family=Instrument+Serif:ital@0;1&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --bg-deep: #0c0a10;
  --bg-elevated: #14111c;
  --bg-card: #1a1624;
  --text: #ece8f4;
  --text-muted: #9a92ae;
  --accent: #b388ff;
  --accent-soft: rgba(179, 136, 255, 0.15);
  --pitch: #7cfc8a;
  --pitch-dim: rgba(124, 252, 138, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(179, 136, 255, 0.35);
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Archivo Narrow", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(124, 252, 138, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0f0d14 100%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #d4b8ff;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-bar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: min(200px, 46vw);
  line-height: 0;
}

.logo-link:hover {
  opacity: 0.92;
}

.logo-img {
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (max-width: 640px) {
  .logo-link {
    max-width: min(150px, 40vw);
  }

  .logo-img {
    max-height: 32px;
  }
}

@media (max-width: 400px) {
  .logo-link {
    max-width: min(124px, 36vw);
  }

  .logo-img {
    max-height: 26px;
  }
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.logo-text span {
  color: var(--pitch);
}

.logo-text:hover {
  color: var(--text);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

/* Hero */
.stage-hero {
  position: relative;
  margin-bottom: 0;
}

.ratio-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ratio-box.-thin-banner {
  aspect-ratio: 21 / 8;
  min-height: 280px;
}

@media (max-width: 768px) {
  .ratio-box.-thin-banner {
    aspect-ratio: 16 / 11;
    min-height: 220px;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .hero-video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media .hero-video {
  object-fit: cover;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-chevron.-flip {
  transform: scaleX(-1);
}

.hero-fallback {
  background:
    linear-gradient(135deg, #1a0f2e 0%, #0c1628 40%, #0a1f14 100%),
    radial-gradient(circle at 30% 40%, rgba(179, 136, 255, 0.25), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(124, 252, 138, 0.15), transparent 45%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 10, 16, 0.2) 0%,
    rgba(12, 10, 16, 0.55) 55%,
    var(--bg-deep) 100%
  );
  pointer-events: none;
}

.hero-text-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(1.5rem, 5vw, 3rem);
  pointer-events: none;
}

.hero-text-wrap .site-inner {
  pointer-events: auto;
}

.stage-hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin: 0 0 0.35rem;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0;
}

/* Main */
main.gradient-glow {
  position: relative;
  padding-bottom: 4rem;
}

main.gradient-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 320px;
  background: radial-gradient(ellipse, var(--glow), transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.lede {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.45;
  color: var(--text);
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 0 2.5rem;
}

.section {
  padding: 2.5rem 0;
}

.section.-tight-top {
  padding-top: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col {
  padding: 0 0.75rem;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Teaser cards */
.page-teaser {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  margin-bottom: 1.5rem;
}

.page-teaser:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border-color: rgba(179, 136, 255, 0.35);
}

.teaser-card-inner {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 200px;
}

.teaser-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-card-inner .placeholder-visual {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a1f3d 0%, #162a20 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.teaser-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.teaser-body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.teaser-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(179, 136, 255, 0.2), rgba(179, 136, 255, 0.08));
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  background: linear-gradient(180deg, rgba(179, 136, 255, 0.35), rgba(179, 136, 255, 0.15));
  border-color: rgba(179, 136, 255, 0.45);
  color: #fff;
}

.button.-full-width {
  width: 100%;
  justify-content: center;
}

.button .icon-chevron {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* Content teaser rows */
.content-teaser {
  padding: 2.75rem 0;
  align-items: center;
}

.content-teaser .row {
  align-items: center;
}

.content-teaser h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 1rem;
}

.content-teaser p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.shot-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
}

.shot-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Screenshots gallery */
.screenshots-section {
  padding: 2rem 0 3rem;
}

.screenshots-section h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
  text-align: center;
}

.screenshots-section .sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .screenshot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.screenshot-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.screenshot-item figcaption {
  padding: 0.65rem 0.85rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.shot-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background:
    linear-gradient(160deg, #1e1830, #142018),
    radial-gradient(circle at 80% 20%, rgba(124, 252, 138, 0.08), transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .content-teaser .order-2-mobile {
    order: 2;
  }
}

/* Newsletter */
.newsletter-subscribe {
  margin-top: 2rem;
  padding: 2.5rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(179, 136, 255, 0.08), rgba(124, 252, 138, 0.05));
}

.newsletter-subscribe h5 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent), #9cf0a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.newsletter-subscribe p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
  }
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(179, 136, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(179, 136, 255, 0.15);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: #08070b;
  padding-top: 2.5rem;
}

.footer-links {
  padding-bottom: 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-logo:hover {
  opacity: 0.92;
}

.footer-logo-img {
  width: auto;
  height: auto;
  max-height: 34px;
  max-width: min(160px, 50vw);
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .footer-logo-img {
    max-height: 26px;
    max-width: min(120px, 42vw);
  }
}

.footer-logo--text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}

.footer-logo--text span {
  color: var(--pitch);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text);
}

.socials-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.socials-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.socials-nav a:hover {
  color: var(--text);
  border-color: rgba(179, 136, 255, 0.4);
  background: rgba(179, 136, 255, 0.08);
}

.socials-nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-credit {
  font-size: 0.7rem;
  color: rgba(154, 146, 174, 0.45);
  letter-spacing: 0.02em;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: rgba(154, 146, 174, 0.75);
}

/* About page */
.about-page .site-inner {
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

@media (max-width: 640px) {
  .about-page .site-inner {
    padding-left: max(clamp(1.25rem, 6vw, 2rem), env(safe-area-inset-left));
    padding-right: max(clamp(1.25rem, 6vw, 2rem), env(safe-area-inset-right));
  }
}

.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.about-page .page-hero {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.page-hero .lead {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  text-wrap: balance;
}

.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 0 3rem;
  width: 100%;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2rem 0 0.75rem;
}

.prose p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.contact-email-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(179, 136, 255, 0.06);
}

.contact-email-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

a.contact-email {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pitch);
  word-break: break-all;
  overflow-wrap: anywhere;
}

a.contact-email:hover {
  color: #b8ffc4;
  text-decoration: underline;
}

/* Game page (my-scout-life.html) */
.game-page {
  padding-bottom: 4rem;
}

.game-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(179, 136, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(124, 252, 138, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(26, 22, 36, 0.9) 0%, var(--bg-deep) 100%);
}

.game-hero-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.game-hero-kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0 0 0.75rem;
}

.game-hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.game-hero-lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.game-hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

.game-page-inner {
  padding-top: 2.5rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

@media (max-width: 640px) {
  .game-page-inner {
    padding-left: max(clamp(1.25rem, 6vw, 2rem), env(safe-area-inset-left));
    padding-right: max(clamp(1.25rem, 6vw, 2rem), env(safe-area-inset-right));
  }
}

.game-block {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.game-section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.game-section-intro {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.feature-card {
  margin: 0;
  padding: 1.25rem 1.25rem 1.35rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(26, 22, 36, 0.95), rgba(20, 17, 28, 0.98));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--pitch);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(179, 136, 255, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.feature-card-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.roadmap-block {
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 14px;
  border: 1px solid rgba(179, 136, 255, 0.2);
  background: linear-gradient(135deg, rgba(179, 136, 255, 0.08), rgba(124, 252, 138, 0.04));
}

.roadmap-header {
  margin-bottom: 1.75rem;
}

.roadmap-intro {
  margin-bottom: 0;
}

.roadmap-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .roadmap-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.roadmap-col {
  padding: 1.25rem 1.35rem;
  border-radius: 10px;
  background: rgba(12, 10, 16, 0.45);
  border: 1px solid var(--border);
}

.roadmap-col--accent {
  border-color: rgba(124, 252, 138, 0.25);
  background: rgba(12, 10, 16, 0.55);
}

.roadmap-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pitch);
  margin: 0 0 0.85rem;
}

.roadmap-col--accent .roadmap-col-title {
  color: var(--accent);
}

.roadmap-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.roadmap-list li {
  margin-bottom: 0.55rem;
}

.roadmap-list li:last-child {
  margin-bottom: 0;
}

.game-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.button--ghost:hover {
  background: rgba(179, 136, 255, 0.08);
  border-color: rgba(179, 136, 255, 0.35);
}

/* ===== Studio Hero (index) ===== */
.studio-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(179, 136, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 50% at 80% 75%, rgba(255, 93, 158, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(26, 22, 36, 0.95) 0%, var(--bg-deep) 100%);
}

.studio-hero-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.studio-kicker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.studio-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.studio-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* ===== Games Hub (index) ===== */
.games-hub {
  padding: 3rem 0 1rem;
}

.hub-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0 0 2rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  text-decoration: none;
  color: var(--text);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.game-card:first-child:hover {
  border-color: rgba(179, 136, 255, 0.4);
}

.game-card:last-child:hover {
  border-color: rgba(255, 93, 158, 0.4);
}

.game-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.game-card:hover .game-card-media img {
  transform: scale(1.03);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 16, 0.75) 100%);
  pointer-events: none;
}

.game-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.msl-badge {
  background: rgba(124, 252, 138, 0.15);
  border-color: rgba(124, 252, 138, 0.35);
  color: var(--pitch);
}

.psl-badge {
  background: rgba(255, 93, 158, 0.15);
  border-color: rgba(255, 93, 158, 0.35);
  color: #ff5d9e;
}

.game-card-body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
}

.game-card-logo-wrap {
  flex-shrink: 0;
  margin: 0;
}

.game-card-logo {
  width: 72px;
  height: 72px;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (min-width: 640px) {
  .game-card-logo {
    width: 96px;
    height: 96px;
  }

  .game-card-body {
    gap: 1.5rem;
  }
}

.game-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.game-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.game-card-title.psl-title {
  color: #ff5d9e;
}

.game-card-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1rem;
  flex: 1;
}

.game-card-content .button {
  align-self: flex-start;
  width: auto;
}

/* MSL button (green accent) */
.msl-button {
  background: linear-gradient(180deg, rgba(124, 252, 138, 0.18), rgba(124, 252, 138, 0.06));
  border-color: rgba(124, 252, 138, 0.3);
  color: #c8ffce;
  justify-content: center;
  width: 100%;
}

.msl-button:hover {
  background: linear-gradient(180deg, rgba(124, 252, 138, 0.3), rgba(124, 252, 138, 0.12));
  border-color: rgba(124, 252, 138, 0.55);
  color: #e0ffe5;
}

/* PSL button (pink accent) */
.psl-button {
  background: linear-gradient(180deg, rgba(255, 93, 158, 0.2), rgba(255, 93, 158, 0.07));
  border-color: rgba(255, 93, 158, 0.35);
  color: #ffc0d8;
  justify-content: center;
  width: 100%;
}

.psl-button:hover {
  background: linear-gradient(180deg, rgba(255, 93, 158, 0.35), rgba(255, 93, 158, 0.15));
  border-color: rgba(255, 93, 158, 0.6);
  color: #ffd6e7;
}

/* ===== Pop Star Life page ===== */
.psl-page {
  padding-bottom: 4rem;
}

.psl-hero {
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(255, 93, 158, 0.13), transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(255, 215, 0, 0.07), transparent 50%),
    linear-gradient(180deg, rgba(30, 18, 26, 0.9) 0%, var(--bg-deep) 100%);
}

.psl-kicker {
  color: #ff5d9e;
}

.psl-card {
  border-left-color: #ff5d9e;
}

.psl-card:hover {
  border-color: rgba(255, 93, 158, 0.3);
}

.psl-roadmap {
  border-color: rgba(255, 93, 158, 0.2);
  background: linear-gradient(135deg, rgba(255, 93, 158, 0.07), rgba(255, 215, 0, 0.04));
}

.roadmap-col--psl {
  border-color: rgba(255, 93, 158, 0.25);
  background: rgba(12, 10, 16, 0.55);
}

.psl-col-title {
  color: #ff5d9e;
}

.psl-screenshots-section {
  padding: 0 0 3rem;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text-wrap h1,
.hero-text-wrap .hero-tag {
  animation: fade-up 0.8s ease forwards;
}

.hero-text-wrap .hero-tag {
  animation-delay: 0.1s;
  opacity: 0;
  animation-fill-mode: forwards;
}
