@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin.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;
}

:root {
  color-scheme: dark;
  --night: #0a0724;
  --dusk: #150e3d;
  --violet: #7b3ff2;
  --lilac: #c9a6ff;
  --gold: #ffb52e;
  --lantern: #ff8a3d;
  --ink: #f3eeff;
  --muted: #a79bd6;
  --line: rgba(201, 166, 255, 0.18);
  --accent: var(--violet);
  --gutter: clamp(20px, 5vw, 56px);
  --measure: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--lilac); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- top bar ---------- */

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  padding-block: 22px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.topbar-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 7, 36, 0.45);
}
.topbar-link:hover { border-color: var(--lilac); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(120px, 17vw, 190px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 7, 36, 0.2) 0%, rgba(10, 7, 36, 0.55) 55%, var(--night) 100%),
    url("/img/bg.jpg") center top / cover no-repeat,
    var(--night);
}
.hero h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(64px, 13.5vw, 184px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.hero-lede {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 34ch;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.45;
  color: #ddd3ff;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 38px);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #1d1038;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.store:hover { color: #1d1038; background: #ffc656; transform: translateY(-2px); }
.store.is-quiet {
  background: rgba(243, 238, 255, 0.08);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.store.is-quiet:hover { background: rgba(243, 238, 255, 0.16); color: var(--ink); }

.hero-shot {
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: 1400px;
  padding-inline: clamp(0px, 2vw, 24px);
}
.hero-shot img {
  width: 100%;
  border-radius: clamp(14px, 2.4vw, 32px);
  box-shadow: 0 40px 120px -20px rgba(123, 63, 242, 0.55), 0 0 0 1px var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-lede, .stores { animation: settle 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-lede { animation-delay: 0.08s; }
  .stores { animation-delay: 0.16s; }
  .hero-shot img { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(0.97); } }

/* ---------- modes ---------- */

.modes { padding-block: clamp(72px, 10vw, 140px) clamp(24px, 4vw, 48px); }
.modes-intro {
  margin: 0 0 clamp(48px, 7vw, 96px);
  max-width: 22ch;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 60;
}

.mode {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 28px;
  align-items: center;
}
.mode + .mode { margin-top: clamp(72px, 10vw, 150px); }
.mode-shot { grid-column: 1 / span 7; }
.mode-text { grid-column: 8 / span 5; }
.mode.is-flipped .mode-shot { grid-column: 6 / span 7; order: 2; }
.mode.is-flipped .mode-text { grid-column: 1 / span 5; order: 1; }

.mode-shot img {
  width: 100%;
  border-radius: clamp(12px, 1.8vw, 24px);
  box-shadow: 0 30px 90px -30px var(--accent), 0 0 0 1px var(--line);
}

.mode h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 60;
}
.mode p { margin: 18px 0 0; max-width: 40ch; color: #d6ccf7; }

.said {
  position: relative;
  display: inline-block;
  margin: 22px 0 0;
  padding: 13px 20px;
  max-width: 32ch;
  border-radius: 22px 22px 22px 6px;
  background: color-mix(in srgb, var(--accent) 22%, var(--dusk));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 70%, transparent);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.mode p.said { color: var(--ink); }

.mode--sohbet { --accent: #8f5bff; }
.mode--kandiriyo { --accent: #c04dff; }
.mode--dedektif { --accent: var(--lantern); }
.mode--magaza { --accent: var(--gold); }

/* ---------- house rules ---------- */

.rules {
  margin-top: clamp(88px, 11vw, 160px);
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--dusk);
  border-block: 1px solid var(--line);
}
.rules h2 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48;
}
.rules-list {
  list-style: none;
  margin: clamp(32px, 4vw, 52px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.rules-list li { padding-top: 18px; border-top: 2px solid var(--violet); }
.rules-list strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.rules-list span { display: block; margin-top: 8px; color: var(--muted); font-size: 17px; }

/* ---------- closing ---------- */

.closing { padding-block: clamp(88px, 12vw, 170px); text-align: left; }
.closing h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
}

/* ---------- footer ---------- */

.foot { padding-block: 32px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- legal pages ---------- */

.legal-head { padding-block: 26px; border-bottom: 1px solid var(--line); }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 110px); }
.legal .wrap { max-width: 800px; }
.legal h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}
.legal .updated { margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.legal h2 {
  margin: 52px 0 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32;
}
.legal p, .legal li { color: #ddd5f8; max-width: 68ch; }
.legal p { margin: 14px 0 0; }
.legal ul { margin: 14px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--violet); }
.legal strong { color: var(--ink); font-weight: 700; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  body { font-size: 17px; }
  .mode-shot, .mode-text,
  .mode.is-flipped .mode-shot, .mode.is-flipped .mode-text { grid-column: 1 / -1; order: initial; }
  .rules-list { grid-template-columns: 1fr; }
  .store { flex: 1 1 100%; justify-content: center; }
}
