:root {
  --bg: #0b0d1e;
  --bg2: #12163a;
  --panel: #171c4a;
  --line: #2a3070;
  --text: #e9ecff;
  --dim: #a3aad6;
  --teal: #4fd9c0;
  --gold: #f5b03c;
  --pink: #f47ba3;
  --blue: #8a9cf5;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--round);
  background-image: radial-gradient(1200px 600px at 50% -10%, #232a6e 0%, rgba(11, 13, 30, 0) 70%);
  background-repeat: no-repeat;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* language: both texts are in the page, the one not chosen is hidden */
html[data-lang="tr"] [lang="en"]:not(html), html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.02em; font-size: 19px; }
.brand:hover { text-decoration: none; }
.mark { display: grid; grid-template-columns: 9px 9px; gap: 3px; }
.mark i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.mark i:nth-child(1) { background: var(--teal); } .mark i:nth-child(2) { background: var(--gold); }
.mark i:nth-child(3) { background: var(--pink); } .mark i:nth-child(4) { background: var(--blue); }
.langs { display: flex; gap: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button { font: 600 13px var(--round); color: var(--dim); background: none; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--line); color: var(--text); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--dim); max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

section { padding: 56px 0; }
.hero { padding: 48px 0 40px; }

/* game card on the studio page */
.game { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; color: var(--text); }
.game:hover { text-decoration: none; border-color: var(--blue); }
.game img { width: 120px; height: 120px; flex: none; border-radius: 27px; display: block; }
.game h3 { margin-bottom: 4px; font-size: 24px; }
.game p { color: var(--dim); margin: 0 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: rgba(255, 255, 255, 0.06); color: var(--dim); }
.tag.t { color: var(--teal); } .tag.g { color: var(--gold); } .tag.p { color: var(--pink); }

/* store buttons (plain text, no store artwork) */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 170px; padding: 9px 18px; border-radius: 14px; background: #fff; color: #0b0d1e; font-weight: 800; line-height: 1.2; }
.store small { font-weight: 600; font-size: 12px; opacity: 0.65; }
.store.soon { background: var(--bg2); color: var(--text); border: 1px solid var(--line); }
.store:hover { text-decoration: none; }

/* QUAD hero */
.qhero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 24px; }
.qhero .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); margin-bottom: 18px; }
.phones { display: flex; gap: 14px; justify-content: center; }
.phone { width: 46%; max-width: 230px; border-radius: 26px; border: 6px solid #05060f; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line); overflow: hidden; background: #05060f; }
.phone img { width: 100%; height: auto; display: block; }
.phone.up { transform: translateY(-22px); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.mode img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 42%; display: block; }
.mode div { padding: 18px 20px 20px; }
.mode h3 span { display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.mode.m h3 span { color: var(--teal); } .mode.s h3 span { color: var(--gold); } .mode.l h3 span { color: var(--blue); }
.mode p { color: var(--dim); margin: 0; }

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; padding: 0; margin: 0; list-style: none; }
.feats li { position: relative; padding-left: 26px; color: var(--dim); }
.feats li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 4px; background: var(--teal); }
.feats li:nth-child(4n+2)::before { background: var(--gold); } .feats li:nth-child(4n+3)::before { background: var(--pink); } .feats li:nth-child(4n+4)::before { background: var(--blue); }
.feats b { color: var(--text); }

.faq details { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--dim); margin: 10px 0 0; }

.contact { background: linear-gradient(135deg, rgba(79, 217, 192, 0.14), rgba(138, 156, 245, 0.14)); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.mail { font-size: 22px; font-weight: 800; }

.doc { max-width: 720px; padding: 30px 0 60px; }
.doc h2 { margin-top: 30px; font-size: 22px; }
.doc ul { padding-left: 22px; color: var(--dim); }
.doc li { margin-bottom: 8px; }
.doc .note { color: var(--dim); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .qhero { grid-template-columns: 1fr; gap: 28px; }
  .modes { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .game { grid-template-columns: 84px 1fr; padding: 16px; gap: 16px; }
  .game img { width: 84px; height: 84px; border-radius: 19px; }
  .store { min-width: 0; flex: 1 1 140px; }
  section { padding: 40px 0; }
}

/* Art Rivals: a landscape game, so landscape screenshots instead of phones */
.ahero { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 40px; align-items: center; padding: 40px 0 24px; }
.ahero .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); margin-bottom: 18px; }
.ahero > *, .shots > * { min-width: 0; }
.shot { border-radius: 18px; border: 6px solid #05060f; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line); overflow: hidden; background: #05060f; }
.shot img { width: 100%; height: auto; display: block; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.shots figure { margin: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.shots img { width: 100%; height: auto; display: block; }
.shots figcaption { padding: 12px 16px; color: var(--dim); font-size: 15px; }
@media (max-width: 760px) {
  .ahero, .shots { grid-template-columns: 1fr; gap: 24px; }
}
