:root {
  --bg: #020816;
  --ink: #eef6ff;
  --muted: #9db4d0;
  --pink: #a453f7;
  --pink-soft: #c4b5fd;
  --violet: #6d5efc;
  --cyan: #00effe;
  --blue: #0399e3;
  --line: rgba(160, 210, 255, 0.12);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Segoe UI", sans-serif;
  --radius: 26px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #0399e3 #020816;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(900px 480px at -10% -10%, rgba(3, 153, 227, 0.18), transparent 60%),
    radial-gradient(800px 520px at 110% 110%, rgba(164, 83, 247, 0.16), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

body.lock { overflow: hidden; }

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }

h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h2 { font-size: clamp(2.1rem, 4vw, 3.45rem); }

button, input { font: inherit; color: inherit; }

::selection { background: #a453f7; color: #fff; }

/* Scrollbar — koyu mor, site arka planı ile uyumlu */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #020816;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background: #0399e3;
}

*::-webkit-scrollbar-thumb:hover {
  background: #6d5efc;
}

*::-webkit-scrollbar-corner {
  background: #020816;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: #140814;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1140px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  color: var(--pink-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-sm { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.9rem; }

.btn-primary {
  color: #fff;
  border: 1px solid #0399e3;
  background: #0399e3 linear-gradient(90deg, #0399e3 0%, #6d5efc 48%, #a453f7 100%);
  box-shadow: 0 12px 32px rgba(3, 153, 227, 0.28);
}

.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.nav {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1380px, calc(100% - 1.2rem));
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  column-gap: 1rem;
  padding: 0.45rem 0.7rem 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(3, 12, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.nav.scrolled { background: rgba(2, 10, 28, 0.9); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links,
.nav-actions { display: flex; align-items: center; }

.nav-links {
  justify-self: center;
  gap: clamp(0.7rem, 1.15vw, 1.35rem);
  flex-wrap: nowrap;
  justify-content: center;
}

.nav-links a,
.nav-text-btn {
  color: #eef6ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0.2rem 0;
  cursor: pointer;
}

.nav-links a:hover,
.nav-text-btn:hover { color: #fff; }

.nav-links a.nav-current {
  color: var(--pink-soft);
}

.nav-actions {
  justify-self: end;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  --mx: 70%;
  --my: 46%;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 22, 0.9) 0%, rgba(2, 8, 22, 0.58) 32%, rgba(2, 8, 22, 0.12) 68%, rgba(2, 8, 22, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 8, 22, 0.5), transparent 18%, transparent 64%, #020816);
}

.cursor-glow {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 239, 254, 0.2), rgba(164, 83, 247, 0.12), transparent 68%);
  pointer-events: none;
  opacity: 0;
}

@media (pointer: fine) {
  .hero:hover .cursor-glow { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 7.4rem 0 4.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(164, 83, 247, 0.45);
  background: rgba(164, 83, 247, 0.1);
  color: #ffd0e8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(164, 83, 247, 0.7);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(164, 83, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(164, 83, 247, 0); }
}

.wordmark {
  margin: 0.85rem 0 0.2rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 6.6vw, 7.3rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
  color: #fff;
  background-image: linear-gradient(115deg, #ffffff 0%, #ffd6ec 34%, #d8b4fe 64%, #7ee7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role {
  margin: 0.35rem 0 1rem;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: #ff7ac0;
  padding-left: 0.15rem;
}

.lede {
  max-width: 38rem;
  color: #efe4f7;
  font-size: 1.12rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.connect-line {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.connect-line code,
.command {
  font-family: Consolas, "Cascadia Mono", monospace;
  color: #fff;
}

.connect-line code {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.18rem 0.45rem;
}

.hero-visual {
  position: relative;
  perspective: 1100px;
  perspective-origin: center center;
}

.frame {
  padding: 2px;
  border-radius: 30px;
  background-color: #0399e3;
  background-image: linear-gradient(90deg, #0399e3 0%, #00effe 45%, #a453f7 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 50px rgba(0, 239, 254, 0.16);
  transform-style: preserve-3d;
  transform-origin: center center;
  animation: frame-tilt 6.5s ease-in-out infinite;
}

/* Sağ geri / sol öne → tersi → tekrar */
@keyframes frame-tilt {
  0%, 100% { transform: rotateY(9deg); }
  50% { transform: rotateY(-9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .frame { animation: none; }
}

.frame img {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
}

.badge-logo {
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track p {
  margin: 0;
  padding: 0.85rem 0;
  color: #c9ddf5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

section { scroll-margin-top: 6.2rem; }

.intro { padding: 2.8rem 0 0.6rem; }

.tips-head {
  text-align: center;
  margin-bottom: 1.15rem;
}

.tips-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 148px;
  padding: 1.15rem 1rem;
  text-align: center;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(164, 83, 247, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.tip-wide { grid-column: 2 / 4; }

.tip-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 196, 0.45);
  background: rgba(164, 83, 247, 0.12);
  color: #ffd0e8;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tip-card p {
  margin: 0;
  max-width: 16rem;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.block-title {
  margin: 2rem 0 0.9rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-grid.trio { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: #120818;
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.feature-card:hover img { transform: scale(1.05); }

.feature-card > div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.2rem 1.2rem 1.25rem;
  background: linear-gradient(transparent, rgba(2, 8, 22, 0.94) 36%);
}

.feature-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--pink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.feature-card p { color: #c9ddf5; font-size: 0.95rem; }

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pill:hover {
  background: rgba(164, 83, 247, 0.14);
  border-color: rgba(164, 83, 247, 0.45);
}

#tuslar,
#baslangic,
#sistemler,
#meslekler,
#olusumlar,
#sehir,
#kurallar,
#katil { padding: 4.6rem 0; }

.sec-banner {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  border: 1px solid var(--line);
  margin-bottom: 1.4rem;
}

.sec-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec-banner > div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem 1.4rem 1.4rem;
  background: linear-gradient(transparent, rgba(2, 8, 22, 0.92) 40%);
}

.sec-banner h2 { margin-bottom: 0.35rem; }
.sec-banner p:last-child { color: #c9ddf5; max-width: 36rem; }
.sec-banner code {
  font-family: Consolas, "Cascadia Mono", monospace;
  color: #fff;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #120818;
}

.visual-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.visual-card:hover > img { transform: scale(1.05); }

.visual-card > div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.2rem 1.15rem 1.2rem;
  background: linear-gradient(transparent, rgba(2, 8, 22, 0.94) 38%);
}

.visual-card .tag {
  margin: 0 0 0.35rem;
  color: var(--pink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.visual-card p { color: #c9ddf5; margin-bottom: 0.55rem; }

.visual-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #d7c7e8;
}

.visual-card li { margin: 0.28rem 0; }

.visual-card code {
  font-family: Consolas, "Cascadia Mono", monospace;
  color: #fff;
}

.visual-card.tall { min-height: 360px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.chips span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffd0e8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 1.15rem 1.15rem 1.2rem;
}

.info-card .tag {
  margin: 0 0 0.45rem;
  color: var(--pink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.info-card p { color: var(--muted); }

.info-card code {
  font-family: Consolas, "Cascadia Mono", monospace;
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stats div,
.rule,
.bento-note,
.job,
.season {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.stats div {
  border-radius: 20px;
  padding: 1.15rem 1.15rem 1.2rem;
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stats span { color: var(--muted); font-size: 0.92rem; }

.season {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(164, 83, 247, 0.14), rgba(0, 239, 254, 0.07));
}

.season strong {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.season p { color: #f3e8f8; }

#baslangic,
#sistemler,
#meslekler,
#tuslar,
#galeri,
#kurallar,
#katil,
#sss { padding: 5.2rem 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 1.2rem 1.15rem 1.3rem;
}

.step-card b {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--display);
  color: var(--pink-soft);
  letter-spacing: 0.08em;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.step-card p { color: var(--muted); }

.tips {
  margin-top: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(164, 83, 247, 0.1), rgba(0, 239, 254, 0.06));
  padding: 1.2rem 1.3rem 1.25rem;
}

.tips ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.tips li { margin: 0.25rem 0; }

.systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.system {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.system-wide { grid-column: 1 / -1; min-height: 340px; }

.system > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system > div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.35rem;
  background: linear-gradient(transparent, rgba(2, 8, 22, 0.94) 38%);
}

.system h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.system p { color: #c9ddf5; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.chip-row li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.tab-bar button {
  min-height: 42px;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.tab-bar button.active {
  border: 1px solid #0399e3;
  background: #0399e3 linear-gradient(90deg, #0399e3 0%, #6d5efc 48%, #a453f7 100%);
}

.keymap {
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(780px 280px at 15% 0%, rgba(164, 83, 247, 0.16), transparent 60%),
    radial-gradient(680px 260px at 90% 100%, rgba(0, 239, 254, 0.08), transparent 55%),
    rgba(4, 16, 40, 0.85);
  overflow: hidden;
}

.keymap-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.keymap-tabs button {
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #b7c9e0;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.keymap-tabs button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.keymap-tabs button.active {
  color: #fff;
  border: 1px solid #0399e3;
  background: #0399e3 linear-gradient(90deg, #0399e3 0%, #6d5efc 48%, #a453f7 100%);
}

.keymap-stage { padding: 1.15rem 1rem 1.25rem; }

.key-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.key-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.key-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 196, 0.45);
  background: rgba(164, 83, 247, 0.08);
}

.key-chip kbd {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 2.1rem;
  padding: 0.3rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 196, 0.4);
  background: linear-gradient(180deg, rgba(164, 83, 247, 0.22), rgba(109, 94, 252, 0.14));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  color: #ffe3f1;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.key-chip span {
  color: #efe4f7;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 600;
}

.muted-line {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.muted-line code {
  font-family: Consolas, "Cascadia Mono", monospace;
  color: #fff;
}

.lede code,
.section-head code,
.faq-lead code,
.answer code,
.system code,
.job code,
.muted-line code,
.connect-line code {
  font-family: Consolas, "Cascadia Mono", monospace;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.section-head > p {
  max-width: 34rem;
  color: var(--muted);
}

.prose-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 14px;
}

.bento-main,
.bento-wide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.bento-main { grid-row: span 2; min-height: 100%; }

.bento-wide { grid-column: 1 / -1; min-height: 320px; }

.bento-main img,
.bento-wide img,
.connect-card img,
.job img,
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-main img,
.bento-wide img,
.connect-card img {
  position: absolute;
  inset: 0;
}

.bento-copy,
.connect-card-body {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.35rem 1.25rem;
  background: linear-gradient(transparent, rgba(2, 8, 22, 0.92) 42%);
  width: 100%;
}

.bento-copy h3,
.connect-card-body h3,
.job h3,
.rule h3 { margin-bottom: 0.35rem; font-size: 1.35rem; }

.bento-copy p,
.job p,
.rule p,
.answer p,
.steps p { color: var(--muted); }

.bento-note {
  border-radius: var(--radius);
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(164, 83, 247, 0.1), rgba(109, 94, 252, 0.06));
}

.bento-note h3 { font-size: 1.7rem; margin-bottom: 0.45rem; }

.bento-note p { color: var(--muted); }

.jobs,
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.job {
  border-radius: var(--radius);
  overflow: hidden;
}

.job img {
  height: 210px;
  display: block;
  transition: transform 0.6s ease;
}

.job:hover img { transform: scale(1.05); }

.job div { padding: 1rem 1.1rem 1.2rem; }

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  min-height: 230px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: zoom-in;
  background: #140c1e;
}

.shot img {
  display: block;
  transition: transform 0.6s ease;
}

.shot:hover img { transform: scale(1.06); }

.span-all {
  grid-column: 1 / -1;
  min-height: 340px;
}

.span-row {
  grid-row: span 2;
  min-height: 480px;
}

.shot span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000;
}

.rule {
  border-radius: 22px;
  padding: 1.2rem 1.15rem 1.25rem;
}

.rule b {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--display);
  color: var(--pink-soft);
  letter-spacing: 0.08em;
}

.join-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.steps b {
  font-family: var(--display);
  color: var(--pink-soft);
  font-size: 1.15rem;
}

.steps h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }

.connect-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  border: 1px solid var(--line);
}

.command {
  display: block;
  margin: 0.8rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  word-break: break-all;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-lead { margin-top: 1rem; color: var(--muted); max-width: 26rem; }

.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.acc-btn i {
  font-style: normal;
  color: var(--pink-soft);
  transition: transform 0.25s ease;
}

.acc-btn[aria-expanded="true"] i { transform: rotate(45deg); }

.answer { padding: 0 0 1rem; }

.nav-admin[hidden] {
  display: none !important;
}

/* —— Admin sayfa —— */
.admin-page {
  min-height: 100svh;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(3, 153, 227, 0.12), transparent 55%),
    radial-gradient(700px 380px at 100% 100%, rgba(164, 83, 247, 0.1), transparent 50%),
    var(--bg);
}

.admin-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 239, 254, 0.35);
  background: rgba(3, 153, 227, 0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100svh;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(3, 12, 32, 0.92);
  backdrop-filter: blur(16px);
  padding: 1.1rem 0.85rem;
  position: sticky;
  top: 0;
  height: 100svh;
}

.admin-side-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.45rem 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.admin-side-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.admin-side-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.admin-side-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-side-nav {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 0.15rem;
}

.admin-acc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-acc + .admin-acc,
.admin-home-btn + .admin-acc {
  margin-top: 0.45rem;
}

.admin-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 239, 254, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-acc-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.admin-home-btn.active {
  border-color: rgba(0, 239, 254, 0.35);
  background: linear-gradient(90deg, rgba(3, 153, 227, 0.28), rgba(164, 83, 247, 0.18));
}

.admin-acc-toggle i {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -3px;
}

.admin-acc.open .admin-acc-toggle i {
  transform: rotate(225deg);
  margin-top: 3px;
}

.admin-acc-body {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.25rem 0 0.15rem 0.35rem;
}

.admin-acc.open .admin-acc-body {
  display: flex;
}

.admin-nav-btn {
  width: 100%;
  text-align: left;
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #d7e6f7;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.admin-nav-btn.active {
  color: #fff;
  border-color: rgba(0, 239, 254, 0.28);
  background: linear-gradient(90deg, rgba(3, 153, 227, 0.28), rgba(164, 83, 247, 0.18));
}

.admin-side-foot {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 0.75rem;
}

.admin-side-foot .btn {
  width: 100%;
}

.admin-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.admin-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 8, 22, 0.55);
}

.admin-stage-top h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0.1rem 0 0;
}

.admin-stage-body {
  flex: 1;
  padding: 1.25rem 1.5rem 2rem;
  overflow: auto;
}

.admin-panel[hidden] {
  display: none !important;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.admin-stat {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(4, 16, 40, 0.85);
}

.admin-stat p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-stat strong {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.admin-placeholder {
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: 2rem 1.4rem;
  border-radius: 22px;
  border: 1px dashed rgba(0, 239, 254, 0.25);
  background: rgba(4, 16, 40, 0.55);
}

.admin-placeholder h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.admin-placeholder p {
  color: var(--muted);
  max-width: 36rem;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Login pencere —— */
.login-screen {
  position: fixed;
  inset: 0;
  z-index: 62;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(1, 6, 18, 0.78);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.login-screen:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.login-screen[hidden] {
  display: grid !important;
  pointer-events: none;
}

body.login-open {
  overflow: hidden;
}

.login-window {
  position: relative;
  width: min(420px, 100%);
  padding: 1.8rem 1.4rem 1.5rem;
  border-radius: 26px;
  border: 1px solid rgba(164, 83, 247, 0.35);
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(164, 83, 247, 0.18), transparent 65%),
    rgba(4, 16, 40, 0.97);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-screen:not([hidden]) .login-window {
  transform: translateY(0) scale(1);
}

.login-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.login-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.login-brand {
  text-align: center;
  margin-bottom: 1.35rem;
}

.login-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.55rem;
}

.login-brand h2 {
  margin: 0 0 0.25rem;
  font-size: 1.55rem;
}

.login-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-form {
  display: grid;
  gap: 0.85rem;
}

.login-form label {
  display: grid;
  gap: 0.35rem;
}

.login-form label span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c9ddf5;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.login-form input::placeholder {
  color: rgba(203, 189, 221, 0.55);
}

.login-form input:focus {
  border-color: rgba(164, 83, 247, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.login-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.login-remember {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
}

.login-remember input {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  accent-color: #00effe;
  cursor: pointer;
}

.login-remember span {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #c9ddf5;
}

.login-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

/* —— Donate pencere (tam ekran değil) —— */
.donate-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(1, 6, 18, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.donate-screen:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.donate-screen[hidden] {
  display: grid !important;
  pointer-events: none;
}

body.donate-open {
  overflow: hidden;
}

.donate-window {
  width: min(980px, 100%);
  height: min(720px, calc(100vh - 2.4rem));
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  border: 1px solid rgba(164, 83, 247, 0.35);
  background:
    radial-gradient(620px 240px at 0% 0%, rgba(164, 83, 247, 0.16), transparent 60%),
    radial-gradient(520px 220px at 100% 100%, rgba(109, 94, 252, 0.14), transparent 55%),
    rgba(4, 16, 40, 0.97);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.donate-screen:not([hidden]) .donate-window {
  transform: translateY(0) scale(1);
}

.donate-screen-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.donate-screen-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.donate-screen-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.donate-screen-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.25rem 1.15rem 1.15rem;
}

.donate-screen-head {
  flex-shrink: 0;
  max-width: 36rem;
  margin-bottom: 1.1rem;
}

.donate-screen-head h2 {
  margin: 0.15rem 0 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.donate-lede {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

.donate-shop {
  padding: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.donate-tabs {
  flex-shrink: 0;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.donate-panel-stage {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: #0399e3 transparent;
}

.donate-shop [data-panel] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.donate-shop [data-panel].is-in {
  opacity: 1;
  transform: translateY(0);
  min-height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .donate-shop [data-panel] {
    transition: none;
    transform: none;
  }
}

.donate-group {
  margin-bottom: 2.4rem;
}

.donate-group-title {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--pink-soft);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.donate-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(4, 16, 40, 0.85);
}

.donate-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.donate-card > div {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.donate-card .tag {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-soft);
  font-weight: 800;
}

.donate-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.donate-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.donate-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.donate-price {
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
}

.donate-card-featured {
  border-color: rgba(164, 83, 247, 0.45);
  box-shadow: 0 0 28px rgba(164, 83, 247, 0.12);
}

.donate-empty {
  margin: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2.4rem 1.2rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .donate-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .donate-grid { grid-template-columns: 1fr; }
}

.footer {
  padding: 3rem 0 1.6rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer .brand { margin-bottom: 0.8rem; }

.footer p { color: var(--muted); max-width: 28rem; }

.footer-label {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-links a,
.text-btn {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-links a:hover,
.text-btn:hover { color: #fff; }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.legal p { font-size: 0.84rem; max-width: none; }

#lightbox {
  width: min(1080px, calc(100vw - 2rem));
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

#lightbox::backdrop {
  background: rgba(5, 2, 12, 0.86);
  backdrop-filter: blur(8px);
}

#lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  background: #100818;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.lightbox-bar p {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.lightbox-actions { display: flex; gap: 0.4rem; }

.lightbox-actions button {
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 1.3rem;
  transform: translateX(-50%) translateY(12px);
  background: #0a1a38;
  color: #fff;
  border: 1px solid rgba(164, 83, 247, 0.55);
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.cookie-open .toast {
  bottom: 7.5rem;
}

.cookie {
  position: fixed;
  z-index: 75;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie:not([hidden]) {
  pointer-events: auto;
  animation: cookie-in 0.4s ease both;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-inner {
  width: min(920px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(164, 83, 247, 0.35);
  background:
    radial-gradient(520px 160px at 0% 50%, rgba(164, 83, 247, 0.18), transparent 65%),
    radial-gradient(420px 140px at 100% 50%, rgba(109, 94, 252, 0.16), transparent 60%),
    rgba(4, 16, 40, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.cookie-copy { min-width: 0; }

.cookie-title {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.cookie-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

@media (max-width: 680px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }

  body.cookie-open .toast {
    bottom: 11rem;
  }
}

.guide {
  width: min(1080px, calc(100vw - 1.2rem));
  height: min(820px, calc(100vh - 1.6rem));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #041028;
  color: #fff;
  overflow: hidden;
}

.guide::backdrop {
  background: rgba(1, 6, 18, 0.82);
  backdrop-filter: blur(10px);
}

.guide-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 100%;
}

.guide-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0.7rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: auto;
}

.guide-nav button {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #d9cce8;
  padding: 0.7rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.guide-nav button:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

.guide-nav button.active {
  background: linear-gradient(115deg, rgba(164, 83, 247, 0.28), rgba(109, 94, 252, 0.22));
  color: #fff;
}

.guide-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.guide-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.guide-top h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.guide-close {
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.guide-body {
  padding: 1.1rem 1.3rem 1.5rem;
  overflow: auto;
}

.guide-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 42rem;
}

.guide-keys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.guide-keys,
.guide-block,
.guide-cards article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.05rem 1.1rem;
}

.guide-keys h3,
.guide-block h3,
.guide-cards h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.guide-keys dl { margin: 0; }

.guide-keys dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.55rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-keys dt {
  font-family: Consolas, "Cascadia Mono", monospace;
  color: var(--pink-soft);
  font-weight: 700;
}

.guide-keys dd {
  margin: 0;
  color: var(--muted);
}

.guide-blocks {
  display: grid;
  gap: 10px;
}

.guide-block p,
.guide-cards p { color: var(--muted); }

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in { opacity: 1; transform: none; }

.bento .reveal:nth-child(2),
.jobs .reveal:nth-child(2),
.rules .reveal:nth-child(2) { transition-delay: 0.08s; }

.bento .reveal:nth-child(3),
.jobs .reveal:nth-child(3),
.rules .reveal:nth-child(3) { transition-delay: 0.14s; }

.jobs .reveal:nth-child(4),
.rules .reveal:nth-child(4) { transition-delay: 0.18s; }

.jobs .reveal:nth-child(5),
.rules .reveal:nth-child(5) { transition-delay: 0.22s; }

.jobs .reveal:nth-child(6),
.rules .reveal:nth-child(6) { transition-delay: 0.26s; }

@media (max-width: 1080px) {
  .nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-links,
  .nav-actions { display: none; }
  .nav-toggle { display: block; }

  .menu {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 6rem 1.6rem;
    background: rgba(2, 8, 22, 0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

  .menu a,
  .menu button {
    color: #fff;
    text-decoration: none;
    font-family: var(--display);
    font-size: clamp(1.8rem, 6vw, 2.7rem);
    letter-spacing: -0.04em;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .join-grid,
  .footer-grid,
  .feature-grid,
  .feature-grid.trio { grid-template-columns: 1fr 1fr; }

  .key-chips { grid-template-columns: 1fr 1fr; }

  .info-grid,
  .visual-grid { grid-template-columns: 1fr 1fr; }

  .tips-grid { grid-template-columns: 1fr 1fr; }
  .tip-wide { grid-column: 1 / -1; }

  .sec-banner { min-height: 220px; }
  .visual-card { min-height: 250px; }
  .visual-card.tall { min-height: 340px; }

  .intro-row {
    flex-direction: column;
    align-items: stretch;
  }

  .section-head,
  .legal { display: block; }

  .section-head { margin-bottom: 1.4rem; }

  .frame img { height: min(62vh, 520px); }

  .badge-logo { left: 12px; bottom: 12px; }

}

@media (max-width: 680px) {
  .feature-grid,
  .info-grid,
  .visual-grid,
  .tips-grid,
  .key-chips { grid-template-columns: 1fr; }

  .tip-wide { grid-column: auto; }

  .role { letter-spacing: 0.32em; }

  .legal p + p { margin-top: 0.4rem; }

  .hero-inner { padding-top: 6.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track,
  .live i,
  .js .reveal { animation: none; transition: none; opacity: 1; transform: none; }
  .job img,
  .shot img { transition: none; }
}
