/* A game's page (/oyunlar/<slug>/, /en/games/<slug>/): the canvas design "Oyun sayfaları", one responsive page on
   /ds/ds.css. The page is a container: desktop layout from 900 px of its own width,
   the phone layout below. The page root carries the game's colour class (t-<id>). */

.gp {
  container: gp / inline-size; min-height: 100vh; overflow: hidden;
  background: radial-gradient(1200px 700px at 70% -100px, rgba(var(--rgb), 0.22), transparent 70%), radial-gradient(900px 600px at 0 0, rgba(127, 108, 255, 0.18), transparent 70%), var(--night);
}
.gp a { color: inherit; text-decoration: none; }
.gp .i { width: 20px; height: 20px; }

/* top bar: home, where we are, the language */
.top { display: flex; align-items: center; gap: 18px; height: 76px; padding-top: env(safe-area-inset-top); }
.logo { font-size: 26px; } /* the brand logo on one line (ds.css .brand) */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--text-dim); }
.crumbs .i { width: 14px; height: 14px; }
.crumbs [aria-current] { color: #fff; }
.top .langbox { margin-left: auto; }

/* first screen */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; padding: 36px 0 70px; }
.hid { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ai.ai-hero { width: 96px; height: 96px; border-radius: 27px; transform: rotate(-4deg); }
.ai.ai-hero svg { width: 66px; height: 66px; }
.ai.ai-band { width: 72px; height: 72px; border-radius: 21px; transform: rotate(3deg); }
.ai.ai-band svg { width: 50px; height: 50px; }
.ai.ai-sm { width: 56px; height: 56px; border-radius: 16px; }
.ai.ai-sm svg { width: 38px; height: 38px; }
.genre { padding: 6px 12px; border-radius: 99px; background: rgba(var(--rgb), 0.14); border: 1px solid rgba(var(--rgb), 0.4); color: var(--c); font-size: 13px; font-weight: 1000; letter-spacing: 1.2px; text-transform: uppercase; }
.gp h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.h1s { font-size: 30px; font-weight: 900; line-height: 1.15; color: #ddd5f3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; font-weight: 900; }
.chips .i { width: 17px; height: 17px; color: var(--c); }
.chips .free { background: rgba(255, 210, 63, 0.12); border-color: rgba(255, 210, 63, 0.35); color: var(--sun-hi); }
.lead { margin-top: 22px; max-width: 560px; font-size: 19px; font-weight: 700; line-height: 1.55; color: #ddd5f3; }
.ctas { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; border-radius: 18px; background: var(--sun); font-size: 20px; font-weight: 1000;
  box-shadow: 0 6px 0 var(--sun-edge), 0 18px 34px rgba(0, 0, 0, 0.3); transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.gp a.cta { color: var(--on-light); }
.cta:hover { background: var(--sun-hi); }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--sun-edge), 0 10px 20px rgba(0, 0, 0, 0.3); }
.cta .i { width: 22px; height: 22px; stroke-width: 2.8; }
.howlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 900; }
.gp a.howlink { color: #cfc6ff; }
.howlink .i { width: 18px; height: 18px; }
.ctanote { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--text-faint); }
.hvis { position: relative; height: 620px; }
.glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--rgb), 0.38), transparent 65%); }
.ph { position: absolute; display: block; width: 290px; height: 627px; border-radius: 44px; padding: 10px; background: #0c0618; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12), 0 30px 60px rgba(0, 0, 0, 0.5); }
.ph img { display: block; width: 100%; height: 100%; border-radius: 34px; object-fit: cover; }
.hvis .front { left: 50%; top: 0; margin-left: -110px; transform: rotate(4deg); animation: gpFloat 6s ease-in-out infinite; }
.hvis .back { left: 50%; top: 40px; margin-left: -250px; transform: rotate(-9deg) scale(0.86); opacity: 0.75; filter: saturate(0.8); }
@keyframes gpFloat { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-10px); } }
/* a phone held sideways (Alın Yazısı) */
.ph.land { width: 560px; height: 259px; border-radius: 38px; padding: 9px; }
.ph.land img { border-radius: 30px; }
.hvis .back.land { z-index: 2; top: 410px; margin-left: -330px; transform: rotate(-6deg) scale(0.78); opacity: 1; filter: none; }

/* sections */
.sec { padding: 60px 0; }
.sec h2 { font-size: 40px; line-height: 1.1; font-weight: 1000; letter-spacing: -0.5px; margin-bottom: 26px; }
.what { display: flex; flex-direction: column; gap: 34px; }
.what .sh { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.what .sh h2 { margin: 0; }
.big { font-size: 20px; font-weight: 700; line-height: 1.6; color: #ddd5f3; }
.shots { display: flex; justify-content: center; align-items: flex-end; gap: 44px; }
.shots figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.shots .ph { position: relative; width: 250px; height: 541px; border-radius: 38px; padding: 9px; }
.shots .ph img { border-radius: 30px; }
.shots figure:nth-child(1) .ph { transform: rotate(-3deg); }
.shots figure:nth-child(3) .ph { transform: rotate(3deg); }
.shots figcaption { max-width: 260px; text-align: center; font-size: 15px; font-weight: 800; color: #cfc6ff; line-height: 1.45; }
.shots .ph.land { width: 420px; height: 194px; border-radius: 30px; padding: 8px; }
.shots .ph.land img { border-radius: 23px; }
.shots figure.wide figcaption { max-width: 380px; }
.nds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nd { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.ni { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--rgb), 0.16); color: var(--c); }
.ni .i { width: 26px; height: 26px; }
.nd p { font-size: 16px; font-weight: 700; line-height: 1.5; color: #ddd5f3; }
.nd a { text-decoration: underline; text-underline-offset: 3px; }
.gp .nd a { color: var(--c); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.sn { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--c), var(--c2)); color: var(--on-light); font-size: 22px; font-weight: 1000; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4); }
.steps p { font-size: 16px; font-weight: 700; line-height: 1.55; color: #ddd5f3; }
.steps li:not(:nth-child(3n))::after { content: ""; position: absolute; right: -14px; top: 42px; width: 12px; height: 2px; background: rgba(var(--rgb), 0.6); }
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tip { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 26px; border-radius: 6px 6px 22px 22px; background: #fff8e8; color: var(--on-light); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.tip:nth-child(1) { transform: rotate(-1.5deg); }
.tip:nth-child(2) { transform: rotate(1deg); }
.tip:nth-child(3) { transform: rotate(-0.6deg); }
.tip::before { content: ""; position: absolute; left: 50%; top: -10px; width: 80px; height: 22px; margin-left: -40px; background: rgba(var(--rgb), 0.55); transform: rotate(-3deg); }
.ti { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--on-light); }
.ti .i { width: 22px; height: 22px; }
.tip p { font-size: 16px; font-weight: 800; line-height: 1.5; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 40px 0 20px; padding: 34px 40px; border-radius: 30px; background: linear-gradient(120deg, rgba(var(--rgb), 0.32), rgba(var(--rgb), 0.08) 60%), rgba(255, 255, 255, 0.04); border: 2px solid rgba(var(--rgb), 0.5); }
.band .bl { display: flex; align-items: center; gap: 20px; }
.band .bl b { display: block; font-size: 34px; font-weight: 1000; line-height: 1.1; }
.band .bl span { font-size: 18px; font-weight: 800; color: #ddd5f3; }
.band .br { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: 420px; text-align: right; }
.band .br p { font-size: 14px; font-weight: 700; color: #cfc6ff; }
.ocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.oc { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: linear-gradient(120deg, rgba(var(--rgb), 0.16), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(var(--rgb), 0.3); transition: transform 0.15s ease, border-color 0.15s ease; }
.oc:hover { transform: translateY(-2px); border-color: rgba(var(--rgb), 0.75); }
.oc .ot { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oc b { font-size: 18px; font-weight: 1000; }
.oc .ot span { font-size: 14px; font-weight: 700; color: #ddd5f3; }
.oc small { font-size: 12.5px; font-weight: 800; color: var(--c); }
.oc > .i { margin-left: auto; color: var(--text-faint); }
.oc a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; }
.oc a:focus-visible { outline: none; }
.oc:focus-within { outline: 3px solid var(--sun); outline-offset: 3px; }
.gp .foot { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 40px; padding: 34px 0 calc(46px + env(safe-area-inset-bottom)); font-weight: 800; color: var(--text-faint); }
.gp .foot nav { gap: 22px; }
.gp .foot a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 3px; }

/* phone */
.sqs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sqd p b { display: block; margin-bottom: 2px; color: #fff; font-size: 18px; }
.sqi { font-size: 16px; font-weight: 1000; letter-spacing: -0.2px; }
.sqi.l2 { background: rgba(184, 236, 74, 0.22); color: #dcf7a4; }
.sqi.l3 { background: #5f8a1a; color: #efffc9; }
.sqi.w2 { background: rgba(255, 111, 174, 0.3); color: #ffd0e4; }
.sqi.w3 { background: #c23d7d; color: #ffe3ef; }
.sqi.st { background: #3a2a66; }
.sqi.st svg { width: 26px; height: 26px; fill: #b8ec4a; }
.vals { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.vrow { display: flex; gap: 8px; flex: none; }
.vt { position: relative; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(#ffffff, #e9e3fb); color: #1b1033; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
.vt b { font-size: 22px; font-weight: 1000; }
.vt i { position: absolute; right: 4px; bottom: 2px; font-style: normal; font-size: 10px; font-weight: 1000; opacity: 0.7; }
.vals p { font-size: 16px; line-height: 1.5; color: #ddd5f3; }
.credit { margin-top: 14px; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--text-dim); }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@container gp (max-width: 899px) {
  .top { height: 64px; gap: 10px; }
  .logo { font-size: 21px; }
  .crumbs { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 0 30px; }
  .htx { display: contents; }
  .hid { gap: 12px; margin-bottom: 14px; }
  .ai.ai-hero { width: 64px; height: 64px; border-radius: 18px; }
  .ai.ai-hero svg { width: 44px; height: 44px; }
  .genre { font-size: 11px; padding: 5px 10px; }
  .wm { font-size: 58px; }
  .wm-chain { font-size: 64px; }
  .wm-spy .o { -webkit-text-stroke-width: 2.2px; }
  .wm.long { font-size: 44px; }
  .wm.long .stk { width: 42px; height: 42px; font-size: 13px; right: -18px; top: -22px; }
  .h1s { font-size: 22px; }
  .chips { margin-top: 16px; gap: 6px; }
  .chips li { padding: 6px 11px; font-size: 12.5px; }
  .hvis { order: 2; height: 440px; margin-top: 10px; }
  .hvis.sideways { height: 474px; } /* the sideways phone hangs lower */
  .hvis .ph { width: 200px; height: 433px; border-radius: 32px; padding: 7px; }
  .hvis .ph img { border-radius: 25px; }
  .hvis .front { margin-left: -80px; }
  .hvis .back { margin-left: -170px; top: 30px; }
  .hvis .back.land { width: 290px; height: 134px; top: 318px; margin-left: -185px; border-radius: 24px; padding: 6px; transform: rotate(-6deg); }
  .hvis .back.land img { border-radius: 19px; }
  .glow { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .lead { order: 3; margin-top: 14px; font-size: 16.5px; }
  .ctas { order: 4; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; width: 100%; }
  .cta { justify-content: center; padding: 17px 20px; font-size: 19px; }
  .howlink { justify-content: center; }
  .ctanote { order: 5; text-align: center; font-size: 13px; }
  .sec { padding: 34px 0; }
  .sec h2 { font-size: 28px; margin-bottom: 16px; }
  .what .sh { display: flex; flex-direction: column; gap: 12px; }
  .big { font-size: 16.5px; }
  .shots { justify-content: flex-start; gap: 16px; overflow-x: auto; margin: 0 -20px; padding: 8px 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: none; width: 200px; scroll-snap-align: start; }
  .shots .ph { width: 190px; height: 411px; border-radius: 30px; padding: 7px; }
  .shots .ph img { border-radius: 24px; }
  .shots figcaption { font-size: 13px; }
  .shots figure.wide { width: 320px; }
  .shots .ph.land { width: 310px; height: 143px; border-radius: 24px; padding: 6px; }
  .shots .ph.land img { border-radius: 19px; }
  .nds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nd { padding: 16px; gap: 10px; }
  .nd p { font-size: 14px; }
  .ni { width: 40px; height: 40px; }
  .sqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sqs .sqd:last-child { grid-column: 1 / -1; }
  .sqd p b { font-size: 16px; }
  .vals { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .vrow { gap: 5px; }
  .vt { width: 30px; height: 30px; border-radius: 7px; }
  .vt b { font-size: 15px; }
  .vt i { font-size: 8px; right: 3px; }
  .vals p { font-size: 14px; }
  .steps { display: flex; flex-direction: column; gap: 0; }
  .steps li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 0 0 18px; background: none; border: 0; }
  .steps li::after, .steps li:not(:nth-child(3n))::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; right: auto; width: 2px; height: auto; background: rgba(var(--rgb), 0.4); }
  .steps li:last-child::after { display: none; }
  .sn { flex: none; }
  .steps p { font-size: 15px; padding-top: 9px; }
  .tips { display: flex; flex-direction: column; gap: 20px; }
  .tip { padding: 20px 18px; }
  .tip p { font-size: 15px; }
  .band { flex-direction: column; align-items: stretch; padding: 22px 20px; gap: 18px; }
  .band .bl b { font-size: 26px; }
  .band .bl span { font-size: 15px; }
  .ai.ai-band { width: 56px; height: 56px; border-radius: 16px; }
  .ai.ai-band svg { width: 38px; height: 38px; }
  .band .br { align-items: stretch; text-align: center; }
  .band .cta { justify-content: center; }
  .ocs { display: flex; flex-direction: column; gap: 10px; }
  .oc { padding: 12px; }
  .oc b { font-size: 16px; }
  .oc .ot span { font-size: 13px; }
  .gp .foot { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 0 calc(34px + env(safe-area-inset-bottom)); }
}
