/*
  Игрални зали ELITBET, дизайн 6 „Салон“.
  Вечерен салон в стил ар деко: прожектори в нощното небе, слънчеви лъчи, стъпаловидна арка,
  ветрила и рамки със златни ъгли. Цветовете са от elitbet.bg: лайм за действията,
  злато за джакпотите и тънките орнаменти.
*/

@property --s {
  syntax: "<length>";
  inherits: true;
  initial-value: 14px;
}

:root {
  --night: #11181b;
  --deep: #0c1113;
  --panel: #1d2429;
  --raise: #292e30;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: #3a4144;
  --lime: #a6cd36;
  --lime-hover: #b8d75e;
  --lime-pale: #c3de78;
  --chalk: #e1e1e1;
  --mist: #9d9fa6;
  --white: #fff;
  --gold: #ffc941;
  --gold-line: rgba(255, 201, 65, 0.3);
  --gold-soft: rgba(255, 201, 65, 0.6);
  --alert: #f26f63;

  --display: "Cormorant", Georgia, serif;
  --text: "Ysabeau Office", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 92px;
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cpath d='M0 7h72M108 7h72' stroke='%23ffc941' stroke-opacity='.55'/%3E%3Cpath d='M90 1.5l5.5 5.5-5.5 5.5-5.5-5.5z' fill='none' stroke='%23ffc941'/%3E%3Cpath d='M78 7h4M98 7h4' stroke='%23ffc941'/%3E%3Ccircle cx='90' cy='7' r='1.6' fill='%23a6cd36'/%3E%3C/svg%3E");
}

/* ---------- Основа ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font: 400 1.0625rem / 1.7 var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lime);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--lime-hover);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  color: var(--lime);
  font-style: italic;
  font-weight: 500;
}

p {
  margin: 0;
}

button {
  font: inherit;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.container {
  width: min(100% - 2 * clamp(16px, 4vw, 40px), 1180px);
  margin-inline: auto;
}

/* Рамка със златни ъгли: тънък контур и четири ъгъла, които се удължават при посочване. */
:is(.plaque, .directory, .directory-map, .map-block, .halls-map, .fan-card, .feature, .news-item, .facts) {
  --c: var(--gold-soft);
  border: 1px solid var(--gold-line);
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-position:
    6px 6px, 6px 6px,
    right 6px top 6px, right 6px top 6px,
    left 6px bottom 6px, left 6px bottom 6px,
    right 6px bottom 6px, right 6px bottom 6px;
  background-size:
    var(--s) 1px, 1px var(--s),
    var(--s) 1px, 1px var(--s),
    var(--s) 1px, 1px var(--s),
    var(--s) 1px, 1px var(--s);
  background-repeat: no-repeat;
  transition: --s 0.45s var(--ease), border-color 0.3s;
}

:is(.plaque, .directory, .directory-map, .map-block, .halls-map, .fan-card, .feature, .news-item, .facts):hover {
  --s: 28px;
  border-color: rgba(255, 201, 65, 0.5);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
}

.ornament span {
  width: 64px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.ornament i {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Бутони ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 0.8125rem / 1.1 var(--text);
  letter-spacing: 0.18em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--lime);
  color: var(--deep);
  box-shadow: 0 0 0 4px rgba(166, 205, 54, 0.12);
}

.btn--primary:hover {
  background: var(--lime-hover);
  color: var(--deep);
  box-shadow: 0 0 0 6px rgba(166, 205, 54, 0.16), 0 12px 30px -10px rgba(166, 205, 54, 0.6);
}

.btn--ghost {
  border-color: var(--gold-line);
  background: transparent;
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 201, 65, 0.4);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.actions--center {
  justify-content: center;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--gold);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-btn .icon {
  width: 18px;
  height: 18px;
}

.link-strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font: 700 0.8125rem / 1.2 var(--text);
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.link-strong::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.link-strong:hover::after {
  width: 36px;
}

/* ---------- Горни ленти ---------- */

.utility {
  background: var(--deep);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}

.utility p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  letter-spacing: 0.08em;
}

.age-mark {
  padding: 1px 6px;
  border: 1px solid var(--alert);
  border-radius: 3px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.utility a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--chalk);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.utility a .icon {
  width: 14px;
  height: 14px;
  color: var(--lime);
}

.utility a:hover {
  color: var(--lime);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--gold-line);
  background: rgba(12, 17, 19, 0.96);
  box-shadow: 0 4px 0 -3px rgba(255, 201, 65, 0.16);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand img {
  width: 150px;
  height: auto;
}

.brand-sub {
  color: var(--gold);
  font: 600 0.6875rem / 1 var(--text);
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav--left {
  justify-self: end;
}

.main-nav--right {
  justify-self: start;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: var(--chalk);
  font: 700 0.75rem / 1 var(--text);
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 6px;
  height: 6px;
  background: var(--lime);
  opacity: 0;
  transform: translateX(-50%) rotate(45deg) scale(0.4);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--lime);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) rotate(45deg) scale(1);
}

.header-find {
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 700 0.6875rem / 1 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%);
}

.header-find .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.header-find:hover {
  border-color: var(--lime);
}

.header-inner {
  position: relative;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle .i-close,
.menu-toggle[aria-expanded="true"] .i-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .i-close {
  display: block;
}

/* Менюто започва от долния ръб на лентата: над нея има и тънка лента, която се превърта. */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  z-index: 49;
  overflow: auto;
  padding: 36px 0 48px;
  background: radial-gradient(80% 50% at 50% 0%, rgba(255, 201, 65, 0.1), transparent 70%), var(--deep);
  text-align: center;
}

.mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu-main {
  display: grid;
  gap: 4px;
  margin-top: 24px !important;
}

.mobile-menu-main a {
  color: var(--white);
  font: 600 2.25rem / 1.25 var(--display);
  text-decoration: none;
}

.mobile-menu-main a[aria-current="page"],
.mobile-menu-main a:hover {
  color: var(--lime);
  font-style: italic;
}

.mobile-menu-sub {
  display: grid;
  gap: 8px;
  margin-top: 32px !important;
}

.mobile-menu-sub a {
  color: var(--mist);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

html.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) .mobile-menu-main li {
    animation: rise 0.6s var(--ease) both;
  }

  .mobile-menu-main li:nth-child(2) { animation-delay: 0.05s; }
  .mobile-menu-main li:nth-child(3) { animation-delay: 0.1s; }
  .mobile-menu-main li:nth-child(4) { animation-delay: 0.15s; }
  .mobile-menu-main li:nth-child(5) { animation-delay: 0.2s; }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    justify-items: start;
  }

  .header-find {
    position: static;
    grid-column: 3;
    transform: none;
  }

  .menu-toggle {
    display: inline-grid;
    grid-column: 4;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 72px;
  }

  .brand img {
    width: 124px;
  }

  .brand-sub {
    font-size: 0.5625rem;
  }

  .header-find {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }

  .header-find span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .utility p {
    letter-spacing: 0.02em;
  }
}

/* ---------- Секции ---------- */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
}

.section--tight {
  padding: 48px 0 clamp(72px, 9vw, 110px);
}

.section--deep {
  border-block: 1px solid var(--gold-line);
  background:
    repeating-conic-gradient(from 180deg at 50% -20%, rgba(255, 201, 65, 0.035) 0deg 1.2deg, transparent 1.2deg 6deg),
    var(--deep);
  box-shadow: inset 0 4px 0 -3px rgba(255, 201, 65, 0.14), inset 0 -4px 0 -3px rgba(255, 201, 65, 0.14);
}

.section-head--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center::before {
  content: "";
  display: block;
  width: 180px;
  height: 14px;
  margin: 0 auto 20px;
  background: var(--ornament) center / contain no-repeat;
  transition: transform 1s var(--ease), opacity 1s;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.section-title--sm {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.section-intro {
  max-width: 58ch;
  margin: 16px auto 0;
  color: var(--chalk);
}

.section-body {
  margin-top: clamp(36px, 5vw, 56px);
}

.lead {
  color: var(--chalk);
  font-size: 1.1875rem;
}

.board-note {
  margin-top: 24px;
  color: var(--mist);
  font-size: 0.875rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  /* Поява с анимация, а не с transition, за да не се губят преходите при посочване. */
  .js [data-reveal]:not(.is-in) {
    opacity: 0;
  }

  .js [data-reveal].is-in {
    animation: reveal 0.9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 110ms);
  }

  .js .section-head--center[data-reveal]:not(.is-in)::before {
    opacity: 0;
    transform: scaleX(0.2);
  }
}

/* ---------- Герой: прожектори, лъчи и арка ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(166, 205, 54, 0.12), transparent 70%),
    radial-gradient(60% 40% at 50% 0%, rgba(255, 201, 65, 0.06), transparent 70%),
    var(--deep);
}

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sunburst {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(170vw, 1900px);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 201, 65, 0.1) 0deg 1.4deg, transparent 1.4deg 7deg);
  -webkit-mask: radial-gradient(closest-side, #000 12%, transparent 72%);
  mask: radial-gradient(closest-side, #000 12%, transparent 72%);
}

.beam {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: clamp(120px, 14vw, 220px);
  height: 135%;
  translate: -50% 0;
  transform-origin: 50% 100%;
  rotate: var(--from);
  background: linear-gradient(to top, rgba(233, 246, 196, 0.26), rgba(233, 246, 196, 0.06) 55%, transparent 88%);
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  filter: blur(8px);
  mix-blend-mode: screen;
}

.beam--faint {
  opacity: 0.45;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.arch,
.hero-copy {
  grid-area: 1 / 1;
}

.arch {
  width: min(100%, 1000px);
  height: 100%;
  overflow: visible;
}

.arch path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: miter;
}

.arch-outer {
  stroke: rgba(255, 201, 65, 0.5);
  stroke-width: 1.5;
}

.arch-inner {
  stroke: rgba(166, 205, 54, 0.4);
  stroke-width: 1;
}

.hero-copy {
  position: relative;
  max-width: 980px;
  padding: clamp(48px, 6vw, 64px) clamp(28px, 6vw, 72px) clamp(80px, 9vw, 108px);
}

.fan {
  width: 120px;
  height: 64px;
  margin-inline: auto;
  overflow: visible;
}

.fan-rays path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 60px 62px;
  transform: rotate(var(--a));
}

.fan-base {
  fill: var(--gold);
}

.fan--hero {
  margin-bottom: 22px;
}

.hero-title {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero-line {
  font-size: clamp(3.75rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
}

.hero-sub {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold);
  font: 700 0.9375rem / 1 var(--text);
  letter-spacing: 0.62em;
  padding-left: 0.62em;
}

.hero-sub::before,
.hero-sub::after {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero-lead {
  max-width: 50ch;
  margin: 26px auto 0;
  font-size: 1.1875rem;
}

/* ---------- Табели с джакпоти ---------- */

.plaque {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 26px 28px 28px;
  background-color: rgba(12, 17, 19, 0.92);
  text-align: center;
}

.plaque--hero {
  z-index: 1;
  margin-top: -44px;
  min-width: min(100%, 440px);
  padding: 22px 40px 24px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(255, 201, 65, 0.35);
}

.plaque-text,
.plaques {
  margin: 0;
}

.plaque-text dt,
.plaque dt {
  color: var(--gold);
  font: 700 0.75rem / 1.2 var(--text);
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  text-transform: uppercase;
}

.plaque-text dd,
.plaque dd {
  margin: 8px 0 0;
  font: 600 clamp(2.75rem, 5.4vw, 4rem) / 1 var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

/* Злато с отблясък, който минава от време на време. */
.plaque-text dd,
.plaque--grand dd {
  background: linear-gradient(100deg, #ffc941 40%, #fff1c4 50%, #ffc941 60%) 100% 0 / 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plaque-note {
  margin-top: 8px;
  color: var(--mist);
  font-size: 0.8125rem;
}

.plaques {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plaques--hall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plaques .plaque {
  min-height: 150px;
}

.plaques .plaque dd {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--white);
}

.plaques .plaque--grand dd {
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  color: transparent;
}

.plaques .plaque:not(.plaque--grand) dt {
  color: var(--chalk);
}

@media (prefers-reduced-motion: no-preference) {
  .plaque-text dd,
  .plaque--grand dd {
    animation: gleam 6s 2s ease-in-out infinite;
  }
}

@keyframes gleam {
  0%,
  60% {
    background-position: 100% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

/* ---------- Анимации на героя ---------- */

@media (prefers-reduced-motion: no-preference) {
  .beam {
    animation: sweep var(--t) ease-in-out infinite alternate;
  }

  .sunburst {
    animation: sway 22s ease-in-out infinite alternate;
  }

  /* Двете половини на арката се изрисуват от върха надолу. Чертичката е по-дълга от
     всяка половина при всякакъв размер, защото с non-scaling-stroke се мери в пиксели. */
  .arch path {
    stroke-dasharray: 3000;
    animation: draw 2.6s 0.1s var(--ease) both;
  }

  .arch-inner {
    animation-delay: 0.35s;
  }

  .fan--hero .fan-rays path {
    animation: unfold 1.1s var(--ease) both;
    animation-delay: calc(0.5s + var(--a) * 0);
  }

  .fan--hero .fan-base {
    animation: fade 0.8s 0.4s both;
  }

  .hero-line {
    animation: track-in 1.4s 0.3s var(--ease) both;
  }

  .hero-sub {
    animation: sub-in 1.4s 0.6s var(--ease) both;
  }

  .hero-lead,
  .hero .actions {
    animation: rise 1s 0.8s var(--ease) both;
  }

  .hero .actions {
    animation-delay: 0.95s;
  }

  .plaque--hero {
    animation: rise 1s 1.1s var(--ease) both;
  }

  .hero.is-paused *,
  .page-hero.is-paused *,
  .page-hero.is-paused::before,
  .cta-band.is-paused * {
    animation-play-state: paused !important;
  }
}

@keyframes sweep {
  from {
    rotate: var(--from);
  }
  to {
    rotate: var(--to);
  }
}

@keyframes sway {
  from {
    rotate: -4deg;
  }
  to {
    rotate: 4deg;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 3000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes unfold {
  from {
    transform: rotate(0deg);
    opacity: 0;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes track-in {
  from {
    opacity: 0;
    letter-spacing: 0.22em;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    letter-spacing: -0.005em;
    filter: none;
  }
}

@keyframes sub-in {
  from {
    opacity: 0;
    letter-spacing: 1.2em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.62em;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 22px;
  }
}

/* ---------- Указател на залите ---------- */

.directory-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.directory-map,
.map-block {
  padding: clamp(16px, 2.6vw, 30px);
}

.directory {
  position: relative;
  padding: 28px 30px 30px;
  background-color: rgba(17, 24, 27, 0.75);
}

.directory-title {
  margin-bottom: 10px;
  color: var(--gold);
  font: 700 0.75rem / 1 var(--text);
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  text-align: center;
  text-transform: uppercase;
}

.directory-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.dir-item + .dir-item {
  border-top: 1px solid var(--line);
}

.dir-city {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 11px 2px;
  border: 0;
  background: none;
  color: var(--chalk);
  font: 600 1.4375rem / 1.2 var(--display);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.dir-city:hover {
  color: var(--white);
}

.dir-dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted rgba(255, 201, 65, 0.35);
  translate: 0 -5px;
}

.dir-n {
  color: var(--mist);
  font: 700 0.6875rem / 1 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dir-item.is-open .dir-city {
  color: var(--lime);
  font-style: italic;
}

.dir-item.is-open .dir-n {
  color: var(--lime-pale);
}

.dir-halls {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s 0.45s;
}

.dir-item.is-open .dir-halls {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s;
}

.dir-halls ul {
  min-height: 0;
  margin: 0;
  padding: 0 0 0 8px;
  overflow: hidden;
  list-style: none;
}

.dir-halls li {
  display: grid;
  gap: 1px;
  padding: 6px 0 10px 16px;
  border-left: 1px solid var(--gold-line);
}

.dir-halls li:last-child {
  margin-bottom: 12px;
}

.dir-halls a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.dir-halls a:hover {
  color: var(--lime);
}

.dir-halls span {
  color: var(--mist);
  font-size: 0.875rem;
}

/* ---------- Карта ---------- */

.citymap {
  position: relative;
  aspect-ratio: 1000 / 667;
  container-type: inline-size;
}

.citymap-land {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.citymap-land path {
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.citymap-land .land {
  fill: rgba(255, 201, 65, 0.035);
  stroke: none;
}

.citymap-land .land-double {
  fill: none;
  stroke: rgba(255, 201, 65, 0.55);
  stroke-width: 6;
}

.citymap-land .land-gap {
  fill: none;
  stroke: var(--deep);
  stroke-width: 3.6;
}

.section:not(.section--deep) .citymap-land .land-gap,
.map-block .citymap-land .land-gap,
.halls-map .citymap-land .land-gap,
.finder .citymap-land .land-gap {
  stroke: var(--night);
}

.citymap-pins {
  position: absolute;
  inset: 0;
}

.pin {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--chalk);
  cursor: pointer;
  transition: opacity 0.4s, scale 0.6s var(--ease);
}

.pin:hover,
.pin:focus-visible,
.pin.is-active {
  z-index: 2;
}

.pin:focus-visible {
  outline: none;
}

.pin-dot {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gold);
  background: var(--deep);
  transform: rotate(45deg);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}

/* Малки лъчи около избрания град. */
.pin-dot::after {
  content: "";
  position: absolute;
  inset: -14px;
  background: repeating-conic-gradient(rgba(166, 205, 54, 0.7) 0deg 6deg, transparent 6deg 30deg);
  -webkit-mask: radial-gradient(closest-side, transparent 45%, #000 50%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 45%, #000 50%, transparent 100%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s, transform 0.5s var(--ease);
}

.pin-label {
  position: absolute;
  left: 12px;
  top: 0;
  padding: 2px 4px;
  color: var(--chalk);
  font: 700 0.6875rem / 1.2 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--deep), 0 0 2px var(--deep);
  white-space: nowrap;
  transform: translateY(-50%);
  transition: color 0.25s;
}

.pin-count {
  color: var(--gold);
}

.pin[data-side="left"] .pin-label { left: auto; right: 12px; }
.pin[data-side="top"] .pin-label { top: auto; bottom: 12px; left: 0; transform: translateX(-50%); }
.pin[data-side="bottom"] .pin-label { top: 12px; left: 0; transform: translateX(-50%); }
.pin[data-side="top-right"] .pin-label { left: 6px; top: auto; bottom: 6px; transform: none; }
.pin[data-side="bottom-right"] .pin-label { left: 6px; top: 6px; transform: none; }
.pin[data-side="top-left"] .pin-label { left: auto; right: 6px; top: auto; bottom: 6px; transform: none; }
.pin[data-side="bottom-left"] .pin-label { left: auto; right: 6px; top: 6px; transform: none; }

.pin:hover .pin-label {
  color: var(--white);
}

.pin:focus-visible .pin-label {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.pin.is-active .pin-dot {
  border-color: var(--lime);
  background: var(--lime);
  transform: rotate(45deg) scale(1.25);
}

.pin.is-active .pin-dot::after {
  opacity: 1;
  transform: scale(1);
}

.pin.is-active .pin-label {
  color: var(--lime);
}

/* Градовете извън филтъра са сиви, но надписите им остават четими. */
.citymap .pin.is-dim .pin-dot {
  border-color: var(--line-strong);
}

.citymap .pin.is-dim .pin-label,
.citymap .pin.is-dim .pin-count {
  color: var(--mist);
}

@media (prefers-reduced-motion: no-preference) {
  .pin.is-active .pin-dot::after {
    animation: spin 14s linear infinite;
  }

  .citymap.pins-wait:not(.pins-in) .pin {
    opacity: 0;
    scale: 0.3;
  }

  .citymap.pins-in .pin {
    transition-delay: calc(var(--i) * 90ms);
  }
}

@keyframes spin {
  to {
    rotate: 1turn;
  }
}

@container (max-width: 520px) {
  .pin-label {
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
  }
}

.map-callout {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-line);
}

.callout-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.callout-title {
  font-size: 2rem;
  font-style: italic;
}

.callout-head p {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.callout-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.callout-list li {
  display: grid;
  gap: 1px;
  padding: 8px 0 8px 16px;
  border-left: 1px solid var(--gold-line);
}

.callout-list a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.callout-list a:hover {
  color: var(--lime);
}

.callout-list span {
  color: var(--mist);
  font-size: 0.875rem;
}

/* ---------- Състояние ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime-pale);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--lime);
  transform: rotate(45deg);
}

.status.is-closed {
  color: var(--alert);
}

.status.is-closed::before {
  background: var(--alert);
}

.status--hero {
  margin-top: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(166, 205, 54, 0.35);
  border-radius: 999px;
  font-size: 0.875rem;
}

/* ---------- Оферти: ветрила ---------- */

.fans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.fan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 22px 30px;
  background-color: var(--night);
  text-align: center;
}

.fan-head {
  position: relative;
  display: grid;
  justify-items: center;
  margin-bottom: 18px;
}

.fan-head .fan {
  width: 110px;
  height: 58px;
}

.fan-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -10px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--deep);
  color: var(--lime);
}

.fan-icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}

.fan-card .offer-when {
  color: var(--gold);
  font: 700 0.6875rem / 1.3 var(--text);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.fan-card h3,
.fan-card h2 {
  margin-top: 8px;
  font-size: 1.875rem;
}

.fan-card p:last-child {
  margin-top: 10px;
  color: var(--mist);
  font-size: 0.9375rem;
}

.fan-card:hover .fan-rays path {
  stroke: var(--lime);
}

@media (prefers-reduced-motion: no-preference) {
  .fan-card .fan-rays path {
    transition: transform 0.9s var(--ease), stroke 0.3s;
  }

  .js .fan-card:not(.is-in) .fan-rays path {
    transform: rotate(0deg);
  }

  .fan-card.is-in .fan-rays path {
    transition-delay: 0.25s;
  }
}

.offer-list {
  display: grid;
  gap: 18px;
}

.fan-card--wide {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  text-align: left;
}

.fan-card--wide .fan-head {
  margin: 0;
}

.fan-card--wide h2 {
  font-size: 2.5rem;
}

.fan-card--wide p:last-child {
  max-width: 64ch;
  font-size: 1rem;
}

/* ---------- Други блокове ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 28px 24px;
  background-color: var(--night);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 6px 0 0 6px;
  border: 1px solid var(--gold-soft);
  color: var(--lime);
  transform: rotate(45deg);
}

.feature-icon .icon {
  width: 22px;
  height: 22px;
  transform: rotate(-45deg);
}

.feature h3 {
  margin-top: 22px;
  font-size: 1.625rem;
}

.feature p {
  margin-top: 8px;
  color: var(--mist);
  font-size: 0.96875rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.partner-slot {
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 30px 26px;
  border: 1px solid var(--gold-line);
  text-align: center;
}

.step-n {
  display: block;
  color: var(--gold);
  font: italic 500 3.5rem / 1 var(--display);
}

.steps h3 {
  margin-top: 12px;
  font-size: 1.75rem;
}

.steps p {
  margin-top: 8px;
  color: var(--mist);
}

.timeline {
  position: relative;
  display: grid;
  gap: 44px;
  max-width: 640px;
  margin-inline: auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--gold-line) 10%, var(--gold-line) 90%, transparent);
  transform-origin: top;
  transition: transform 1.6s var(--ease);
}

.js .timeline:not(.is-in)::before {
  transform: scaleY(0);
}

.timeline li {
  position: relative;
  padding: 24px 28px;
  background: var(--night);
}

.timeline-year {
  display: block;
  color: var(--gold);
  font: italic 500 3.5rem / 1 var(--display);
}

.timeline h3 {
  margin-top: 6px;
  font-size: 1.75rem;
}

.timeline p {
  max-width: 46ch;
  margin: 8px auto 0;
  color: var(--mist);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.split-text {
  padding-top: 20px;
}

.split-text .section-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.split-text .lead {
  margin-top: 16px;
}

/* ---------- Вътрешни страници ---------- */

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(56px, 8vw, 100px) 0 clamp(52px, 7vw, 84px);
  border-bottom: 1px solid var(--gold-line);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 201, 65, 0.07), transparent 70%),
    var(--deep);
  box-shadow: inset 0 -4px 0 -3px rgba(255, 201, 65, 0.16);
  text-align: center;
}

/* Лъчи от горния край, като над вход на салон. */
.page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(150vw, 1500px);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 201, 65, 0.06) 0deg 1.2deg, transparent 1.2deg 6deg);
  -webkit-mask: radial-gradient(closest-side, #000 10%, transparent 70%);
  mask: radial-gradient(closest-side, #000 10%, transparent 70%);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
}

.page-hero > .container::before {
  content: "";
  display: block;
  width: 180px;
  height: 14px;
  margin: 0 auto 22px;
  background: var(--ornament) center / contain no-repeat;
}

.page-hero .breadcrumb + * {
  margin-top: 0;
}

.page-title {
  font-size: clamp(3rem, 7.4vw, 5.75rem);
  line-height: 0.95;
}

.page-title--md {
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
}

.page-title-kind {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font: 700 0.75rem / 1.2 var(--text);
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  text-transform: uppercase;
}

.page-lead {
  max-width: 60ch;
  margin: 22px auto 0;
  font-size: 1.125rem;
}

.article-date {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.breadcrumb {
  order: -1;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  content: "◆";
  margin-right: 8px;
  color: var(--gold);
  font-size: 0.5rem;
  vertical-align: 0.15em;
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--lime);
}

.breadcrumb [aria-current] {
  color: var(--chalk);
}

@media (prefers-reduced-motion: no-preference) {
  .page-title {
    animation: track-in 1.3s 0.1s var(--ease) both;
  }

  .page-hero .page-lead,
  .page-hero .article-date,
  .page-hero .breadcrumb {
    animation: rise 0.9s 0.4s var(--ease) both;
  }

  .page-hero .breadcrumb {
    animation-delay: 0s;
  }

  .page-hero::before {
    animation: sway 24s ease-in-out infinite alternate;
  }
}

/* ---------- Текст ---------- */

.prose {
  max-width: 72ch;
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 2rem;
}

.prose h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 14px;
  border: 1px solid var(--gold);
  vertical-align: 0.2em;
  transform: rotate(45deg);
}

.prose ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 24px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.prose .lead {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.625rem;
  font-style: italic;
  line-height: 1.35;
}

.note {
  padding: 16px 20px;
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
  background: rgba(255, 201, 65, 0.05);
}

.back-link {
  margin-top: 40px !important;
}

.prose .help-list {
  gap: 0;
}

.prose .help-list li {
  display: grid;
  gap: 2px;
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid var(--line);
}

.help-list strong {
  color: var(--white);
}

.help-list span {
  color: var(--mist);
}

/* ---------- Актуално ---------- */

.news-list {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  background-color: var(--night);
}

.news-art {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-left: 10px;
  border: 1px solid var(--gold-soft);
  color: var(--lime);
  transform: rotate(45deg);
}

.news-art .icon {
  width: 26px;
  height: 26px;
  transform: rotate(-45deg);
}

.news-body time {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.news-body h2 {
  margin-top: 6px;
  font-size: 1.875rem;
}

.news-body h2 a {
  color: var(--white);
  text-decoration: none;
}

.news-body h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.news-body h2 a:hover {
  color: var(--lime);
}

.news-body p {
  margin-top: 6px;
  color: var(--mist);
}

/* ---------- Игрални зали ---------- */

.halls-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
}

.halls-tools {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 4px;
  border-bottom: 1px solid var(--gold-soft);
  color: var(--mist);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search:focus-within {
  border-color: var(--lime);
  box-shadow: 0 1px 0 var(--lime);
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  border: 0;
  background: none;
  color: var(--white);
  font: 500 1.25rem / 1.2 var(--display);
}

.search input:focus {
  outline: none;
}

.search input::placeholder {
  color: var(--mist);
  font-style: italic;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--chalk);
  font: 700 0.75rem / 1 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.chip span {
  color: var(--gold);
}

.chip:hover {
  color: var(--white);
  border-bottom-color: var(--gold-line);
}

.chip[aria-pressed="true"] {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.halls-status {
  color: var(--mist);
  font-size: 0.875rem;
}

.halls-map {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px;
  background-color: rgba(12, 17, 19, 0.6);
}

.halls-map-note {
  margin-top: 14px;
  color: var(--mist);
  font-size: 0.875rem;
  text-align: center;
}

.city-group + .city-group {
  margin-top: 44px;
}

.city-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.city-head h2 {
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 500;
}

.city-head::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--gold-line);
  translate: 0 -8px;
}

.city-head p {
  order: 2;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.city-halls,
.others,
.finder-list {
  display: grid;
}

.hall-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "main actions" "status actions";
  align-items: center;
  gap: 6px 20px;
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s;
}

.hall-row:hover {
  background: linear-gradient(90deg, rgba(255, 201, 65, 0.06), transparent 70%);
}

.hall-name {
  font-size: 1.625rem;
  line-height: 1.15;
}

.hall-name a {
  color: var(--white);
  text-decoration: none;
}

.hall-name a:hover {
  color: var(--lime);
}

.hall-addr {
  margin-top: 2px;
  color: var(--mist);
  font-size: 0.9375rem;
}

.hall-km {
  margin-left: 8px;
  color: var(--gold);
  font-weight: 700;
}

.hall-row-main {
  grid-area: main;
}

.hall-row .status {
  grid-area: status;
}

.hall-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--gold-line);
}

.empty-title {
  color: var(--white);
  font: 600 1.5rem / 1.2 var(--display);
}

/* ---------- Страница на зала ---------- */

.hall-hero .page-title {
  font-size: clamp(3.25rem, 8.4vw, 6.75rem);
}

.hall-hero .page-title em {
  display: block;
}

.hall-text {
  max-width: 60ch;
  margin: 18px auto 0;
  font-size: 1.125rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 clamp(56px, 8vw, 88px);
  padding: 8px;
  background-color: var(--deep);
}

.facts > div {
  padding: 18px 22px;
  text-align: center;
}

.facts > div + div {
  border-left: 1px solid var(--gold-line);
}

.facts dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.facts dt .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.facts dd {
  margin: 6px 0 0;
  color: var(--white);
  font: 600 1.375rem / 1.25 var(--display);
}

.facts dd a {
  color: var(--white);
}

.subsection + .subsection {
  margin-top: clamp(64px, 9vw, 100px);
}

.subsection-title {
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
}

.subsection-title--left {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-line);
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
}

.subsection-more {
  margin-top: 24px;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery img,
.photo-slot {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo-slot,
.tour-slot {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid var(--gold-line);
  outline: 1px solid rgba(255, 201, 65, 0.12);
  outline-offset: -8px;
  background: var(--deep);
  color: var(--mist);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.photo-slot .icon,
.tour-slot .icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.tour-slot {
  aspect-ratio: 21 / 9;
  padding: 16px;
  text-align: center;
}

[data-hall-tour] iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.map-frame {
  display: block;
  width: 100%;
  height: 400px;
  border: 1px solid var(--gold-line);
  filter: grayscale(0.4) invert(0.92) hue-rotate(180deg) brightness(0.88) contrast(0.92) sepia(0.12);
}

.map-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--mist);
}

/* ---------- Призив в края ---------- */

.cta-band {
  position: relative;
  overflow: clip;
  padding: clamp(96px, 13vw, 160px) 0;
  border-top: 1px solid var(--gold-line);
  background: radial-gradient(60% 80% at 50% 100%, rgba(166, 205, 54, 0.14), transparent 70%), var(--deep);
  text-align: center;
}

.sunburst--low {
  top: 115%;
  width: min(140vw, 1500px);
}

@media (prefers-reduced-motion: no-preference) {
  .sunburst--low {
    animation: sway 26s ease-in-out infinite alternate;
  }
}

.cta-band > .container {
  position: relative;
}

.cta-title {
  margin-top: 20px;
  font-size: clamp(3.25rem, 8vw, 6rem);
}

.cta-text {
  margin-top: 18px;
  font-size: 1.125rem;
}

/* ---------- Долна лента ---------- */

.site-footer {
  padding: 64px 0 120px;
  border-top: 1px solid var(--gold-line);
  background: var(--deep);
  box-shadow: inset 0 4px 0 -3px rgba(255, 201, 65, 0.16);
  text-align: center;
}

.brand--footer {
  margin-top: 26px;
}

.brand--footer img {
  width: 180px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--chalk);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--lime);
}

.footer-nav--small {
  margin-top: 14px;
}

.footer-nav--small a {
  color: var(--mist);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--chalk);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.footer-warning {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 70ch;
  margin-top: 34px;
  color: var(--chalk);
  font-weight: 600;
  text-align: left;
}

.age-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--alert);
  color: var(--deep);
  font: 700 0.875rem / 1 var(--text);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

.footer-legal {
  max-width: 90ch;
  margin: 18px auto 0;
  color: var(--mist);
  font-size: 0.875rem;
}

.footer-copy {
  margin-top: 14px;
  color: var(--mist);
  font-size: 0.8125rem;
}

/* ---------- „Намери зала“ ---------- */

.finder-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--deep);
  font: 700 0.75rem / 1 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(166, 205, 54, 0.14), 0 16px 34px -12px rgba(166, 205, 54, 0.6);
  transition: background-color 0.2s, box-shadow 0.3s;
}

.finder-fab:hover {
  background: var(--lime-hover);
  box-shadow: 0 0 0 8px rgba(166, 205, 54, 0.16), 0 16px 34px -12px rgba(166, 205, 54, 0.7);
}

.finder-fab .icon {
  width: 18px;
  height: 18px;
}

.finder {
  width: min(100% - 24px, 780px);
  max-height: min(88vh, 860px);
  padding: 0;
  border: 1px solid var(--gold-line);
  background: var(--deep);
  color: var(--chalk);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
  outline: 1px solid rgba(255, 201, 65, 0.14);
  outline-offset: -8px;
}

.finder::backdrop {
  background: rgba(5, 8, 9, 0.78);
}

@media (prefers-reduced-motion: no-preference) {
  .finder[open] {
    animation: rise 0.45s var(--ease);
  }
}

.finder-inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 30px 0;
}

.finder-head h2 {
  font-size: 2.5rem;
}

.finder-tools {
  display: grid;
  gap: 14px;
  padding: 16px 30px 18px;
  border-bottom: 1px solid var(--gold-line);
}

.finder-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.finder-count {
  font-weight: 600;
}

.finder-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
}

.seg button {
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--chalk);
  font: 700 0.6875rem / 1 var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  background: var(--lime);
  color: var(--deep);
}

.finder-body {
  overflow: auto;
  padding: 8px 30px 26px;
  overscroll-behavior: contain;
}

.finder .hall-row {
  grid-template-areas: "main actions";
}

.finder .hall-row .status {
  display: none;
}

/* ---------- Отзивчивост ---------- */

@media (max-width: 1100px) {
  .plaques {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plaques .plaque--grand {
    grid-column: 1 / -1;
  }

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

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

  .halls-layout,
  .directory-wrap,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .halls-map {
    position: static;
    order: -1;
  }

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

@media (max-width: 760px) {
  .hero-copy {
    padding-inline: 18px;
  }

  .arch {
    width: calc(100% + 8px);
  }

  .hero-sub {
    letter-spacing: 0.4em;
    padding-left: 0.4em;
  }

  .hero-sub::before,
  .hero-sub::after {
    width: 24px;
  }

  .plaque--hero {
    min-width: 0;
    width: 100%;
    padding-inline: 18px;
  }

  /* На телефон по-малките джакпоти са редове: вид вляво, сума вдясно. */
  .plaques,
  .plaques--hall {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .plaques .plaque:not(.plaque--grand) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 18px 22px;
  }

  .plaques .plaque:not(.plaque--grand) dd {
    margin: 0;
    font-size: 1.875rem;
  }

  .fans,
  .features,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .fan-card--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 28px 22px;
    text-align: center;
  }

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

  .facts > div + div {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .hall-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "status" "actions";
    gap: 8px;
  }

  .hall-actions {
    margin-top: 6px;
  }

  .news-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px 20px;
  }

  .directory {
    padding: 24px 18px;
  }

  .map-frame {
    height: 300px;
  }

  .finder-head,
  .finder-tools {
    padding-inline: 18px;
  }

  .finder-body {
    padding-inline: 18px;
  }

  .finder-fab {
    right: 14px;
    bottom: 14px;
  }

  .tour-slot {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-line {
    font-size: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
