/* Dino Lizard Games: one stylesheet for the studio site and its game pages. */
:root {
  /* From the logo: navy ground (#05141D), the gecko's teal, the dinosaur's orange. */
  --bg: #05141d;
  --bg-raised: #0a1f2a;
  --line: #17313d;
  --text: #eef5f4;
  --muted: #9cb4b8;
  --accent: #1fbf9c;
  --accent-ink: #05141d;
  --warm: #f2622a;
  --radius: 20px;
  --max: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7fe3cb; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand img { width: 36px; height: 36px; }
.brand span { white-space: nowrap; }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Type */
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 850; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ff8a5c; margin-bottom: 18px; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }

/* Studio hero: the logo exactly as supplied, beside the words. */
.hero { padding: 88px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.hero h1 { max-width: 12em; }
.hero-logo { width: clamp(220px, 28vw, 320px); height: auto; }

/* Buttons and pills */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 750; text-decoration: none; }
.button:hover { background: #4fd3b5; color: var(--accent-ink); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.ghost:hover { border-color: var(--muted); color: var(--text); }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; background: rgba(242, 98, 42, 0.16); color: #ff8a5c; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; position: relative; }

/* Game cards */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.game-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  background: linear-gradient(160deg, #0d1a26, #070d14 70%); border: 1px solid #1d2c3a; border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px); overflow: hidden;
}
.game-card .icon { width: 72px; height: 72px; border-radius: 17px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.game-card h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; }
.game-card .tagline { color: #8fe9ff; font-weight: 650; margin-bottom: 14px; }
.game-card p { color: #b6c3cf; }
.game-card .button { background: #4fe3ff; }
.game-card .button:hover { background: #8aedff; }
.phones { display: flex; gap: 14px; justify-content: center; }
.phone { flex: 1 1 0; min-width: 0; max-width: 190px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.phone:nth-child(2) { transform: translateY(-18px); }
.coming { margin-top: 32px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Game page */
.game-page { --accent: #4fe3ff; }
.game-page main a { color: #8aedff; }
.game-hero { background: radial-gradient(120% 90% at 80% 0%, #10304a 0%, #08131f 45%, var(--bg) 100%); padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.game-hero .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.game-hero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 40px rgba(79, 227, 255, 0.25); }
.game-hero h1 { margin-bottom: 0.15em; }
.game-hero .tagline { font-size: clamp(1.1rem, 2.6vw, 1.4rem); color: #8fe9ff; font-weight: 650; margin: 0 0 14px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.feature h3 { color: var(--text); }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1); }
.gallery figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

/* Text pages (privacy, support) */
.page { padding: 64px 0 0; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.45rem; margin-top: 2.2em; }
.page h3 { margin-top: 1.6em; }
.page li { margin-bottom: 0.5em; }
.summary { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 28px 0; }
.summary ul { margin: 0; padding-left: 1.2em; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style-position: outside; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 28px 0 8px; }
.contact-card strong { font-size: 1.1rem; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-logo { order: -1; width: 168px; }
  .game-card { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .brand span { font-size: 0.98rem; }
  .hero { padding: 64px 0 56px; }
  .game-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .game-hero .icon { width: 88px; height: 88px; border-radius: 21px; }
  .phone:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .nav a { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
}
