/* CobraCat Games — static launch site.
   Theme restored 1:1 from the previous live build (computed-style
   extraction, 2026-08-03): Orbitron on #0a0a14, neon h2 rotation
   (green/yellow/pink), gradient hero text, flat images, translucent
   blurred header with a pink hairline. Layout/content are the launch
   update; the look is the site Jesse already had. */

:root {
  --bg: #0a0a14;
  --panel: #12121f;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.8);
  --muted: #9d9daf;
  --pink: #ff2d9e;
  --yellow: #ffe033;
  --green: #39ff14;
  --blue: #1e40ff;
  --font: "Orbitron", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 18px; line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
p { color: var(--text-dim); }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 22, 0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 45, 158, 0.2);
}
header.site .brand { display: flex; align-items: center; gap: 10px;
  color: var(--yellow); font-weight: 900; letter-spacing: -0.02em; font-size: 18px;
  text-transform: uppercase; }
header.site .brand img { width: 34px; height: 34px; border-radius: 8px; }
header.site nav { display: flex; gap: 22px; }
header.site nav a { color: var(--text); font-weight: 700; font-size: 12px;
  letter-spacing: 1px; text-transform: uppercase; }
header.site nav a:hover { color: var(--pink); text-decoration: none; }

main { max-width: 1080px; margin: 0 auto; padding: 32px 20px 64px; }

h1, h2, h3 { font-weight: 900; text-transform: uppercase; letter-spacing: -0.05em; }
.hero { text-align: center; padding: 30px 0 10px; }
.hero .wordmark { max-width: 380px; margin: 0 auto 14px; }
.hero h1 {
  font-size: clamp(36px, 6vw, 48px); margin: 12px 0 4px;
  background-image: linear-gradient(to bottom right, var(--yellow), #ffffff 50%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline { font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em;
  font-size: clamp(22px, 3.4vw, 30px); color: var(--yellow); margin: 4px 0; }
.hero .subline { color: var(--text-dim); font-size: 18px; margin: 6px 0 18px; }
.hero-media { margin: 22px auto; max-width: 900px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin: 18px 0 6px; }
.btn-store {
  display: inline-block; padding: 14px 28px; border-radius: 8px;
  background: var(--pink); color: #ffffff; font-family: var(--font);
  font-weight: 900; font-size: 15px; letter-spacing: 0.02em;
  text-transform: uppercase; box-shadow: 0 0 24px rgba(255, 45, 158, 0.45);
}
.btn-store:hover { text-decoration: none; filter: brightness(1.12); }
.android-note { color: var(--muted); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; }
.platform-line, .trust-line { font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin: 10px 0 2px; }
.platform-line { color: var(--muted); }
.trust-line { color: var(--green); }

section { margin: 48px 0; }
section > h2, section > div > h2 { font-size: clamp(26px, 3.8vw, 36px); margin-bottom: 14px; }
/* the old site's neon rotation: sections cycle green -> yellow -> pink */
section:nth-of-type(3n + 1) > h2, section:nth-of-type(3n + 1) > div > h2 { color: var(--green); }
section:nth-of-type(3n + 2) > h2, section:nth-of-type(3n + 2) > div > h2 { color: var(--yellow); }
section:nth-of-type(3n + 3) > h2, section:nth-of-type(3n + 3) > div > h2 { color: var(--pink); }

.pullquote { font-weight: 900; text-align: center; text-transform: uppercase;
  letter-spacing: -0.03em; font-size: clamp(20px, 3vw, 28px);
  color: var(--yellow); margin: 40px auto; max-width: 800px; }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--panel); padding: 18px; color: var(--text-dim);
  border: 1px solid rgba(255, 45, 158, 0.25); }
.steps li::before { counter-increment: step; content: counter(step);
  display: block; font-size: 26px; font-weight: 900; color: var(--pink); }

ul.features { padding-left: 0; list-style: none; display: grid; gap: 10px; }
ul.features li { background: var(--panel); padding: 12px 16px; color: var(--text-dim);
  border-left: 3px solid var(--green); }
ul.features b { color: var(--text); }

.worlds { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; margin: 0; list-style: none; }
.worlds li { background: var(--panel); padding: 12px 14px;
  border: 1px solid rgba(255, 224, 51, 0.22); }
.worlds b { letter-spacing: -0.02em; text-transform: uppercase; }
.worlds span { color: var(--muted); font-size: 14px; display: block; }

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery figure { margin: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; grid-column: 1 / -1; }
.regulars { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 12px; }
.regulars img { border-radius: 50%; }

.video-block video { width: 100%; background: #000; }
.video-note { color: var(--muted); font-size: 13px; margin-top: 6px; }

.faq details { background: var(--panel); padding: 4px 18px; margin-bottom: 10px;
  border: 1px solid rgba(255, 45, 158, 0.2); }
.faq summary { cursor: pointer; font-weight: 700; padding: 10px 0;
  letter-spacing: 0.02em; text-transform: uppercase; font-size: 14px; color: var(--text); }
.faq p { margin-top: 0; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card { background: var(--panel); display: flex; flex-direction: column; }
.cards .card:nth-child(3n + 1) { border: 1px solid var(--green); }
.cards .card:nth-child(3n + 2) { border: 1px solid var(--yellow); }
.cards .card:nth-child(3n + 3) { border: 1px solid var(--pink); }
.card > a.cardlink { color: inherit; display: block; }
.card > a.cardlink:hover { text-decoration: none; filter: brightness(1.1); }
.card .art { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card .pad, .card a.cardlink .pad { padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 8px; }
.card .badge { font-size: 11px; letter-spacing: 1px; font-weight: 700; color: var(--green); text-transform: uppercase; }
.card h3 { margin: 0; font-size: 20px; }
.cards .card:nth-child(3n + 1) h3 { color: var(--green); }
.cards .card:nth-child(3n + 2) h3 { color: var(--yellow); }
.cards .card:nth-child(3n + 3) h3 { color: var(--pink); }
.card .hook { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.02em; font-size: 13px; font-weight: 700; }
.card .genre { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.card .cta { padding: 0 18px 18px; margin-top: auto; }
.card .cta .btn-store { font-size: 13px; padding: 11px 20px; }
.card .cta .android-note { display: block; margin-top: 8px; }
.card.tease { justify-content: center; text-align: center; color: var(--muted);
  border: 1px dashed rgba(255, 45, 158, 0.4); padding: 30px 18px;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 700; font-size: 13px; }

.legal main { max-width: 760px; }
.legal h1 { font-size: 32px; }
.legal .dates { color: var(--muted); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 700; }
.legal h2 { font-size: 20px; margin-top: 30px; color: var(--yellow); }
.legal ul { padding-left: 22px; color: var(--text-dim); }
.legal li { margin: 4px 0; }

footer.site { border-top: 1px solid rgba(255, 45, 158, 0.2); margin-top: 40px;
  padding: 26px 20px 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 12px; }
footer.site nav a { color: var(--muted); font-weight: 700; font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase; }
footer.site nav a:hover { color: var(--text); }
footer.site .trademark { font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  video[autoplay] { display: none; }
}

footer.site nav.social { margin-bottom: 16px; }
footer.site nav.social a { color: var(--pink); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; }

/* Unresolved {{TOKEN}} links (pre-launch state): inert and visibly
   pending. The attribute selector stops matching the moment launch-day
   token replacement rewrites the href, so this self-heals. */
a[href*="{{"] { pointer-events: none; cursor: default; }
.btn-store[href*="{{"] { opacity: 0.55; box-shadow: none; }
footer.site nav.social a[href*="{{"], .video-note a[href*="{{"] { opacity: 0.5; }

/* Media sizing (2026-08-04): portrait assets are capped by viewport
   height, never stretched to column width; landscape keeps full width.
   Portrait galleries pack 3-4 phone-shaped columns per row. */
.hero-media img, .hero-media video { margin-left: auto; margin-right: auto; }
.hero-media.brand video { max-height: min(46vh, 430px); width: auto; }
.hero-media.portrait img { max-height: min(66vh, 620px); width: auto; }
.gallery.portrait { grid-template-columns: repeat(auto-fill, minmax(180px, 236px)); justify-content: center; }
.gallery.portrait .pair { grid-column: span 2; }

/* Polish layer (2026-08-14) — treatments lifted from the live teaser:
   hero cards get a 16px radius + pink bloom (0 0 50px @ .2), display
   text gets drop-shadow blooms, cards glow in their accent. */
.hero-media { width: fit-content; max-width: min(900px, 100%);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 45, 158, 0.2); }
.hero h1 { filter: drop-shadow(0 0 15px rgba(255, 224, 51, 0.5)); }
.hero .tagline { letter-spacing: 0.1em;
  filter: drop-shadow(0 0 10px rgba(255, 224, 51, 0.5)); }
.pullquote { text-shadow: 0 0 14px rgba(255, 224, 51, 0.45); }
section > h2, section > div > h2 { text-shadow: 0 0 14px color-mix(in srgb, currentColor 40%, transparent); }
.trust-line { text-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
header.site .brand { text-shadow: 0 0 10px rgba(255, 224, 51, 0.45); }

.gallery figure { border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 24px rgba(255, 45, 158, 0.10); }
.gallery .pair { border-radius: 12px; overflow: hidden; }
.gallery .pair figure { border-radius: 0; box-shadow: none; }
.video-block video { border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 45, 158, 0.15); }
.roster figure { border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 45, 158, 0.12); }

.cards .card { border-radius: 14px; overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease; }
.cards .card:nth-child(3n + 1) { box-shadow: 0 0 30px rgba(57, 255, 20, 0.12); }
.cards .card:nth-child(3n + 2) { box-shadow: 0 0 30px rgba(255, 224, 51, 0.12); }
.cards .card:nth-child(3n + 3) { box-shadow: 0 0 30px rgba(255, 45, 158, 0.12); }
.cards .card:hover { transform: translateY(-3px); }
.cards .card:nth-child(3n + 1):hover { box-shadow: 0 0 44px rgba(57, 255, 20, 0.26); }
.cards .card:nth-child(3n + 2):hover { box-shadow: 0 0 44px rgba(255, 224, 51, 0.26); }
.cards .card:nth-child(3n + 3):hover { box-shadow: 0 0 44px rgba(255, 45, 158, 0.26); }

.steps li, ul.features li, .worlds li, .faq details { border-radius: 8px; }
footer.site nav.social a:hover, footer.site nav a:hover {
  text-shadow: 0 0 10px currentColor; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .cards .card { transition: none; } }

/* Layout pass (2026-08-14): About text and the portrait screenshot
   share a two-column band on desktop (screenshot as supporting image),
   stacking on mobile; the roster screenshot gets the portrait cap;
   Project 04 wears the palette's fourth color (blue). */
.about-split { display: grid; grid-template-columns: 1.15fr minmax(240px, 320px);
  gap: 36px; align-items: center; }
.about-split .side-shot { margin: 0; justify-self: center; width: fit-content;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 45, 158, 0.2); }
.about-split .side-shot img { max-height: min(62vh, 560px); width: auto; }
@media (max-width: 840px) {
  .about-split { grid-template-columns: 1fr; }
}
.roster figure { width: fit-content; margin-left: auto; margin-right: auto; }
.roster figure img { max-height: min(66vh, 620px); width: auto; }
.cards .card.tease, .cards .card.tease:nth-child(3n + 1) {
  border: 1px dashed rgba(30, 64, 255, 0.6);
  box-shadow: 0 0 30px rgba(30, 64, 255, 0.16); }
.cards .card.tease:hover { box-shadow: 0 0 44px rgba(30, 64, 255, 0.3); transform: none; }
.pullquote.p04 { color: #3d63ff;
  text-shadow: 0 0 14px rgba(30, 64, 255, 0.6), 0 0 32px rgba(30, 64, 255, 0.35); }

.soon-chip { display: inline-block; padding: 14px 28px; border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.35); color: var(--muted);
  font-weight: 900; font-size: 15px; letter-spacing: 0.02em;
  text-transform: uppercase; }
