:root {
  --bg: #0d0a08;
  --bg-soft: #17120f;
  --panel: rgba(23, 17, 13, 0.92);
  --panel-strong: rgba(33, 24, 18, 0.96);
  --text: #f0e5d2;
  --muted: #c4b49a;
  --line: rgba(208, 159, 84, 0.2);
  --accent: #d8963a;
  --accent-strong: #f0c979;
  --accent-cool: #8b5a2b;
  --success: #8acb6b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 150, 58, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(240, 201, 121, 0.08), transparent 18%),
    linear-gradient(180deg, #0d0a08 0%, #120e0b 50%, #19120d 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 160px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 160px);
  opacity: 0.35;
}

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

a {
  color: inherit;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 12px;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100%);
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 8, 6, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand img {
  width: 148px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(216, 150, 58, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: Georgia, "Palatino Linotype", serif;
}

.brand-text strong {
  color: var(--text);
  font-size: 1.05rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(216, 150, 58, 0.12);
  box-shadow: inset 0 0 0 1px rgba(216, 150, 58, 0.16);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(216, 150, 58, 0.12);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  margin-bottom: 0.8rem;
}

.page-hero .lead {
  max-width: 46rem;
  font-size: 1.05rem;
}

.hero-landing {
  position: relative;
  overflow: hidden;
}

.hero-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.94) 0%, rgba(13, 10, 8, 0.88) 42%, rgba(13, 10, 8, 0.62) 100%),
    url("/obrazky/lokace5.png") right center / cover no-repeat;
  opacity: 0.95;
  pointer-events: none;
}

.hero-landing > .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.two-column,
.prose-grid,
.footer-grid,
.vip-grid,
.feature-grid,
.quickstart-grid,
.community-actions,
.cta-band {
  display: grid;
  gap: 1.4rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
}

.hero-grid-game {
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: #f7e7bf;
  text-shadow: 0 0 22px rgba(216, 150, 58, 0.22);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #f0d7a7;
}

h3 {
  font-size: 1.25rem;
  color: #f0d7a7;
}

.hero-subtitle {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-logo {
  width: min(360px, 80%);
  height: auto;
  margin: 0 0 1rem;
  filter: drop-shadow(0 10px 28px rgba(216, 150, 58, 0.2));
}

.lead,
.prose p,
.notice,
.section-note,
.download-meta,
.footer-bottom {
  color: var(--muted);
}

.lead {
  max-width: 62ch;
}

.hero-copy,
.hero-panel,
.highlight-box,
.hero-card,
.info-card,
.download-card,
.faq-item,
.side-panel,
.support-panel,
.vip-card,
.promo-card,
.promo-figure {
  background: linear-gradient(180deg, rgba(28, 20, 15, 0.96), rgba(17, 13, 10, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-panel,
.hero-card,
.highlight-box,
.side-panel,
.support-panel,
.info-card,
.download-card,
.vip-card,
.faq-item,
.promo-card {
  padding: 1.5rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-card {
  background:
    radial-gradient(circle at top right, rgba(216, 150, 58, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(35, 25, 18, 0.96), rgba(18, 14, 10, 0.96));
}

.hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.hero-badge {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(216, 150, 58, 0.2), rgba(74, 45, 20, 0.42));
  border: 1px solid rgba(216, 150, 58, 0.2);
}

.promo-figure {
  overflow: hidden;
  padding: 1rem;
}

.promo-figure-hero {
  padding: 0.75rem;
  background:
    radial-gradient(circle at top, rgba(216, 150, 58, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(29, 21, 16, 0.98), rgba(17, 13, 10, 0.95));
}

.promo-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-badge strong,
.hero-badge span,
.hero-badge small {
  display: block;
}

.hero-badge span {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.35rem;
  color: var(--text);
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-summary-item {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 12, 9, 0.74);
  border: 1px solid rgba(216, 150, 58, 0.16);
  backdrop-filter: blur(6px);
}

.hero-summary-item strong,
.hero-summary-item span {
  display: block;
}

.hero-summary-item strong {
  margin-bottom: 0.35rem;
  color: #f0d7a7;
}

.hero-summary-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #cf8d30, #f0c979);
  color: #21170f;
  box-shadow: 0 12px 26px rgba(216, 150, 58, 0.28);
}

.button-secondary {
  background: linear-gradient(135deg, #5b3518, #8d5a2f);
  color: #f7e7bf;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tag-row span,
.download-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 150, 58, 0.12);
  border: 1px solid rgba(216, 150, 58, 0.18);
  color: #f0d7a7;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-points,
.check-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hero-points li,
.check-list li,
.footer-links li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.7rem;
}

.hero-points li::before,
.check-list li::before,
.footer-links li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.22rem rgba(216, 150, 58, 0.14);
}

.steps {
  padding-left: 1.2rem;
  margin: 0;
}

.steps li {
  margin-bottom: 0.8rem;
}

.section {
  padding: 2rem 0 4rem;
}

.world-section {
  position: relative;
}

.world-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.88), rgba(10, 8, 6, 0.74)),
    url("/obrazky/lokace2.png") center center / cover no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

.world-section > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.section-accent {
  background: linear-gradient(180deg, rgba(31, 22, 16, 0.82), rgba(18, 14, 11, 0.2));
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.4rem;
  align-items: start;
}

.quickstart-grid,
.feature-grid,
.promo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.step-card {
  min-height: 100%;
}

.feature-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  padding: 0.25rem;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(216, 150, 58, 0.18);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.feature-icon-item,
.feature-icon-scene {
  width: 4.3rem;
  height: 4.3rem;
}

.compact-highlight {
  padding: 1.4rem;
}

.promo-grid {
  display: grid;
  gap: 1.25rem;
}

.promo-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #cf8d30, #f0c979);
  color: #22170f;
  font-weight: 800;
}

.two-column {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.highlight-box {
  background:
    radial-gradient(circle at top right, rgba(216, 150, 58, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(33, 24, 18, 0.96), rgba(20, 15, 12, 0.96));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.screenshots-section .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0b0b0b;
}

.shot-wide {
  grid-column: span 2;
}

.shot img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.shot:hover img {
  transform: scale(1.02);
}

.shot figcaption {
  padding: 0.9rem 1rem 1rem;
  color: var(--muted);
  background: rgba(11, 8, 6, 0.88);
  border-top: 1px solid var(--line);
}

.vip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vip-card {
  position: relative;
}

.vip-card-plus {
  background:
    radial-gradient(circle at top right, rgba(240, 201, 121, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(35, 25, 18, 0.98), rgba(18, 14, 10, 0.96));
}

.vip-scene {
  margin: 1.5rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(28, 20, 15, 0.96), rgba(17, 13, 10, 0.94));
}

.vip-scene img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.vip-scene figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
}

.vip-price {
  margin: -0.2rem 0 1rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.section-note {
  margin-top: 1rem;
  max-width: 72ch;
}

.community-actions {
  grid-template-columns: repeat(4, minmax(0, max-content));
  justify-content: start;
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.community-panel {
  overflow: hidden;
  padding: 0;
}

.community-panel-art {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.community-panel-copy {
  padding: 1.25rem 1.35rem 1.4rem;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.notice {
  padding: 1rem 1.2rem;
  background: rgba(216, 150, 58, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(216, 150, 58, 0.16);
}

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

.video-card {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 20, 15, 0.96), rgba(17, 13, 10, 0.94));
  box-shadow: var(--shadow);
}

.video-card-copy {
  margin-bottom: 1rem;
}

.video-card-copy h3 {
  margin-bottom: 0.5rem;
}

.video-embed {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(216, 150, 58, 0.16);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.qr-card {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  text-align: center;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 8, 6, 0.88);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .footer-grid,
  .vip-grid,
  .quickstart-grid,
  .feature-grid,
  .gallery-grid,
  .section-heading-split,
  .community-grid,
  .hero-summary,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-landing::before {
    background:
      linear-gradient(180deg, rgba(13, 10, 8, 0.9) 0%, rgba(13, 10, 8, 0.86) 48%, rgba(13, 10, 8, 0.82) 100%),
      url("/obrazky/lokace5.png") center center / cover no-repeat;
  }

  .community-actions {
    grid-template-columns: 1fr 1fr;
  }

  .screenshots-section .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-wide {
    grid-column: auto;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(13, 10, 8, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero {
    padding-top: 3.5rem;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 124px;
  }

  .brand-text {
    display: none;
  }

  .section {
    padding-bottom: 3rem;
  }

  .community-actions {
    grid-template-columns: 1fr;
  }

  .screenshots-section .gallery-grid {
    grid-template-columns: 1fr;
  }
}
