/* Shared Character Games guide visuals (hub modal + /character-games-guide) */

.guide-banner {
  margin: 0 0 14px;
}
.guide-banner img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.guide-hero {
  display: grid;
  gap: 22px;
  margin: 0 0 28px;
  align-items: start;
}
@media (min-width: 760px) {
  .guide-hero {
    grid-template-columns: 1fr 220px;
    align-items: center;
  }
}
.guide-hero-copy .lead {
  color: var(--muted, #a7bcd0);
  line-height: 1.55;
  margin: 0;
  font-size: 15px;
}
.guide-hero-video { margin: 0; }
.yt-short {
  position: relative;
  width: min(220px, 58vw);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line, rgba(94,234,212,0.18));
  background: #000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  margin: 0 auto;
}
.yt-short iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.guide-hero-video figcaption,
.phone-demo figcaption,
.pick-row figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #8398ad;
  line-height: 1.4;
  text-align: center;
}
.guide-watch {
  margin: 0 0 16px;
  font-size: 13px;
}
.guide-watch a { color: var(--accent, #5eead4); font-weight: 700; text-decoration: none; }
.guide-watch a:hover { text-decoration: underline; }

.phone-demo { margin: 8px 0 22px; }
.phone {
  width: min(240px, 72vw);
  margin: 0 auto;
  padding: 10px 8px 14px;
  border-radius: 28px;
  background: #0a1018;
  border: 2px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-notch {
  width: 72px; height: 8px; margin: 0 auto 8px;
  border-radius: 999px; background: #070b12;
}
.phone-screen {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: #071018;
}
.scene-top, .scene-bot {
  position: absolute; left: 0; right: 0;
}
.scene-top { top: 0; height: 52%; }
.scene-bot { bottom: 0; height: 48%; }
.scene-forest {
  background:
    linear-gradient(180deg, #7ec8e3 0%, #3d7a9a 42%, #16352a 100%);
}
.scene-forest::after {
  content: "";
  position: absolute; left: -8%; right: -8%; bottom: -6%; height: 72%;
  background:
    radial-gradient(ellipse 42px 70px at 12% 100%, #0d2a14 70%, transparent 71%),
    radial-gradient(ellipse 50px 90px at 32% 100%, #143d1c 70%, transparent 71%),
    radial-gradient(ellipse 38px 64px at 52% 100%, #0a2812 70%, transparent 71%),
    radial-gradient(ellipse 56px 96px at 74% 100%, #1a4724 70%, transparent 71%),
    radial-gradient(ellipse 44px 78px at 94% 100%, #0f3016 70%, transparent 71%);
}
.scene-grass {
  background:
    linear-gradient(180deg, #2f7a38 0%, #1d5a28 45%, #12401c 100%);
}
.scene-grass::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(0,0,0,0.08) 18px 19px),
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(90,180,70,0.35), transparent 70%);
}
.scene-night {
  background: linear-gradient(180deg, #0b1224 0%, #1a1540 60%, #2a2060 100%);
}
.scene-city {
  background: linear-gradient(180deg, #1c2333 0%, #12151c 100%);
}
.scene-dusk {
  background: linear-gradient(180deg, #f59e0b 0%, #c2410c 40%, #7c2d12 100%);
}
.scene-castle {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
}
.scene-sky {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 55%, #0284c7 100%);
}
.scene-water {
  background: linear-gradient(180deg, #0ea5e9 0%, #0369a1 55%, #0c4a6e 100%);
}
.phone-face {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 58%;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.45));
  z-index: 2;
}
.phone-ui {
  position: absolute;
  left: 10px; right: 10px; bottom: 8px;
  z-index: 3;
  font-size: 10px; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; color: #99f6e4;
  text-align: center;
  text-shadow: 0 1px 4px #000;
}

.pick-row { margin: 0 0 20px; }
.face-picks, .scene-picks, .cat-cards {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 4px 2px 10px; margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.face-picks::-webkit-scrollbar, .scene-picks::-webkit-scrollbar, .cat-cards::-webkit-scrollbar { display: none; }
.face-pick, .scene-pick, .cat-card {
  flex: 0 0 auto;
  list-style: none;
  text-align: center;
  color: #c8d7e4;
  font-size: 11px; font-weight: 700;
}
.face-pick img {
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line, rgba(94,234,212,0.18));
  background: #0a1522;
  object-fit: contain;
  padding: 4px;
  display: block; margin: 0 auto 6px;
}
.scene-pick .mini-scene {
  width: 88px; height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line, rgba(94,234,212,0.18));
  position: relative;
  margin: 0 auto 6px;
}
.mini-scene .scene-top { height: 50%; }
.mini-scene .scene-bot { height: 50%; }
.cat-card {
  width: 132px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card img {
  width: 132px; height: 92px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(94,234,212,0.18));
  display: block; margin: 0 0 6px;
}
.cat-card.gc-chat { color: var(--chat, #38bdf8); }
.cat-card.gc-education { color: var(--learn, #a3e635); }
.cat-card.gc-game { color: var(--game, #fb7185); }
.cat-card.gc-roleplay { color: var(--role, #c4b5fd); }
.cat-card.gc-characters { color: #22d3ee; }
.cat-card.gc-rebotme { color: var(--warm, #facc15); }

.guide-body h2 {
  color: #edf3fa;
  font-size: 1.12rem;
  margin: 28px 0 10px;
  letter-spacing: -0.02em;
}
.guide-body > .cat-card {
  margin: 10px 0 4px;
}
.guide-body h4 { color: #d5e0eb; font-size: 0.92rem; margin: 16px 0 6px; }
.guide-lead { color: var(--muted, #a7bcd0); margin: 0 0 16px; }
.guide-cats, .guide-steps { margin: 0 0 8px; padding-left: 1.15rem; }
.guide-cats li, .guide-steps li { margin: 0 0 10px; }
.guide-cats .gc-chat strong { color: var(--chat, #38bdf8); }
.guide-cats .gc-education strong { color: var(--learn, #a3e635); }
.guide-cats .gc-game strong { color: var(--game, #fb7185); }
.guide-cats .gc-roleplay strong { color: var(--role, #c4b5fd); }
.guide-browse { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-browse a {
  text-decoration: none; font-weight: 700; font-size: 13px;
  border: 1px solid var(--line, rgba(94,234,212,0.18)); border-radius: 999px; padding: 6px 12px;
  color: var(--accent, #5eead4); background: rgba(0,0,0,0.28);
}
.guide-browse a.gc-chat { color: var(--chat, #38bdf8); border-color: rgba(56,189,248,0.35); }
.guide-browse a.gc-education { color: var(--learn, #a3e635); border-color: rgba(163,230,53,0.35); }
.guide-browse a.gc-game { color: var(--game, #fb7185); border-color: rgba(251,113,133,0.35); }
.guide-browse a.gc-roleplay { color: var(--role, #c4b5fd); border-color: rgba(196,181,253,0.35); }
