﻿/* Styl pro více-krokový formulář (wizard) – přesně podle posledního screenshotu */
.lore-wizard-section {
  display: none;
  flex-direction: column;
  gap: 38px;
  background: #181a1d;
  border-radius: 18px;
  border: 1.5px solid rgba(0, 36, 255,0.18);
  padding: 48px 44px 44px 44px;
  margin: 0 auto 32px auto;
  max-width: 700px;
  width: 100%;
  align-items: flex-start;
  font-family: 'Inter', Arial, sans-serif;
  box-shadow: 0 8px 48px 0 rgba(0,0,0,0.22);
}
.lore-wizard-section.active {
  display: flex;
}
.lore-wizard-section .wizard-header {
  margin-bottom: 18px;
}
.lore-wizard-section .wizard-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.lore-wizard-section .wizard-desc {
  font-size: 1.18rem;
  color: #bdbdbd;
  margin-bottom: 18px;
  font-weight: 400;
}
.lore-wizard-section .wizard-step {
  font-size: 1.18rem;
  color: #5a5ae0;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.lore-wizard-section .wizard-section-title {
  color: #5a5ae0;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lore-wizard-section label {
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  text-transform: none;
}
.lore-wizard-section input[type="text"],
.lore-wizard-section input[type="number"],
.lore-wizard-section textarea {
  width: 100%;
  max-width: 100%;
  padding: 18px 22px;
  border-radius: 10px;
  border: 1.5px solid #232326;
  background: #141518;
  color: #f3f3f3;
  font-size: 1.13rem;
  margin-bottom: 18px;
  transition: border 0.2s;
  box-shadow: none;
  font-family: 'Inter', Arial, sans-serif;
}
.lore-wizard-section input[type="text"]::placeholder,
.lore-wizard-section input[type="number"]::placeholder,
.lore-wizard-section textarea::placeholder {
  color: #8c8c8c;
  opacity: 1;
  font-size: 1.13rem;
}
.lore-wizard-section input[type="text"]:focus,
.lore-wizard-section input[type="number"]:focus,
.lore-wizard-section textarea:focus {
  outline: none;
  border: 1.5px solid #5a5ae0;
}
.lore-wizard-nav {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  width: 100%;
  max-width: 340px;
  margin: 24px auto 0 auto;
}
.lore-wizard-nav button {
  background: #5a5ae0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 44px;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border 0.18s;
  box-shadow: none;
  font-family: 'Inter', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.lore-wizard-nav button:hover {
  background: #0f1db9;
}
@media (max-width: 800px) {
  .lore-wizard-section {
    max-width: 98vw;
    padding: 16px 4vw;
  }
  .lore-wizard-section .wizard-title {
    font-size: 1.5rem;
  }
}
/* Dvousloupcové rozložení pro tvorbu loru */
.neo-lore-form-columns {
  display: flex;
  flex-direction: row;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.neo-lore-form-section {
  flex: 1 1 0;
  background: rgba(30,30,40,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
  padding: 32px 24px;
  margin-bottom: 0;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.neo-lore-form-section label {
  font-weight: 600;
  color: var(--red-strong);
  margin-bottom: 4px;
  align-self: flex-start;
}
.neo-lore-form-section input[type="text"],
.neo-lore-form-section input[type="number"],
.neo-lore-form-section textarea {
  width: 100%;
  max-width: 340px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #181820;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 8px;
  transition: border 0.2s;
}
.neo-lore-form-section input[type="text"]:focus,
.neo-lore-form-section input[type="number"]:focus,
.neo-lore-form-section textarea:focus {
  outline: none;
  border: 1.5px solid var(--red-strong);
}
.neo-lore-form-section .radio-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 8px 0 16px 0;
}
.neo-lore-form-section .radio-group label {
  background: rgba(40,40,50,0.92);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  border: 1.5px solid var(--line);
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.neo-lore-form-section .radio-group input[type="radio"] {
  display: none;
}
.neo-lore-form-section .radio-group input[type="radio"]:checked + span {
  background: var(--red-strong);
  color: #fff;
  border: 1.5px solid var(--red-strong);
}
.neo-lore-form-section .radio-group label span {
  padding: 0 4px;
}
@media (max-width: 900px) {
  .neo-lore-form-columns {
    flex-direction: column;
    gap: 24px;
    max-width: 98vw;
  }
  .neo-lore-form-section {
    max-width: 98vw;
    padding: 16px 4vw;
  }
}
/* Styl pro formulář tvorby loru */
.neo-lore-form {
  background: rgba(30,30,40,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
  padding: 32px 24px;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.neo-lore-form label {
  font-weight: 600;
  color: var(--red-strong);
  margin-bottom: 4px;
  align-self: flex-start;
}
.neo-lore-form input[type="text"],
.neo-lore-form input[type="number"],
.neo-lore-form textarea {
  width: 100%;
  max-width: 340px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #181820;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 8px;
  transition: border 0.2s;
}
.neo-lore-form input[type="text"]:focus,
.neo-lore-form input[type="number"]:focus,
.neo-lore-form textarea:focus {
  outline: none;
  border: 1.5px solid var(--red-strong);
}
.neo-lore-form button[type="submit"] {
  background: var(--red-strong);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.12);
}
.neo-lore-form button[type="submit"]:hover {
  background: #0f1db9;
}
.neo-lore-form .radio-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 8px 0 16px 0;
}
.neo-lore-form .radio-group label {
  background: rgba(40,40,50,0.92);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  border: 1.5px solid var(--line);
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.neo-lore-form .radio-group input[type="radio"] {
  display: none;
}
.neo-lore-form .radio-group input[type="radio"]:checked + span {
  background: var(--red-strong);
  color: #fff;
  border: 1.5px solid var(--red-strong);
}
.neo-lore-form .radio-group label span {
  padding: 0 4px;
}
@media (max-width: 600px) {
  .neo-lore-form {
    max-width: 98vw;
    padding: 16px 4vw;
  }
}
/* --- Vylepšený layout pro sekci 'Jak se připojit na server?' --- */

.neo-main-join {
  display: flex;
  flex-direction: row;
  gap: 0px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 32px;
}

.neo-video-small img {
  width: 240px;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.neo-timeline-wrap {
  background: rgba(20,20,20,0.85);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.35);
  padding: 28px 20px 24px 20px;
  min-width: 260px;
  max-width: 340px;
  margin-left: 0;
}

@media (max-width: 1200px) {
  .neo-main-join {
    gap: 24px;
  }
  .neo-media-col {
    min-width: 0;
    max-width: 100%;
    align-items: center;
  }
  .neo-video-main img {
    max-width: 100%;
  }
  .neo-video-row {
    gap: 10px;
  }
  .neo-video-small img {
    width: 120px;
    height: 80px;
  }
}

@media (max-width: 900px) {
  .neo-main-join {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .neo-timeline-wrap, .neo-media-col {
    max-width: 100%;
    min-width: 0;
    align-items: center;
  }
  .neo-video-row {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .neo-video-small img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}

.neo-timeline-wrap {
  background: rgba(20,20,20,0.85);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.35);
  padding: 8px 40px 8px 40px;
  min-width: 340px;
  max-width: 520px;
}

.neo-timeline-wrap h1 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red-strong);
  margin-bottom: 18px;
  text-align: left;
  letter-spacing: -1px;
}

.neo-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.neo-event {
  background: rgba(40,40,40,0.92);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
  padding: 18px 20px 14px 20px;
  margin: 0;
  border-left: 4px solid var(--red-strong);
}
.neo-event .neo-date {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--red-strong);
  display: inline-block;
  margin-right: 10px;
}
.neo-event p {
  margin: 0 0 4px 0;
  font-size: 0.90rem;
}
.neo-event small {
  color: var(--muted);
  font-size: 0.85rem;
}

.neo-media-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  margin-left: 160px;
  min-width: 320px;
  max-width: 420px;
}
.neo-video-card {
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.22);
  overflow: hidden;
  background: #181818;
}
.neo-video-main img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 700px;
  min-width: 420px;
  height: 140%;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}
.neo-video-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  justify-content: center;
}
.neo-video-small img {
  width: 340px;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .neo-main-join {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .neo-timeline-wrap, .neo-media-col {
    max-width: 100%;
    min-width: 0;
  }
  .neo-video-row {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .neo-video-small img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}
:root {
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --line: rgba(255, 255, 255, 0.08);
  --red: #2b468f;
  --red-strong: #3b5caf;
  --red-soft: rgba(52, 78, 164, 0.12);
  --accent-muted: #9fb3e0;
  --accent-cyan: #7faed2;
  --focus-color: #5a7cce;
  --green: #6ee7a5;
  --green-soft: rgba(110, 231, 165, 0.14);
  --black: #050505;
  --topbar-h: 152px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
  border-radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, sans-serif;
  background: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 22px 48px;
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.compact-nav .topbar {
  height: 132px;
  min-height: 132px;
  padding: 14px 48px;
}

.compact-nav .brand-wrap {
  min-height: 82px;
}

.compact-nav .logo-img {
  width: 82px;
  height: 82px;
}

.compact-nav .discord-link {
  width: 48px;
  height: 48px;
}

.compact-nav .rules-clean-page,
.compact-nav .project-page {
  min-height: calc(100vh - 132px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 98px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.logo-img {
  width: 98px;
  height: 98px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.logo-text span {
  color: #d7d7d7;
}

.brand-badge {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(110, 231, 165, 0.28);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.menu a {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.44rem;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.menu a:visited {
  color: #ffffff;
}

.menu a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
  margin-left: auto;
}

.discord-link:hover {
  background: var(--red-soft);
  transform: translateY(-2px);
}

.discord-icon {
  width: 20px;
  height: 20px;
}

.youtube-link,
.tiktok-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.youtube-link:hover,
.tiktok-link:hover {
  background: var(--red-soft);
  transform: translateY(-2px);
}

.youtube-icon,
.tiktok-icon {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-h));
  display: flex;
  align-items: center;
  padding: 72px 44px 56px;
  background-image: url("images/image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-ambient-one {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -80px;
  background: radial-gradient(circle, rgba(60, 60, 255, 0.65) 0%, rgba(60, 60, 255, 0) 70%);
  animation: driftOne 11s ease-in-out infinite alternate;
}

.hero-ambient-two {
  width: 340px;
  height: 340px;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(255, 180, 70, 0.38) 0%, rgba(255, 180, 70, 0) 70%);
  animation: driftTwo 14s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.mini-text {
  display: inline-block;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--red-soft);
  border: 1px solid rgba(15, 29, 185, 0.24);
  color: var(--red-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -1.5px;
}

h1 span {
  display: block;
  margin-top: 8px;
  color: var(--red);
}

.story-details {
  max-width: 620px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.46);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.story-details summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.98rem;
}

.story-details summary::-webkit-details-marker {
  display: none;
}

.story-details summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 1.2rem;
}

.story-details[open] summary::after {
  content: "-";
}

.details-body {
  padding: 0 18px 18px;
}

.details-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

.details-body p:last-child {
  margin-bottom: 0;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(180deg, #1726d3 0%, #0f1aa7 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(15, 29, 185, 0.24);
}

.btn-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-discord-icon {
  width: 18px;
  height: 18px;
}

.cards-section {
  background: #050505;
  padding: 54px 44px 80px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.image-card {
  position: relative;
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.image-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 29, 185, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.card-one {
  background-image: url("images/obrazek1.png");
}

.card-two {
  background-image: url("images/obrazek2.png");
}

.card-three {
  background-image: url("images/obrazek3.png");
}

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.84) 100%);
}

.image-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  z-index: 1;
}

.image-card-content h3 {
  margin: 0 0 12px;
  font-size: 1.9rem;
  line-height: 1.05;
}

.image-card-content p {
  margin: 0;
  color: #e2e2e2;
  line-height: 1.7;
  font-size: 0.98rem;
}

.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 72px 44px 48px;
  text-align: center;
}

.footer-center-text {
  max-width: 880px;
}

.footer-statement {
  margin: 0 auto 18px;
  color: #d1d1d1;
  line-height: 1.95;
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-icon-link:hover {
  transform: translateY(-3px);
  background: var(--red-soft);
  border-color: rgba(15, 29, 185, 0.24);
  box-shadow: 0 12px 28px rgba(15, 29, 185, 0.12);
}

.footer-svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 44px 24px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #bdbdbd;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

.rules-clean-page,
.project-page {
  min-height: calc(100vh - var(--topbar-h));
  padding: 0 44px 56px;
}

.project-page {
  background:
    radial-gradient(circle at top left, rgba(15, 29, 185, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.62) 0%, rgba(9, 9, 9, 0.9) 100%),
    url("images/obrazek2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.rules-clean-page {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.58) 0%, rgba(5, 5, 5, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.78) 100%),
    url("images/obrazek.png6.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.pravidla-page {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.58) 0%, rgba(5, 5, 5, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.78) 100%),
    url("images/obrazek60.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.icmapa-page {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.58) 0%, rgba(5, 5, 5, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.78) 100%),
    url("images/obrazek50.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.plain-black-page {
  min-height: calc(100vh - var(--topbar-h));
  padding: 72px 44px 56px;
  background: #000;
}

.plain-black-content {
  max-width: 900px;
  margin: 0 40px 0 0;
}

.plain-black-page p,
.plain-black-page ul,
.plain-black-page li,
.plain-black-page h1,
.plain-black-page .rules-clean-kicker {
  color: #e2e2e2;
}

.plain-black-page ul {
  padding-left: 22px;
}

.plain-black-page li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.rules-clean-hero,
.project-hero,
.lore-hero {
  max-width: 860px;
  margin: 0 auto 42px;
  margin-top: 0;
  padding-top: 0;
  text-align: center;
}

.rules-clean-kicker,
.project-kicker,
.lore-kicker {
  margin: 0 0 14px;
  color: var(--red-strong);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(31, 47, 210, 0.5);
}

.project-hero .project-kicker {
  margin-top: 16px;
}

.rules-clean-hero h1,
.project-hero h1,
.lore-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  color: #ffffff;
}

.rules-clean-intro,
.project-intro,
.lore-intro {
  max-width: 760px;
  margin: 0 auto;
  color: #d1d1d1;
  line-height: 1.9;
  font-size: 1.05rem;
}

.rules-stack,
.project-stack {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.rules-block,
.project-block {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 16, 18, 0.9) 0%, rgba(10, 10, 12, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rules-block:hover,
.project-block:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}

.rules-block-kicker,
.project-block-kicker,
.lore-block-kicker {
  margin: 0 0 10px;
  color: var(--red-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.rules-block h2,
.project-block h2,
.lore-block h2 {
  margin: 0 0 18px;
  font-size: 1.9rem;
  line-height: 1.1;
  color: #ffffff;
}

.rules-block ul,
.project-block ul {
  margin: 0;
  padding-left: 22px;
}

.rules-block li,
.project-block li {
  margin-bottom: 12px;
  color: #e2e2e2;
  line-height: 1.8;
}

.rules-block li:last-child,
.project-block li:last-child {
  margin-bottom: 0;
}

.coming-soon-text {
  margin: 0;
  text-align: center;
  color: var(--red-strong);
  font-weight: 700;
  font-size: 1.35rem;
}

.faq-block {
  padding-bottom: 18px;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.faq-item:first-of-type {
  margin-top: 6px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--red-strong);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding-top: 12px;
}

.faq-answer p {
  margin: 0;
  color: #d8d8d8;
  line-height: 1.75;
}

.lore-page {
  position: relative;
  min-height: calc(100vh - var(--topbar-h));
  padding: 72px 44px 56px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.56) 0%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.78) 100%),
    url("images/obrazek.png5.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.lore-hero {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.lore-layout {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.lore-story {
  display: grid;
}

.lore-block {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.92) 0%, rgba(8, 8, 10, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.lore-block p {
  margin: 0 0 14px;
  color: #dddddd;
  line-height: 1.88;
}

.lore-block p:last-child {
  margin-bottom: 0;
}

.lore-sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + 24px);
}

.lore-map-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 16, 18, 0.94) 0%, rgba(10, 10, 12, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.lore-map-card h3 {
  margin: 0 0 16px;
  font-size: 1.7rem;
  color: #ffffff;
}

.lore-map-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.lore-facts {
  display: grid;
  gap: 12px;
}

.lore-fact {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lore-fact strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 0.95rem;
}

.lore-fact span {
  color: #d1d1d1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.22s;
}

.delay-3 {
  animation-delay: 0.34s;
}

.delay-4 {
  animation-delay: 0.46s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(80px, 30px, 0) scale(1.08);
  }
}

@keyframes driftTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-60px, -25px, 0) scale(1.05);
  }
}

body.home-neo {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #070b10;
  overflow-x: hidden;
}

.home-neo .neo-bg,
.home-neo .neo-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.home-neo .neo-bg {
  z-index: -3;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(0, 0, 0, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(9, 10, 14, 0.56) 0%, rgba(7, 8, 11, 0.72) 100%),
    url("images/obrazek15.png");
  background-size: cover, cover, cover, cover;
  background-position: center;
  filter: saturate(1.02);
}

.home-neo .neo-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 50% -30%, rgba(120, 140, 255, 0.11), transparent 54%),
    radial-gradient(circle at 80% 20%, rgba(150, 170, 255, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(10, 10, 14, 0.08) 0%, rgba(6, 7, 10, 0.42) 100%);
}

.home-neo .neo-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  min-height: 94px;
  padding: 14px 48px;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.66) 0%, rgba(6, 7, 9, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(45, 82, 255, 0.22);
  border-radius: 0;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(130, 150, 255, 0.08) inset;
}

.home-neo .neo-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(95, 120, 255, 0.42) 50%, transparent 100%);
  pointer-events: none;
}

.home-neo .neo-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-left: 34px;
  flex: 0 0 auto;
  justify-self: start;
}

.home-neo .neo-topbar-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 34px;
  border-radius: 12px;
  background: rgba(15, 29, 185, 0.18);
  border: 1px solid rgba(15, 29, 185, 0.42);
  color: #fff;
  flex: 0 0 auto;
  justify-self: end;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-neo .neo-topbar-discord svg {
  width: 22px;
  height: 22px;
}

.home-neo .neo-topbar-discord:hover {
  background: rgba(15, 29, 185, 0.36);
  border-color: rgba(40, 60, 220, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(110, 130, 255, 0.2), 0 10px 20px rgba(8, 24, 120, 0.35);
}

.home-neo .neo-topbar-discord:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.home-neo .neo-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.home-neo .neo-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.home-neo .neo-brand-text strong {
  font-size: 1.55rem;
  letter-spacing: 0.9px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-neo .neo-brand-text span {
  font-size: 0.78rem;
  letter-spacing: 2.2px;
  color: #ffffff;
  text-transform: uppercase;
}

.home-neo .neo-brand-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d9ffe8;
  background: rgba(42, 184, 111, 0.14);
  border: 1px solid rgba(85, 234, 154, 0.36);
  text-transform: uppercase;
}

.home-neo .neo-brand-status::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #55ea9a;
  box-shadow: 0 0 0 1px rgba(85, 234, 154, 0.2);
  animation: neoStatusPulse 2.6s ease-in-out infinite;
}

@keyframes neoStatusPulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(85, 234, 154, 0.18);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
    box-shadow: 0 0 0 4px rgba(85, 234, 154, 0.08);
  }
}

.home-neo .neo-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 4px;
  grid-column: 2;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 5px 6px;
}

.home-neo .neo-menu a {
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(220, 230, 235, 0.7);
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  letter-spacing: 0.01em;
}

.home-neo .neo-menu a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(105, 128, 255, 0.95) 0%, rgba(56, 86, 255, 0.95) 100%);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.home-neo .neo-menu a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.1);
}

.home-neo .neo-menu a:hover::after {
  transform: scaleX(1);
  opacity: 0.95;
}

.home-neo .neo-menu a.active {
  background: rgba(15, 29, 185, 0.22);
  color: #fff;
  border-color: rgba(90, 110, 255, 0.4);
  box-shadow: 0 0 12px 0 rgba(15, 29, 185,0.25), inset 0 1px 0 rgba(100, 120, 255,0.15);
}

.home-neo .neo-menu a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.home-neo .neo-lang {
  margin-left: auto;
  position: relative;
}

.home-neo .neo-lang-switch {
  list-style: none;
  height: 56px;
  padding: 0 16px 0 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 12, 20, 0.82);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-neo .neo-lang-switch::-webkit-details-marker {
  display: none;
}

.home-neo .neo-lang-switch:hover {
  background: rgba(13, 18, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.44);
}

.home-neo .neo-lang[open] .neo-lang-switch {
  border-color: rgba(255, 255, 255, 0.58);
}

.home-neo .neo-lang[open] .neo-lang-arrow {
  transform: rotate(180deg);
}

.home-neo .neo-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(33, 37, 52, 0.96) 0%, rgba(21, 23, 34, 0.96) 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 9px;
  z-index: 60;
}

.home-neo .neo-lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.home-neo .neo-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-neo .neo-lang-option.active {
  border-color: rgba(255, 255, 255, 0.26);
}

.home-neo .neo-lang-check {
  margin-left: auto;
  color: #ffffff;
}

.home-neo .neo-lang-flag {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.24);
  flex-shrink: 0;
}

.home-neo .neo-flag-cz {
  background: linear-gradient(180deg, #ffffff 0 50%, #d7141a 50% 100%);
}

.home-neo .neo-flag-cz::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46%;
  height: 100%;
  background: #11457e;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.home-neo .neo-flag-sk {
  background: linear-gradient(180deg, #ffffff 0 33%, #0b4ea2 33% 66%, #ee1c25 66% 100%);
}

.home-neo .neo-lang-code {
  letter-spacing: 0.4px;
}

.home-neo .neo-lang-arrow {
  width: 18px;
  height: 18px;
  color: #dbe4ff;
  transition: transform 0.2s ease;
}

.home-neo .neo-main {
  width: min(1240px, calc(100% - 54px));
  margin: 188px auto 56px;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  overflow: hidden;
}

.home-neo .neo-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .46s ease, transform .46s ease;
}

.home-neo .neo-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.home-neo .neo-reveal--delay-1 {
  transition-delay: .07s;
}

.home-neo .neo-reveal--delay-2 {
  transition-delay: .13s;
}

.home-neo .neo-highlights {
  width: min(1100px, calc(100% - 54px));
  margin: 8px auto 34px;
}

.home-neo .neo-highlights-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.home-neo .neo-highlights-kicker {
  margin: 0;
  padding: 8px 14px;
  color: var(--accent-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(52, 78, 164, 0.05);
  border: 1px solid rgba(127, 147, 198, 0.12);
}

.home-neo .neo-highlights h2 {
  margin: 0;
  color: #f5f7f8;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.15;
}

.home-neo .neo-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.home-neo .neo-highlight-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(52, 78, 164, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(14, 17, 22, 0.94) 0%, rgba(10, 13, 17, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(52, 78, 164, 0.48);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(130, 150, 220, 0.04) inset;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-neo .neo-highlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 147, 198, 0.18);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3), 0 0 18px rgba(52, 78, 164, 0.06);
}

.home-neo .neo-highlight-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-neo .neo-highlight-eyebrow {
  margin: 0;
  color: var(--accent-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-neo .neo-highlight-card h3 {
  margin: 0;
  color: #f4f6f8;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.02;
}

.home-neo .neo-highlight-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #dbe3f2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-neo .neo-highlight-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-left: 26px;
  border-left: 1px solid rgba(127, 147, 198, 0.12);
}

.home-neo .neo-highlight-card p {
  margin: 0;
  color: #aebcc5;
  font-size: 1rem;
  line-height: 1.7;
}

.home-neo .neo-highlight-card p strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.home-neo .neo-roles {
  width: min(980px, calc(100% - 54px));
  margin: 100px auto 34px;
  text-align: center;
  padding: 32px 36px;
  background: rgba(12, 14, 18, 0.9);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--red);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(130, 150, 220, 0.03) inset;
}

.home-neo .neo-roles h2 {
  margin: 0 0 22px;
  color: #f0f0f0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: 0.3px;
}

.home-neo .neo-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-neo .neo-role-card {
  border-radius: 16px;
  background: rgba(4, 6, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0,0,0,0.36);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-neo .neo-role-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 147, 198, 0.2);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45), 0 0 16px rgba(52, 78, 164, 0.06);
}

.home-neo .neo-role-banner {
  width: 100%;
  background: linear-gradient(135deg, rgba(52, 78, 164, 0.18) 0%, rgba(9, 16, 34, 0.56) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(52, 78, 164, 0.12);
}

.home-neo .neo-role-body {
  padding: 18px 18px 20px;
}

.home-neo .neo-role-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(52, 78, 164, 0.14);
  border: 1px solid rgba(52, 78, 164, 0.36);
  margin-bottom: 12px;
  color: #f6f6f6;
}

.home-neo .neo-role-svg {
  width: 52px;
  height: 52px;
  color: rgba(255,255,255,0.85);
}

.home-neo .neo-role-card p {
  margin: 0;
  font-size: 1.02rem;
  color: #eef5f7;
  line-height: 1.4;
  font-weight: 700;
}

.home-neo .neo-role-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.home-neo .neo-role-sub {
  margin: 0 0 10px;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--red-strong);
}

.home-neo .neo-role-desc {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #7a8e96;
  line-height: 1.55;
  font-weight: 400;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.home-neo .neo-role-desc.expanded {
  display: block;
  line-clamp: unset;
  -webkit-line-clamp: unset;
  color: #a8b8c0;
}

.home-neo .neo-role-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-strong);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
}

.home-neo .neo-role-toggle:hover {
  opacity: 0.75;
}

.home-neo .neo-role-toggle:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
  border-radius: 4px;
}

.home-neo .neo-footer {
  width: min(1180px, calc(100% - 54px));
  margin: auto auto 0;
  padding: 52px 28px 0;
  color: #f0f0f0;
  font-size: 0.96rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.38) 0%, rgba(8, 9, 12, 0.16) 100%);
  border-radius: 16px 16px 0 0;
}

/* ── footer top row ── */
.home-neo .neo-footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
}

/* ── brand block ── */
.home-neo .neo-footer-brand {
  max-width: 420px;
}

.home-neo .neo-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.home-neo .neo-footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.home-neo .neo-footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: #fff;
  text-transform: uppercase;
}

.home-neo .neo-footer-brand-name span {
  font-weight: 400;
  font-size: 0.82rem;
  color: #aaa;
  letter-spacing: 0.06em;
}

.home-neo .neo-footer-desc {
  font-size: 0.9rem;
  color: #adadad;
  line-height: 1.65;
  margin: 0 0 22px;
}

/* ── social buttons ── */
.home-neo .neo-footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-neo .neo-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e0e0e0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-neo .neo-social-btn svg {
  width: 18px;
  height: 18px;
}

.home-neo .neo-social-btn:hover {
  background: rgba(15, 29, 185, 0.28);
  border-color: rgba(15, 29, 185, 0.5);
  color: #fff;
}

.home-neo .neo-social-btn:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

/* ── legal block ── */
.home-neo .neo-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.home-neo .neo-footer-legal-title {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-strong);
}

.home-neo .neo-footer-legal a {
  color: #c0c0c0;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.home-neo .neo-footer-legal a:hover {
  color: #fff;
}

.home-neo .neo-footer-legal a:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── footer bottom row ── */
.home-neo .neo-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 28px;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.home-neo .neo-sep {
  opacity: 0.82;
}

.home-neo .neo-media-col {
  display: grid;
  gap: 20px;
  margin-top: 0;
  margin-left: 0;
  min-width: 0;
  max-width: 100%;
  align-items: stretch;
}

.home-neo .neo-hero-intro {
  max-width: min(100%, 760px);
  margin: 0 auto -2px;
  padding: 2px 4px;
}

.home-neo .neo-hero-kicker {
  margin: 0 0 8px;
  color: var(--accent-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-neo .neo-hero-title {
  margin: 0 0 10px;
  color: #f6fbff;
  font-size: clamp(1.55rem, 3.1vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.home-neo .neo-hero-sub {
  margin: 0;
  color: #b7c8d1;
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  line-height: 1.62;
  max-width: 62ch;
}

.home-neo .neo-discord-center {
  width: 74px;
  height: 74px;
  margin: 4px auto 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eef3ff;
  background: rgba(50, 83, 255, 0.18);
  border: 1px solid rgba(50, 83, 255, 0.42);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-neo .neo-discord-center:hover {
  transform: translateY(-2px);
  background: rgba(50, 83, 255, 0.26);
  border-color: rgba(92, 122, 255, 0.72);
}

.home-neo .neo-discord-icon {
  width: 34px;
  height: 34px;
}

.home-neo .neo-video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-neo .neo-video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.home-neo .neo-video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.38);
}

.home-neo .neo-video-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.home-neo .neo-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #06080b;
}

.home-neo .neo-hero-video {
  border-radius: inherit;
}

.home-neo .neo-video-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-neo .neo-video-main {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.home-neo .neo-video-main--featured {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  min-height: clamp(320px, 42vw, 560px);
  max-width: min(100%, 760px);
  margin: 0 auto;
  padding: 10px;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.96) 0%, rgba(3, 4, 6, 0.98) 100%);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 42px rgba(15, 29, 185, 0.1);
}

.home-neo .neo-video-main--featured:hover {
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 52px rgba(15, 29, 185, 0.2);
}

.home-neo .neo-video-main--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 20%, transparent 100%);
  pointer-events: none;
}

.home-neo .neo-video-main--featured .neo-hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 14px 24px rgba(0, 0, 0, 0.34);
}

.home-neo .neo-video-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecf2ff;
  background: rgba(63, 95, 200, 0.62);
  border: 1px solid rgba(164, 176, 230, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.home-neo .neo-video-small {
  aspect-ratio: 16 / 8.8;
  min-height: 0;
}

.home-neo .neo-timeline-wrap h1 {
  margin: 0 0 8px;
  color: #f5f7f8;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-neo .neo-timeline-wrap {
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.9) 0%, rgba(9, 11, 15, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 140, 160, 0.06) inset;
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 2;
  height: fit-content;
}

.home-neo .neo-join-intro {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.home-neo .neo-join-kicker {
  margin: 0 0 6px;
  color: var(--accent-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-neo .neo-join-sub {
  margin: 0;
  color: #aebcc5;
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-neo .neo-join-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-neo .neo-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-neo .neo-join-btn:hover {
  transform: translateY(-1px);
}

.home-neo .neo-join-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, rgba(52, 78, 164, 0.88) 0%, rgba(38, 60, 132, 0.9) 100%);
  border-color: rgba(127, 147, 198, 0.32);
  box-shadow: 0 8px 16px rgba(12, 20, 56, 0.28);
}

.home-neo .neo-join-btn--primary:hover {
  background: linear-gradient(180deg, rgba(61, 90, 184, 0.9) 0%, rgba(43, 67, 146, 0.92) 100%);
}

.home-neo .neo-join-btn--ghost {
  color: #dbe4ea;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.home-neo .neo-join-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.home-neo .neo-timeline {
  position: relative;
  padding-left: 16px;
  display: grid;
  gap: 14px;
}

.home-neo .neo-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(52, 78, 164, 0.55) 0%, rgba(52, 78, 164, 0.12) 100%);
}

.home-neo .neo-event {
  position: relative;
  background: rgba(8, 11, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 11px 12px 11px 14px;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-neo .neo-event:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 78, 164, 0.32);
  background: rgba(18, 22, 28, 0.82);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.home-neo .neo-dot {
  position: absolute;
  left: -23px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000;
  background: #000;
}

.home-neo .neo-date {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #e7eef1;
}

.home-neo .neo-event h2 {
  margin: 0 0 7px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.2px;
  color: #f5fbff;
}

.home-neo .neo-event p {
  margin: 0;
  color: #d6e4e8;
  line-height: 1.5;
  font-size: 0.96rem;
}

.home-neo .neo-inline-discord-link {
  color: #7f93c6;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(127, 147, 198, 0.64);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.home-neo .neo-inline-discord-link:hover {
  color: #c7d3f4;
  text-decoration-color: rgba(199, 211, 244, 0.86);
}

.home-neo .neo-inline-discord-link:focus-visible {
  outline: 2px solid rgba(127, 147, 198, 0.65);
  outline-offset: 2px;
  border-radius: 4px;
}

.home-neo .neo-current-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(52, 78, 164, 0.62);
  border: 1px solid rgba(127, 147, 198, 0.36);
  vertical-align: middle;
}

.home-neo .neo-event.current .neo-date {
  color: #7f93c6;
}

.home-neo .neo-event.current {
  border-color: rgba(52, 78, 164, 0.28);
  background: rgba(52, 78, 164, 0.07);
}

.home-neo .neo-copy-section {
  width: min(980px, calc(100% - 54px));
  margin: 26px auto 22px;
}

.home-neo .neo-copy-panel {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 17, 22, 0.9) 0%, rgba(8, 11, 15, 0.84) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(15, 29, 185, 0.85);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(130, 150, 255, 0.05) inset;
}

.home-neo .neo-menu a:focus-visible,
.home-neo .neo-join-btn:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.home-neo .neo-copy-panel::after {
  content: '';
  position: absolute;
  top: -42px;
  right: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 29, 185, 0.18) 0%, rgba(15, 29, 185, 0) 70%);
  pointer-events: none;
}

.home-neo .neo-copy-label {
  margin: 0 0 8px;
  color: #f0f0f0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-neo .neo-copy-ip {
  margin: 0 0 8px;
  color: #c4d3da;
  font-size: 0.95rem;
}

.home-neo .neo-copy-ip strong {
  color: #fff;
}

.home-neo .neo-copy-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.home-neo .neo-copy-note {
  margin: 0 0 14px;
  color: #8ea2ad;
  font-size: 0.82rem;
}

.home-neo .neo-copy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-neo .neo-copy-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(15, 29, 185, 0.42);
  background: rgba(15, 29, 185, 0.16);
  color: #f3f5f7;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-neo .neo-copy-btn:hover {
  background: rgba(15, 29, 185, 0.24);
  border-color: rgba(15, 29, 185, 0.62);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(8, 24, 120, 0.24);
}

.home-neo .neo-copy-btn-icon {
  line-height: 1;
}

.home-neo .neo-copy-btn--ip {
  background: rgba(15, 29, 185, 0.22);
  border-color: rgba(15, 29, 185, 0.64);
}

.home-neo .neo-copy-btn--discord {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.home-neo .neo-copy-btn--discord:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.3);
}

.home-neo .neo-copy-btn:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.home-neo .neo-copy-btn.is-copied {
  border-color: rgba(85, 234, 154, 0.58);
  background: rgba(85, 234, 154, 0.16);
  color: #dcffeb;
}

@media (prefers-reduced-motion: reduce) {
  .home-neo .neo-reveal,
  .home-neo .neo-video-card,
  .home-neo .neo-role-card,
  .home-neo .neo-copy-btn,
  .home-neo .neo-menu a,
  .home-neo .neo-join-btn,
  .home-neo .neo-event,
  .neo-back-to-top {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.home-neo .neo-copy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  color: #e9f8ef;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(16, 22, 28, 0.94);
  border: 1px solid rgba(85, 234, 154, 0.45);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.home-neo .neo-copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.neo-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1400;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.neo-scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 29, 185, 0.95) 0%, rgba(122, 138, 255, 0.95) 100%);
  box-shadow: 0 0 10px rgba(15, 29, 185, 0.45);
  transition: width .08s linear;
}

.neo-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(15, 29, 185, 0.55);
  background: rgba(15, 19, 24, 0.9);
  color: #f2f4f6;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease;
  z-index: 1100;
}

.neo-back-to-top:hover {
  background: rgba(15, 29, 185, 0.24);
  border-color: rgba(15, 29, 185, 0.82);
}

.neo-back-to-top:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.neo-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1120px) {
  .home-neo .neo-main {
    grid-template-columns: 1fr;
    margin-top: 112px;
    gap: 28px;
  }

  .home-neo .neo-topbar {
    padding: 12px 20px;
  }

  .home-neo .neo-brand {
    margin-left: 6px;
  }

  .home-neo .neo-topbar-discord {
    margin-right: 6px;
  }

  .home-neo .neo-brand-text strong {
    font-size: 1.2rem;
  }

  .home-neo .neo-menu {
    gap: 3px;
    padding: 4px 5px;
  }

  .home-neo .neo-menu a {
    font-size: 0.86rem;
    padding: 7px 11px;
  }

  .home-neo .neo-highlights-grid {
    grid-template-columns: 1fr;
  }

  .home-neo .neo-highlight-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-neo .neo-highlight-content {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(122, 138, 255, 0.18);
  }

  .home-neo .neo-roles-grid {
    grid-template-columns: 1fr;
  }

  .home-neo .neo-timeline-wrap {
    max-width: 780px;
  }

}

/* ── TABLET (do 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .home-neo .neo-topbar {
    padding: 12px 24px;
  }

  .home-neo .neo-brand {
    margin-left: 8px;
  }

  .home-neo .neo-topbar-discord {
    margin-right: 8px;
  }

  .home-neo .neo-menu a {
    font-size: 1rem;
    padding: 10px 14px;
  }

  .home-neo .neo-logo {
    width: 54px;
    height: 54px;
  }

  .home-neo .neo-brand-text strong {
    font-size: 1.2rem;
  }
}

/* ── MOBIL (do 760px) ─────────────────────────────────────── */
@media (max-width: 760px) {
  .home-neo .neo-main,
  .home-neo .neo-highlights,
  .home-neo .neo-footer {
    width: calc(100% - 30px);
  }

  .home-neo .neo-footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .home-neo .neo-footer-brand {
    max-width: 100%;
  }

  .home-neo .neo-footer {
    padding: 38px 14px 0;
    border-radius: 12px 12px 0 0;
  }

  .home-neo .neo-topbar {
    display: flex;
    width: 100%;
    min-height: auto;
    padding: 10px 14px;
    flex-wrap: wrap;
    row-gap: 8px;
    align-items: center;
  }

  .home-neo .neo-brand {
    margin-left: 0;
    flex: 0 0 auto;
    order: 1;
    padding-right: 0;
  }

  .home-neo .neo-brand::after {
    display: none;
  }

  .home-neo .neo-topbar-discord {
    margin-right: 0;
    flex: 0 0 auto;
    order: 2;
  }

  .home-neo .neo-menu {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1 1 100%;
    padding: 6px;
    border-radius: 12px;
  }

  .home-neo .neo-menu a {
    font-size: 0.88rem;
    padding: 7px 11px;
  }

  .home-neo .neo-menu a::after {
    left: 10px;
    right: 10px;
    bottom: 4px;
  }

  .home-neo .neo-logo {
    width: 44px;
    height: 44px;
  }

  .home-neo .neo-brand-text strong {
    font-size: 1rem;
  }

  .home-neo .neo-brand-text span {
    font-size: 0.65rem;
  }

  .home-neo .neo-brand-status {
    padding: 1px 5px;
    font-size: 0.46rem;
  }

  .home-neo .neo-brand-status::before {
    width: 3px;
    height: 3px;
  }

  .home-neo .neo-discord-center {
    width: 56px;
    height: 56px;
  }

  .home-neo .neo-video-row {
    grid-template-columns: 1fr;
  }

  .home-neo .neo-media-col {
    margin-top: 0;
  }

  .home-neo .neo-hero-intro {
    text-align: left;
    padding: 0 2px;
  }

  .home-neo .neo-hero-title {
    font-size: clamp(1.34rem, 6vw, 1.78rem);
    line-height: 1.12;
  }

  .home-neo .neo-hero-sub {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .home-neo .neo-video-main--featured {
    min-height: clamp(240px, 62vw, 380px);
    padding: 6px;
    border-radius: 10px;
  }

  .home-neo .neo-highlight-card {
    padding: 22px 18px;
  }

  .home-neo .neo-highlight-card h3 {
    font-size: 1.55rem;
  }

  .home-neo .neo-video-chip {
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    padding: 6px 10px;
  }

  .home-neo .neo-event h2 {
    font-size: 1.62rem;
  }

  .home-neo .neo-copy-section {
    width: calc(100% - 30px);
    margin-top: 22px;
  }

  .home-neo .neo-copy-btn {
    width: 100%;
  }

  .home-neo .neo-copy-toast {
    right: 12px;
    left: 12px;
    bottom: 12px;
    text-align: center;
  }

  .neo-back-to-top {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 760px) {
  .cards-grid,
  .lore-layout {
    grid-template-columns: 1fr;
  }

  .lore-sidebar {
    position: static;
  }

  .topbar {
    padding: 18px 20px;
    height: auto;
    min-height: auto;
  }

  .hero,
  .cards-section,
  .rules-clean-page,
  .project-page,
  .lore-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-main,
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .menu {
    gap: 16px;
    flex-wrap: wrap;
  }

  .logo-img {
    width: 60px;
    height: 60px;
  }

  .brand-wrap {
    min-height: 60px;
  }

  .logo-text {
    font-size: 0.92rem;
  }

  .image-card {
    min-height: 260px;
  }

  .image-card-content h3 {
    font-size: 1.55rem;
  }

  .footer-statement {
    font-size: 1rem;
    line-height: 1.85;
  }

  .rules-clean-hero h1,
  .project-hero h1,
  .lore-hero h1 {
    font-size: 2.3rem;
  }

  .rules-block,
  .project-block,
  .lore-block,
  .lore-map-card {
    padding: 22px;
  }

  .rules-block h2,
  .project-block h2,
  .lore-block h2 {
    font-size: 1.5rem;
  }

  .rules-clean-page,
  .lore-page {
    background-attachment: scroll;
  }
}


/* ═══════════════════════════════════════════════════════════
   LORE PAGE
   ═══════════════════════════════════════════════════════════ */

/* lore background override */
body.home-neo.lore-body .neo-bg {
  display: block;
  background-image: url('images/obrazek.png5.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.home-neo.lore-body .neo-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.7);
}

body.home-neo.lore-body #particles-canvas { display: none; }

body.home-neo.lore-body { background: #080808; }

/* ── MAIN WRAPPER ─────────────────────────────────────────── */
.neo-lore-main {
  padding-top: var(--topbar-h);
  min-height: 100vh;
}

/* ── HERO ─────────────────────────────────────────────────── */
.neo-lore-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  gap: 60px;
}

.neo-lore-hero-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0e1015;
}

.neo-lore-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
}

.neo-lore-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8,8,8,0.55) 0%, transparent 60%),
              linear-gradient(0deg, rgba(8,8,8,0.4) 0%, transparent 50%);
}

.neo-lore-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.neo-lore-title {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.neo-lore-sub {
  font-size: 1.05rem;
  color: #6e8290;
  line-height: 1.65;
  max-width: 440px;
}

/* ── CONTENT LAYOUT ───────────────────────────────────────── */
.neo-lore-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto 80px;
  padding: 0 48px;
  align-items: start;
}

/* ── STORY BLOCKS ─────────────────────────────────────────── */

.neo-lore-block {
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.neo-lore-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.neo-lore-tag {
  display: inline-block;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(15, 29, 185,0.38);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.neo-lore-block h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #f0f0f0;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.neo-lore-block p {
  color: #6e8290;
  line-height: 1.85;
  font-size: 0.97rem;
  margin: 0 0 10px;
}

.neo-lore-block p:last-child { margin-bottom: 0; }

/* ── SIDEBAR ──────────────────────────────────────────────── */

.neo-lore-map-card {
  background: #0c0e12;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 22px;
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
}

.neo-lore-map-card .neo-lore-tag {
  margin-bottom: 10px;
}

.neo-lore-map-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}

.neo-lore-map-img {
  width: 100%;
  border-radius: 3px;
  display: block;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

.neo-lore-fact {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.neo-lore-fact:last-child { border-bottom: none; }

.neo-lore-fact strong {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.neo-lore-fact span {
  font-size: 0.87rem;
  color: #6e8290;
  line-height: 1.5;
}

/* ── LORE FRAME ───────────────────────────────────────────── */
.neo-lore-frame {
  background: #0c0e12;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 32px 36px;
}

.neo-lore-frame .neo-lore-tag {
  margin-bottom: 22px;
}

.neo-lore-frame p {
  color: #8a9faa;
  line-height: 1.9;
  font-size: 0.97rem;
  margin: 0 0 18px;
}

.neo-lore-frame p:last-child { margin-bottom: 0; }

.neo-lore-emphasis {
  color: #c8d8e0 !important;
  font-style: italic;
  font-weight: 500;
  border-left: 2px solid rgba(15, 29, 185,0.5);
  padding-left: 14px !important;
  margin-left: -17px !important;
}
.neo-lore-link {
  color: var(--red-strong);
  text-decoration: underline;
  word-break: break-all;
}
.neo-lore-link:hover { color: #3a5eff; }

.neo-lore-cta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.neo-lore-cta-title {
  margin: 0 0 12px !important;
  color: #f0f0f0 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.neo-lore-cta-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.neo-lore-cta-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f3f5f7;
  background: rgba(15, 29, 185, 0.14);
  border: 1px solid rgba(15, 29, 185, 0.4);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.neo-lore-cta-links a:hover {
  background: rgba(15, 29, 185, 0.24);
  border-color: rgba(15, 29, 185, 0.62);
  transform: translateY(-1px);
}

.neo-lore-cta-links a:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

/* ── SINGLE COLUMN LAYOUT (O projektu apod.) ──────────────── */
.neo-lore-layout--single {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.neo-lore-frame h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: #f0f0f0;
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}

.neo-lore-frame h2:first-of-type {
  margin-top: 4px;
}

/* ── TVORBA LORU FORM ────────────────────────────────────── */
.neo-lore-form-frame {
  max-width: 760px;
}

.neo-lore-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.neo-lore-form-frame > .neo-lore-alert,
.neo-lore-form-frame > .neo-lore-step-pills,
.neo-lore-form-frame > .neo-lore-step-label,
.neo-lore-form-frame > .neo-lore-step-progress {
  max-width: 700px;
}

.neo-lore-alert {
  margin: 12px 0 14px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 163, 102, 0.45);
  background: linear-gradient(180deg, rgba(92, 52, 20, 0.36) 0%, rgba(55, 31, 12, 0.42) 100%);
  color: #ffe6cf;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.neo-lore-alert strong {
  color: #ffd8b3;
}

.neo-lore-step-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 12px;
}

.neo-lore-step-pill {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 0 rgba(122, 138, 255, 0);
}

.neo-lore-step-pill.is-complete {
  border-color: rgba(122, 138, 255, 0.42);
  background: rgba(122, 138, 255, 0.28);
}

.neo-lore-step-pill.is-active {
  border-color: rgba(122, 138, 255, 0.9);
  background: rgba(122, 138, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(122, 138, 255, 0.16);
}

.neo-lore-step-label {
  margin: 0 0 8px;
  text-align: center;
  color: #d9e5ec;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.neo-lore-step-progress {
  width: 100%;
  height: 8px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.neo-lore-step-progress-fill {
  display: block;
  width: 16.66%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 29, 185, 0.68) 0%, rgba(70, 110, 236, 0.88) 100%);
  transition: width .22s ease;
}

.neo-lore-step {
  display: none;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(13, 18, 24, 0.7) 0%, rgba(9, 13, 18, 0.74) 100%);
}

.neo-lore-step.is-active {
  display: grid;
}

.neo-lore-step-nav {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.neo-lore-step-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 29, 185, 0.4);
  border-radius: 6px;
  background: rgba(15, 29, 185, 0.14);
  color: #f3f5f7;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 12px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.neo-lore-step-btn:hover {
  background: rgba(15, 29, 185, 0.24);
  border-color: rgba(15, 29, 185, 0.62);
  transform: translateY(-1px);
}

.neo-lore-step-btn:active {
  transform: translateY(0);
}

.neo-lore-step-btn:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.neo-lore-step-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.neo-lore-step-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e4edf2;
}

.neo-lore-step-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.34);
}

.neo-lore-form-section-title {
  margin: 4px 0 2px;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f3a6af;
}

.neo-lore-step-hint {
  margin: 0 0 6px;
  color: #adc0cc;
  font-size: 0.84rem;
  line-height: 1.5;
}

.neo-lore-form-choice {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 14, 0.7);
  display: grid;
  gap: 8px;
}

.neo-lore-form-choice legend {
  padding: 0 6px;
  color: #dbe6eb;
  font-size: 0.9rem;
  font-weight: 700;
}

.neo-lore-form-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #dbe6eb;
}

.neo-lore-form-choice input[type="radio"] {
  accent-color: #0f1db9;
}

.neo-lore-form label {
  display: grid;
  gap: 6px;
  color: #dbe6eb;
  font-size: 0.9rem;
  font-weight: 600;
}

.neo-lore-label-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.neo-lore-help-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #dbe6eb;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.neo-lore-help-link:hover {
  border-color: rgba(15, 29, 185, 0.72);
  background: rgba(15, 29, 185, 0.16);
}

.neo-lore-help-link:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.neo-lore-form input,
.neo-lore-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(17, 23, 30, 0.82) 0%, rgba(11, 15, 20, 0.88) 100%);
  color: #eef5f8;
  font: inherit;
  padding: 12px 13px;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  line-height: 1.45;
}

.neo-lore-form input::placeholder,
.neo-lore-form textarea::placeholder {
  color: rgba(209, 223, 232, 0.56);
}

.neo-lore-form input:focus,
.neo-lore-form textarea:focus {
  outline: none;
  border-color: rgba(255, 109, 132, 0.75);
  box-shadow: 0 0 0 3px rgba(15, 29, 185, 0.2), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.neo-lore-form-actions {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.neo-lore-form-submit {
  appearance: none;
  border: 1px solid rgba(224, 66, 88, 0.78);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(235, 54, 79, 0.62) 0%, rgba(176, 22, 41, 0.66) 100%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.neo-lore-form-submit:hover {
  background: linear-gradient(180deg, rgba(247, 78, 102, 0.7) 0%, rgba(192, 30, 52, 0.72) 100%);
  border-color: rgba(255, 122, 142, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.38);
}

.neo-lore-form-submit:focus-visible {
  outline: 2px solid rgba(122, 138, 255, 0.95);
  outline-offset: 2px;
}

.neo-lore-form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.neo-lore-form-status {
  margin: 0;
  min-height: 20px;
  color: #8ea2ad;
  font-size: 0.86rem;
  line-height: 1.4;
}

.neo-lore-form-status.is-success {
  color: #95f0bf;
}

.neo-lore-form-status.is-error {
  color: #ff9ea7;
}

body.home-neo.tvorbaloru-body .neo-bg {
  display: block;
  background-image: url('images/obr.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.home-neo.tvorbaloru-body .neo-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.7);
}

body.home-neo.tvorbaloru-body #particles-canvas { display: none; }

/* ── O PROJEKTU BACKGROUND ────────────────────────────────── */
body.home-neo.oprojektu-body .neo-bg {
  display: block;
  background-image: url('images/obrazek60.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.home-neo.oprojektu-body .neo-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.7);
}

body.home-neo.oprojektu-body #particles-canvas { display: none; }

/* ── OTAZKY PAGE ──────────────────────────────────────────── */
body.home-neo.otazky-body .neo-bg {
  display: block;
  background-image: url('images/obrazek50.jpg');
  background-size: cover;
  background-position: center;
}
body.home-neo.otazky-body .neo-overlay {
  display: block;
  background: rgba(0,0,0,0.7);
}
body.home-neo.otazky-body #particles-canvas { display: none; }

/* FAQ accordion */
.neo-faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(9, 12, 16, 0.7);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 0 14px;
}
.neo-faq-item:last-of-type { border-bottom: none; margin-bottom: 0; }

.neo-faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 700;
  color: #e8e8e8;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: color .2s;
}
.neo-faq-summary::-webkit-details-marker { display: none; }
.neo-faq-summary::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
  flex-shrink: 0;
  transition: transform .25s;
}
details[open] .neo-faq-summary::before {
  transform: rotate(45deg);
}
.neo-faq-summary:hover { color: #fff; }

.neo-faq-answer {
  padding: 0 0 16px 20px;
  color: #a8b8c0;
  font-size: 0.93rem;
  line-height: 1.75;
}
.neo-faq-answer p { margin: 0 0 8px; }
.neo-faq-answer p:last-child { margin-bottom: 0; }

/* ── PRAVIDLA PAGE ────────────────────────────────────────── */
body.home-neo.pravidla-body .neo-bg {
  display: block;
  background-image: url('images/obrazek09.jpg');
  background-size: cover;
  background-position: center;
}
body.home-neo.pravidla-body .neo-overlay {
  display: block;
  background: rgba(0,0,0,0.7);
}
body.home-neo.pravidla-body #particles-canvas { display: none; }
body.home-neo.pravidla-body .neo-lore-frame p > strong {
  text-decoration: underline;
  text-decoration-color: rgba(15, 29, 185, 0.85);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.home-neo.pravidla-body .neo-lore-frame {
  padding: 30px 34px;
  border-radius: 10px;
}

body.home-neo.pravidla-body .neo-lore-frame h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: #f5f7f8;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
}

body.home-neo.pravidla-body .neo-lore-frame p {
  color: #c0cfd7;
  line-height: 1.8;
  margin-bottom: 12px;
}
body.home-neo.pravidla-body .neo-rules-layout {
  grid-template-columns: 320px 1fr;
}
body.home-neo.pravidla-body .neo-rules-sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
}
body.home-neo.pravidla-body .neo-rules-nav-card {
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 16px 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.home-neo.pravidla-body .neo-rules-nav-card::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 18px;
  bottom: 16px;
  height: 40px;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0) 0%, rgba(12, 14, 18, 0.94) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
body.home-neo.pravidla-body .neo-rules-nav-card.has-scroll-fade::after {
  opacity: 1;
}
body.home-neo.pravidla-body .neo-rules-nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(15, 29, 185,0.12);
  border: 1px solid rgba(15, 29, 185,0.35);
  border-radius: 4px;
  font: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
body.home-neo.pravidla-body .neo-rules-nav-toggle:hover {
  background: rgba(15, 29, 185,0.18);
  border-color: rgba(15, 29, 185,0.5);
}
body.home-neo.pravidla-body .neo-rules-nav-toggle-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .22s ease;
  flex: 0 0 auto;
  margin-right: 2px;
}
body.home-neo.pravidla-body .neo-rules-nav-card.is-open .neo-rules-nav-toggle-icon {
  transform: rotate(-135deg);
}
body.home-neo.pravidla-body .neo-rules-nav-scroll {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 252px;
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 29, 185, 0.75) rgba(255,255,255,0.06);
}
body.home-neo.pravidla-body .neo-rules-nav-scroll::-webkit-scrollbar {
  width: 8px;
}
body.home-neo.pravidla-body .neo-rules-nav-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}
body.home-neo.pravidla-body .neo-rules-nav-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 29, 185, 0.75);
  border-radius: 999px;
}
body.home-neo.pravidla-body .neo-rules-nav-card .neo-lore-tag {
  margin-bottom: 8px;
}
body.home-neo.pravidla-body .neo-rules-nav-card a {
  color: #a8b8c0;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 6px 8px;
  border-radius: 3px;
  transition: color .2s, background-color .2s, transform .22s, box-shadow .22s;
}
body.home-neo.pravidla-body .neo-rules-nav-card a:hover {
  color: #fff;
  background: rgba(15, 29, 185,0.14);
}
body.home-neo.pravidla-body .neo-rules-nav-card a.is-active {
  color: #fff;
  background: rgba(15, 29, 185,0.24);
  box-shadow: inset 2px 0 0 var(--red);
  transform: translateX(3px);
}
body.home-neo.pravidla-body .neo-lore-frame [id] {
  scroll-margin-top: calc(var(--topbar-h) + 20px);
}
body.home-neo.pravidla-body .neo-lore-frame [id].rule-focus {
  animation: rulesTargetPulse 1.05s ease;
}

@keyframes rulesTargetPulse {
  0% {
    background: rgba(15, 29, 185, 0.24);
    box-shadow: 0 0 0 1px rgba(15, 29, 185, 0.5);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

/* ── IC MAPA PAGE ─────────────────────────────────────────── */
body.home-neo.icmapa-body .neo-bg {
  display: block;
  background-image: url('images/obrazek.png6.png');
  background-size: cover;
  background-position: center;
}
body.home-neo.icmapa-body .neo-overlay {
  display: block;
  background: rgba(0,0,0,0.7);
}
body.home-neo.icmapa-body #particles-canvas { display: none; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .neo-lore-hero { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 32px; }
  .neo-lore-hero-img { order: -1; aspect-ratio: 16/9; }
  .neo-lore-layout { grid-template-columns: 1fr; padding: 0 24px; }
  .neo-lore-map-card { position: static; }
  .neo-lore-cta-links a { width: 100%; }
  body.home-neo.pravidla-body .neo-rules-sidebar { position: static; }
  body.home-neo.pravidla-body .neo-rules-nav-toggle { display: flex; }
  body.home-neo.pravidla-body .neo-rules-nav-scroll {
    display: none;
    max-height: min(55vh, 320px);
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-h: 120px;
  }

  body {
    font-size: 16px;
  }

  .neo-topbar {
    padding: 12px 16px;
    gap: 12px;
  }

  .neo-menu a {
    font-size: 0.85rem;
  }

  .home-neo .neo-main {
    padding: 20px 16px;
  }

  .home-neo .neo-hero-kicker,
  .home-neo .neo-join-kicker,
  .home-neo .neo-highlights-kicker {
    font-size: 0.7rem;
  }

  .home-neo .neo-hero-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .home-neo .neo-roles-grid {
    grid-template-columns: 1fr;
  }

  .home-neo .neo-highlight-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px;
  }

  .home-neo .neo-highlight-content {
    padding-left: 0;
    border-left: none;
  }

  .home-neo .neo-join-btn {
    padding: 10px 14px;
    font-size: 0.75rem;
  }

  button,
  a[class*="btn"],
  input,
  [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }

  .neo-copy-actions {
    flex-direction: column;
    gap: 8px;
  }

  .neo-copy-btn {
    width: 100%;
  }

  body.home-neo.pravidla-body .neo-rules-nav-scroll {
    padding-right: 2px;
  }
  body.home-neo.pravidla-body .neo-rules-nav-card.is-open .neo-rules-nav-scroll {
    display: flex;
  }
  body.home-neo.pravidla-body .neo-rules-nav-card:not(.is-open)::after {
    opacity: 0;
  }
}

