/* SHEILA-J Studios — shared styles */
:root {
  --ink: #f4efe6;
  --muted: #b9b2a6;
  --bg: #15141a;
  --panel: #1f1d26;
  --line: #2f2c38;
  --orange: #f59a2a;
  --red: #e2483c;
  --blue: #3fa9d8;
  --yellow: #f7c948;
  --crimson: #b3202e;
  --gold: #e8b64c;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(21, 20, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Baloo 2", "Nunito Sans", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.3px; }
.brand-mark { display: inline-flex; gap: 1px; }
.brand-mark span:nth-child(5n+1) { color: var(--orange); }
.brand-mark span:nth-child(5n+2) { color: var(--red); }
.brand-mark span:nth-child(5n+3) { color: var(--blue); }
.brand-mark span:nth-child(5n+4) { color: var(--yellow); }
.brand-mark span:nth-child(5n+5) { color: #f07a2a; }
.brand small { font-weight: 600; color: var(--muted); font-size: 16px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Sections */
section { padding: 72px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--orange); margin: 0 0 10px; }
h1, h2, h3 { font-family: "Baloo 2", "Nunito Sans", sans-serif; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(28px, 3.6vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }

/* Studio hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero-img { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.55); border: 1px solid var(--line); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--orange); color: #1a1208; }
.btn-primary:hover { background: var(--yellow); color: #1a1208; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); color: var(--ink); }

/* Game card */
.game-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
}
.game-card .art { background: #0e0d12; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; }
.game-card .body { padding: 34px 36px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(245,154,42,0.14); color: var(--orange); margin-bottom: 14px; }
.facts { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 15px; margin: 6px 0 4px; padding: 0; list-style: none; }
.facts li::before { content: "✓ "; color: var(--yellow); font-weight: 800; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value .dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 14px; }
.value p { color: var(--muted); margin: 0; font-size: 16px; }

/* Contact strip */
.contact { background: linear-gradient(135deg, #24202e, #1b1922); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Crimson Harbour pages ---------- */
.ch { --accent: var(--gold); }
.ch h1, .ch h2, .ch .ch-title { font-family: "Pirata One", "Baloo 2", serif; font-weight: 400; letter-spacing: 0.5px; }
.ch .eyebrow { color: var(--gold); }
.ch-hero { position: relative; padding: 64px 0; overflow: hidden; }
.ch-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 500px at 75% 30%, rgba(179,32,46,0.35), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(232,182,76,0.12), transparent 60%); pointer-events: none; }
.ch-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.ch-hero h1 { font-size: clamp(46px, 7vw, 76px); color: #f1d38a; text-shadow: 0 3px 0 #5a1016; margin-bottom: 6px; }
.ch-hero .sub { font-family: "Pirata One", serif; font-size: 26px; color: var(--crimson); color: #e8665e; margin-bottom: 18px; }
.ch-hero .poster { border-radius: 22px; overflow: hidden; border: 1px solid #3b2a1f; box-shadow: 0 30px 70px rgba(0,0,0,0.6); max-width: 360px; justify-self: center; }
.ch .btn-primary { background: var(--crimson); color: #fff3e0; }
.ch .btn-primary:hover { background: #d22d3c; color: #fff; }
.icon-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.icon-row img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.status { color: var(--muted); font-size: 15px; margin-top: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #1e1a1a; border: 1px solid #36282a; border-radius: var(--radius); padding: 24px; }
.feature h3 { font-family: "Pirata One", serif; font-weight: 400; font-size: 26px; color: #f1d38a; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; }
.gallery figure { margin: 0; background: #0f0e12; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.gallery .wide { grid-column: 1 / -1; }

.fair { background: #1e1a1a; border: 1px solid #36282a; border-radius: 24px; padding: 34px 36px; }
.fair ul { margin: 0; padding-left: 20px; color: var(--muted); }
.fair li { margin-bottom: 6px; }

/* Long text (privacy, support) */
.doc { max-width: 760px; }
.doc h1 { margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 26px; margin-top: 40px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 10px; }
.doc .summary { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 22px; color: var(--ink); }
.doc .box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 18px 0; }
.ch .doc h2 { font-family: "Baloo 2", sans-serif; font-weight: 800; letter-spacing: 0; }

@media (max-width: 860px) {
  .hero-grid, .ch-hero .wrap { grid-template-columns: 1fr; }
  .game-card { grid-template-columns: 1fr; }
  .game-card .art { max-height: 360px; }
  .values, .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav { gap: 14px; }
  .brand small { display: none; }
  section { padding: 52px 0; }
  .contact, .fair, .game-card .body { padding: 26px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .nav a.hide-sm { display: none; }
}
.doc ol { padding-left: 22px; }
.doc ol li { margin-bottom: 10px; }
.doc ul ul { margin-top: 8px; }
.doc ul ul li { margin-bottom: 4px; }
.nav a { white-space: nowrap; }
@media (max-width: 860px) { .game-card .art img { object-position: center top; } }
@media (max-width: 520px) { .nav { gap: 12px; font-size: 14px; } .brand { font-size: 19px; } }

/* Tester section */
.tester-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: start; }
.steps { padding-left: 22px; color: var(--muted); margin: 0 0 8px; }
.steps li { margin-bottom: 10px; }
.steps strong { color: var(--ink); }
.reward { background: linear-gradient(160deg, #2a1d14, #1e1a1a 60%); border: 1px solid #5a4322; border-radius: 24px; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.reward ul { padding-left: 20px; color: var(--muted); margin: 0 0 14px; }
.reward li { margin-bottom: 6px; }
.reward .small { font-size: 14px; color: var(--muted); margin: 0; }
.reward-badge { display: flex; justify-content: center; margin: 4px 0 18px; }
.reward-badge span { font-family: "Pirata One", serif; font-size: 34px; color: #f6dc8f; padding: 8px 26px; border: 2px solid var(--gold); border-radius: 999px; background: radial-gradient(circle at 50% 30%, #4a2a14, #24170f); text-shadow: 0 2px 0 #5a1016; box-shadow: inset 0 0 0 4px rgba(232,182,76,0.18), 0 0 30px rgba(232,182,76,0.18); }
@media (max-width: 860px) { .tester-grid { grid-template-columns: 1fr; } .reward { padding: 24px; } }
