/* Tanıtım sayfası (www.thepurgatorydungeon.com kökü). Oyun burada DEĞİL:
   App Store sürümü ücretli olduğu için web'de yalnız gizli test yolunda. */

@font-face {
  font-family: 'Cinzel';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/cinzel-latin-900-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Alegreya Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/alegreya-sans-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/alegreya-sans-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/alegreya-sans-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/alegreya-sans-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --night: #0b0a0e;
  --text: #ece4f2;
  --dim: #a79fb3;
  --gold: #e8b45a;
  --gold-bright: #ffd98a;
  --line: rgba(232, 180, 90, 0.28);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font: 17px/1.55 'Alegreya Sans', Georgia, serif;
  overflow-x: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Dil: yalnız seçili dildeki metinler görünür */
[data-lang='en'] .tr,
[data-lang='tr'] .en {
  display: none !important;
}

/* Gökyüzü: üstte cennet ışığı, altta cehennem koru */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 45% at 50% -8%, rgba(246, 228, 176, 0.22), transparent 70%),
    radial-gradient(55% 40% at 50% 52%, rgba(140, 76, 220, 0.12), transparent 70%),
    radial-gradient(80% 45% at 50% 112%, rgba(214, 64, 30, 0.32), transparent 70%),
    var(--night);
}

.top {
  display: flex;
  justify-content: flex-end;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 16px 0;
}
.lang {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 17, 25, 0.8);
  color: var(--dim);
  font: 700 13px 'Cinzel', Georgia, serif;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  text-align: center;
  padding: 12px 0 8px;
}
.icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(140, 76, 220, 0.35);
  image-rendering: pixelated;
}
.kicker {
  margin: 26px 0 0;
  font: 700 12px 'Cinzel', Georgia, serif;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dim);
}
h1 {
  margin: 10px 0 6px;
  font: 900 clamp(40px, 9vw, 76px) / 1.04 'Cinzel', Georgia, serif;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff1cc 10%, #e8b45a 55%, #8a5a1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(232, 180, 90, 0.25));
}
.other {
  margin: 0;
  font: 700 13px 'Cinzel', Georgia, serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}
.tagline {
  margin: 18px auto 0;
  max-width: 40ch;
  font-size: 21px;
  font-style: italic;
  color: var(--text);
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(255, 217, 138, 0.14), rgba(232, 180, 90, 0.05));
  color: var(--gold-bright);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 0 30px rgba(232, 180, 90, 0.18);
}
.store-btn {
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
  padding: 14px 28px;
  color: #2a1604;
  background: linear-gradient(180deg, #ffd98a, #e8b45a 55%, #c98a2e);
  border-color: #ffe7b0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 30px rgba(232, 180, 90, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.store-btn .spark {
  color: #6b3d0c;
}
.store-btn:hover,
.store-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 38px rgba(232, 180, 90, 0.5);
}
.store-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--dim);
}
.cta-again {
  margin: 44px 0 0;
  text-align: center;
}
.spark {
  color: var(--gold);
}

/* Ekran görüntüleri: ortadaki önde, yanlar hafif geride */
.shots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 56px 0 24px;
}
.shots figure {
  margin: 0;
  width: min(240px, 28vw);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  opacity: 0.82;
  transform: scale(0.92);
}
.shots figure.mid {
  opacity: 1;
  transform: none;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(232, 180, 90, 0.15);
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
}
.features article {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 23, 31, 0.85), rgba(12, 11, 15, 0.85));
}
.features h2 {
  margin: 0 0 8px;
  font: 700 18px 'Cinzel', Georgia, serif;
  color: var(--gold-bright);
}
.features p {
  margin: 0;
  color: var(--dim);
}

.small-print {
  margin: 36px auto 0;
  max-width: 46ch;
  text-align: center;
  font-size: 18px;
  font-style: italic;
  color: var(--gold-bright);
}

.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 16px 40px;
  text-align: center;
  color: var(--dim);
  font-size: 15px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
}
.foot a {
  color: var(--gold);
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
}
.foot p {
  margin: 14px 0 0;
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .kicker {
    letter-spacing: 0.22em;
  }
  .tagline {
    font-size: 19px;
    line-height: 1.4;
  }
  .soon {
    padding: 11px 18px;
    font-size: 15px;
  }
  .shots {
    gap: 10px;
    margin-top: 40px;
  }
  .shots figure {
    width: 30vw;
    border-radius: 16px;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}
