/* Bold Games Studio site: shared by the studio home page and each game's page */
@font-face { font-family: 'Cinzel'; src: url('/Cinzel.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }
:root { --bg: #0b1130; --bg2: #10257a; --ink: #f4f1ff; --dim: #b9c3e8; --gold: #ffcc4d; --gold2: #f4a03a; --card: rgba(255,255,255,.06); --line: rgba(255,255,255,.12); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); line-height: 1.55;
  background: radial-gradient(1200px 700px at 50% -10%, #1d4fd8 0%, var(--bg2) 35%, var(--bg) 75%) fixed, var(--bg); }
a { color: var(--gold); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Cinzel', serif; font-weight: 900; letter-spacing: 2px; font-size: 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--gold2)); display: grid; place-items: center; color: #2a1800; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
nav a { color: var(--dim); text-decoration: none; margin-left: 18px; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--ink); }
h1, h2, h3 { font-family: 'Cinzel', serif; letter-spacing: 1px; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 18px; }
section { padding: 36px 0; }
.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--dim); max-width: 680px; }
.gold-title { background: linear-gradient(180deg, #fff 30%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero: a big cartoon picture with the headline over its lower part */
.hero { position: relative; border-radius: 26px; overflow: hidden; margin-top: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.5); border: 1px solid var(--line); }
.hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 32px 28px; background: linear-gradient(180deg, transparent, rgba(6,10,36,.92) 70%); }
.hero h1 { font-size: clamp(30px, 6vw, 60px); line-height: 1.08; margin: 0 0 8px; }
.hero p { margin: 0; font-size: clamp(15px, 2.2vw, 20px); color: #dfe6ff; max-width: 640px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.btn.gold { background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #2a1800; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #555; border-radius: 10px; padding: 8px 16px; font-weight: 700; text-decoration: none; }
.badge small { display: block; font-size: 11px; font-weight: 500; color: #ccc; }
.badge .tri { width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid #34d399; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }

/* games grid on the studio page */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s; }
a.gcard:hover { transform: translateY(-3px); border-color: rgba(255,204,77,.5); }
.gcard .art { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; }
.gcard .body { padding: 18px 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.gcard .icon { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.gcard h3 { margin: 0 0 2px; font-size: 24px; }
.gcard .tag { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.gcard p { margin: 6px 0 0; color: var(--dim); font-size: 15px; }
.gcard .more { margin-top: 10px; font-weight: 800; color: var(--gold); }
.gcard.soon { justify-content: center; align-items: center; text-align: center; padding: 36px 24px; border-style: dashed; min-height: 260px; }
.gcard.soon .q { font-size: 54px; line-height: 1; margin-bottom: 10px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.values b { display: block; font-size: 18px; margin-bottom: 6px; }
.values span { color: var(--dim); font-size: 15px; }

/* game page */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.feature img { border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.feature ul { padding-left: 20px; color: var(--dim); margin: 10px 0 0; }
.feature li { margin: 6px 0; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 6px; scroll-snap-type: x mandatory; }
.shots img { width: 180px; flex: none; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,.4); scroll-snap-align: start; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); display: block; }
.crumb { color: var(--dim); font-size: 14px; text-decoration: none; }

.contact { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.contact .mail { font-size: 22px; font-weight: 800; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--dim); font-size: 14px; }
footer .links a { color: var(--dim); margin-right: 16px; display: inline-block; margin-bottom: 6px; }
footer .co { margin-top: 12px; line-height: 1.7; }

@media (max-width: 720px) {
  .brand { font-size: 14px; letter-spacing: 1px; } .brand .mark { width: 28px; height: 28px; font-size: 15px; }
  nav a { margin-left: 10px; font-size: 13px; } nav a.wide { display: none; }
  .hero { border-radius: 18px; }
  .hero img { aspect-ratio: 4 / 3; }
  .hero .over { position: static; padding: 18px 18px 22px; background: rgba(6,10,36,.92); }
  .games, .values, .feature, .gallery { grid-template-columns: 1fr; }
  .shots img { width: 150px; }
}
