:root {
  --bg: #0c0a0d;
  --bg-2: #161218;
  --ink: #f6efe8;
  --muted: #b7aaa0;
  --wine: #c43b55;
  --wine-deep: #7a1f35;
  --gold: #e2c39a;
  --line: rgba(246, 239, 232, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.fx-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.fx-spot {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(196, 59, 85, 0.22), transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.is-pointer .fx-spot {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(12, 10, 13, 0.85), transparent);
  backdrop-filter: blur(8px);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--gold);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-radius: 0.45rem;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 7rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(196, 59, 85, 0.35), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(226, 195, 154, 0.12), transparent 50%),
    linear-gradient(165deg, #120d11 0%, #1a1016 40%, #0c0a0d 100%);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-ring {
  position: absolute;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  border: 1px solid rgba(226, 195, 154, 0.18);
  border-radius: 50%;
  right: -8%;
  top: 8%;
  animation: spin 28s linear infinite;
}

.hero-ring.delay {
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  right: 4%;
  top: 18%;
  border-color: rgba(196, 59, 85, 0.25);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}

.hero-blob.a {
  width: 340px;
  height: 340px;
  background: rgba(196, 59, 85, 0.45);
  top: 18%;
  right: 12%;
  animation: floaty 9s ease-in-out infinite alternate;
}

.hero-blob.b {
  width: 280px;
  height: 280px;
  background: rgba(226, 195, 154, 0.18);
  bottom: 10%;
  left: 8%;
  animation: floaty 12s ease-in-out infinite alternate-reverse;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floaty {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.1);
  }
}

.hero-copy {
  max-width: 40rem;
  animation: rise 1s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 8rem);
  line-height: 0.88;
  font-weight: 600;
}

.hero-brand em {
  font-style: italic;
  color: var(--gold);
}

.hero-line {
  margin: 0 0 1.8rem;
  color: rgba(246, 239, 232, 0.88);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  max-width: 30rem;
  font-family: var(--font-display);
  font-style: italic;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, #e8d2b4, #c43b55 70%);
  color: #120d11;
  box-shadow: 0 14px 40px rgba(196, 59, 85, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.hero-meter {
  position: absolute;
  right: max(1rem, calc((100vw - 1120px) / 2));
  bottom: 5.5rem;
  z-index: 3;
  width: min(220px, 40vw);
  display: grid;
  gap: 0.4rem;
}

.hero-meter span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
}

.meter-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.meter-bar i {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  animation: meterPulse 3.5s ease-in-out infinite;
}

@keyframes meterPulse {
  0%,
  100% {
    width: 38%;
  }
  50% {
    width: 72%;
  }
}

.marquee {
  border-block: 1px solid var(--line);
  background: #110e12;
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}

.marquee-track span {
  padding-right: 2rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.02;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.play {
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(196, 59, 85, 0.12), transparent 60%),
    var(--bg);
}

.pressure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.pressure {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  display: grid;
  align-content: end;
  gap: 0.45rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.pressure:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: rgba(226, 195, 154, 0.4);
}

.pressure-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: -20px;
  right: -20px;
  filter: blur(8px);
  opacity: 0.55;
}

.p1 .pressure-orb {
  background: #c43b55;
}
.p2 .pressure-orb {
  background: #4d7cff;
}
.p3 .pressure-orb {
  background: #d4a84b;
}
.p4 .pressure-orb {
  background: #7d5cff;
}

.pressure strong {
  font-family: var(--font-display);
  font-size: 2rem;
  position: relative;
}

.pressure span {
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
}

.demo {
  background:
    radial-gradient(700px 360px at 70% 20%, rgba(226, 195, 154, 0.1), transparent 55%),
    #100d11;
}

.demo-shell {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.demo-shell .section-head {
  margin-bottom: 0;
}

.choice-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: min(640px, 100%);
}

.choice {
  min-height: 4.2rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.choice:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
}

.choice.alt:hover {
  border-color: var(--wine);
}

.choice.is-picked {
  background: linear-gradient(135deg, rgba(226, 195, 154, 0.25), rgba(196, 59, 85, 0.35));
  border-color: var(--gold);
  transform: scale(1.03);
}

.demo-result {
  margin: 0;
  max-width: 34rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  animation: rise 0.5s ease both;
}

.karma-gauge {
  position: relative;
  width: 140px;
  height: 140px;
  margin-top: 0.5rem;
}

.karma-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.gauge-fg {
  fill: none;
  stroke: url(#none);
  stroke: var(--wine);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 163;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gauge-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.gauge-label b {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.gauge-label small {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.journey li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease;
}

.journey li:hover {
  transform: translateX(8px);
}

.journey em {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--wine);
  font-style: normal;
}

.journey h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.journey p {
  margin: 0;
  color: var(--muted);
}

.quote-panel {
  border-radius: 1.4rem;
  padding: 2rem;
  min-height: 100%;
  display: grid;
  align-content: end;
  background:
    linear-gradient(160deg, rgba(196, 59, 85, 0.55), rgba(12, 10, 13, 0.9)),
    radial-gradient(circle at 80% 10%, rgba(226, 195, 154, 0.35), transparent 45%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: glow 5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.2) brightness(1.05);
  }
}

.quote-panel blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  font-style: italic;
}

.quote-panel span {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.finale {
  padding-bottom: 6rem;
}

.finale-box {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 59, 85, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.finale-box h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.finale-box p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.legal-page {
  padding: 7rem 0 4rem;
  color: var(--ink);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 0 0 0.5rem;
}

.legal-page .meta,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page h2 {
  font-family: var(--font-display);
  margin: 2rem 0 0.6rem;
}

.challenge-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.challenge-card {
  width: min(420px, 100%);
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  text-align: center;
}

.challenge-card h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
}

.challenge-card p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

@media (max-width: 900px) {
  .pressure-grid,
  .flow-grid,
  .choice-board {
    grid-template-columns: 1fr 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .nav a:nth-child(1),
  .nav a:nth-child(2),
  .nav a:nth-child(3) {
    display: none;
  }

  .hero-meter {
    display: none;
  }
}

@media (max-width: 560px) {
  .pressure-grid,
  .choice-board {
    grid-template-columns: 1fr;
  }
}

.dev-sig {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  user-select: none;
  padding: 0.35rem 0.15rem;
}

.dev-sig .dev-sig-prefix {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: #c43b55;
  text-shadow: 0 0 14px rgba(196, 59, 85, 0.55);
}

.dev-sig .dev-sig-slash {
  color: #e2c39a;
  font-weight: 500;
}

.dev-sig .dev-sig-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: #e8d4b4;
  text-shadow:
    0 0 16px rgba(196, 59, 85, 0.4),
    0 0 32px rgba(226, 195, 154, 0.35);
}

.site-footer .dev-sig {
  display: inline-flex;
  margin-top: 0.35rem;
}

/* Language blocks — CSS only, never use [hidden] */
.only-en,
.only-tr {
  display: none !important;
}

html[lang="en"] .only-en {
  display: block !important;
}

html[lang="tr"] .only-tr {
  display: block !important;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 3rem;
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(196, 59, 85, 0.28), transparent 55%),
    radial-gradient(500px 280px at 10% 80%, rgba(226, 195, 154, 0.1), transparent 50%),
    linear-gradient(165deg, #120d11 0%, #1a1016 45%, #0c0a0d 100%);
  border-bottom: 1px solid var(--line);
}

.legal-hero .wrap {
  position: relative;
  z-index: 2;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  margin: 0 0 0.5rem;
  line-height: 1.02;
  color: #f6efe8;
}

.legal-hero .meta {
  color: rgba(183, 170, 160, 0.9);
  margin: 0 0 1.25rem;
}

.legal-shell {
  padding: 3rem 0 4.5rem;
}

.legal-panel {
  max-width: 46rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.legal-panel h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2rem 0 0.6rem;
  color: var(--gold);
}

.legal-panel h2:first-of-type {
  margin-top: 0.5rem;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  max-width: none;
}

.legal-panel a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-panel ul {
  padding-left: 1.2rem;
}

body.has-legal .site-header {
  position: absolute;
}

body.has-legal .site-header .brand,
body.has-legal .nav {
  color: rgba(246, 239, 232, 0.92);
}

body.has-legal .lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #f6efe8;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 860px) {
  body.has-legal .nav a:not(.lang-toggle) {
    display: none;
  }
}

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

