/* Od Games · one deliberate look: a winter night on the steppe, lit by embers (od = fire). */

@font-face {
  font-family: 'Cinzel';
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/cinzel-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Cinzel';
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/cinzel-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/lato-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122;
}
@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/lato-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Old Turkic';
  font-display: swap;
  src: url(/fonts/noto-sans-old-turkic-400-old-turkic.woff2) format('woff2');
}

:root {
  color-scheme: dark;
  --gece: #0b0f1a; /* night */
  --gece2: #121a2b;
  --gece3: #1a2438;
  --kar: #ece6dc; /* snow: text */
  --soluk: #a39c92; /* muted text */
  --cizgi: rgba(236, 230, 220, 0.12);
  --altin: #c9a45c;
  --altin2: #e6c888;
  --kor: #ff7a3a; /* ember: Od Ana's colour in the game */
  --kor2: #ffb067;
  --hata: #ff8f7a;
  --disp: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rune: 'Old Turkic', 'Noto Sans Old Turkic', 'Segoe UI Historic', sans-serif;
  --gut: max(16px, 4vw);
  --inL: max(var(--gut), env(safe-area-inset-left, 0px));
  --inR: max(var(--gut), env(safe-area-inset-right, 0px));
}

* {
  box-sizing: border-box;
}
html {
  background: var(--gece);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--gece);
  color: var(--kar);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--altin2);
  text-underline-offset: 3px;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--kor2);
  outline-offset: 3px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: var(--inL);
  padding-right: var(--inR);
}
.narrow {
  max-width: 760px;
}
[lang='otk'] {
  font-family: var(--rune);
  direction: rtl;
  unicode-bidi: isolate;
}

/* ---------- top bar ---------- */
.bar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--inR) 0 var(--inL);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kar);
  text-decoration: none;
  font: 700 15px/1 var(--disp);
  letter-spacing: 0.24em;
}
.mark svg {
  width: 26px;
  height: 26px;
  color: var(--kor);
  filter: drop-shadow(0 0 8px rgba(255, 122, 58, 0.55));
}
.lang {
  display: flex;
  box-shadow: inset 0 0 0 1px var(--cizgi);
  border-radius: 999px;
  padding: 3px;
  background: rgba(11, 15, 26, 0.5);
}
.lang button {
  border: 0;
  background: none;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--soluk);
  cursor: pointer;
}
.lang button[aria-pressed='true'] {
  background: var(--altin);
  color: var(--gece);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: min(100svh, 860px);
  padding: calc(env(safe-area-inset-top, 0px) + 92px) var(--inR) 56px var(--inL);
  background:
    radial-gradient(60% 45% at 72% 22%, rgba(120, 150, 205, 0.22), transparent 70%),
    linear-gradient(180deg, #0a0e19 0%, #142038 55%, #22314c 100%);
}
/* the snow plain at the foot of the hero */
.hero::after {
  content: '';
  position: absolute;
  z-index: -2;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: min(16%, 140px);
  background: linear-gradient(180deg, #2c3d5c, #1b2740);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  box-shadow: 0 -1px 0 rgba(220, 232, 255, 0.18);
}
#kivilcim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}
.heroArt {
  position: absolute;
  z-index: -1;
  right: max(-6vw, -60px);
  bottom: 0;
  width: min(62vw, 760px);
  pointer-events: none;
}
.heroArt img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(10, 14, 25, 0.8));
  animation: nefes 7s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes nefes {
  50% {
    transform: scale(1.012) translateY(-2px);
  }
}
.heroText {
  align-self: center;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--altin2);
}
.eyebrow .rune {
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--altin);
}
h1 {
  margin: 0;
  font: 700 clamp(42px, 8.4vw, 92px) / 0.98 var(--disp);
  letter-spacing: 0.02em;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
.lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(18px, 2.1vw, 21px);
  color: #d8d2c8;
}
.soon {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kor2);
}
.soon i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--kor);
  box-shadow: 0 0 12px var(--kor);
  animation: kor 2.4s ease-in-out infinite;
}
@keyframes kor {
  50% {
    opacity: 0.45;
    box-shadow: 0 0 4px var(--kor);
  }
}

/* sign-up */
.signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin-top: 6px;
}
.signup .row {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(11, 15, 26, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(201, 164, 92, 0.5),
    0 10px 40px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.signup input[type='email'] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 12px 10px;
  font-size: 16px;
}
.signup input::placeholder {
  color: #8b8579;
}
.signup input[type='email']:focus-visible {
  outline: none;
}
.signup .row:focus-within {
  box-shadow:
    inset 0 0 0 1px var(--altin2),
    0 0 0 3px rgba(255, 176, 103, 0.25);
}
.btn,
.signup button,
#soru button {
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 12px 18px;
  min-height: 48px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1c1108;
  background: linear-gradient(180deg, var(--kor2), var(--kor));
  box-shadow: 0 6px 22px rgba(255, 122, 58, 0.35);
  white-space: nowrap;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.signup button:hover,
#soru button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 122, 58, 0.5);
}
button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--soluk);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--kor);
}
.msg {
  margin: 0;
  min-height: 1.5em;
  font-size: 15px;
  color: var(--altin2);
}
.msg.bad {
  color: var(--hata);
}
.signup.done .row,
.signup.done .consent {
  display: none;
}
.signup.done .msg {
  font-size: 17px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(11, 15, 26, 0.72);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.5);
}

/* ---------- sections ---------- */
section {
  padding-block: clamp(56px, 9vw, 112px);
}
.destan {
  padding-top: clamp(40px, 6vw, 72px);
}
.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kor2);
}
h2 {
  margin: 0 0 28px;
  font: 700 clamp(28px, 4.4vw, 46px) / 1.12 var(--disp);
  text-wrap: balance;
  max-width: 22ch;
}
h3 {
  margin: 0 0 8px;
  font: 700 20px/1.25 var(--disp);
  letter-spacing: 0.03em;
  color: var(--altin2);
}

.destan {
  background: linear-gradient(180deg, #1b2740 0%, var(--gece) 38%);
}
.feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 40px;
}
@media (min-width: 620px) {
  .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .feats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.feats p {
  margin: 0;
  color: #cfc8bd;
}
.num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font: 700 14px/24px var(--disp);
  letter-spacing: 0.1em;
  color: var(--kor);
}
.num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cizgi);
}

/* screenshots */
.kare {
  padding-bottom: clamp(48px, 8vw, 96px);
}
.kare h2 {
  margin-bottom: 24px;
}
.strip {
  list-style: none;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 560px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inL);
  padding: 4px var(--inR) 18px var(--inL);
  scrollbar-width: thin;
  scrollbar-color: var(--altin) transparent;
}
@media (min-width: 1180px) {
  .strip {
    padding-inline: calc((100vw - 1120px) / 2 + var(--gut));
    scroll-padding-inline: calc((100vw - 1120px) / 2 + var(--gut));
  }
}
.strip li {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.strip button {
  padding: 0;
  border: 0;
  background: var(--gece2);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow:
    0 0 0 1px var(--cizgi),
    0 18px 40px rgba(0, 0, 0, 0.45);
  aspect-ratio: 844 / 390;
  max-width: 100%;
}
.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.strip button:hover img {
  transform: scale(1.03);
}
.strip span {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--soluk);
}

dialog {
  padding: 0;
  border: 0;
  background: none;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  overflow: visible;
}
dialog::backdrop {
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(3px);
}
dialog img {
  max-height: 88vh;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--cizgi);
}
dialog .close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(236, 230, 220, 0.12);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* the studio */
.od {
  background:
    radial-gradient(50% 70% at 18% 50%, rgba(255, 122, 58, 0.16), transparent 70%),
    linear-gradient(180deg, var(--gece), #140f12 50%, var(--gece));
}
.odGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.odGrid p {
  margin: 0 0 16px;
  max-width: 60ch;
  color: #d8d2c8;
}
.odGrid em {
  font-style: normal;
  color: var(--kor2);
  font-weight: 700;
}
.odRune {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(255, 122, 58, 0.28), rgba(255, 122, 58, 0.04) 60%, transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 103, 0.18);
}
.odRune span {
  font-size: clamp(88px, 14vw, 150px);
  line-height: 1;
  color: var(--kor2);
  text-shadow:
    0 0 30px rgba(255, 122, 58, 0.7),
    0 0 80px rgba(255, 122, 58, 0.35);
  animation: titre 3.2s ease-in-out infinite;
}
.odRune svg {
  position: absolute;
  bottom: 14%;
  width: 28px;
  height: 28px;
  color: var(--kor);
  opacity: 0.8;
}
@keyframes titre {
  50% {
    text-shadow:
      0 0 22px rgba(255, 122, 58, 0.55),
      0 0 60px rgba(255, 122, 58, 0.25);
  }
}

/* questions */
#soru {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#soru .two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
#soru label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--soluk);
}
#soru input,
#soru textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 0;
  border-radius: 8px;
  background: var(--gece2);
  box-shadow: inset 0 0 0 1px var(--cizgi);
}
#soru textarea {
  resize: vertical;
  min-height: 130px;
}
#soru input:focus-visible,
#soru textarea:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--altin2);
}
#soru .send {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

/* footer */
footer {
  border-top: 1px solid var(--cizgi);
  padding-block: 40px calc(env(safe-area-inset-bottom, 0px) + 32px);
  background: #080b13;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.soc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--kar);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.45);
  transition: background 0.15s;
}
.sbtn:hover {
  background: rgba(201, 164, 92, 0.12);
}
.sbtn svg {
  width: 22px;
  height: 22px;
  color: var(--altin2);
}
.sbtn small {
  font-weight: 400;
  color: var(--soluk);
}
.sbtn small:empty {
  display: none;
}
.sbtn.yok {
  pointer-events: none;
  opacity: 0.55;
}
.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--soluk);
}

/* ---------- narrow / portrait phones ---------- */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding-bottom: 0;
    grid-template-rows: auto auto;
  }
  .heroArt {
    position: relative;
    z-index: -1;
    right: auto;
    width: calc(100% + 2 * var(--gut));
    max-width: 560px;
    margin: -8px auto 0;
    justify-self: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .hero::after {
    height: 64px;
  }
  .hero {
    grid-template-areas: 'text' 'art';
  }
  .heroText {
    grid-area: text;
  }
  .heroArt {
    grid-area: art;
  }
  .signup .row {
    flex-direction: column;
  }
  .signup button {
    width: 100%;
  }
  .odGrid {
    grid-template-columns: 1fr;
  }
  .odRune {
    max-width: 220px;
  }
}

/* phones held sideways: short screens */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100svh;
    padding-top: calc(env(safe-area-inset-top, 0px) + 64px);
    padding-bottom: 28px;
  }
  h1 {
    font-size: clamp(30px, 5.4vw, 46px);
  }
  .lede {
    font-size: 16px;
  }
  .heroText {
    gap: 10px;
    max-width: 56%;
  }
  .signup {
    margin-top: 0;
  }
  .heroArt {
    width: 46vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
