/* Chroma Carousel website: one shared stylesheet, no external dependencies. */
:root {
  --bg: #100d2e;
  --bg2: #1a1450;
  --card: rgba(255, 255, 255, 0.06);
  --card-line: rgba(255, 255, 255, 0.12);
  --text: #eef0fb;
  --muted: #aeb3d1;
  --accent: #7fb2ff;
  --green: #14c76e;
  --rainbow: linear-gradient(90deg, #35e3a0 0%, #4fb5ff 35%, #a77bff 65%, #ff9f6b 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 700px at 70% -10%, #2c2380 0%, transparent 60%),
              linear-gradient(180deg, var(--bg2) 0%, var(--bg) 55%);
  background-color: var(--bg);
  min-height: 100vh;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 28px 0 40px; }
.title {
  font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 14px; font-weight: 800;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tag { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px;
  background: var(--green); color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(20, 199, 110, 0.3);
}
.btn.soon { background: var(--card); border: 1px solid var(--card-line); box-shadow: none; color: var(--text); cursor: default; }
.btn svg { width: 22px; height: 22px; }
.note { color: var(--muted); font-size: 0.9rem; }
.hero-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--card-line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.hero-img.phone { width: min(300px, 78vw); justify-self: center; border-radius: 30px; border: 6px solid #2a2f45; }
.hero-img.phone img { aspect-ratio: 9 / 16; object-fit: cover; }

/* sections */
section { padding: 34px 0; }
h2 { font-size: 1.6rem; margin: 0 0 18px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: -1px; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px;
  overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.shots img { border-radius: 16px; border: 1px solid var(--card-line); scroll-snap-align: start; aspect-ratio: 9 / 16; object-fit: cover; }

/* text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 8px 0 40px; }
.doc h1 { font-size: 2rem; line-height: 1.2; margin: 10px 0 6px; }
.doc h2 { font-size: 1.2rem; margin: 30px 0 8px; padding-top: 18px; border-top: 1px solid var(--card-line); }
.doc h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: 0.95rem; }
.summary { background: rgba(127, 178, 255, 0.1); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 14px; margin: 18px 0 6px; }
details { background: var(--card); border: 1px solid var(--card-line); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }
.mail { font-size: 1.15rem; font-weight: 700; }

/* studio pages */
.crumb { color: var(--muted); font-size: 0.92rem; margin: 4px 0 0; }
.crumb a { color: var(--muted); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.game-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease; }
.game-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.28); }
.game-card .art { aspect-ratio: 1024 / 500; object-fit: cover; width: 100%; }
.game-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card .row { display: flex; align-items: center; gap: 10px; }
.game-card .row img { width: 40px; height: 40px; border-radius: 10px; }
.game-card h3 { margin: 0; font-size: 1.15rem; }
.game-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(20, 199, 110, 0.16); color: #6ff0ae; }
.pill.soon { background: rgba(127, 178, 255, 0.16); color: var(--accent); }
.game-card.placeholder { border-style: dashed; align-items: center; justify-content: center; min-height: 220px; text-align: center; padding: 24px; }
.game-card.placeholder:hover { transform: none; }
.studio-hero { padding: 40px 0 26px; max-width: 760px; }
.studio-hero p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

footer { border-top: 1px solid var(--card-line); margin-top: 30px; padding: 22px 0 34px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 10px; }
  .features, .two { grid-template-columns: 1fr; }
  .shots { grid-auto-columns: 62%; }
  .top { flex-wrap: wrap; row-gap: 6px; padding: 14px 0 6px; }
  .nav { gap: 16px; }
}
