:root {
  --bg: #0b0d10;
  --bg-2: #12161c;
  --panel: rgba(22, 27, 34, 0.92);
  --line: rgba(255, 140, 66, 0.22);
  --text: #f3ebe3;
  --muted: #a89a8d;
  --accent: #ff8c42;
  --accent-2: #ffb347;
  --danger: #ff5a45;
  --ok: #3dd68c;
  --glow: rgba(255, 140, 66, 0.35);
  --radius: 18px;
  --max: 920px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 100, 40, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(80, 40, 20, 0.25), transparent 50%),
    linear-gradient(180deg, #0b0d10 0%, #10141a 40%, #0b0d10 100%);
  min-height: 100vh;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.45), transparent 70%);
  z-index: 0;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 16, 0.78);
  border-bottom: 1px solid rgba(255, 140, 66, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, #ff8c42, #c2410c 60%, #431407);
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px var(--glow);
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.lang button {
  appearance: none;
  border: 1px solid rgba(255, 140, 66, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang button:hover {
  color: var(--text);
  border-color: rgba(255, 140, 66, 0.55);
}

.lang button.active {
  color: #1a0f08;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-color: transparent;
  box-shadow: 0 0 18px var(--glow);
}

/* Hero */
.hero {
  margin-top: 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  min-height: clamp(240px, 48vw, 420px);
  background: #000 center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(8,10,12,0.35) 40%, rgba(8,10,12,0.92) 100%),
    linear-gradient(90deg, rgba(8,10,12,0.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  max-width: 36rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.hero p {
  color: #d9cfc4;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  max-width: 34ch;
}

/* Sections */
main { padding: 1.75rem 0 3.5rem; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
}

.time-box {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  background:
    linear-gradient(135deg, rgba(255, 140, 66, 0.12), rgba(255, 90, 69, 0.06)),
    var(--panel);
}

@media (min-width: 700px) {
  .time-box { grid-template-columns: 1.2fr 1fr; align-items: center; }
}

.time-box h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.time-box p { color: var(--muted); }

.chips {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chip {
  border: 1px solid rgba(255, 140, 66, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.22);
}

.chip small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.chip strong {
  font-size: 1.02rem;
  font-weight: 800;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: 0.03em;
  margin: 1.6rem 0 0.85rem;
}

.steps { display: grid; gap: 1rem; }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
}

.step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a0f08;
  box-shadow: 0 0 20px var(--glow);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.step p { color: #d2c6ba; font-size: 0.95rem; }

.step .hint {
  margin-top: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 140, 66, 0.08);
  border-radius: 0 10px 10px 0;
  color: #f0d8c2;
  font-size: 0.9rem;
}

.shot {
  margin-top: 0.85rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px dashed rgba(255, 140, 66, 0.35);
  background: rgba(0, 0, 0, 0.35);
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.shot img {
  display: block;
  width: 33.333%;
  max-width: 200px;
  height: auto;
}

.shot.has-image {
  border-style: solid;
  border-color: var(--line);
  min-height: 0;
  padding: 0.5rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-items: center;
  cursor: zoom-in;
}

.shot.has-image img {
  width: auto;
  max-width: min(200px, 33.333vw);
  height: auto;
}

.shot.has-image:focus-within,
.shot.has-image:hover {
  outline: 2px solid rgba(255, 140, 66, 0.45);
  outline-offset: 2px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: min(100%, 960px);
  max-height: calc(100vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1001;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.85);
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: #ff8c42;
  outline: none;
}

.shot.banner.has-image {
  background: #1a120c;
  padding: 0.5rem;
}

.shot.banner.has-image img {
  width: auto;
  max-width: min(200px, 33.333vw);
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.two-col {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .two-col { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}

.map-card {
  overflow: hidden;
  padding: 0;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
}

.map-card .caption {
  padding: 1rem 1.15rem 1.2rem;
  border-top: 1px solid var(--line);
}

.map-card .caption h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.map-card .caption p { color: var(--muted); font-size: 0.9rem; }

.checklist {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.checklist .mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.mark.ok { background: rgba(61, 214, 140, 0.18); color: var(--ok); }
.mark.warn { background: rgba(255, 90, 69, 0.18); color: var(--danger); }

.tip-box {
  margin-top: 1.1rem;
  background:
    linear-gradient(135deg, rgba(255, 90, 69, 0.1), rgba(255, 140, 66, 0.06)),
    var(--panel);
}

.tip-box h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
}

.tip-box p { color: #d2c6ba; font-size: 0.95rem; }

.tip-box .hint {
  margin-top: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--danger);
  background: rgba(255, 90, 69, 0.08);
  border-radius: 0 10px 10px 0;
  color: #f0d8c2;
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid rgba(255, 140, 66, 0.12);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

footer .game {
  color: #d9cfc4;
  font-weight: 700;
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 1.25rem, var(--max)); }
  .lang button { padding: 0.35rem 0.45rem; font-size: 0.68rem; }
  .step { grid-template-columns: 1fr; }
  .step-num { width: 2.1rem; height: 2.1rem; }
}
