/* Elessar Software / Clever Lever — palette taken from the game's art */
:root {
  --carpet: #2b0d1f;   /* page background: the casino carpet */
  --velvet: #4a1430;   /* raised panels */
  --ink: #170810;      /* deepest shadow, text on gold */
  --cream: #f6e3c2;    /* logo cream: headings and body text */
  --gold: #f0b54a;     /* jackpot gold: frames, bulbs, links */
  --red: #d6402f;      /* slot machine red: primary action */
  --felt: #2f6a3f;     /* table felt: the studio band */
  --soft: #d9bfa6;     /* secondary text */
  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--carpet);
  /* quiet carpet motif: gold diamonds on plum */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(240, 181, 74, 0.10) 0 2px, transparent 3px),
    linear-gradient(45deg, rgba(98, 20, 39, 0.55) 25%, transparent 25% 75%, rgba(98, 20, 39, 0.55) 75%),
    linear-gradient(-45deg, rgba(98, 20, 39, 0.55) 25%, transparent 25% 75%, rgba(98, 20, 39, 0.55) 75%);
  background-size: 36px 36px, 36px 36px, 36px 36px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- top bar ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 18px 0; }
.studio { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--cream); text-decoration: none; white-space: nowrap; }
.topbar nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.topbar nav a:hover { color: var(--cream); }
.lang { background: transparent; border: 2px solid var(--gold); color: var(--gold); font: 700 0.85rem var(--body); padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.lang:hover { background: var(--gold); color: var(--ink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 40px 0 56px; }
.presents { color: var(--soft); font-weight: 600; margin: 0 0 6px; }
.title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--cream);
  /* stacked shadow like the logo: brown outline then deep drop */
  text-shadow: 3px 3px 0 #8a3b1c, 6px 6px 0 var(--ink);
}
.title .second { display: block; color: var(--red); text-shadow: 3px 3px 0 var(--cream), 6px 6px 0 var(--ink); }
.pitch { font-size: 1.25rem; max-width: 30em; margin: 0 0 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red);
  color: var(--cream);
  font: 800 1.05rem var(--body);
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid #f07a5f;
  box-shadow: 0 5px 0 #7c1d14;
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { color: var(--cream); transform: translateY(2px); box-shadow: 0 3px 0 #7c1d14; }
.btn:active { transform: translateY(5px); box-shadow: none; }
.btn[aria-disabled="true"] { cursor: default; }
.btn .knob { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a85, var(--red) 60%, #7c1d14); box-shadow: 0 0 0 2px var(--cream); }
.note { color: var(--soft); font-size: 0.9rem; margin-top: 14px; }

/* the marquee: one memorable thing — a bulb-lit frame around the game */
.marquee {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--gold), 0 24px 50px -18px rgba(0,0,0,.8);
}
.marquee::before {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 16px;
  background:
    radial-gradient(circle, #fff6d9 0 3px, var(--gold) 4px, transparent 6px) top left / 22px 8px repeat-x,
    radial-gradient(circle, #fff6d9 0 3px, var(--gold) 4px, transparent 6px) bottom left / 22px 8px repeat-x,
    radial-gradient(circle, #fff6d9 0 3px, var(--gold) 4px, transparent 6px) top left / 8px 22px repeat-y,
    radial-gradient(circle, #fff6d9 0 3px, var(--gold) 4px, transparent 6px) top right / 8px 22px repeat-y;
  animation: chase 1.6s steps(2) infinite;
  pointer-events: none;
}
@keyframes chase { 50% { filter: brightness(.55) saturate(.8); } }
.marquee img { border-radius: 10px; width: 100%; height: auto; border: 3px solid var(--ink); }
.marquee .badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--ink); color: var(--gold); border: 2px solid var(--gold);
  font: 700 0.85rem var(--body); padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}

/* ---------- sections ---------- */
section { padding: 80px 0; }
h2 {
  font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.05; margin: 0 0 14px; color: var(--cream);
}
.intro { max-width: 34em; color: var(--soft); margin: 0 0 40px; }

/* how it plays: a real sequence, so it is numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--velvet); border-radius: 18px; padding: 14px 14px 22px; border: 2px solid rgba(240,181,74,.35); }
.steps img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.steps h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 16px 6px 4px; display: flex; gap: 10px; align-items: baseline; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; flex: none; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 0.9rem var(--body); transform: translateY(-3px); }
.steps p { margin: 0 6px; color: var(--soft); }

.moments { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 20px; align-items: start; margin-top: 28px; }
.moments figure { margin: 0; background: var(--ink); border-radius: 16px; overflow: hidden; border: 2px solid rgba(240,181,74,.35); }
.moments img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.moments figure.logo img { aspect-ratio: 266 / 172; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 36px 0 0; list-style: none; }
.facts li { background: var(--ink); border: 1px solid rgba(240,181,74,.4); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; }

/* studio band on the felt */
.felt { background: var(--felt); background-image: radial-gradient(ellipse at top, rgba(255,255,255,.08), transparent 60%); border-block: 4px solid var(--gold); }
.felt .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.felt p { max-width: 32em; }
.mail { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 3.2vw, 1.7rem); color: var(--cream); word-break: break-all; }
.mail:hover { color: var(--gold); }

footer { padding: 28px 0 44px; color: var(--soft); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
footer a { color: var(--soft); }

/* ---------- text pages ---------- */
.page { padding: 24px 0 72px; max-width: 760px; }
.page h1 { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 900; font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 18px 0 24px; line-height: 1; }
.page h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; margin: 36px 0 10px; }
.page dl { display: grid; grid-template-columns: 10em 1fr; gap: 8px 24px; }
.page dt { color: var(--soft); }
.page dd { margin: 0; }
.page .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.page .shots img { border-radius: 10px; border: 2px solid rgba(240,181,74,.35); width: 100%; }

/* language switching */
html[data-lang="en"] [data-l="tr"],
html[data-lang="tr"] [data-l="en"] { display: none !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .steps { grid-template-columns: 1fr; max-width: 420px; }
  .moments { grid-template-columns: 1fr 1fr; }
  .moments figure.logo { grid-column: 1 / -1; }
  .felt .cols { grid-template-columns: 1fr; gap: 20px; }
  .page dl { grid-template-columns: 1fr; gap: 2px; }
  .page dd { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee::before { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
