/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: #0c0a14;
  color: #e8e4f0;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
body.page-transition {
  opacity: 0;
  transform: translateY(10px);
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #1a1625;
}
::-webkit-scrollbar-thumb {
  background: #7c4dff;
  border-radius: 12px;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1b2b;
  color: #f0edf7;
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  border: 1px solid #3b314f;
  font-size: 0.9rem;
  max-width: 90%;
  text-align: center;
}
.toast.show {
  opacity: 1;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 10, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 77, 255, 0.12);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px 12px;
}
.mobile-menu-toggle {
  display: none;
}
.logo {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #b388ff, #7c4dff, #b388ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 4s ease infinite;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 20px;
}
@media (min-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }
}
@media (min-width: 768px) {
  .logo {
    font-size: 1.8rem;
  }
}
.logo:hover {
  transform: scale(1.02);
  filter: brightness(1.2);
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.nav {
  display: flex;
  gap: 6px;
  font-weight: 500;
  font-size: 0.6rem;
  flex-wrap: nowrap;
  align-items: center;
  flex: 1;
  justify-content: center;
}
@media (min-width: 480px) {
  .nav {
    gap: 10px;
    font-size: 0.7rem;
  }
}
@media (min-width: 768px) {
  .nav {
    gap: 16px;
    font-size: 0.85rem;
  }
}
@media (min-width: 1024px) {
  .nav {
    gap: 24px;
    font-size: 0.95rem;
  }
}
.nav a {
  color: #b0a8c8;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c4dff, #b388ff);
  transition: width 0.3s ease;
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
.nav a:hover,
.nav a.active {
  color: #fff;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
@media (min-width: 480px) {
  .header-right {
    gap: 8px;
  }
}
@media (min-width: 768px) {
  .header-right {
    gap: 12px;
  }
}
.header-phone {
  color: #d4cee6;
  font-weight: 600;
  font-size: 0.6rem;
  cursor: pointer;
  transition: 0.2s;
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid rgba(124, 77, 255, 0.12);
  background: rgba(124, 77, 255, 0.04);
  white-space: nowrap;
}
@media (min-width: 480px) {
  .header-phone {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}
@media (min-width: 768px) {
  .header-phone {
    font-size: 0.85rem;
    padding: 6px 16px;
  }
}
.header-phone:hover {
  background: rgba(124, 77, 255, 0.12);
  border-color: #7c4dff;
  color: #fff;
}

.horror-header-tab {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 110, 199, 0.36);
  border-radius: 30px;
  padding: 7px 14px;
  background: rgba(255, 110, 199, 0.1);
  color: #ffd5eb;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s;
}
.horror-header-tab:hover,
.horror-header-tab.active {
  border-color: #ff6ec7;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.32), rgba(124, 77, 255, 0.22));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 110, 199, 0.18);
}
.social-icons {
  display: flex;
  gap: 4px;
}
.social-icons a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: rgba(31, 26, 46, 0.5);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #b0a8c8;
  font-weight: 600;
  font-size: 0.45rem;
  cursor: pointer;
  transition: 0.25s;
  border: 1px solid rgba(51, 45, 68, 0.3);
  text-decoration: none;
}
@media (min-width: 480px) {
  .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 0.55rem;
  }
}
@media (min-width: 768px) {
  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 0.6rem;
  }
}
.social-icons a:hover {
  background: #7c4dff;
  color: #fff;
  border-color: #7c4dff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.3);
}
.social-icons .taplink-link {
  gap: 6px;
  width: auto;
  min-width: 64px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.social-icons .taplink-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: rgba(179, 136, 255, 0.28);
  border: 1px solid rgba(179, 136, 255, 0.48);
}

@media (max-width: 767px) {
  .header {
    padding: 8px 0;
  }

  .header .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }

  .logo {
    font-size: 1.35rem;
    margin-right: 0;
    min-width: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 77, 255, 0.22);
    border-radius: 12px;
    background: rgba(31, 26, 46, 0.82);
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
  }

  .mobile-menu-toggle:active {
    transform: scale(0.96);
  }

  .mobile-menu-toggle .menu-icon {
    position: relative;
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    transition: background 0.2s;
  }

  .mobile-menu-toggle .menu-icon::before,
  .mobile-menu-toggle .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    transition: transform 0.2s, top 0.2s;
  }

  .mobile-menu-toggle .menu-icon::before {
    top: -6px;
  }

  .mobile-menu-toggle .menu-icon::after {
    top: 6px;
  }

  .header.mobile-open .mobile-menu-toggle {
    border-color: #7c4dff;
    background: rgba(124, 77, 255, 0.22);
  }

  .header.mobile-open .mobile-menu-toggle .menu-icon {
    background: transparent;
  }

  .header.mobile-open .mobile-menu-toggle .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .header.mobile-open .mobile-menu-toggle .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav,
  .header-right {
    display: none;
  }

  .header-right {
    display: contents;
  }

  .header-phone {
    display: none;
  }

  .horror-header-tab {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
    font-size: 0.86rem;
  }

  .social-icons {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    gap: 0;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.62rem;
  }

  .account-button {
    display: none;
  }

  .header.mobile-open .nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header.mobile-open .nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(124, 77, 255, 0.12);
    font-size: 0.92rem;
  }

  .header.mobile-open .nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(124, 77, 255, 0.08);
    border-radius: 12px;
    background: rgba(31, 26, 46, 0.46);
    color: #d8d1ea;
    white-space: normal;
  }

  .header.mobile-open .nav a::after {
    display: none;
  }

  .header.mobile-open .nav a.active {
    border-color: rgba(124, 77, 255, 0.36);
    background: rgba(124, 77, 255, 0.16);
    color: #fff;
  }

  .header.mobile-open .nav a[href="events.html"] {
    display: none;
  }

}

.glow-line {
  width: 100%;
  height: 2px;
  margin-top: 8px;
  border-radius: 4px;
  opacity: 0.9;
  background: linear-gradient(90deg, #7c4dff, #b388ff, #ff6ec7, #7c4dff);
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}

/* ===== HERO ===== */
.hero {
  padding: 30px 0 16px;
  background: radial-gradient(ellipse at 20% 30%, #1a1430, #0c0a14 70%);
  border-bottom: 1px solid #1f1a2e;
}
@media (min-width: 768px) {
  .hero {
    padding: 50px 0 24px;
  }
}
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
}
@media (min-width: 768px) {
  .hero-grid {
    gap: 30px;
  }
}
.hero-content {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-content {
    flex: 1 1 400px;
  }
}
.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
@media (min-width: 480px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
}
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.6rem;
  }
}
.hero-content h1 span {
  background: linear-gradient(135deg, #b388ff, #d77cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .sub {
  font-size: 0.95rem;
  color: #b0a8c8;
  max-width: 500px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .hero-content .sub {
    font-size: 1.15rem;
    margin-bottom: 28px;
  }
}

.hero-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0 0;
}
@media (min-width: 480px) {
  .hero-offers {
    gap: 14px;
    margin: 16px 0 0 0;
  }
}
@media (min-width: 768px) {
  .hero-offers {
    gap: 18px;
    margin: 24px 0 0 0;
  }
}
.hero-offer {
  padding: 10px 24px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
  border: none;
  background: linear-gradient(135deg, #7c4dff, #b388ff);
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.2);
  text-align: center;
  flex: 1 1 auto;
  min-width: 140px;
  text-decoration: none;
}
@media (min-width: 480px) {
  .hero-offer {
    padding: 12px 30px;
    font-size: 1rem;
    min-width: 160px;
  }
}
@media (min-width: 768px) {
  .hero-offer {
    padding: 14px 36px;
    font-size: 1.1rem;
    min-width: 180px;
  }
}
.hero-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 77, 255, 0.35);
}
.hero-offer.pink {
  background: linear-gradient(135deg, #ff6ec7, #ff3d8a);
  box-shadow: 0 4px 20px rgba(255, 110, 199, 0.2);
}
.hero-offer.pink:hover {
  box-shadow: 0 8px 30px rgba(255, 110, 199, 0.35);
}
.hero-offer.green {
  background: linear-gradient(135deg, #4ecdc4, #2ecc71);
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.2);
}
.hero-offer.green:hover {
  box-shadow: 0 8px 30px rgba(78, 205, 196, 0.35);
}
.hero-offer.orange {
  background: linear-gradient(135deg, #f9a825, #ff6f00);
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.2);
}
.hero-offer.orange:hover {
  box-shadow: 0 8px 30px rgba(249, 168, 37, 0.35);
}

.hero-right {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}
@media (min-width: 480px) {
  .hero-right {
    flex: 1 1 60%;
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .hero-right {
    flex: 1 1 380px;
    max-width: 480px;
    gap: 14px;
  }
}

.hero-photo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2f2845;
  background: #13101e;
  cursor: pointer;
  max-height: 320px;
}
@media (min-width: 480px) {
  .hero-photo-card {
    max-height: 400px;
    border-radius: 20px;
  }
}
@media (min-width: 768px) {
  .hero-photo-card {
    border-radius: 24px;
    max-height: none;
  }
}
.hero-photo-card .photo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 20px;
  background: #1a1625;
}
.hero-photo-card .photo-slide.active {
  opacity: 1;
}
.hero-photo-card .photo-slide .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
}
.hero-photo-card .photo-slide .slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 20, 0.12), rgba(12, 10, 20, 0.82));
}
.hero-photo-card .photo-slide .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.hero-photo-card .photo-slide .slide-content .emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}
@media (min-width: 480px) {
  .hero-photo-card .photo-slide .slide-content .emoji {
    font-size: 3.8rem;
  }
}
@media (min-width: 768px) {
  .hero-photo-card .photo-slide .slide-content .emoji {
    font-size: 4.5rem;
    margin-bottom: 10px;
  }
}
.hero-photo-card .photo-slide .slide-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 480px) {
  .hero-photo-card .photo-slide .slide-content h3 {
    font-size: 1.3rem;
  }
}
@media (min-width: 768px) {
  .hero-photo-card .photo-slide .slide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }
}
.hero-photo-card .photo-slide .slide-content p {
  color: #d4c8f0;
  font-size: 0.7rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
@media (min-width: 480px) {
  .hero-photo-card .photo-slide .slide-content p {
    font-size: 0.85rem;
  }
}
@media (min-width: 768px) {
  .hero-photo-card .photo-slide .slide-content p {
    font-size: 0.95rem;
  }
}
.hero-photo-card .photo-slide .slide-content .slide-tag {
  display: inline-block;
  background: rgba(124, 77, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #b388ff;
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 40px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(124, 77, 255, 0.15);
}
@media (min-width: 480px) {
  .hero-photo-card .photo-slide .slide-content .slide-tag {
    font-size: 0.6rem;
    padding: 3px 12px;
    margin-top: 6px;
  }
}
@media (min-width: 768px) {
  .hero-photo-card .photo-slide .slide-content .slide-tag {
    font-size: 0.65rem;
    padding: 3px 14px;
    margin-top: 6px;
  }
}
.hero-photo-card .photo-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 5;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-photo-card .photo-arrows {
    padding: 0 12px;
  }
}
.hero-photo-card .photo-arrows button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 480px) {
  .hero-photo-card .photo-arrows button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}
@media (min-width: 768px) {
  .hero-photo-card .photo-arrows button {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}
.hero-photo-card .photo-arrows button:hover {
  background: rgba(124, 77, 255, 0.4);
  border-color: #7c4dff;
}
.hero-photo-card .photo-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
@media (min-width: 768px) {
  .hero-photo-card .photo-dots {
    bottom: 16px;
    gap: 8px;
  }
}
.hero-photo-card .photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
@media (min-width: 768px) {
  .hero-photo-card .photo-dot {
    width: 8px;
    height: 8px;
  }
}
.hero-photo-card .photo-dot.active {
  background: #7c4dff;
  box-shadow: 0 0 16px rgba(124, 77, 255, 0.4);
}

.hero-promo {
  background: linear-gradient(135deg, #151121, #1f1830);
  padding: 12px 18px;
  border: 1px solid rgba(124, 77, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-top: 8px;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .hero-promo {
    padding: 14px 24px;
    gap: 14px 24px;
    border-radius: 16px;
    margin-top: 12px;
  }
}
.hero-promo .promo-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .hero-promo .promo-icon {
    font-size: 1.6rem;
  }
}
.hero-promo .promo-text {
  font-size: 0.8rem;
  color: #d4c8f0;
  font-weight: 500;
}
@media (min-width: 480px) {
  .hero-promo .promo-text {
    font-size: 0.9rem;
  }
}
@media (min-width: 768px) {
  .hero-promo .promo-text {
    font-size: 1rem;
  }
}
.hero-promo .promo-text strong {
  color: #fff;
  font-weight: 800;
}
.hero-promo .promo-text .highlight {
  color: #b388ff;
  font-weight: 700;
}
.hero-promo .promo-btn {
  background: #7c4dff;
  border: none;
  padding: 6px 20px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.7rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .hero-promo .promo-btn {
    padding: 8px 28px;
    font-size: 0.85rem;
  }
}
.hero-promo .promo-btn:hover {
  background: #966aff;
  transform: scale(1.02);
  box-shadow: 0 4px 25px rgba(124, 77, 255, 0.3);
}

/* ===== АТМОСФЕРА ===== */
.atmosphere-section {
  padding: 30px 0 25px;
  border-bottom: 1px solid #1f1a2e;
}
@media (min-width: 768px) {
  .atmosphere-section {
    padding: 50px 0 40px;
  }
}
.atmosphere-section .section-title {
  margin-bottom: 16px;
}
.atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.atmosphere-carousel-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #26203a;
  background: #13101e;
}
@media (min-width: 768px) {
  .atmosphere-carousel-wrapper {
    border-radius: 28px;
  }
}
.atmosphere-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.atmosphere-carousel-slide {
  min-width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1625;
  position: relative;
  overflow: hidden;
  padding: 16px;
}
.atmosphere-carousel-slide.offer-slide {
  background:
    linear-gradient(145deg, rgba(124, 77, 255, 0.24), rgba(255, 110, 199, 0.1)),
    #171222;
}
@media (min-width: 480px) {
  .atmosphere-carousel-slide {
    height: 280px;
  }
}
@media (min-width: 768px) {
  .atmosphere-carousel-slide {
    height: 360px;
    padding: 20px;
  }
}
.atmosphere-carousel-slide .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 1;
  background-size: cover;
  background-position: center;
}
.atmosphere-carousel-slide .slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 20, 0.18), rgba(12, 10, 20, 0.82));
}
.atmosphere-carousel-slide .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.atmosphere-carousel-slide .slide-content .emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 6px;
}
@media (min-width: 480px) {
  .atmosphere-carousel-slide .slide-content .emoji {
    font-size: 3.5rem;
  }
}
@media (min-width: 768px) {
  .atmosphere-carousel-slide .slide-content .emoji {
    font-size: 4rem;
    margin-bottom: 12px;
  }
}
.atmosphere-carousel-slide .slide-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
@media (min-width: 480px) {
  .atmosphere-carousel-slide .slide-content h3 {
    font-size: 1.3rem;
  }
}
@media (min-width: 768px) {
  .atmosphere-carousel-slide .slide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }
}
.atmosphere-carousel-slide .slide-content p {
  color: #b0a8c8;
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  .atmosphere-carousel-slide .slide-content p {
    font-size: 0.95rem;
  }
}
.atmosphere-carousel-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 5;
  pointer-events: none;
}
@media (min-width: 768px) {
  .atmosphere-carousel-arrows {
    padding: 0 14px;
  }
}
.atmosphere-carousel-arrows button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .atmosphere-carousel-arrows button {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}
.atmosphere-carousel-arrows button:hover {
  background: rgba(124, 77, 255, 0.4);
  border-color: #7c4dff;
}

.atmosphere-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background: #13101e;
  border-top: 1px solid #1f1a2e;
}
@media (min-width: 768px) {
  .atmosphere-carousel-dots {
    gap: 10px;
    padding: 14px 0;
  }
}
.atmosphere-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d2640;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
@media (min-width: 768px) {
  .atmosphere-carousel-dot {
    width: 10px;
    height: 10px;
  }
}
.atmosphere-carousel-dot.active {
  background: #7c4dff;
  box-shadow: 0 0 16px rgba(124, 77, 255, 0.3);
  transform: scale(1.15);
}
.atmosphere-utp {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
@media (min-width: 480px) {
  .atmosphere-utp {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
}
@media (min-width: 768px) {
  .atmosphere-utp {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
.atmosphere-utp .utp-card {
  background: #13101e;
  border: 1px solid #26203a;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .atmosphere-utp .utp-card {
    border-radius: 20px;
    padding: 18px 16px;
    gap: 6px;
  }
}
.atmosphere-utp .utp-card:hover {
  border-color: #7c4dff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.06);
}
.atmosphere-utp .utp-card .icon {
  font-size: 1.4rem;
}
@media (min-width: 768px) {
  .atmosphere-utp .utp-card .icon {
    font-size: 2rem;
  }
}
.atmosphere-utp .utp-card h4 {
  font-size: 0.65rem;
  font-weight: 700;
  color: #e8e4f0;
}
@media (min-width: 480px) {
  .atmosphere-utp .utp-card h4 {
    font-size: 0.75rem;
  }
}
@media (min-width: 768px) {
  .atmosphere-utp .utp-card h4 {
    font-size: 0.9rem;
  }
}
.atmosphere-utp .utp-card p {
  font-size: 0.55rem;
  color: #9288b0;
  line-height: 1.2;
}
@media (min-width: 480px) {
  .atmosphere-utp .utp-card p {
    font-size: 0.65rem;
  }
}
@media (min-width: 768px) {
  .atmosphere-utp .utp-card p {
    font-size: 0.75rem;
  }
}

/* ===== КАТАЛОГ ===== */
.catalog-header {
  text-align: center;
  padding: 24px 0 12px;
}
@media (min-width: 768px) {
  .catalog-header {
    padding: 40px 0 16px;
  }
}
.catalog-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 480px) {
  .catalog-header h2 {
    font-size: 2.4rem;
  }
}
@media (min-width: 768px) {
  .catalog-header h2 {
    font-size: 2.8rem;
  }
}

.location-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 10px 0 4px;
}
@media (min-width: 480px) {
  .location-filter {
    gap: 8px 12px;
    margin: 12px 0 6px;
  }
}
@media (min-width: 768px) {
  .location-filter {
    gap: 10px 16px;
    margin: 14px 0 6px;
  }
}
.location-filter .loc-chip {
  border: 1px solid #3d3457;
  border-radius: 60px;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 500;
  color: #cbc2e0;
  cursor: pointer;
  transition: 0.25s;
  background: transparent;
  white-space: nowrap;
}
@media (min-width: 480px) {
  .location-filter .loc-chip {
    padding: 5px 16px;
    font-size: 0.75rem;
  }
}
@media (min-width: 768px) {
  .location-filter .loc-chip {
    padding: 6px 20px;
    font-size: 0.85rem;
  }
}
.location-filter .loc-chip:hover {
  border-color: #7c4dff;
  color: #fff;
  background: rgba(124, 77, 255, 0.06);
}
.location-filter .loc-chip.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.15);
}
.location-filter .loc-chip.all {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.08);
}
.location-filter .loc-chip.all:hover {
  background: rgba(124, 77, 255, 0.14);
}
.location-filter .loc-chip.all.active {
  background: rgba(124, 77, 255, 0.25);
  box-shadow: 0 0 24px rgba(124, 77, 255, 0.2);
}

.quest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0 28px;
}
@media (min-width: 480px) {
  .quest-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0 30px;
  }
}
@media (min-width: 768px) {
  .quest-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin: 28px 0 40px;
  }
}
.quest-card {
  background: #13101e;
  border-radius: 20px;
  border: 1px solid #26203a;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .quest-card {
    border-radius: 28px;
  }
}
.quest-card:hover {
  transform: translateY(-4px);
  border-color: #7c4dff;
  box-shadow: 0 20px 40px rgba(124, 77, 255, 0.08);
}
.quest-card .card-image {
  height: 180px;
  background: #1c1729;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f5480;
  font-size: 0.7rem;
  border-bottom: 1px solid #1f1a2e;
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(45deg, #1f1a2e 0px, #1f1a2e 10px, #181424 10px, #181424 20px);
}
@media (min-width: 480px) {
  .quest-card .card-image {
    height: 220px;
    font-size: 0.8rem;
  }
}
@media (min-width: 768px) {
  .quest-card .card-image {
    height: 200px;
    font-size: 0.85rem;
  }
}
.quest-card .card-image .image-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
@media (min-width: 768px) {
  .quest-card .card-image .image-tags {
    top: 12px;
    left: 12px;
    gap: 6px;
  }
}
.quest-card .card-image .image-tags .tag {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 40px;
  background: rgba(20, 16, 34, 0.85);
  backdrop-filter: blur(4px);
  color: #b8add6;
  border: 1px solid #332d44;
}
@media (min-width: 480px) {
  .quest-card .card-image .image-tags .tag {
    font-size: 0.55rem;
    padding: 3px 10px;
  }
}
@media (min-width: 768px) {
  .quest-card .card-image .image-tags .tag {
    font-size: 0.65rem;
    padding: 4px 12px;
  }
}
.quest-card .card-image .image-tags .tag.highlight {
  background: #7c4dff;
  color: #fff;
  border-color: #7c4dff;
}
.quest-card .card-image .image-emoji {
  font-size: 2.8rem;
  opacity: 0.6;
}
@media (min-width: 480px) {
  .quest-card .card-image .image-emoji {
    font-size: 3.5rem;
  }
}
@media (min-width: 768px) {
  .quest-card .card-image .image-emoji {
    font-size: 4rem;
  }
}
.quest-card .card-body {
  padding: 16px 18px 12px;
  flex: 1;
}
@media (min-width: 768px) {
  .quest-card .card-body {
    padding: 16px 18px 12px;
  }
}
.quest-card .card-body .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2px;
}
@media (min-width: 480px) {
  .quest-card .card-body .card-title {
    font-size: 1.35rem;
  }
}
@media (min-width: 768px) {
  .quest-card .card-body .card-title {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
}
.quest-card .card-body .card-location {
  font-size: 0.78rem;
  color: #9288b0;
  margin-bottom: 4px;
}
@media (min-width: 768px) {
  .quest-card .card-body .card-location {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
}
.quest-card .card-body .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.75rem;
  color: #9288b0;
  margin-bottom: 4px;
}
@media (min-width: 480px) {
  .quest-card .card-body .card-meta {
    font-size: 0.7rem;
  }
}
@media (min-width: 768px) {
  .quest-card .card-body .card-meta {
    gap: 10px 16px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
}
.quest-card .card-body .card-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.quest-card .card-body .card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.82rem;
  color: #bdb4d4;
  margin-bottom: 6px;
  line-height: 1.3;
}
@media (min-width: 480px) {
  .quest-card .card-body .card-desc {
    font-size: 0.75rem;
  }
}
@media (min-width: 768px) {
  .quest-card .card-body .card-desc {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
  }
}
.quest-card .card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 12px 18px 16px;
  border-top: 1px solid #1f1a2e;
  gap: 8px;
}
@media (min-width: 768px) {
  .quest-card .card-footer {
    padding: 12px 18px 16px;
  }
}
.quest-card .card-price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; min-width: 0; }
.quest-card .price-label { flex-basis: 100%; color: #9288b0; font-size: 0.75rem; font-weight: 600; }
.quest-card .card-footer .price {
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
@media (min-width: 480px) {
  .quest-card .card-footer .price {
    font-size: 1.05rem;
  }
}
@media (min-width: 768px) {
  .quest-card .card-footer .price {
    font-size: 1.15rem;
  }
}
.quest-card .card-footer .old-price {
  white-space: nowrap;
  font-size: 0.65rem;
  font-weight: 400;
  color: #7a6e96;
  text-decoration: line-through;
}
@media (min-width: 768px) {
  .quest-card .card-footer .old-price {
    font-size: 0.75rem;
  }
}
.quest-card .discount-badge { width: fit-content; justify-self: start; padding: 2px 6px; border-radius: 4px; background: rgba(76, 175, 80, 0.16); color: #7ee787; font-size: 0.65rem; font-weight: 800; white-space: nowrap; }
.quest-card .card-footer .btn-book-sm { width: 100%; min-height: 42px; }
.btn-book-sm {
  background: #7c4dff;
  border: none;
  padding: 8px 16px;
  border-radius: 60px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.82rem;
}
@media (min-width: 480px) {
  .btn-book-sm {
    padding: 6px 18px;
    font-size: 0.8rem;
  }
}
@media (min-width: 768px) {
  .btn-book-sm {
    padding: 8px 24px;
    font-size: 0.9rem;
  }
}
.btn-book-sm:hover {
  background: #966aff;
  transform: scale(1.03);
}

/* ===== ДЕНЬ РОЖДЕНИЯ ===== */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  text-align: center;
}
@media (min-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.4rem;
    margin: 0 0 20px 0;
  }
}
.section-sub {
  text-align: center;
  color: #b0a8c8;
  margin-bottom: 18px;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .section-sub {
    font-size: 1rem;
    margin-bottom: 28px;
  }
}
.section-anchor {
  scroll-margin-top: 80px;
}
@media (min-width: 768px) {
  .section-anchor {
    scroll-margin-top: 90px;
  }
}

/* Booking screen: animated web/neon atmosphere inspired by the reference */
.booking-overlay {
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 25%, rgba(124, 77, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(255, 46, 168, 0.14), transparent 24%),
    radial-gradient(circle at 78% 86%, rgba(57, 216, 199, 0.1), transparent 26%),
    linear-gradient(180deg, #07070d 0%, #0b0712 46%, #05060a 100%);
  color: #f8f4ff;
}

.booking-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(29deg, transparent 0 48%, rgba(255, 255, 255, 0.09) 49%, transparent 50% 100%),
    linear-gradient(151deg, transparent 0 48%, rgba(179, 136, 255, 0.095) 49%, transparent 50% 100%),
    linear-gradient(86deg, transparent 0 48%, rgba(255, 110, 168, 0.052) 49%, transparent 50% 100%),
    radial-gradient(circle at 15% 16%, transparent 0 82px, rgba(255, 255, 255, 0.08) 83px, transparent 85px, transparent 138px, rgba(179, 136, 255, 0.07) 139px, transparent 141px),
    radial-gradient(circle at 84% 28%, transparent 0 76px, rgba(255, 255, 255, 0.075) 77px, transparent 79px, transparent 128px, rgba(255, 110, 168, 0.055) 129px, transparent 131px);
  background-size: 230px 230px, 260px 260px, 180px 180px, auto, auto;
  opacity: 0.62;
  animation: bookingWebDrift 22s linear infinite;
}

.booking-overlay::after {
  content: "🕷";
  position: fixed;
  top: 74px;
  right: clamp(18px, 8vw, 120px);
  z-index: 0;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(1.3rem, 3vw, 2.35rem);
  filter: drop-shadow(0 0 14px rgba(179, 136, 255, 0.55));
  animation: bookingSpiderFloat 5.5s ease-in-out infinite;
}

.booking-fx-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint size;
}

.booking-fx-thread {
  position: absolute;
  left: calc((var(--i) * 13%) - 9%);
  top: calc(8% + (var(--i) % 4) * 17%);
  width: clamp(180px, 32vw, 480px);
  height: 1px;
  transform: rotate(calc(-38deg + var(--i) * 9deg));
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(179, 136, 255, 0.36), rgba(255, 46, 168, 0.16), transparent);
  box-shadow: 0 0 18px rgba(179, 136, 255, 0.18);
  opacity: 0.2;
  animation: bookingThreadPulse 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.7s);
}

.booking-fx-spark {
  position: absolute;
  left: calc(7% + (var(--i) * 17%) % 88%);
  top: calc(8% + (var(--i) * 23%) % 82%);
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: rgba(255, 209, 102, 0.72);
  box-shadow: 0 0 10px rgba(255, 110, 168, 0.75), 0 0 22px rgba(124, 77, 255, 0.36);
  opacity: 0;
  animation: bookingSparkFloat 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.43s);
}

.booking-overlay .container {
  position: relative;
  z-index: 1;
}

.booking-overlay .booking-title {
  color: #fff;
  text-shadow: 0 0 22px rgba(179, 136, 255, 0.24);
}

.booking-steps {
  border-bottom-color: rgba(179, 136, 255, 0.14);
}

.step-btn {
  border: 1px solid rgba(179, 136, 255, 0.2);
  background: rgba(8, 8, 16, 0.58);
  color: #cfc7df;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.step-btn.active {
  border-color: rgba(255, 46, 168, 0.52);
  background: linear-gradient(135deg, #7c4dff, #ff2ea8 58%, #24c8ff);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 46, 168, 0.28);
}

.step-btn:hover:not(.active) {
  border-color: rgba(179, 136, 255, 0.36);
  background: rgba(124, 77, 255, 0.12);
}

.booking-info,
.booking-form,
.receipt-box,
.booking-summary-card,
.date-selector-toggle,
.date-selector-dropdown,
.options-grid .option-card,
.contact-method,
.packages-collapsible,
.packages-collapsible .collapsible-body .package-mini {
  border-color: rgba(179, 136, 255, 0.2);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(35deg, transparent 0 48%, rgba(255, 255, 255, 0.025) 49%, transparent 50% 100%),
    linear-gradient(180deg, rgba(11, 10, 20, 0.84), rgba(6, 6, 12, 0.7));
  background-size: 68px 68px, 104px 104px, auto;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.booking-info,
.booking-form,
.receipt-box {
  position: relative;
}

.booking-info::before,
.booking-form::before,
.receipt-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 46, 168, 0.5), transparent 28%, rgba(36, 200, 255, 0.35) 72%, transparent);
  opacity: 0.2;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bookingBorderGlow 5s ease-in-out infinite;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  border-color: rgba(179, 136, 255, 0.22);
  background: rgba(3, 4, 9, 0.68);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(255, 46, 168, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 46, 168, 0.1), 0 0 22px rgba(124, 77, 255, 0.16);
}

.time-slot,
.date-selector-dropdown .date-grid .date-cell,
.month-btn,
.qty-btn {
  border-color: rgba(179, 136, 255, 0.2);
  background: rgba(8, 8, 16, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.time-slot:not(.busy):not(.disabled):hover,
.date-selector-dropdown .date-grid .date-cell:hover,
.month-btn:hover,
.qty-btn:hover {
  border-color: rgba(255, 46, 168, 0.45);
  box-shadow: 0 0 18px rgba(255, 46, 168, 0.14);
}

.time-slot.active,
.date-selector-dropdown .date-grid .date-cell.active {
  border-color: rgba(255, 46, 168, 0.68);
  background: linear-gradient(135deg, #7c4dff, #ff2ea8 62%, #24c8ff);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 46, 168, 0.32);
}

.booking-photos-carousel {
  border-color: rgba(179, 136, 255, 0.18);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 26px rgba(124, 77, 255, 0.12);
}

.booking-photos-slide .slide-label {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 12, 0.7);
  box-shadow: 0 0 18px rgba(255, 46, 168, 0.12);
}

.btn-primary,
.btn-book-sm {
  background: linear-gradient(135deg, #7c4dff, #ff2ea8 58%, #24c8ff);
  box-shadow: 0 18px 44px rgba(255, 46, 168, 0.24);
}

.btn-primary:hover,
.btn-book-sm:hover {
  background: linear-gradient(135deg, #9274ff, #ff4db8 56%, #45d2ff);
  box-shadow: 0 22px 54px rgba(255, 46, 168, 0.3);
}

@keyframes bookingWebDrift {
  from { background-position: 0 0, 0 0, 0 0, center, center; }
  to { background-position: 230px 230px, -260px 260px, 180px 0, center, center; }
}

@keyframes bookingSpiderFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); opacity: 0.42; }
  50% { transform: translateY(18px) rotate(5deg); opacity: 0.68; }
}

@keyframes bookingThreadPulse {
  0%, 100% { opacity: 0.12; filter: blur(0); }
  50% { opacity: 0.42; filter: blur(0.2px); }
}

@keyframes bookingSparkFloat {
  0%, 100% { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.7); }
  18%, 68% { opacity: 0.82; }
  50% { transform: translate3d(18px, -18px, 0) scale(1); }
}

@keyframes bookingBorderGlow {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.34; }
}

/* Birthday packages: calm webbed visual island */
#section-birthday {
  position: relative;
  overflow: hidden;
  padding: 34px 0 24px;
  background:
    linear-gradient(135deg, rgba(141, 108, 255, 0.16), rgba(255, 110, 168, 0.08) 42%, rgba(57, 216, 199, 0.1)),
    linear-gradient(180deg, #11121c 0%, #0b0d13 100%);
  border-top: 1px solid var(--site-border);
  border-bottom: 1px solid var(--site-border);
  color: var(--site-text);
}

#section-birthday::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(28deg, transparent 0 48%, rgba(255, 255, 255, 0.05) 49%, transparent 50% 100%),
    linear-gradient(152deg, transparent 0 48%, rgba(255, 255, 255, 0.04) 49%, transparent 50% 100%),
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.035) 49%, transparent 50% 100%),
    radial-gradient(circle at 12% 18%, transparent 0 58px, rgba(255, 255, 255, 0.07) 59px, transparent 61px, transparent 98px, rgba(255, 255, 255, 0.045) 99px, transparent 101px),
    radial-gradient(circle at 84% 28%, transparent 0 76px, rgba(255, 255, 255, 0.055) 77px, transparent 79px, transparent 128px, rgba(255, 255, 255, 0.035) 129px, transparent 131px);
  background-size: 190px 190px, 210px 210px, 150px 150px, auto, auto;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 92%);
  opacity: 0.92;
}

#section-birthday::after {
  content: "🕷";
  position: absolute;
  top: 42px;
  right: min(8vw, 110px);
  z-index: 1;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.38);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

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

#section-birthday .section-title {
  color: var(--site-text);
}

#section-birthday .section-sub {
  color: var(--site-muted);
}

#section-birthday .package-tabs {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

#section-birthday .package-tab {
  color: var(--site-muted);
}

#section-birthday .package-tab:hover {
  color: #fff;
}

#section-birthday .package-tab.active {
  background: linear-gradient(135deg, #7d63f1, #ff6ea8 58%, #ffb85c);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 110, 168, 0.18);
}

#section-birthday .package-card,
#section-birthday .constructor-section,
#section-birthday .constructor-preview {
  border: 1px solid var(--site-border);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(35deg, transparent 0 48%, rgba(255, 255, 255, 0.025) 49%, transparent 50% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026));
  background-size: 64px 64px, 92px 92px, auto;
  box-shadow: var(--shadow-soft);
}

#section-birthday .package-card:hover {
  border-color: rgba(255, 209, 102, 0.32);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26), 0 0 28px rgba(255, 110, 168, 0.08);
}

#section-birthday .package-card.popular {
  border-color: rgba(255, 209, 102, 0.36);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 209, 102, 0.08), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.032));
  background-size: auto, 64px 64px, auto;
}

#section-birthday .package-card h4,
#section-birthday .constructor-preview h4 {
  color: #f4efff;
}

#section-birthday .package-card .pkg-price,
#section-birthday .constructor-preview .preview-total,
#section-birthday .constructor-section .constructor-title {
  color: #ffd166;
}

#section-birthday .package-card .pkg-note,
#section-birthday .package-card ul,
#section-birthday .constructor-options-title,
#section-birthday .constructor-base-label,
#section-birthday .constructor-option-desc {
  color: var(--site-muted);
}

#section-birthday .package-card ul li::before {
  color: #ffd166;
}

#section-birthday .constructor-base,
#section-birthday .constructor-options .option-card,
#section-birthday .constructor-options .players-input,
#section-birthday .constructor-preview .preview-item {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.055);
  color: #f4efff;
}

#section-birthday .constructor-options .option-card:hover {
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(255, 255, 255, 0.075);
}

#section-birthday .constructor-options .option-card.active {
  border-color: rgba(255, 209, 102, 0.38);
  background: linear-gradient(135deg, rgba(125, 99, 241, 0.18), rgba(255, 110, 168, 0.1));
}

#section-birthday .constructor-options .option-card .option-check {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

#section-birthday .constructor-options .option-card.active .option-check {
  border-color: #ffd166;
  background: #ffd166;
}

#section-birthday .constructor-options .option-card .price-tag,
#section-birthday .constructor-base .price-tag,
#section-birthday .constructor-desc-toggle {
  color: #ffd166;
}

#section-birthday .constructor-desc-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

#section-birthday .constructor-desc-toggle:hover {
  border-color: rgba(255, 209, 102, 0.34);
  color: #fff;
}

#section-birthday .constructor-option-desc {
  background: rgba(0, 0, 0, 0.16);
}

#section-birthday .constructor-options .players-input .quantity-control {
  background: rgba(0, 0, 0, 0.22);
}

#section-birthday .constructor-options .players-input .quantity-control .qty-btn {
  color: #ffd166;
}

#section-birthday .constructor-options .players-input .quantity-control .qty-btn:hover {
  background: rgba(255, 209, 102, 0.1);
}

#section-birthday .constructor-options .players-input label {
  color: #f4efff;
}

.package-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin: 0 auto 18px;
  border: 1px solid #2d2640;
  border-radius: 14px;
  background: #13101e;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.package-tab {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #b0a8c8;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 18px;
  transition: 0.2s;
}
.package-tab:hover {
  color: #fff;
}
.package-tab.active {
  background: #7c4dff;
  color: #fff;
}
.package-tab-panel[hidden] {
  display: none;
}

.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
@media (min-width: 480px) {
  .package-grid {
    gap: 18px;
  }
}
@media (min-width: 768px) {
  .package-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
  }
}
.package-card {
  background: #13101e;
  border-radius: 18px;
  padding: 16px 14px;
  border: 1px solid #26203a;
  transition: 0.3s;
}
@media (min-width: 768px) {
  .package-card {
    border-radius: 24px;
    padding: 24px 20px;
  }
}
.package-card:hover {
  border-color: #7c4dff;
  transform: translateY(-3px);
}
.package-card.popular {
  border-color: #7c4dff;
  border-width: 2px;
}
.package-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
@media (min-width: 480px) {
  .package-card h4 {
    font-size: 1.05rem;
  }
}
@media (min-width: 768px) {
  .package-card h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
}
.package-card .pkg-price {
  font-size: 1.2rem;
  font-weight: 800;
}
.package-card .pkg-note {
  margin: 4px 0 10px;
  color: #8f84aa;
  font-size: 0.72rem;
  line-height: 1.35;
}
@media (min-width: 480px) {
  .package-card .pkg-price {
    font-size: 1.4rem;
  }
}
@media (min-width: 768px) {
  .package-card .pkg-price {
    font-size: 1.6rem;
  }
}
.package-card .pkg-price small {
  text-decoration: line-through;
  color: #7a6e96;
  font-weight: 400;
  font-size: 0.75rem;
  margin-right: 6px;
}
@media (min-width: 768px) {
  .package-card .pkg-price small {
    font-size: 1rem;
    margin-right: 10px;
  }
}
.package-card ul {
  list-style: none;
  margin: 8px 0 12px;
  color: #b0a8c8;
  font-size: 0.7rem;
}
@media (min-width: 480px) {
  .package-card ul {
    font-size: 0.8rem;
  }
}
@media (min-width: 768px) {
  .package-card ul {
    margin: 12px 0 16px;
    font-size: 0.9rem;
  }
}
.package-card ul li {
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .package-card ul li {
    padding: 4px 0;
    gap: 8px;
  }
}
.package-card ul li::before {
  content: "✓";
  color: #7c4dff;
  font-weight: 700;
}

.constructor-section {
  background: #13101e;
  border-radius: 20px;
  padding: 16px 14px 20px;
  border: 1px solid #26203a;
  margin: 16px 0 28px;
}
@media (min-width: 480px) {
  .constructor-section {
    padding: 20px 18px 24px;
    margin: 18px 0 30px;
  }
}
@media (min-width: 768px) {
  .constructor-section {
    border-radius: 28px;
    padding: 24px 24px 28px;
    margin: 20px 0 40px;
  }
}
.constructor-section .constructor-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #b388ff;
  margin-bottom: 12px;
  text-align: center;
}
@media (min-width: 480px) {
  .constructor-section .constructor-title {
    font-size: 1.2rem;
  }
}
@media (min-width: 768px) {
  .constructor-section .constructor-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
}
.constructor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .constructor-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
    gap: 20px;
  }
}
.constructor-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.constructor-base { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border: 1px solid #7c4dff; border-radius: 12px; background: rgba(124, 77, 255, 0.1); color: #fff; }
.constructor-base-label { grid-column: 1 / -1; color: #9288b0; font-size: 0.72rem; }
.constructor-base .price-tag { color: #b388ff; font-weight: 700; white-space: nowrap; }
.constructor-options-title { margin: 8px 2px 2px; color: #9288b0; font-size: 0.78rem; font-weight: 600; }
.constructor-base,
.constructor-options-title {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .constructor-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.constructor-options .option-card {
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #cbc2e0;
  font-size: 0.8rem;
}
@media (min-width: 480px) {
  .constructor-options .option-card {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 14px;
  }
}
@media (min-width: 768px) {
  .constructor-options .option-card {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 14px;
  }
}
.constructor-options .option-card:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.04);
}
.constructor-options .option-card.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.10);
}
.constructor-options .option-card .option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #2d2640;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.2s;
}
.constructor-options .option-card.active .option-check {
  border-color: #7c4dff;
  background: #7c4dff;
}
.constructor-options .option-card.active .option-check::after {
  content: "✓";
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.constructor-options .option-card .option-name {
  flex: 1;
}
.constructor-options .option-card .price-tag {
  color: #b388ff;
  font-weight: 600;
  font-size: 0.75rem;
}
.constructor-desc-toggle {
  border: 1px solid #342b4a;
  border-radius: 8px;
  background: rgba(124, 77, 255, 0.08);
  color: #b388ff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 8px;
}
.constructor-desc-toggle:hover {
  border-color: #7c4dff;
  color: #fff;
}
.constructor-option-desc {
  flex: 0 0 100%;
  color: #9288b0;
  font-size: 0.74rem;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(124, 77, 255, 0.05);
}
.constructor-option-desc[hidden] {
  display: none;
}
.constructor-options .players-input {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #1a1625;
  border-radius: 12px;
  border: 1px solid #2d2640;
  flex-wrap: wrap;
}
@media (min-width: 480px) {
  .constructor-options .players-input {
    padding: 10px 14px;
  }
}
.constructor-options .players-input label {
  color: #cbc2e0;
  font-size: 0.85rem;
  font-weight: 500;
}
.constructor-options .players-input .quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0c0a14;
  border-radius: 10px;
  padding: 2px;
  margin-left: auto;
}
.constructor-options .players-input .quantity-control .qty-btn {
  background: transparent;
  border: none;
  color: #b0a8c8;
  font-size: 1.2rem;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.constructor-options .players-input .quantity-control .qty-btn:hover {
  background: rgba(124, 77, 255, 0.1);
  color: #fff;
}
.constructor-options .players-input .quantity-control .qty-value {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  min-width: 24px;
  text-align: center;
}

.constructor-preview {
  background: #1a1625;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #2d2640;
  display: flex;
  flex-direction: column;
}
@media (min-width: 480px) {
  .constructor-preview {
    padding: 18px;
  }
}
@media (min-width: 768px) {
  .constructor-preview {
    border-radius: 20px;
    padding: 20px;
  }
}
.constructor-preview h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #b388ff;
  font-weight: 700;
}
@media (min-width: 480px) {
  .constructor-preview h4 {
    font-size: 1rem;
  }
}
@media (min-width: 768px) {
  .constructor-preview h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
}
.constructor-preview .preview-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #1f1a2e;
  color: #b0a8c8;
  font-size: 0.7rem;
}
@media (min-width: 480px) {
  .constructor-preview .preview-item {
    font-size: 0.8rem;
    padding: 5px 0;
  }
}
@media (min-width: 768px) {
  .constructor-preview .preview-item {
    font-size: 0.85rem;
    padding: 5px 0;
  }
}
.constructor-preview .preview-item:last-child {
  border-bottom: none;
}
.constructor-preview .preview-total {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-top: 10px;
  text-align: right;
  padding-top: 8px;
  border-top: 2px solid #2d2640;
}
@media (min-width: 480px) {
  .constructor-preview .preview-total {
    font-size: 1.3rem;
  }
}
@media (min-width: 768px) {
  .constructor-preview .preview-total {
    font-size: 1.4rem;
    margin-top: 12px;
    padding-top: 10px;
  }
}
.constructor-preview .preview-total small {
  font-weight: 400;
  color: #7a6e96;
  text-decoration: line-through;
  margin-right: 8px;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .constructor-preview .preview-total small {
    margin-right: 10px;
    font-size: 1rem;
  }
}
.constructor-preview .btn-primary {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .constructor-preview .btn-primary {
    margin-top: 14px;
    padding: 12px;
    font-size: 0.95rem;
  }
}

/* ===== BOOKING OVERLAY ===== */
.booking-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c0a14;
  z-index: 2000;
  overflow-y: auto;
  padding: 16px 12px 40px;
  animation: fadeIn 0.3s ease;
}
@media (min-width: 480px) {
  .booking-overlay {
    padding: 20px 16px 50px;
  }
}
@media (min-width: 768px) {
  .booking-overlay {
    padding: 30px 20px 60px;
  }
}
.booking-overlay.open {
  display: block;
}
.standalone-booking-page {
  background: #0d0a14;
  min-height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: auto;
}
.standalone-booking-page .booking-overlay {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}
.standalone-booking-page .booking-overlay .container {
  padding-bottom: 40px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.booking-overlay .container {
  max-width: 1000px;
  margin: 0 auto;
}
.booking-overlay .close-overlay {
  background: transparent;
  border: 1px solid #4a3f5c;
  color: #d4cee6;
  padding: 8px 18px;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .booking-overlay .close-overlay {
    padding: 10px 22px;
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
}
@media (min-width: 768px) {
  .booking-overlay .close-overlay {
    padding: 10px 28px;
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
}
.booking-overlay .close-overlay:hover {
  border-color: #7c4dff;
  color: #fff;
  background: rgba(124, 77, 255, 0.08);
}
.booking-overlay .booking-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}
@media (min-width: 480px) {
  .booking-overlay .booking-title {
    font-size: 1.8rem;
  }
}
@media (min-width: 768px) {
  .booking-overlay .booking-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
}

.booking-steps {
  display: flex;
  gap: 4px 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  border-bottom: 1px solid #1f1a2e;
  padding-bottom: 12px;
}
@media (min-width: 480px) {
  .booking-steps {
    gap: 6px 14px;
    margin-bottom: 20px;
  }
}
@media (min-width: 768px) {
  .booking-steps {
    gap: 8px 20px;
    margin-bottom: 28px;
    padding-bottom: 16px;
  }
}
.step-btn {
  background: transparent;
  border: none;
  color: #6f648a;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
}
@media (min-width: 480px) {
  .step-btn {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}
@media (min-width: 768px) {
  .step-btn {
    font-size: 0.95rem;
    padding: 6px 16px;
  }
}
.step-btn.active {
  background: #7c4dff;
  color: #fff;
}
.step-btn:hover:not(.active) {
  color: #d4c8f0;
  background: #1f1a2e;
}
.step-content {
  display: none;
  animation: fadeUp 0.3s ease;
}
.step-content.active {
  display: block;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.booking-info {
  background: #13101e;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #26203a;
}
@media (min-width: 480px) {
  .booking-info {
    padding: 18px;
  }
}
@media (min-width: 768px) {
  .booking-info {
    border-radius: 24px;
    padding: 20px;
  }
}
.booking-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
@media (min-width: 480px) {
  .booking-info h3 {
    font-size: 1.3rem;
  }
}
@media (min-width: 768px) {
  .booking-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
}
.booking-info .desc {
  color: #b0a8c8;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .booking-info .desc {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
}
.booking-info .meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 9px;
  color: inherit;
}
@media (min-width: 768px) {
  .booking-info .meta {
    gap: 8px;
  }
}

.booking-info .booking-quest-stat {
  min-width: 0;
  min-height: 54px;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.16);
}

.booking-info .booking-quest-stat:nth-child(1) {
  border-color: rgba(255, 76, 132, 0.28);
  background: linear-gradient(145deg, rgba(255, 76, 132, 0.14), rgba(255, 255, 255, 0.035));
}

.booking-info .booking-quest-stat:nth-child(2) {
  border-color: rgba(179, 136, 255, 0.3);
  background: linear-gradient(145deg, rgba(124, 77, 255, 0.16), rgba(255, 255, 255, 0.035));
}

.booking-info .booking-quest-stat:nth-child(3) {
  border-color: rgba(57, 216, 199, 0.28);
  background: linear-gradient(145deg, rgba(57, 216, 199, 0.14), rgba(255, 255, 255, 0.035));
}

.booking-info .booking-quest-stat small {
  color: #9288b0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-info .booking-quest-stat strong {
  max-width: 100%;
  color: #f8f4ff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
}

.booking-info .booking-quest-players {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #bcb1d2;
  font-size: 0.78rem;
  font-weight: 600;
}

.clickable-map-wrapper {
  position: relative;
}

.map-external-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  cursor: pointer;
}

.map-external-link:focus-visible {
  outline: 3px solid #b388ff;
  outline-offset: -4px;
}

@media (min-width: 480px) {
  .booking-info .booking-quest-stat strong {
    font-size: 0.78rem;
  }
}

.booking-photos-carousel {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2d2640;
  background: #1a1625;
}
@media (min-width: 768px) {
  .booking-photos-carousel {
    margin-top: 16px;
    border-radius: 18px;
  }
}
.booking-photos-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.booking-photos-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1625;
  font-size: 3rem;
  color: #5f5480;
  border-bottom: 1px solid #1f1a2e;
  position: relative;
}
@media (min-width: 480px) {
  .booking-photos-slide {
    font-size: 4rem;
  }
}
@media (min-width: 768px) {
  .booking-photos-slide {
    font-size: 5rem;
  }
}
.booking-photos-slide .slide-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-size: 0.7rem;
  color: #fff;
  margin-top: 0;
  padding: 4px 10px;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}
@media (min-width: 768px) {
  .booking-photos-slide .slide-label {
    font-size: 0.85rem;
  }
}
.booking-photo-frame {
  position: absolute;
  inset: 0;
  text-align: center;
}
.booking-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.booking-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 20, 0.04), rgba(12, 10, 20, 0.34));
  pointer-events: none;
}
.booking-photo-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 4rem;
}

.booking-photos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.2s;
  user-select: none;
}
@media (min-width: 480px) {
  .booking-photos-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}
@media (min-width: 768px) {
  .booking-photos-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
}
.booking-photos-arrow:hover {
  background: rgba(124, 77, 255, 0.4);
  border-color: #7c4dff;
}
.booking-photos-arrow.prev {
  left: 6px;
}
@media (min-width: 480px) {
  .booking-photos-arrow.prev {
    left: 10px;
  }
}
@media (min-width: 768px) {
  .booking-photos-arrow.prev {
    left: 14px;
  }
}
.booking-photos-arrow.next {
  right: 6px;
}
@media (min-width: 480px) {
  .booking-photos-arrow.next {
    right: 10px;
  }
}
@media (min-width: 768px) {
  .booking-photos-arrow.next {
    right: 14px;
  }
}

.booking-photos-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background: #13101e;
}
@media (min-width: 768px) {
  .booking-photos-dots {
    gap: 10px;
    padding: 12px 0;
  }
}
.booking-photos-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d2640;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
@media (min-width: 768px) {
  .booking-photos-dot {
    width: 10px;
    height: 10px;
  }
}
.booking-photos-dot.active {
  background: #7c4dff;
  box-shadow: 0 0 16px rgba(124, 77, 255, 0.3);
  transform: scale(1.15);
}

.datetime-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .datetime-selector {
    gap: 14px;
    margin-top: 10px;
  }
}

.date-selector-wrapper {
  position: relative;
}
.date-selector-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 14px;
  padding: 10px 16px;
  cursor: pointer;
  transition: 0.2s;
  color: #cbc2e0;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .date-selector-toggle {
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 1rem;
  }
}
.date-selector-toggle:hover {
  border-color: #7c4dff;
}
.date-selector-toggle .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
  color: #6f648a;
}
.date-selector-toggle .arrow.open {
  transform: rotate(180deg);
}
.date-selector-toggle .selected-date {
  color: #fff;
  font-weight: 600;
}

.date-selector-dropdown {
  display: none;
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 14px;
  padding: 12px;
  margin-top: 6px;
  max-height: 260px;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .date-selector-dropdown {
    padding: 16px;
    max-height: 300px;
    border-radius: 16px;
  }
}
.date-selector-dropdown.open {
  display: block;
}
.date-selector-dropdown .date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
@media (min-width: 480px) {
  .date-selector-dropdown .date-grid {
    gap: 6px;
  }
}
@media (min-width: 768px) {
  .date-selector-dropdown .date-grid {
    gap: 8px;
  }
}
.date-selector-dropdown .date-grid .date-cell {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 6px 2px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.7rem;
  color: #b0a8c8;
}
@media (min-width: 480px) {
  .date-selector-dropdown .date-grid .date-cell {
    padding: 8px 4px;
    font-size: 0.8rem;
    border-radius: 12px;
  }
}
@media (min-width: 768px) {
  .date-selector-dropdown .date-grid .date-cell {
    padding: 10px 6px;
    font-size: 0.9rem;
    border-radius: 14px;
  }
}
.date-selector-dropdown .date-grid .date-cell:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.06);
}
.date-selector-dropdown .date-grid .date-cell.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.1);
}
.date-selector-dropdown .date-grid .date-cell.other-month {
  color: #4a4060;
}
.date-selector-dropdown .date-grid .date-cell .cell-day {
  font-weight: 600;
}
.date-selector-dropdown .date-grid .date-cell .cell-weekday {
  font-size: 0.5rem;
  color: #6f648a;
}
@media (min-width: 480px) {
  .date-selector-dropdown .date-grid .date-cell .cell-weekday {
    font-size: 0.55rem;
  }
}
@media (min-width: 768px) {
  .date-selector-dropdown .date-grid .date-cell .cell-weekday {
    font-size: 0.6rem;
  }
}
.date-selector-dropdown .month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
  border-bottom: 1px solid #1f1a2e;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .date-selector-dropdown .month-nav {
    padding: 0 4px 14px;
    margin-bottom: 14px;
  }
}
.date-selector-dropdown .month-nav .month-label {
  font-weight: 700;
  color: #e8e4f0;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .date-selector-dropdown .month-nav .month-label {
    font-size: 1rem;
  }
}
.date-selector-dropdown .month-nav .month-btn {
  background: transparent;
  border: 1px solid #2d2640;
  border-radius: 8px;
  color: #b0a8c8;
  padding: 4px 12px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .date-selector-dropdown .month-nav .month-btn {
    padding: 6px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}
.date-selector-dropdown .month-nav .month-btn:hover {
  border-color: #7c4dff;
  color: #fff;
}

.date-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}
@media (min-width: 480px) {
  .time-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}
@media (min-width: 768px) {
  .time-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
}
.time-slot {
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.65rem;
  color: #cbc2e0;
}
@media (min-width: 480px) {
  .time-slot {
    padding: 10px 6px;
    font-size: 0.75rem;
    border-radius: 12px;
  }
}
@media (min-width: 768px) {
  .time-slot {
    padding: 12px 8px;
    font-size: 0.85rem;
    border-radius: 14px;
  }
}
.time-slot:hover:not(.busy):not(.disabled) {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.06);
}
.time-slot.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.1);
}
.time-slot .slot-time {
  font-weight: 700;
  font-size: 0.7rem;
}
@media (min-width: 480px) {
  .time-slot .slot-time {
    font-size: 0.8rem;
  }
}
@media (min-width: 768px) {
  .time-slot .slot-time {
    font-size: 0.9rem;
  }
}
.time-slot .slot-status {
  font-size: 0.45rem;
  color: #6f648a;
  margin-top: 2px;
}
@media (min-width: 480px) {
  .time-slot .slot-status {
    font-size: 0.5rem;
  }
}
@media (min-width: 768px) {
  .time-slot .slot-status {
    font-size: 0.6rem;
  }
}
.time-slot .slot-status.available {
  color: #4ecdc4;
}
.time-slot .slot-status.busy {
  color: #ff6b6b;
}
.time-slot.busy {
  opacity: 0.5;
  cursor: not-allowed;
}
.time-slot.busy:hover {
  border-color: #2d2640;
  background: #1a1625;
}
.time-slot.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.quest-select-wrapper {
  margin-top: 10px;
}
.quest-select-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #cbc2e0;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .quest-select-wrapper label {
    font-size: 0.95rem;
  }
}
.quest-select-wrapper select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: #1a1625;
  border: 1px solid #2d2640;
  color: #e8e4f0;
  font-size: 0.85rem;
  transition: 0.2s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f648a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
@media (min-width: 768px) {
  .quest-select-wrapper select {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    background-position: right 16px center;
  }
}
.quest-select-wrapper select:focus {
  border-color: #7c4dff;
  outline: none;
}

.packages-collapsible {
  margin-top: 14px;
  background: #13101e;
  border-radius: 16px;
  border: 1px solid #26203a;
  overflow: hidden;
}
@media (min-width: 768px) {
  .packages-collapsible {
    border-radius: 18px;
    margin-top: 18px;
  }
}
.packages-collapsible .collapsible-header {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
  font-weight: 600;
  color: #b388ff;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-header {
    padding: 16px 20px;
    font-size: 1rem;
  }
}
.packages-collapsible .collapsible-header:hover {
  background: rgba(124, 77, 255, 0.04);
}
.packages-collapsible .collapsible-header .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
}
.packages-collapsible .collapsible-header .arrow.open {
  transform: rotate(180deg);
}
.packages-collapsible .collapsible-body {
  display: none;
  padding: 0 16px 16px;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-body {
    padding: 0 20px 20px;
  }
}
.packages-collapsible .collapsible-body.open {
  display: block;
}
.packages-collapsible .collapsible-body .package-mini {
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-body .package-mini {
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 10px;
  }
}
.packages-collapsible .collapsible-body .package-mini:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.04);
}
.packages-collapsible .collapsible-body .package-mini.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.08);
}
.packages-collapsible .collapsible-body .package-mini .pkg-name {
  font-weight: 600;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-body .package-mini .pkg-name {
    font-size: 0.95rem;
  }
}
.packages-collapsible .collapsible-body .package-mini .pkg-price {
  color: #b388ff;
  font-weight: 700;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-body .package-mini .pkg-price {
    font-size: 0.95rem;
  }
}
.packages-collapsible .collapsible-body .package-mini .pkg-price small {
  display: block;
  text-decoration: none;
  color: #7a6e96;
  font-weight: 400;
  font-size: 0.7rem;
  margin: 2px 0 0;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-body .package-mini .pkg-price small {
    font-size: 0.8rem;
  }
}
.packages-collapsible .collapsible-body .package-mini .pkg-badge {
  font-size: 0.55rem;
  background: #7c4dff;
  color: #fff;
  padding: 2px 10px;
  border-radius: 40px;
  font-weight: 600;
}
.packages-collapsible .collapsible-body .package-mini .package-desc-toggle {
  flex: 0 0 auto;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #b388ff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.packages-collapsible .collapsible-body .package-mini .package-description {
  display: none;
  flex-basis: 100%;
  margin: 2px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(179, 136, 255, 0.14);
  color: #bdb4d4;
  font-size: 0.75rem;
  line-height: 1.45;
}
.packages-collapsible .collapsible-body .package-mini .package-description.open {
  display: block;
}
.packages-collapsible .collapsible-body .package-mini .package-description ul {
  margin: 0;
  padding-left: 18px;
}
@media (min-width: 768px) {
  .packages-collapsible .collapsible-body .package-mini .pkg-badge {
    font-size: 0.6rem;
    padding: 3px 12px;
  }
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0;
}
@media (min-width: 480px) {
  .options-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
}
@media (min-width: 768px) {
  .options-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 12px 0;
  }
}
.options-grid .option-card {
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
@media (min-width: 768px) {
  .options-grid .option-card {
    border-radius: 18px;
    padding: 18px 14px;
    gap: 8px;
  }
}
.options-grid .option-card:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.04);
}
.options-grid .option-card.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.10);
  box-shadow: 0 0 30px rgba(124, 77, 255, 0.05);
}
.options-grid .option-card .option-icon {
  font-size: 1.6rem;
}
@media (min-width: 768px) {
  .options-grid .option-card .option-icon {
    font-size: 2rem;
  }
}
.options-grid .option-card .option-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #e8e4f0;
}
@media (min-width: 480px) {
  .options-grid .option-card .option-name {
    font-size: 0.8rem;
  }
}
@media (min-width: 768px) {
  .options-grid .option-card .option-name {
    font-size: 0.9rem;
  }
}
.options-grid .option-card .option-price {
  font-size: 0.6rem;
  color: #b388ff;
  font-weight: 500;
}
@media (min-width: 480px) {
  .options-grid .option-card .option-price {
    font-size: 0.7rem;
  }
}
@media (min-width: 768px) {
  .options-grid .option-card .option-price {
    font-size: 0.8rem;
  }
}
.options-grid .option-card .option-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #2d2640;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
@media (min-width: 768px) {
  .options-grid .option-card .option-check {
    width: 22px;
    height: 22px;
    top: 10px;
    right: 10px;
  }
}
.options-grid .option-card.active .option-check {
  border-color: #7c4dff;
  background: #7c4dff;
}
.options-grid .option-card.active .option-check::after {
  content: "✓";
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .options-grid .option-card.active .option-check::after {
    font-size: 0.7rem;
  }
}
.options-grid .option-card input[type="checkbox"] {
  display: none;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 6px 0 10px;
}
@media (min-width: 480px) {
  .contact-methods {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
  }
}
@media (min-width: 768px) {
  .contact-methods {
    gap: 12px;
    margin: 8px 0 12px;
  }
}
.contact-method {
  background: #1a1625;
  border: 1px solid #2d2640;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  font-size: 0.7rem;
  color: #b0a8c8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
@media (min-width: 480px) {
  .contact-method {
    padding: 14px 12px;
    font-size: 0.8rem;
    border-radius: 14px;
  }
}
@media (min-width: 768px) {
  .contact-method {
    padding: 16px 14px;
    font-size: 0.9rem;
    border-radius: 16px;
  }
}
.contact-method:hover {
  border-color: #7c4dff;
}
.contact-method.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.12);
  color: #fff;
}
.contact-method .method-icon {
  font-size: 1.4rem;
}
@media (min-width: 768px) {
  .contact-method .method-icon {
    font-size: 1.8rem;
  }
}
.contact-method .method-label {
  font-size: 0.6rem;
}
@media (min-width: 480px) {
  .contact-method .method-label {
    font-size: 0.7rem;
  }
}
@media (min-width: 768px) {
  .contact-method .method-label {
    font-size: 0.8rem;
  }
}

.contact-handle-field[hidden] {
  display: none;
}

.quest-select-wrapper.locked select {
  cursor: not-allowed;
  opacity: 0.8;
}

.booking-form label {
  display: block;
  font-weight: 600;
  margin: 10px 0 4px;
  color: #cbc2e0;
  font-size: 0.85rem;
}

.schedule-message {
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px solid rgba(124, 77, 255, 0.25);
  border-radius: 10px;
  color: #b0a8c8;
  background: rgba(124, 77, 255, 0.06);
  font-size: 0.75rem;
  line-height: 1.4;
}

.schedule-message-error {
  border-color: rgba(255, 107, 107, 0.35);
  color: #ff9a9a;
  background: rgba(255, 107, 107, 0.07);
}
@media (min-width: 768px) {
  .booking-form label {
    margin: 14px 0 4px;
    font-size: 0.95rem;
  }
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: #1a1625;
  border: 1px solid #2d2640;
  color: #e8e4f0;
  font-size: 0.85rem;
  transition: 0.2s;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}
@media (min-width: 768px) {
  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #7c4dff;
  outline: none;
}
.booking-form textarea {
  resize: vertical;
  min-height: 60px;
  max-height: 120px;
}
@media (min-width: 768px) {
  .booking-form textarea {
    min-height: 70px;
    max-height: 140px;
  }
}
.booking-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 768px) {
  .booking-form .row2 {
    gap: 16px;
  }
}

.receipt-box {
  background: #13101e;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid #26203a;
}
@media (min-width: 480px) {
  .receipt-box {
    padding: 20px;
  }
}
@media (min-width: 768px) {
  .receipt-box {
    border-radius: 24px;
    padding: 24px;
  }
}
.receipt-box .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #1f1a2e;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .receipt-box .row {
    padding: 8px 0;
    font-size: 1rem;
  }
}
.receipt-box .total {
  font-size: 1.2rem;
  font-weight: 800;
  color: #b388ff;
}
@media (min-width: 768px) {
  .receipt-box .total {
    font-size: 1.4rem;
  }
}

.payment-box {
  display: grid;
  gap: 16px;
  margin: 0 auto;
}
.payment-hero {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(124, 77, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.14), rgba(255, 110, 199, 0.08));
}
.payment-kicker {
  color: #b388ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.payment-hero strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.payment-hero span:last-child,
.payment-note {
  color: #b0a8c8;
  font-size: 0.9rem;
}
.payment-receipt {
  max-width: none;
}
.payment-links {
  display: grid;
  gap: 10px;
}
.payment-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid #2d2640;
  border-radius: 8px;
  background: #151120;
  color: #e8e4f0;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s;
}
.payment-link:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.14);
  color: #fff;
}
.payment-link.primary {
  border-color: #7c4dff;
  background: linear-gradient(135deg, #7c4dff, #b388ff);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 77, 255, 0.28);
}
.payment-note {
  padding: 12px 14px;
  border: 1px dashed rgba(179, 136, 255, 0.3);
  border-radius: 8px;
  background: rgba(124, 77, 255, 0.06);
}

.btn-primary {
  background: #7c4dff;
  border: none;
  padding: 12px 30px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
  text-align: center;
}
@media (min-width: 480px) {
  .btn-primary {
    padding: 14px 36px;
    font-size: 0.9rem;
    width: auto;
  }
}
@media (min-width: 768px) {
  .btn-primary {
    padding: 14px 44px;
    font-size: 1rem;
    width: auto;
  }
}
.btn-primary:hover {
  background: #966aff;
  transform: scale(1.02);
}
.btn-outline {
  background: transparent;
  border: 1px solid #4a3f5c;
  padding: 10px 24px;
  border-radius: 60px;
  color: #d4cee6;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
}
@media (min-width: 480px) {
  .btn-outline {
    padding: 12px 28px;
    font-size: 0.85rem;
    width: auto;
  }
}
@media (min-width: 768px) {
  .btn-outline {
    padding: 12px 32px;
    font-size: 0.95rem;
    width: auto;
  }
}
.btn-outline:hover {
  border-color: #7c4dff;
  color: #fff;
}
.booking-summary-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(179, 136, 255, 0.06));
  border-radius: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(124, 77, 255, 0.15);
}
.booking-summary-card .row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-summary-card .summary-label {
  font-size: 0.9rem;
  color: #b0a8c8;
  font-weight: 500;
}
.booking-summary-card .summary-total {
  font-size: 1.6rem;
  font-weight: 800;
  color: #b388ff;
}
.summary-total.has-discount,
#bookingTotalDisplayStep2.has-discount,
#bookingTotalDisplayStep3.has-discount,
#bookingTotalDisplayStep4.has-discount {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  text-align: right;
}
.booking-total-old {
  color: #7a6e96;
  font-size: 0.72em;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.booking-total-current {
  color: #b388ff;
  font-weight: 800;
}
.booking-summary-card .summary-subrow {
  font-size: 0.75rem;
  color: #7a6e96;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.field-hint,
.promo-status {
  color: #7a6e96;
  font-size: 0.72rem;
  line-height: 1.35;
  margin-top: 5px;
}
.field-error {
  min-height: 0;
  color: #ff9a9a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 5px;
}
.field-error:empty {
  display: none;
}
.booking-form input.field-invalid {
  border-color: rgba(255, 107, 107, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}
.promo-field {
  margin-top: 12px;
}
.promo-field-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.promo-field-row input {
  flex: 1;
  min-width: 0;
}
.promo-field-row .btn-book-sm {
  border-radius: 14px;
  white-space: nowrap;
}
@media (max-width: 479px) {
  .promo-field-row {
    flex-direction: column;
  }
  .promo-field-row .btn-book-sm {
    width: 100%;
  }
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 480px) {
  .btn-group {
    gap: 14px;
  }
}
@media (min-width: 768px) {
  .btn-group {
    gap: 16px;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .standalone-booking-page .booking-overlay,
  .booking-overlay {
    padding: 12px 10px 36px;
  }

  .booking-overlay .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .booking-steps {
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 0 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .step-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .booking-grid {
    gap: 14px;
  }

  .booking-info,
  .booking-form,
  .receipt-box {
    width: 100%;
    min-width: 0;
  }

  .booking-info .meta {
    gap: 6px 10px;
  }

  .booking-summary-card {
    padding: 14px;
  }

  .booking-summary-card .row-between,
  .receipt-box .row {
    align-items: flex-start;
    gap: 6px 12px;
  }

  .booking-summary-card .summary-subrow,
  .receipt-box .row {
    flex-wrap: wrap;
  }

  .booking-summary-card .summary-total {
    font-size: 1.25rem;
    text-align: right;
  }

  .date-selector-toggle {
    gap: 10px;
  }

  .date-selector-toggle .selected-date {
    min-width: 0;
  }

  .options-grid .option-card {
    align-items: flex-start;
    text-align: left;
    padding-right: 38px;
  }

  .options-grid .option-card .option-icon,
  .options-grid .option-card .option-name,
  .options-grid .option-card .option-price,
  .options-grid .option-card .option-desc,
  .options-grid .option-card .option-desc-toggle {
    align-self: stretch;
  }

  .btn-group {
    flex-direction: column-reverse;
  }

  .btn-group .btn-primary,
  .btn-group .btn-outline {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .booking-overlay .booking-title {
    font-size: 1.45rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-methods {
    grid-template-columns: 1fr 1fr;
  }

  .receipt-box {
    padding: 14px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #0c0a14;
  color: #8f84aa;
  padding: 40px 0 32px;
  margin-top: 30px;
  border-top: 1px solid #1f1a2e;
}
@media (min-width: 768px) {
  .footer {
    padding: 50px 0 40px;
    margin-top: 40px;
  }
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer .container {
    gap: 32px;
  }
}
.footer-col strong {
  color: #eae5f5;
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .footer-col strong {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
}
.footer-col span {
  font-size: 0.85rem;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .footer-col span {
    font-size: 0.95rem;
  }
}
.footer-col .social-links {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.footer-col .social-links a {
  color: #8f84aa;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.9rem;
}
.footer-col .social-links a:hover {
  color: #b388ff;
}
.footer-col .social-links .taplink-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(124, 77, 255, 0.28);
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.08);
  color: #d9d2ee;
  font-weight: 700;
}
.footer-col .social-links .taplink-link:hover {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.16);
  color: #fff;
}

/* ===== MAP ===== */
.map-section {
  padding: 30px 0;
  border-top: 1px solid #1f1a2e;
  border-bottom: 1px solid #1f1a2e;
}
@media (min-width: 768px) {
  .map-section {
    padding: 50px 0;
  }
}
.map-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #26203a;
  background: #13101e;
}
@media (min-width: 768px) {
  .map-wrapper {
    height: 400px;
    border-radius: 28px;
  }
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.map-address-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #b0a8c8;
  font-size: 0.9rem;
}
.map-address-list span {
  display: block;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .nav {
    gap: 4px;
    font-size: 0.5rem;
  }
  .quest-grid {
    grid-template-columns: 1fr;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .atmosphere-utp {
    grid-template-columns: 1fr 1fr;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .contact-methods {
    grid-template-columns: 1fr 1fr;
  }
  .hero-offer {
    font-size: 0.7rem;
    padding: 8px 16px;
    min-width: 100px;
  }
}
/* ===== УВЕЛИЧЕННАЯ КАРТОЧКА АКЦИИ ===== */
.hero-promo {
  background: linear-gradient(135deg, #151121, #1f1830);
  padding: 18px 24px;
  border: 1px solid rgba(124, 77, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-top: 12px;
  border-radius: 16px;
  min-height: 80px;
}
@media (min-width: 768px) {
  .hero-promo {
    padding: 24px 32px;
    gap: 18px 28px;
    border-radius: 20px;
    margin-top: 16px;
    min-height: 100px;
  }
}
.hero-promo .promo-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .hero-promo .promo-icon {
    font-size: 2.4rem;
  }
}
.hero-promo .promo-text {
  font-size: 0.95rem;
  color: #d4c8f0;
  font-weight: 500;
}
@media (min-width: 480px) {
  .hero-promo .promo-text {
    font-size: 1.05rem;
  }
}
@media (min-width: 768px) {
  .hero-promo .promo-text {
    font-size: 1.2rem;
  }
}
.hero-promo .promo-text strong {
  color: #fff;
  font-weight: 800;
}
.hero-promo .promo-text .highlight {
  color: #b388ff;
  font-weight: 700;
}
.hero-promo .promo-btn {
  background: #7c4dff;
  border: none;
  padding: 10px 28px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .hero-promo .promo-btn {
    padding: 12px 36px;
    font-size: 1rem;
  }
}
.hero-promo .promo-btn:hover {
  background: #966aff;
  transform: scale(1.03);
  box-shadow: 0 4px 30px rgba(124, 77, 255, 0.3);
}

/* ===== ВЫБОР ЛОКАЦИИ ДЛЯ ХОРРОР ===== */
.horror-location-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 16px 0 8px;
}
@media (min-width: 768px) {
  .horror-location-selector {
    gap: 16px;
    margin: 20px 0 12px;
  }
}
.horror-location-selector .loc-btn {
  padding: 10px 24px;
  border-radius: 60px;
  border: 2px solid #3d3457;
  background: transparent;
  color: #cbc2e0;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .horror-location-selector .loc-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
}
.horror-location-selector .loc-btn:hover {
  border-color: #7c4dff;
  color: #fff;
  background: rgba(124, 77, 255, 0.06);
}
.horror-location-selector .loc-btn.active {
  border-color: #7c4dff;
  background: rgba(124, 77, 255, 0.15);
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 77, 255, 0.1);
}
.horror-location-selector .loc-btn .pin {
  font-size: 1rem;
}
.horror-location-selector .loc-btn .badge {
  font-size: 0.55rem;
  background: rgba(124, 77, 255, 0.2);
  padding: 2px 10px;
  border-radius: 40px;
  color: #b388ff;
}
@media (min-width: 768px) {
  .horror-location-selector .loc-btn .badge {
    font-size: 0.6rem;
    padding: 3px 12px;
  }
}

.horror-content-wrapper {
  display: none;
  animation: fadeIn 0.4s ease;
}
.horror-content-wrapper.active {
  display: block;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ EVENTS И ACTION ===== */
.events-hero,
.action-hero {
  position: relative;
  padding: 40px 0 30px;
  border-bottom: 1px solid rgba(124, 77, 255, 0.08);
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .events-hero,
  .action-hero {
    padding: 60px 0 50px;
    min-height: 60vh;
  }
}
.events-hero .container,
.action-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
@media (min-width: 992px) {
  .events-hero .container,
  .action-hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

.events-hero-content h1,
.action-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
@media (min-width: 480px) {
  .events-hero-content h1,
  .action-hero-content h1 {
    font-size: 3.4rem;
  }
}
@media (min-width: 768px) {
  .events-hero-content h1,
  .action-hero-content h1 {
    font-size: 4.4rem;
  }
}
.events-hero-content p,
.action-hero-content p {
  color: #b0a8c8;
  font-size: 0.95rem;
  max-width: 540px;
  margin-bottom: 20px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .events-hero-content p,
  .action-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }
}

.events-hero-visual .hero-image,
.action-hero-visual .hero-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(124, 77, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .events-hero-visual .hero-image,
  .action-hero-visual .hero-image {
    border-radius: 32px;
    font-size: 10rem;
  }
}
.events-hero-visual .hero-image .floating-tag,
.action-hero-visual .hero-image .floating-tag {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.7rem;
  color: #d4c8f0;
  font-weight: 500;
  animation: float 4s ease-in-out infinite;
}
@media (min-width: 768px) {
  .events-hero-visual .hero-image .floating-tag,
  .action-hero-visual .hero-image .floating-tag {
    padding: 10px 18px;
    font-size: 0.8rem;
    border-radius: 14px;
  }
}
.events-hero-visual .hero-image .floating-tag:nth-child(2),
.action-hero-visual .hero-image .floating-tag:nth-child(2) { top: 12%; right: 8%; animation-delay: 0.5s; }
.events-hero-visual .hero-image .floating-tag:nth-child(3),
.action-hero-visual .hero-image .floating-tag:nth-child(3) { bottom: 15%; left: 8%; animation-delay: 1s; }
.events-hero-visual .hero-image .floating-tag:nth-child(4),
.action-hero-visual .hero-image .floating-tag:nth-child(4) { bottom: 20%; right: 12%; animation-delay: 1.5s; }
.events-hero-visual .hero-image .floating-tag .emoji,
.action-hero-visual .hero-image .floating-tag .emoji { margin-right: 4px; }

.events-hero .badge {
  display: inline-block;
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid rgba(78, 205, 196, 0.2);
  padding: 4px 16px;
  border-radius: 60px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ecdc4;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (min-width: 768px) {
  .events-hero .badge {
    font-size: 0.8rem;
    padding: 6px 20px;
    margin-bottom: 16px;
  }
}

.action-hero .badge {
  display: inline-block;
  background: rgba(249, 168, 37, 0.15);
  border: 1px solid rgba(249, 168, 37, 0.2);
  padding: 4px 16px;
  border-radius: 60px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f9a825;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (min-width: 768px) {
  .action-hero .badge {
    font-size: 0.8rem;
    padding: 6px 20px;
    margin-bottom: 16px;
  }
}

/* ===== ДЛЯ СТРАНИЦ EVENTS И ACTION ===== */
.events-grid-3,
.action-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}
@media (min-width: 480px) {
  .events-grid-3,
  .action-grid-3 {
    gap: 20px;
  }
}
@media (min-width: 768px) {
  .events-grid-3,
  .action-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.events-grid-3 .event-card,
.action-grid-3 .event-card {
  background: #13101e;
  border-radius: 20px;
  padding: 24px 18px;
  border: 1px solid #26203a;
  text-align: center;
  transition: 0.3s;
}
@media (min-width: 768px) {
  .events-grid-3 .event-card,
  .action-grid-3 .event-card {
    border-radius: 24px;
    padding: 30px 24px;
  }
}
.events-grid-3 .event-card:hover,
.action-grid-3 .event-card:hover {
  border-color: #7c4dff;
  transform: translateY(-4px);
}
.events-grid-3 .event-card .icon,
.action-grid-3 .event-card .icon {
  font-size: 3rem;
  margin-bottom: 10px;
}
.events-grid-3 .event-card h3,
.action-grid-3 .event-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.events-grid-3 .event-card p,
.action-grid-3 .event-card p {
  color: #b0a8c8;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
/* ===== КРАСИВЫЕ КНОПКИ КОЛИЧЕСТВА ИГРОКОВ ===== */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background: #0c0a14;
  border-radius: 60px;
  padding: 4px;
  border: 1px solid #2d2640;
  width: fit-content;
}
.quantity-control .qty-btn {
  background: transparent;
  border: none;
  color: #b0a8c8;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.quantity-control .qty-btn:hover {
  background: rgba(124, 77, 255, 0.12);
  color: #fff;
}
.quantity-control .qty-btn:active {
  transform: scale(0.92);
}
.quantity-control .qty-value {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  min-width: 32px;
  text-align: center;
}
.quantity-control .qty-extra {
  display: none;
  position: absolute;
  right: -8px;
  top: -8px;
  color: #ffcf7a;
  background: #191220;
  border: 1px solid rgba(255, 207, 122, 0.45);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  padding: 5px 7px;
  pointer-events: none;
  transform: translateX(100%);
  z-index: 2;
}
.quantity-control .qty-extra.visible {
  display: inline-flex;
}
/* ===== ПРОМОКОД В ПЛАШКЕ АКЦИИ ===== */
.promo-code-btn {
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.25);
  border-radius: 60px;
  padding: 4px 14px 4px 18px;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: inherit;
  font-weight: 700;
  color: #b388ff;
  position: relative;
}
.promo-code-btn:hover {
  background: rgba(124, 77, 255, 0.25);
  border-color: #7c4dff;
  transform: scale(1.03);
}
.promo-code-btn:active {
  transform: scale(0.95);
}
.promo-code-btn .promo-code {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
}
.promo-code-btn .copy-icon {
  font-size: 0.8rem;
  opacity: 0.7;
  transition: 0.2s;
}
.promo-code-btn:hover .copy-icon {
  opacity: 1;
}
.promo-code-btn .copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e1b2b;
  color: #f0edf7;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  border: 1px solid rgba(124, 77, 255, 0.15);
}
.promo-code-btn .copy-tooltip.show {
  opacity: 1;
}
.promo-code-btn .copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1e1b2b;
}
/* Копирование номера */
.header-phone {
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}

.header-phone:hover {
  background: rgba(124, 77, 255, 0.12);
  border-color: #7c4dff;
  color: #fff;
}

.header-phone:active {
  transform: scale(0.95);
}

/* Добавляем подсказку при наведении */
.header-phone::after {
  content: '📋 Нажмите чтобы скопировать';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e1b2b;
  color: #f0edf7;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  border: 1px solid rgba(124, 77, 255, 0.15);
}

.header-phone:hover::after {
  opacity: 1;
}

/* ===== SUPABASE AUTH ===== */
.account-control { flex-shrink: 0; }
.auth-trigger::after { display: none; }
.auth-trigger { position: relative; z-index: 2; pointer-events: auto; }
.account-button {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(179, 136, 255, 0.45);
  border-radius: 30px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.25), rgba(179, 136, 255, 0.12));
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.account-button:hover { border-color: #b388ff; transform: translateY(-1px); }
.account-button.signed-in { color: #d8c8ff; }
.account-button:disabled { cursor: wait; opacity: 0.6; }
body.auth-open { overflow: hidden; }
.auth-modal[hidden] { display: none; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.auth-backdrop { position: fixed; inset: 0; background: rgba(5, 4, 10, 0.82); backdrop-filter: blur(8px); }
.auth-dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  box-sizing: border-box;
  border: 1px solid rgba(179, 136, 255, 0.25);
  border-radius: 24px;
  padding: 32px;
  background: linear-gradient(145deg, #181322, #0f0c18);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.65);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.auth-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; color: #948aa9; font-size: 2rem; cursor: pointer; }
.auth-brand { color: #b388ff; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 18px; }
.auth-dialog h2 { margin: 0 0 8px; font-size: 1.65rem; }
.auth-subtitle { margin: 0 0 24px; color: #aaa1bd; font-size: 0.9rem; line-height: 1.5; }
.auth-form { display: grid; gap: 16px; }
.auth-form [hidden] { display: none; }
.auth-signup-fields { display: grid; gap: 16px; }
.auth-signup-fields[hidden] { display: none; }
.auth-form label { display: grid; gap: 7px; color: #d6d0e2; font-size: 0.82rem; font-weight: 600; }
.auth-form input { box-sizing: border-box; width: 100%; border: 1px solid #352c49; border-radius: 12px; padding: 13px 14px; background: #0b0911; color: #fff; font: inherit; outline: none; }
.auth-form .auth-consent { grid-template-columns: auto 1fr; align-items: center; cursor: pointer; font-weight: 500; line-height: 1.4; }
.auth-form .auth-consent input { width: 18px; height: 18px; padding: 0; accent-color: #7c4dff; }
.auth-form input:focus { border-color: #7c4dff; box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.14); }
.auth-submit { border: 0; border-radius: 12px; padding: 13px; background: linear-gradient(135deg, #7c4dff, #9c6cff); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.auth-submit:disabled, .auth-link:disabled { cursor: wait; opacity: 0.6; }
.auth-resend { justify-self: center; line-height: 1.4; }
.auth-message { min-height: 0; color: #b8afc8; font-size: 0.8rem; line-height: 1.4; }
.auth-message:empty { display: none; }
.auth-message.error { color: #ff8e9e; }
.auth-message.success { color: #72dfb1; }
.auth-link { border: 0; padding: 0; background: none; color: #b388ff; font: inherit; font-size: 0.82rem; cursor: pointer; }
.auth-reset { margin-top: 15px; }
.auth-switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid #2c253b; color: #aaa1bd; text-align: center; font-size: 0.85rem; }
@media (max-width: 767px) {
  .account-button { max-width: 220px; }
  .auth-modal { align-items: start; padding: 12px; }
  .auth-dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 28px 22px; }
}

/* ===== ЛИЧНЫЙ ПРОФИЛЬ ===== */
.profile-body { min-height: 100vh; background: #000; }
.topographic-page { min-height: 100vh; background: #000; }
.topographic-background { position: fixed; inset: 0; z-index: 10; overflow: hidden; pointer-events: none; background: #000; }
.topographic-background canvas { display: block; width: 100%; height: 100%; opacity: .78; }
.profile-body .header, .profile-page { position: relative; }
.topographic-page .header, .topographic-page .staff-page { position: relative; }
.profile-page, .topographic-page .staff-page { z-index: auto; background: transparent; }
.profile-page > .container, .topographic-page .staff-page > .container { position: relative; z-index: 11; }
.profile-body .header { z-index: 1000; background: rgba(0,0,0,.9); }
.profile-page { min-height: calc(100vh - 80px); padding: 64px 0; }
.profile-loading { padding: 80px 0; color: #b0a8c8; text-align: center; }
.profile-shell { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.4fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.profile-shell[hidden] { display: none; }
.profile-summary, .profile-details { border: 1px solid rgba(179,136,255,.18); border-radius: 24px; background: linear-gradient(145deg,rgba(24,19,34,.96),rgba(15,12,24,.97)); box-shadow: 0 20px 60px rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.profile-summary { padding: 36px 28px; text-align: center; }
.profile-avatar { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg,#7c4dff,#b388ff); color: #fff; font-size: 2rem; font-weight: 900; }
.profile-summary h1 { margin: 0 0 8px; font-size: 1.5rem; }
.profile-summary > p { color: #978da9; font-size: .88rem; line-height: 1.5; }
.profile-visits { display: grid; gap: 4px; margin: 28px 0; padding: 22px; border-radius: 18px; background: rgba(124,77,255,.1); }
.profile-visits strong { color: #b388ff; font-size: 2.3rem; }
.profile-visits span { color: #bbb2ca; font-size: .82rem; }
.profile-details { padding: 36px; }
.profile-details h2 { margin: 0 0 28px; }
.profile-form { display: grid; gap: 20px; }
.profile-form label { display: grid; gap: 8px; color: #d8d1e5; font-size: .85rem; font-weight: 600; }
.profile-form input, .profile-readonly { box-sizing: border-box; width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid #352c49; border-radius: 12px; background: #0b0911; color: #fff; font: inherit; }
.profile-form input:focus { border-color: #7c4dff; outline: none; box-shadow: 0 0 0 3px rgba(124,77,255,.14); }
.profile-form input[readonly], .profile-readonly { color: #a69daf; cursor: default; }
.profile-message { min-height: 20px; margin: 0; color: #aaa1bd; font-size: .82rem; }
.profile-message.success { color: #72dfb1; }
.profile-message.error { color: #ff8e9e; }
@media (max-width: 720px) { .profile-page { padding: 32px 0; } .profile-shell { grid-template-columns: 1fr; } .profile-details, .profile-summary { padding: 26px 20px; } }
.staff-actions { display: grid; gap: 10px; margin-bottom: 20px; }
.staff-actions[hidden], #staffClientsLink[hidden] { display: none; }
.staff-actions a { text-decoration: none; text-align: center; }
.staff-role { color: #b0a8c8; font-size: .8rem; }
.staff-page { min-height: calc(100vh - 70px); padding: 48px 0; }
.staff-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.staff-heading h1 { margin: 0 0 8px; }
.staff-heading p { margin: 0; color: #9e95b0; }
.staff-heading input { padding: 11px; border: 1px solid #3b3150; border-radius: 10px; background: #100d18; color: #fff; }
.staff-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 22px 0 36px; }
.staff-calendar button { min-height: 54px; border: 1px solid #342b48; border-radius: 10px; background: #171221; color: #fff; cursor: pointer; }
.staff-calendar button:hover { border-color: #7c4dff; background: rgba(124,77,255,.16); }
.staff-booking-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 14px; }
.staff-booking { display: grid; gap: 10px; padding: 18px; border: 1px solid #342b48; border-radius: 16px; background: #15101e; }
.staff-booking h3 { margin: 0; }
.staff-slots { display: grid; grid-template-columns: repeat(auto-fill,minmax(92px,1fr)); gap: 8px; }
.staff-slot { display: grid; gap: 3px; min-height: 55px; padding: 8px; border: 1px solid transparent; border-radius: 10px; color: #17121f; cursor: pointer; text-align: left; }
.staff-slot span { font-size: .63rem; line-height: 1.15; }
.staff-slot[data-status="service"] { background: #b99aff; }
.staff-slot[data-status="new"] { background: #ffb875; }
.staff-slot[data-status="confirmed"] { background: #83d9ff; }
.staff-slot[data-status="visited"] { background: #74df91; }
.staff-slot[data-status="no_answer"] { background: #ffe179; }
.staff-slot[data-status="awaiting_prepayment"] { background: #bcf2ae; }
.staff-slot[data-status="closed"] { position: relative; background: #242031; color: #c8c0d4; border-color: #3a3349; }
.staff-slot[data-status="closed"]::after { content: ''; position: absolute; left: 7px; right: 7px; top: 50%; height: 2px; background: #ff4d64; transform: rotate(-7deg); }
.staff-slot[data-status="available"] { background: #242031; color: #c8c0d4; border-color: #3a3349; }
.staff-legend { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 20px; }
.staff-legend span { padding: 6px 10px; border-radius: 20px; color: #17121f; font-size: .7rem; }
.staff-legend .new { background:#ffb875 }.staff-legend .service { background:#b99aff }.staff-legend .confirmed { background:#83d9ff }.staff-legend .visited { background:#74df91 }.staff-legend .no_answer { background:#ffe179 }.staff-legend .awaiting_prepayment { background:#bcf2ae }.staff-legend .closed { color:#ddd;background:linear-gradient(172deg,#3a3349 46%,#ff4d64 48%,#ff4d64 52%,#3a3349 54%) }.staff-legend .available { background:#3a3349;color:#ddd }
.booking-info-modal[hidden] { display: none; }
.booking-info-modal { position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; padding: 18px; }
.booking-info-backdrop { position: absolute; inset: 0; background: rgba(5,4,10,.68); backdrop-filter: blur(3px); }
.booking-info-card { position: relative; width: min(100%,420px); max-height: min(620px,85vh); overflow-y: auto; padding: 25px; border: 1px solid rgba(179,136,255,.35); border-radius: 18px; background: #171220; box-shadow: 0 22px 70px rgba(0,0,0,.6); }
.booking-info-card h2 { margin: 0 30px 18px 0; font-size: 1.25rem; }
.booking-info-lines { display: grid; gap: 8px; }
.booking-info-lines p { margin: 0; color: #bbb2ca; font-size: .82rem; line-height: 1.45; }
.booking-info-lines b { color: #fff; }
.booking-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.booking-edit-grid label { display: grid; gap: 5px; color: #bdb4ca; font-size: .72rem; }
.booking-edit-grid .wide { grid-column: 1 / -1; }
.booking-edit-grid input, .booking-edit-grid select, .booking-edit-grid textarea { box-sizing: border-box; width: 100%; padding: 9px; border: 1px solid #3b3150; border-radius: 8px; background: #0d0a13; color: #fff; font: inherit; }
.booking-edit-grid textarea { min-height: 65px; resize: vertical; }
.booking-status-label { display: grid; gap: 7px; margin-top: 18px; color: #d8d1e5; font-size: .8rem; }
.booking-status-label select { padding: 10px; border: 1px solid #3b3150; border-radius: 9px; background:#0d0a13;color:#fff; }
.booking-info-actions { display: flex; gap: 8px; margin-top: 15px; }
.booking-info-actions button { padding: 9px 12px; border: 0; border-radius: 8px; background:#7c4dff;color:#fff;cursor:pointer; }
.staff-booking input, .staff-table input, .staff-table textarea { box-sizing: border-box; width: 100%; padding: 9px; border: 1px solid #3b3150; border-radius: 8px; background: #0d0a13; color: #fff; }
.staff-table small { display: block; margin-top: 5px; color: #968da7; line-height: 1.4; }
.staff-table textarea { min-width: 180px; min-height: 64px; resize: vertical; }
.client-comment { max-width: 260px; margin: 0 0 8px; color: #d8d1e2; font-size: .82rem; line-height: 1.35; white-space: pre-wrap; }
.client-extras { max-width: 260px; margin: 0; padding-left: 18px; color: #a99fb8; font-size: .76rem; line-height: 1.35; }
.client-extras li { margin: 2px 0; }
.staff-table .muted { color: #766d84; font-size: .78rem; }
.my-erp-booking { border-left: 3px solid #ff9f43; }
.staff-booking button, .staff-table button { margin: 3px; padding: 8px 10px; border: 0; border-radius: 8px; background: #7c4dff; color: #fff; cursor: pointer; }
.staff-table-wrap { overflow-x: auto; border: 1px solid #342b48; border-radius: 16px; }
.staff-table { width: 100%; border-collapse: collapse; background: #15101e; }
.staff-table th, .staff-table td { padding: 14px; border-bottom: 1px solid #2b233a; text-align: left; }
@media(max-width:700px){.staff-calendar{grid-template-columns:repeat(4,1fr)}.staff-heading{align-items:stretch;flex-direction:column}}

/* ===== PROFILE & STAFF WORKSPACE — 2026 REFRESH ===== */
:root {
  --workspace-bg: #0a090d;
  --workspace-surface: #121116;
  --workspace-surface-raised: #17151c;
  --workspace-border: rgba(255, 255, 255, .08);
  --workspace-muted: #918d9a;
  --workspace-accent: #9b87f5;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.profile-page, .staff-page { background: var(--workspace-bg); }
.profile-page::before, .staff-page::before { content: ""; position: fixed; inset: 40px -15% auto; height: 520px; pointer-events: none; background: radial-gradient(circle at 25% 25%, rgba(137,111,255,.16), transparent 34%), radial-gradient(circle at 75% 5%, rgba(80,52,183,.13), transparent 32%); filter: blur(8px); animation: workspaceAurora 12s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes workspaceAurora { from { opacity: .65; transform: translate3d(-2%, -4%, 0) scale(.96); } to { opacity: 1; transform: translate3d(3%, 3%, 0) scale(1.06); } }
.profile-page { min-height: calc(100vh - 70px); padding: 72px 0; }
.profile-shell { position: relative; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.profile-shell[hidden] { display: none; }
.profile-summary, .profile-details { border: 1px solid var(--workspace-border); border-radius: 20px; background: rgba(18, 17, 22, .88); box-shadow: 0 24px 70px rgba(0, 0, 0, .2); }
.profile-summary { display: flex; flex-direction: column; align-items: center; padding: 32px 28px 28px; text-align: center; }
.profile-eyebrow, .staff-eyebrow { color: var(--workspace-accent); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.profile-avatar { display: grid; place-items: center; width: 82px; height: 82px; margin: 24px auto 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(145deg, #a791ff, #6f58ce); box-shadow: 0 12px 30px rgba(111,88,206,.22); color: #fff; font-size: 1.9rem; font-weight: 700; }
.profile-summary h1 { margin: 0 0 9px; color: #f7f5fa; font-size: 1.45rem; letter-spacing: -.035em; }
.profile-summary > p { max-width: 240px; color: var(--workspace-muted); font-size: .82rem; line-height: 1.6; }
.profile-visits { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; margin: 30px 0 22px; padding: 16px 18px; border: 1px solid var(--workspace-border); border-radius: 14px; background: rgba(255,255,255,.025); text-align: left; }
.profile-visits strong { color: #f7f5fa; font-size: 1.65rem; line-height: 1; }
.profile-visits span { max-width: 100px; color: var(--workspace-muted); font-size: .75rem; line-height: 1.3; }
.profile-summary > .btn-outline { width: 100%; margin-top: auto; border-color: var(--workspace-border); color: #aaa5b1; background: transparent; }
.profile-summary > .btn-outline:hover { border-color: rgba(255,255,255,.18); color: #fff; }
.profile-details { padding: 44px 48px; }
.profile-section-heading { padding-bottom: 28px; border-bottom: 1px solid var(--workspace-border); }
.profile-details h2 { margin: 7px 0 8px; color: #f7f5fa; font-size: 1.75rem; letter-spacing: -.04em; }
.profile-section-heading p { color: var(--workspace-muted); font-size: .82rem; }
.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 28px; }
.profile-form label { display: grid; gap: 8px; color: #aaa5b1; font-size: .73rem; font-weight: 600; }
.profile-form label:first-child, .profile-form .profile-message, .profile-form button { grid-column: 1 / -1; }
.profile-form input, .profile-readonly { width: 100%; min-height: 50px; padding: 14px 15px; border: 1px solid var(--workspace-border); border-radius: 11px; background: #0d0c10; color: #f4f1f7; font: inherit; font-size: .84rem; transition: border-color .2s, box-shadow .2s; }
.profile-form input:focus { border-color: var(--workspace-accent); outline: none; box-shadow: 0 0 0 3px rgba(155,135,245,.1); }
.profile-form input[readonly], .profile-readonly { color: #78737f; }
.profile-form .btn-primary { justify-self: start; min-width: 190px; border-radius: 10px; }
.staff-actions { width: 100%; gap: 8px; margin-bottom: 20px; }
.staff-actions a { border-radius: 10px; }

.staff-page { position: relative; min-height: calc(100vh - 70px); padding: 58px 0 80px; }
.staff-page > .container { position: relative; }
.staff-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.staff-heading h1 { margin: 7px 0 8px; color: #f7f5fa; font-size: clamp(2rem,4vw,3.1rem); line-height: 1; letter-spacing: -.055em; }
.staff-heading p { max-width: 560px; color: var(--workspace-muted); font-size: .88rem; }
.staff-month-control { display: grid; gap: 7px; color: #77727f; font-size: .67rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.staff-month-control > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.staff-month-switcher { display: grid; grid-template-columns: 38px minmax(150px,1fr) 38px; align-items: center; overflow: hidden; border: 1px solid var(--workspace-border); border-radius: 10px; background: var(--workspace-surface); }
.staff-month-switcher button { height: 40px; border: 0; background: transparent; color: #8f8997; cursor: pointer; font-size: 1rem; transition: color .18s, background .18s; }
.staff-month-switcher button:hover { background: rgba(155,135,245,.09); color: #fff; }
.staff-month-switcher strong { color: #eeeaf2; font-size: .76rem; font-weight: 600; letter-spacing: 0; text-align: center; text-transform: capitalize; }
.staff-role { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--workspace-border); border-radius: 99px; color: #aaa5b1; font-size: .69rem; }
.staff-role i { width: 6px; height: 6px; border-radius: 50%; background: #71c99b; box-shadow: 0 0 0 3px rgba(113,201,155,.1); }
.staff-role b { color: #d9d5de; font-weight: 600; }
.staff-status { margin: 20px 0; padding: 14px 16px; border: 1px solid var(--workspace-border); border-radius: 10px; background: var(--workspace-surface); color: var(--workspace-muted); font-size: .8rem; }
.staff-calendar-panel { padding: 18px 20px 20px; border: 1px solid var(--workspace-border); border-radius: 16px; background: rgba(18,17,22,.82); }
.staff-panel-label { color: #77727f; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.staff-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 14px 0 0; }
.staff-calendar button { min-height: 48px; border: 1px solid transparent; border-radius: 9px; background: rgba(255,255,255,.025); color: #b4afb9; font-weight: 600; transition: .18s ease; }
.staff-calendar button:hover, .staff-calendar button:focus { border-color: rgba(155,135,245,.4); background: rgba(155,135,245,.1); color: #fff; outline: none; }
.staff-grid-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 44px 0 18px; }
.staff-grid-heading h2 { margin-top: 6px; color: #f5f2f7; font-size: 1.45rem; letter-spacing: -.035em; }
.staff-legend { justify-content: flex-end; max-width: 680px; gap: 6px 14px; margin: 0; }
.staff-legend span { position: relative; padding: 0 0 0 12px; border-radius: 0; background: none !important; color: #8e8995 !important; font-size: .66rem; }
.staff-legend span::before { content: ""; position: absolute; top: 50%; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #6d6875; transform: translateY(-50%); }
.staff-legend .new::before { background:#e5a66d }.staff-legend .service::before { background:#9b87f5 }.staff-legend .confirmed::before { background:#70b7d8 }.staff-legend .visited::before { background:#71c99b }.staff-legend .no_answer::before { background:#d9bd62 }.staff-legend .awaiting_prepayment::before { background:#9fc995 }.staff-legend .closed::before { background:#db6878 }
.staff-booking-grid { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 10px; }
.staff-booking { gap: 14px; padding: 18px; border: 1px solid var(--workspace-border); border-radius: 14px; background: rgba(18,17,22,.85); }
.staff-booking h3 { color: #e7e3eb; font-size: .87rem; font-weight: 600; }
.staff-slots { grid-template-columns: repeat(auto-fill,minmax(80px,1fr)); gap: 6px; }
.staff-slot { min-height: 52px; padding: 8px 9px; border-color: rgba(255,255,255,.06); border-radius: 8px; filter: saturate(.68); transition: transform .15s, filter .15s; }
.staff-slot:hover { filter: saturate(.95) brightness(1.08); transform: translateY(-1px); }
.staff-slot strong { font-size: .76rem; }.staff-slot span { opacity: .72; font-size: .58rem; }
.staff-slot[data-status="available"], .staff-slot[data-status="closed"] { background: #211f26; color: #9c97a2; }

.client-count { display: grid; min-width: 105px; gap: 3px; padding: 12px 15px; border: 1px solid var(--workspace-border); border-radius: 11px; background: var(--workspace-surface); }
.client-count span { color: var(--workspace-muted); font-size: .65rem; }.client-count strong { color: #f4f1f7; font-size: 1.25rem; }
.staff-table-wrap { overflow-x: auto; border: 1px solid var(--workspace-border); border-radius: 16px; background: rgba(18,17,22,.88); }
.staff-table { min-width: 900px; background: transparent; }
.staff-table th { padding: 14px 18px; border-bottom: 1px solid var(--workspace-border); color: #77727f; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.staff-table td { padding: 18px; border-bottom: 1px solid rgba(255,255,255,.055); color: #bcb7c2; font-size: .78rem; vertical-align: top; }
.staff-table tr:last-child td { border-bottom: 0; }.staff-table tbody tr { transition: background .18s; }.staff-table tbody tr:hover { background: rgba(255,255,255,.018); }
.staff-table strong { color: #f0edf3; font-size: .84rem; }.staff-table small { color: #797480; font-size: .69rem; }
.staff-table button { margin: 0 0 5px; padding: 7px 10px; border: 1px solid var(--workspace-border); border-radius: 7px; background: rgba(255,255,255,.04); color: #d8d3dc; font-size: .68rem; }
.staff-table button:hover { border-color: rgba(155,135,245,.35); background: rgba(155,135,245,.08); }
.client-extras { margin: 8px 0 0; padding: 0; list-style: none; }.client-extras li { display: inline-block; margin: 3px 3px 0 0; padding: 4px 7px; border-radius: 6px; background: rgba(255,255,255,.05); color: #9d98a3; font-size: .65rem; }
.booking-info-card { border-color: var(--workspace-border); border-radius: 18px; background: var(--workspace-surface-raised); box-shadow: 0 30px 90px rgba(0,0,0,.55); }

@media (max-width: 760px) {
  .profile-page { padding: 28px 0; }.profile-shell { grid-template-columns: 1fr; }.profile-summary { padding: 28px 20px; }.profile-details { padding: 30px 20px; }.profile-form { grid-template-columns: 1fr; }.profile-form label { grid-column: 1; }
  .staff-page { padding: 36px 0 60px; }.staff-heading, .staff-grid-heading { align-items: stretch; flex-direction: column; }.staff-calendar-panel { padding: 14px; }.staff-calendar { grid-template-columns: repeat(4,1fr); }.staff-grid-heading { margin-top: 34px; }.staff-legend { justify-content: flex-start; }.staff-booking-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .profile-page::before, .staff-page::before { animation: none; } }
@media(max-width:480px){.booking-edit-grid{grid-template-columns:1fr}.booking-edit-grid .wide{grid-column:auto}}

/* ===== IMMERSCAPE MODERN QUEST REFRESH ===== */
:root {
  --site-bg: #0b0d13;
  --site-bg-2: #12121d;
  --site-surface: rgba(22, 24, 34, 0.86);
  --site-surface-strong: #171923;
  --site-border: rgba(255, 255, 255, 0.1);
  --site-border-strong: rgba(255, 255, 255, 0.17);
  --site-text: #f7f4ee;
  --site-muted: #b9b4c3;
  --site-soft: #827c90;
  --quest-violet: #8d6cff;
  --quest-pink: #ff6ea8;
  --quest-teal: #39d8c7;
  --quest-gold: #ffd166;
  --quest-orange: #ff9365;
  --quest-green: #7ee29d;
  --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 18px 46px rgba(141, 108, 255, 0.18);
}

* {
  letter-spacing: 0 !important;
}

html {
  background: var(--site-bg);
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(141, 108, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(57, 216, 199, 0.1), transparent 30%),
    linear-gradient(180deg, #0b0d13 0%, #10111a 48%, #0b0d13 100%);
  color: var(--site-text);
  font-size: 16px;
  line-height: 1.65;
}

body::selection {
  background: rgba(255, 209, 102, 0.32);
  color: #fff;
}

.header {
  background: rgba(11, 13, 19, 0.78);
  border-bottom: 1px solid var(--site-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.logo,
.hero-content h1,
.events-hero-content h1,
.action-hero-content h1,
.catalog-header h2,
.section-title,
.booking-overlay .booking-title,
.profile-details h2,
.staff-heading h1 {
  font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
}

.logo {
  background: linear-gradient(135deg, var(--quest-gold), var(--quest-pink) 46%, var(--quest-teal));
  background-size: 180% 180%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.nav a {
  color: #cbc5d6;
  font-weight: 700;
}

.nav a::after {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--quest-gold), var(--quest-pink), var(--quest-teal));
}

.header-phone,
.account-button,
.horror-header-tab {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.055);
  color: #f4efff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-phone:hover,
.account-button:hover,
.horror-header-tab:hover,
.horror-header-tab.active {
  border-color: rgba(255, 209, 102, 0.42);
  background: rgba(255, 209, 102, 0.1);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 209, 102, 0.12);
}

@media (max-width: 1280px) and (min-width: 768px) {
  .header .container {
    gap: 8px;
  }

  .logo {
    margin-right: 8px;
    font-size: 1.45rem;
  }

  .nav {
    gap: 10px;
    font-size: 0.82rem;
  }

  .header-right {
    gap: 8px;
  }

  .header-phone {
    padding: 6px 12px;
    font-size: 0.76rem;
  }

  .account-button {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .logo {
    font-size: 1.32rem;
  }

  .nav {
    gap: 8px;
    font-size: 0.74rem;
  }

  .header-phone {
    display: none;
  }
}

.social-icons a {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--site-border);
}

.social-icons a:hover {
  background: #26a7e8;
  border-color: #26a7e8;
  box-shadow: 0 12px 26px rgba(38, 167, 232, 0.28);
}

.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(141, 108, 255, 0.16), rgba(255, 110, 168, 0.08) 42%, rgba(57, 216, 199, 0.1)),
    linear-gradient(180deg, #11121c 0%, #0b0d13 100%);
  border-bottom: 1px solid var(--site-border);
}

.hero::before,
.events-hero::before,
.action-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.hero > .container,
.events-hero .container,
.action-hero .container {
  position: relative;
}

.hero-content h1 {
  color: var(--site-text);
  font-weight: 800;
  line-height: 1.14;
  overflow: visible;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--quest-gold), var(--quest-pink) 48%, var(--quest-teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-content .sub,
.events-hero-content p,
.action-hero-content p,
.section-sub {
  color: var(--site-muted);
  line-height: 1.72;
}

.hero-offer,
.btn-primary,
.btn-book-sm,
.auth-submit,
.payment-link.primary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #7d63f1, #ff6ea8 58%, #ffb85c);
  box-shadow: 0 16px 34px rgba(255, 110, 168, 0.18);
  font-weight: 800;
}

.hero-offer:hover,
.btn-primary:hover,
.btn-book-sm:hover,
.auth-submit:hover,
.payment-link.primary:hover {
  background: linear-gradient(135deg, #947dff, #ff7fb4 56%, #ffd166);
  box-shadow: 0 20px 44px rgba(255, 110, 168, 0.24);
  transform: translateY(-2px);
}

.hero-offer.pink {
  background: linear-gradient(135deg, #ff4f83, #9e6bff);
}

.hero-offer.green {
  background: linear-gradient(135deg, #21c9b8, #76e49a);
  color: #07120f;
}

.hero-offer.orange {
  background: linear-gradient(135deg, #ff8a4c, #ffd166);
  color: #211206;
}

.hero-photo-card,
.atmosphere-carousel-wrapper,
.quest-card,
.package-card,
.booking-info,
.booking-form,
.receipt-box,
.options-grid .option-card,
.contact-method,
.payment-hero,
.payment-link,
.booking-summary-card,
.profile-summary,
.profile-details,
.staff-calendar-panel,
.staff-booking,
.staff-table-wrap {
  border: 1px solid var(--site-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow-soft);
}

.hero-photo-card,
.quest-card,
.package-card {
  border-radius: 18px;
}

.hero-photo-card {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-photo-card .photo-slide .slide-bg::after {
  background: linear-gradient(180deg, rgba(6, 7, 12, 0.06), rgba(6, 7, 12, 0.82));
}

.hero-photo-card .photo-slide .slide-content {
  padding: 0 18px;
}

.hero-photo-card .photo-slide .slide-content h3,
.events-grid-3 .event-card h3,
.action-grid-3 .event-card h3,
.quest-card .card-body .card-title,
.package-card h4,
.booking-info h3 {
  color: #fffaf2;
  font-weight: 800;
}

.hero-photo-card .photo-slide .slide-content .slide-tag,
.quest-card .card-image .image-tags .tag.highlight,
.events-hero .badge,
.action-hero .badge {
  border-color: rgba(255, 209, 102, 0.34);
  background: rgba(255, 209, 102, 0.16);
  color: #ffe39a;
}

.hero-photo-card .photo-arrows button {
  background: rgba(11, 13, 19, 0.72);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-photo-card .photo-arrows button:hover,
.hero-photo-card .photo-dot.active {
  background: var(--quest-gold);
  border-color: var(--quest-gold);
  color: #16110a;
}

.hero-usp-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.hero-usp-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: center;
  column-gap: 8px;
  row-gap: 1px;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(255, 110, 168, 0.07) 52%, rgba(57, 216, 199, 0.08));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.hero-usp-item span {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
}

.hero-usp-item strong {
  grid-area: title;
  min-width: 0;
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-usp-item small {
  grid-area: text;
  min-width: 0;
  color: var(--site-muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 420px) {
  .hero-usp-panel {
    gap: 6px;
  }

  .hero-usp-item {
    min-height: 48px;
    padding: 8px;
    column-gap: 7px;
  }

  .hero-usp-item span {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .hero-usp-item strong {
    font-size: 0.72rem;
  }

  .hero-usp-item small {
    font-size: 0.6rem;
  }
}

#section-quests {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255, 126, 87, 0.22);
  border-bottom: 1px solid rgba(171, 255, 115, 0.16);
  background: #130a16;
}

#section-quests::before,
#section-quests::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

#section-quests::before {
  top: -140px;
  left: -12vw;
  width: 124vw;
  height: max(1040px, 110vh);
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 126, 87, 0.22), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(171, 255, 115, 0.13), transparent 32%),
    radial-gradient(circle at 50% 86%, rgba(255, 202, 97, 0.18), transparent 38%);
  background-size: 120% 120%;
  opacity: 0.88;
  transform: translate3d(0, 0, 0) scale(1.02);
  will-change: transform, background-position;
  animation: questGradientPulse 34s ease-in-out infinite alternate;
}

#section-quests::after {
  top: 0;
  left: 0;
  width: 100%;
  height: max(920px, 100vh);
  background-image:
    radial-gradient(circle at center, rgba(255, 229, 185, 0.06) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(171, 255, 115, 0.024) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  opacity: 0.22;
  animation: questWallpaperParticles 46s linear infinite;
}

.quest-live-wallpaper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%);
}

.quest-live-wallpaper svg {
  position: absolute;
  top: -120px;
  left: -18vw;
  width: 136vw;
  height: max(920px, 100vh);
  overflow: visible;
  transform: translate3d(0, 0, 0);
}

.quest-line-layer {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.quest-line-layer.layer-a {
  animation: questLineLayerA 24s linear infinite;
}

.quest-line-layer.layer-b {
  animation: questLineLayerB 29s linear infinite;
}

.quest-line-layer.layer-c {
  animation: questLineLayerC 35s linear infinite;
}

.quest-line-layer.layer-d {
  animation: questLineLayerD 41s linear infinite;
}

.quest-flow-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  opacity: 0.68;
  vector-effect: non-scaling-stroke;
}

.quest-flow-line.line-a {
  stroke: rgba(255, 202, 97, 0.74);
  stroke-width: 3;
}

.quest-flow-line.line-b {
  stroke: rgba(255, 126, 87, 0.58);
  stroke-width: 2.6;
}

.quest-flow-line.line-c {
  stroke: rgba(171, 255, 115, 0.5);
  stroke-width: 2.5;
}

.quest-flow-line.line-d {
  stroke: rgba(255, 157, 207, 0.42);
  stroke-width: 2.4;
}

.quest-flow-line.line-e {
  stroke: rgba(255, 250, 242, 0.28);
  stroke-width: 1.8;
}

.quest-flow-line.line-f {
  stroke: rgba(255, 202, 97, 0.34);
  stroke-width: 1.7;
}

.quest-flow-line.line-g {
  stroke: rgba(171, 255, 115, 0.34);
  stroke-width: 1.6;
}

.quest-flow-line.line-h {
  stroke: rgba(255, 157, 207, 0.28);
  stroke-width: 1.5;
}

.quest-flow-line.line-i {
  stroke: rgba(255, 126, 87, 0.32);
  stroke-width: 1.5;
}

.quest-flow-line.line-j {
  stroke: rgba(255, 250, 242, 0.22);
  stroke-width: 1.2;
}

.quest-flow-line.line-k {
  stroke: rgba(255, 202, 97, 0.26);
  stroke-width: 1.25;
}

.quest-flow-line.line-l {
  stroke: rgba(255, 126, 87, 0.24);
  stroke-width: 1.35;
}

.quest-flow-line.line-m {
  stroke: rgba(171, 255, 115, 0.22);
  stroke-width: 1.25;
}

.quest-flow-line.line-n {
  stroke: rgba(255, 202, 97, 0.25);
  stroke-width: 1.45;
}

.quest-flow-line.line-o {
  stroke: rgba(255, 157, 207, 0.22);
  stroke-width: 1.25;
}

.quest-flow-line.line-p {
  stroke: rgba(255, 250, 242, 0.18);
  stroke-width: 1.15;
}

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

#section-quests .catalog-header {
  position: relative;
  margin-bottom: 2px;
}

#section-quests .catalog-header::before {
  content: "Квесты Immerscape";
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 202, 97, 0.28);
  border-radius: 999px;
  background: rgba(52, 24, 20, 0.72);
  color: #ffe5b9;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

#section-quests .catalog-header h2 {
  text-shadow: 0 14px 42px rgba(255, 126, 87, 0.18);
}

#section-quests .quest-grid {
  position: relative;
}

#section-quests .quest-card {
  background:
    linear-gradient(180deg, rgba(24, 17, 22, 0.95), rgba(13, 19, 16, 0.96));
}

@keyframes questWallpaperDrift {
  0% {
    opacity: 0.68;
    transform: translate3d(-3%, -2%, 0) scale(1.03);
  }

  50% {
    opacity: 0.9;
    transform: translate3d(2%, 1%, 0) scale(1.08);
  }

  100% {
    opacity: 0.76;
    transform: translate3d(3%, -1%, 0) scale(1.05);
  }
}

@keyframes questWallpaperParticles {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 54px 54px, 54px 0;
  }
}

@keyframes questGradientPulse {
  0% {
    background-position: 0% 35%;
    transform: translate3d(-1%, -1%, 0) scale(1.02);
  }

  50% {
    background-position: 70% 55%;
    transform: translate3d(1.2%, 0.6%, 0) scale(1.045);
  }

  100% {
    background-position: 100% 70%;
    transform: translate3d(0.4%, 1.2%, 0) scale(1.035);
  }
}

@keyframes questLineLayerA {
  0% {
    transform: translate3d(-34px, -12px, 0);
  }

  25% {
    transform: translate3d(16px, -30px, 0);
  }

  50% {
    transform: translate3d(36px, 12px, 0);
  }

  75% {
    transform: translate3d(-12px, 30px, 0);
  }

  100% {
    transform: translate3d(-34px, -12px, 0);
  }
}

@keyframes questLineLayerB {
  0% {
    transform: translate3d(32px, 18px, 0);
  }

  25% {
    transform: translate3d(-20px, 32px, 0);
  }

  50% {
    transform: translate3d(-38px, -10px, 0);
  }

  75% {
    transform: translate3d(14px, -34px, 0);
  }

  100% {
    transform: translate3d(32px, 18px, 0);
  }
}

@keyframes questLineLayerC {
  0% {
    transform: translate3d(-18px, 30px, 0);
  }

  25% {
    transform: translate3d(-34px, -12px, 0);
  }

  50% {
    transform: translate3d(10px, -34px, 0);
  }

  75% {
    transform: translate3d(32px, 16px, 0);
  }

  100% {
    transform: translate3d(-18px, 30px, 0);
  }
}

@keyframes questLineLayerD {
  0% {
    transform: translate3d(22px, -26px, 0);
  }

  25% {
    transform: translate3d(40px, 8px, 0);
  }

  50% {
    transform: translate3d(-8px, 34px, 0);
  }

  75% {
    transform: translate3d(-36px, -12px, 0);
  }

  100% {
    transform: translate3d(22px, -26px, 0);
  }
}

@media (max-width: 767px) {
  #section-quests {
    padding: 12px 0 24px;
  }

  #section-quests::before {
    inset: -10% -12%;
    width: auto;
    height: auto;
    opacity: 0.78;
  }

  #section-quests::after {
    background-size: 44px 44px, 44px 44px;
    opacity: 0.22;
  }

  .quest-live-wallpaper svg {
    inset: -4% -48%;
    width: 196%;
    height: 112%;
  }

  .quest-flow-line {
    stroke-width: 1.8;
    opacity: 0.56;
  }

  #section-quests .catalog-header::before {
    margin-bottom: 8px;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quest-line-layer.layer-a {
    animation-duration: 28s;
  }

  .quest-line-layer.layer-b {
    animation-duration: 34s;
  }

  .quest-line-layer.layer-c {
    animation-duration: 40s;
  }

  .quest-line-layer.layer-d {
    animation-duration: 46s;
  }
}

.hero-promo {
  border: 1px solid rgba(255, 209, 102, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.16), rgba(255, 110, 168, 0.1) 42%, rgba(57, 216, 199, 0.12)) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.hero-promo .promo-text {
  color: #f2edf8 !important;
}

.hero-promo .promo-text .highlight {
  color: #ffe39a !important;
}

.hero-promo .promo-btn {
  background: linear-gradient(135deg, var(--quest-pink), var(--quest-gold)) !important;
  color: #211206 !important;
  box-shadow: 0 14px 26px rgba(255, 209, 102, 0.2);
}

.atmosphere-section,
.catalog-header,
.birthday-section,
.booking-section,
.footer {
  border-color: var(--site-border);
}

.atmosphere-carousel-slide {
  background:
    linear-gradient(135deg, rgba(141, 108, 255, 0.18), rgba(255, 110, 168, 0.1)),
    #151722;
}

.atmosphere-carousel-slide .emoji,
.events-grid-3 .event-card .icon,
.action-grid-3 .event-card .icon {
  filter: drop-shadow(0 10px 18px rgba(255, 209, 102, 0.22));
}

.catalog-header h2,
.section-title {
  color: var(--site-text);
  font-weight: 800;
}

.location-filter .loc-chip,
.horror-location-selector .loc-btn,
.step-btn {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.045);
  color: #d9d3e3;
  font-weight: 800;
}

.location-filter .loc-chip:hover,
.location-filter .loc-chip.active,
.horror-location-selector .loc-btn:hover,
.horror-location-selector .loc-btn.active,
.step-btn.active {
  border-color: rgba(255, 209, 102, 0.48);
  background: rgba(255, 209, 102, 0.12);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 209, 102, 0.1);
}

.quest-card:hover,
.package-card:hover,
.events-grid-3 .event-card:hover,
.action-grid-3 .event-card:hover,
.options-grid .option-card:hover,
.contact-method:hover {
  border-color: rgba(255, 209, 102, 0.42);
  box-shadow: var(--shadow-glow);
}

.quest-card .card-image {
  border-bottom-color: var(--site-border);
  background:
    linear-gradient(135deg, rgba(141, 108, 255, 0.12), rgba(57, 216, 199, 0.1)),
    #151722;
}

.quest-card .card-image .image-tags .tag {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 15, 0.72);
  color: #eee7f8;
}

.quest-card .card-body .card-location,
.quest-card .card-body .card-meta,
.quest-card .price-label,
.package-card .pkg-note,
.section-sub,
.booking-info .desc,
.payment-note {
  color: var(--site-muted);
}

.quest-card .card-body .card-desc {
  color: #d6cfdf;
}

.quest-card .card-footer,
.receipt-box .row {
  border-color: var(--site-border);
}

.quest-card .card-footer .price,
.package-card .pkg-price,
.receipt-box .total,
.booking-summary-card .summary-total,
.booking-total-current {
  color: #ffe39a;
}

.discount-badge,
.quest-card .discount-badge {
  background: rgba(126, 226, 157, 0.16);
  color: #a8f7bd;
}

.package-card.popular {
  border-color: rgba(255, 209, 102, 0.58);
  box-shadow: 0 18px 54px rgba(255, 209, 102, 0.13);
}

.package-card ul li::before {
  color: var(--quest-teal);
}

.packages-collapsible .collapsible-body .package-mini.active {
  position: relative;
}

.packages-collapsible .collapsible-body .package-mini.active::after {
  content: "Выбрано. Нажмите ещё раз, чтобы убрать пакет";
  flex-basis: 100%;
  color: #ffe39a;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.packages-collapsible .collapsible-body .package-mini .package-desc-toggle,
.options-grid .option-card .option-desc-toggle {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 209, 102, 0.08);
  color: #ffe39a;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.packages-collapsible .collapsible-body .package-mini .package-desc-toggle::before,
.options-grid .option-card .option-desc-toggle::before {
  content: "+";
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.16);
  color: #fffaf2;
  font-size: 0.9rem;
  line-height: 1;
}

.packages-collapsible .collapsible-body .package-mini .package-desc-toggle[aria-expanded="true"]::before,
.options-grid .option-card .option-desc-toggle[aria-expanded="true"]::before {
  content: "-";
}

.packages-collapsible .collapsible-body .package-mini .package-desc-toggle:hover,
.options-grid .option-card .option-desc-toggle:hover {
  border-color: rgba(255, 209, 102, 0.56);
  background: rgba(255, 209, 102, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.packages-collapsible .collapsible-body .package-mini .package-description.open {
  border-top-color: rgba(255, 209, 102, 0.18);
}

.booking-overlay {
  background: rgba(6, 7, 12, 0.9);
  backdrop-filter: blur(14px);
}

.booking-overlay .close-overlay {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.08);
}

.booking-form label,
.auth-form label,
.profile-form label {
  color: #e4deec;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.auth-form input,
.profile-form input,
.profile-readonly,
.booking-edit-grid input,
.booking-edit-grid select,
.booking-edit-grid textarea,
.staff-booking input,
.staff-table input,
.staff-table textarea {
  border-color: var(--site-border);
  background: rgba(8, 10, 15, 0.72);
  color: var(--site-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.auth-form input:focus,
.profile-form input:focus {
  border-color: rgba(255, 209, 102, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.12);
}

.options-grid .option-card.active,
.contact-method.active {
  border-color: rgba(57, 216, 199, 0.55);
  background: rgba(57, 216, 199, 0.1);
}

.options-grid .option-card.active .option-check {
  border-color: var(--quest-teal);
  background: var(--quest-teal);
  color: #061210;
}

.btn-outline {
  border-color: var(--site-border);
  background: rgba(255, 255, 255, 0.035);
  color: #eee7f8;
}

.btn-outline:hover {
  border-color: rgba(255, 209, 102, 0.48);
  background: rgba(255, 209, 102, 0.1);
}

.events-hero,
.action-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(141, 108, 255, 0.18), rgba(255, 110, 168, 0.1) 46%, rgba(57, 216, 199, 0.1)),
    #0f111a;
}

.events-hero-content h1,
.action-hero-content h1 {
  font-weight: 800;
  line-height: 1.14;
}

.events-hero-visual .hero-image,
.action-hero-visual .hero-image,
.events-grid-3 .event-card,
.action-grid-3 .event-card {
  border-color: var(--site-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow-soft);
}

.events-hero-visual .hero-image .floating-tag,
.action-hero-visual .hero-image .floating-tag {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 13, 19, 0.76);
  color: #fffaf2;
  backdrop-filter: blur(10px);
}

.auth-dialog,
.booking-info-card {
  border-color: var(--site-border-strong);
  background: linear-gradient(180deg, rgba(29, 31, 43, 0.98), rgba(13, 15, 22, 0.98));
}

.footer {
  background: #0a0b10;
  color: #d8d1e2;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    border-color: var(--site-border);
    background: rgba(255, 255, 255, 0.075);
    border-radius: 12px;
  }

  .header.mobile-open .nav {
    border-color: var(--site-border);
    background: rgba(13, 15, 22, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .hero-content h1,
  .events-hero-content h1,
  .action-hero-content h1 {
    line-height: 1.12;
  }

  .hero-offer {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .packages-collapsible .collapsible-body .package-mini {
    align-items: stretch;
  }

  .packages-collapsible .collapsible-body .package-mini .pkg-name,
  .packages-collapsible .collapsible-body .package-mini .pkg-price,
  .packages-collapsible .collapsible-body .package-mini .pkg-badge,
  .packages-collapsible .collapsible-body .package-mini .package-desc-toggle {
    flex-basis: 100%;
  }

  .packages-collapsible .collapsible-body .package-mini .package-desc-toggle,
  .options-grid .option-card .option-desc-toggle {
    width: 100%;
    min-height: 40px;
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .packages-collapsible .collapsible-body .package-mini.active::after {
    padding: 8px 10px;
    border: 1px solid rgba(255, 209, 102, 0.22);
    border-radius: 10px;
    background: rgba(255, 209, 102, 0.08);
    font-size: 0.74rem;
  }
}

/* Final booking atmosphere layer: keeps the animated reference style above legacy theme rules. */
.booking-overlay {
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 25%, rgba(124, 77, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(255, 46, 168, 0.14), transparent 24%),
    radial-gradient(circle at 78% 86%, rgba(57, 216, 199, 0.1), transparent 26%),
    linear-gradient(180deg, #07070d 0%, #0b0712 46%, #05060a 100%);
  color: #f8f4ff;
  backdrop-filter: none;
}

.booking-overlay .container {
  position: relative;
  z-index: 1;
}

.booking-info,
.booking-form,
.receipt-box,
.booking-summary-card,
.date-selector-toggle,
.date-selector-dropdown,
.options-grid .option-card,
.contact-method,
.packages-collapsible,
.packages-collapsible .collapsible-body .package-mini {
  border-color: rgba(179, 136, 255, 0.2);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(35deg, transparent 0 48%, rgba(255, 255, 255, 0.025) 49%, transparent 50% 100%),
    linear-gradient(180deg, rgba(11, 10, 20, 0.84), rgba(6, 6, 12, 0.7));
  background-size: 68px 68px, 104px 104px, auto;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  border-color: rgba(179, 136, 255, 0.22);
  background: rgba(3, 4, 9, 0.68);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(255, 46, 168, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 46, 168, 0.1), 0 0 22px rgba(124, 77, 255, 0.16);
}

.step-btn.active,
.time-slot.active,
.date-selector-dropdown .date-grid .date-cell.active,
.btn-primary,
.btn-book-sm {
  border-color: rgba(255, 46, 168, 0.68);
  background: linear-gradient(135deg, #7c4dff, #ff2ea8 62%, #24c8ff);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 46, 168, 0.32);
}

.options-grid .option-card.active,
.contact-method.active {
  border-color: rgba(255, 46, 168, 0.58);
  background: rgba(124, 77, 255, 0.16);
}

/* Booking reference layout: one neon form, animated web field and side accents. */
.standalone-booking-page {
  background: #020207;
}

.booking-overlay {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 34px) 14px 54px;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 200, 255, 0.16), transparent 30%),
    radial-gradient(circle at 22% 48%, rgba(255, 25, 195, 0.18), transparent 34%),
    radial-gradient(circle at 79% 38%, rgba(37, 94, 255, 0.19), transparent 31%),
    linear-gradient(180deg, #020207 0%, #05030a 47%, #020207 100%);
}

.booking-overlay::before {
  background:
    radial-gradient(circle at 16% 9%, rgba(255, 25, 195, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 41% 6%, rgba(124, 77, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 14%, rgba(36, 200, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 34%, rgba(255, 25, 195, 0.82) 0 1px, transparent 2px),
    linear-gradient(24deg, transparent 0 49%, rgba(255, 25, 195, 0.17) 50%, transparent 51% 100%),
    linear-gradient(146deg, transparent 0 49%, rgba(36, 200, 255, 0.15) 50%, transparent 51% 100%),
    linear-gradient(81deg, transparent 0 49%, rgba(124, 77, 255, 0.12) 50%, transparent 51% 100%),
    radial-gradient(circle at 8% 55%, transparent 0 92px, rgba(255, 25, 195, 0.18) 93px, transparent 96px, transparent 150px, rgba(36, 200, 255, 0.12) 151px, transparent 154px),
    radial-gradient(circle at 83% 36%, transparent 0 78px, rgba(36, 200, 255, 0.17) 79px, transparent 82px, transparent 132px, rgba(255, 25, 195, 0.14) 133px, transparent 136px);
  background-size: 210px 210px, 260px 260px, 230px 230px, 190px 190px, 260px 260px, 290px 290px, 180px 180px, auto, auto;
  opacity: 0.86;
  animation: bookingWebDrift 18s linear infinite;
}

.booking-overlay::after {
  content: "";
  top: clamp(128px, 22vh, 230px);
  left: calc(50% - min(49vw, 510px));
  right: auto;
  width: clamp(58px, 9vw, 116px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 25, 195, 0.72);
  border-radius: 45% 55% 48% 52%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    repeating-conic-gradient(from 12deg, rgba(255, 25, 195, 0.36) 0 7deg, transparent 7deg 18deg);
  box-shadow: 0 0 28px rgba(255, 25, 195, 0.58), 0 0 58px rgba(36, 200, 255, 0.22);
  transform-origin: 50% -90px;
  animation: bookingSpiderDrop 7s ease-in-out infinite;
}

.booking-fx-layer::before,
.booking-fx-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.booking-fx-layer::before {
  background:
    linear-gradient(28deg, transparent 0 49.4%, rgba(255, 25, 195, 0.3) 50%, transparent 50.6% 100%),
    linear-gradient(153deg, transparent 0 49.3%, rgba(36, 200, 255, 0.24) 50%, transparent 50.7% 100%),
    linear-gradient(96deg, transparent 0 49.4%, rgba(124, 77, 255, 0.25) 50%, transparent 50.6% 100%);
  background-size: 360px 360px, 430px 430px, 310px 310px;
  filter: drop-shadow(0 0 8px rgba(255, 25, 195, 0.32));
  opacity: 0.62;
  animation: bookingConstellation 15s linear infinite;
}

.booking-fx-layer::after {
  background:
    radial-gradient(circle at 17% 88%, rgba(255, 25, 195, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 23% 14%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 51% 8%, rgba(36, 200, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 79% 70%, rgba(255, 25, 195, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 21%, rgba(124, 77, 255, 0.9) 0 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px, 210px 210px, 260px 260px, 195px 195px;
  opacity: 0.82;
  animation: bookingStarPulse 5s ease-in-out infinite;
}

.booking-fx-thread {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 25, 195, 0.72), rgba(36, 200, 255, 0.56), transparent);
  box-shadow: 0 0 12px rgba(255, 25, 195, 0.52), 0 0 22px rgba(36, 200, 255, 0.28);
}

.booking-fx-spark {
  width: 4px;
  height: 4px;
  background: rgba(255, 25, 195, 0.9);
  box-shadow: 0 0 12px rgba(255, 25, 195, 0.9), 0 0 28px rgba(36, 200, 255, 0.52);
}

.booking-fx-promo,
.booking-fx-portal,
.booking-fx-bat,
.booking-fx-spider {
  position: absolute;
  display: block;
  pointer-events: none;
}

.booking-fx-promo {
  left: calc(50% - min(48vw, 520px));
  top: clamp(430px, 57vh, 620px);
  width: clamp(92px, 13vw, 142px);
  aspect-ratio: 1.04;
  border: 1px solid rgba(255, 25, 195, 0.78);
  clip-path: polygon(50% 0, 94% 25%, 95% 76%, 51% 100%, 7% 75%, 5% 25%);
  background: radial-gradient(circle at 50% 24%, rgba(255, 25, 195, 0.28), rgba(6, 4, 18, 0.54) 62%);
  box-shadow: inset 0 0 28px rgba(36, 200, 255, 0.16), 0 0 28px rgba(255, 25, 195, 0.54), 0 0 50px rgba(36, 200, 255, 0.16);
  animation: bookingPromoFloat 5.8s ease-in-out infinite;
}

.booking-fx-promo::before {
  content: "-15%";
  position: absolute;
  inset: 22% 0 auto;
  color: #ff25c3;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 25, 195, 0.78);
}

.booking-fx-promo::after {
  content: "скидка";
  position: absolute;
  inset: auto 0 24%;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.booking-fx-portal {
  right: calc(50% - min(48vw, 520px));
  top: clamp(560px, 67vh, 720px);
  width: clamp(76px, 10vw, 116px);
  height: clamp(112px, 16vw, 168px);
  border: 2px solid rgba(255, 25, 195, 0.78);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(124, 77, 255, 0.5), transparent 28%),
    linear-gradient(180deg, rgba(255, 25, 195, 0.16), rgba(2, 2, 7, 0.92));
  box-shadow: inset 0 0 26px rgba(255, 25, 195, 0.36), 0 0 30px rgba(255, 25, 195, 0.54), 0 28px 32px rgba(36, 200, 255, 0.14);
  animation: bookingPortalGlow 4.6s ease-in-out infinite;
}

.booking-fx-portal::before {
  content: "?";
  position: absolute;
  inset: 34% 0 auto;
  color: rgba(255, 25, 195, 0.96);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 25, 195, 0.9), 0 0 42px rgba(36, 200, 255, 0.4);
}

.booking-fx-portal::after {
  content: "";
  position: absolute;
  left: -34%;
  right: -34%;
  bottom: -20px;
  height: 22px;
  background: radial-gradient(ellipse, rgba(255, 25, 195, 0.46), transparent 66%);
  transform: perspective(100px) rotateX(62deg);
}

.booking-fx-bat {
  width: clamp(88px, 12vw, 154px);
  height: clamp(44px, 6vw, 74px);
  opacity: 0.72;
  filter: drop-shadow(0 0 16px rgba(255, 25, 195, 0.65));
  animation: bookingBatDrift 6.5s ease-in-out infinite;
}

.booking-fx-bat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 25, 195, 0.95), rgba(36, 200, 255, 0.7));
  clip-path: polygon(0 48%, 18% 20%, 33% 43%, 50% 12%, 67% 43%, 82% 20%, 100% 48%, 77% 52%, 62% 78%, 50% 56%, 38% 78%, 23% 52%);
}

.booking-fx-bat.bat-one {
  right: calc(50% - min(45vw, 440px));
  top: clamp(128px, 18vh, 210px);
}

.booking-fx-bat.bat-two {
  right: calc(50% - min(43vw, 410px));
  top: clamp(250px, 35vh, 360px);
  width: clamp(64px, 9vw, 112px);
  opacity: 0.58;
  animation-delay: -2.4s;
}

.booking-fx-spider {
  width: clamp(48px, 7vw, 82px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 25, 195, 0.52), rgba(124, 77, 255, 0.2) 42%, transparent 62%);
  box-shadow: 0 0 22px rgba(255, 25, 195, 0.56);
  animation: bookingSpiderPulse 4.8s ease-in-out infinite;
}

.booking-fx-spider::before,
.booking-fx-spider::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: solid rgba(255, 25, 195, 0.65);
  border-width: 1px 0;
  transform: rotate(25deg);
}

.booking-fx-spider::after {
  transform: rotate(-25deg);
}

.booking-fx-spider.spider-left {
  left: calc(50% - min(47vw, 500px));
  bottom: clamp(80px, 12vh, 140px);
}

.booking-fx-spider.spider-right {
  right: calc(50% - min(47vw, 500px));
  top: clamp(390px, 50vh, 520px);
  width: clamp(38px, 5.4vw, 64px);
  animation-delay: -1.8s;
}

@keyframes bookingConstellation {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 360px 360px, -430px 430px, 310px 0; }
}

@keyframes bookingStarPulse {
  0%, 100% { opacity: 0.52; filter: brightness(0.9); }
  50% { opacity: 0.96; filter: brightness(1.35); }
}

@keyframes bookingSpiderDrop {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.72; }
  50% { transform: translateY(22px) rotate(5deg); opacity: 1; }
}

@keyframes bookingPromoFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes bookingPortalGlow {
  0%, 100% { opacity: 0.78; filter: brightness(0.95); }
  50% { opacity: 1; filter: brightness(1.35); }
}

@keyframes bookingBatDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(-18px, 12px, 0) rotate(5deg); }
}

@keyframes bookingSpiderPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.64; }
  50% { transform: scale(1.06); opacity: 0.96; }
}

@media (max-width: 900px) {
  .booking-fx-promo,
  .booking-fx-portal,
  .booking-fx-bat,
  .booking-fx-spider {
    opacity: 0.32;
    transform: scale(0.82);
  }

  .booking-fx-promo {
    left: 4px;
  }

  .booking-fx-portal {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .booking-overlay {
    padding-inline: 10px;
  }

  .booking-steps {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .step-btn {
    flex: 0 0 auto;
  }

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

  .booking-grid .booking-form,
  .booking-grid .booking-info,
  .step-content > .booking-form,
  .step-content > .receipt-box {
    border-radius: 14px;
    padding-inline: 14px;
  }
}

/* Preserve the original booking layout and button language while keeping the animated background. */
.booking-overlay .container {
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

.booking-overlay .booking-title {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #fff;
  font-family: "Manrope", sans-serif;
  text-align: left;
  text-transform: none;
  text-shadow: 0 0 22px rgba(179, 136, 255, 0.24);
}

.booking-overlay .booking-title::after {
  content: none;
}

.booking-steps {
  display: flex;
  width: auto;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(179, 136, 255, 0.14);
  overflow: visible;
}

.step-btn {
  min-height: 0;
  border: 0;
  border-radius: 40px;
  background: transparent;
  box-shadow: none;
  color: #6f648a;
  font-weight: 600;
}

.step-btn.active {
  border: 0;
  background: #7c4dff;
  color: #fff;
  box-shadow: none;
}

.step-btn:hover:not(.active) {
  color: #d4c8f0;
  background: #1f1a2e;
  box-shadow: none;
}

.step-content {
  width: auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "info"
    "form"
    "map";
  align-items: start;
  gap: 20px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.booking-grid::before {
  content: none;
}

.booking-grid #bookingMap {
  display: block;
  grid-area: map;
  min-height: 260px;
  border: 1px solid rgba(179, 136, 255, 0.22);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34), 0 0 28px rgba(36, 200, 255, 0.08);
}

.booking-grid .booking-info {
  grid-area: info;
}

.booking-grid .booking-form {
  grid-area: form;
}

.booking-grid .booking-info .desc,
.booking-grid .booking-info .meta,
.booking-grid .booking-info .booking-photos-carousel {
  display: block;
}

.booking-grid .booking-info,
.booking-grid .booking-form {
  width: auto;
  max-width: none;
  margin: 0;
  border-color: rgba(179, 136, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(255, 25, 195, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(14, 12, 24, 0.88), rgba(9, 8, 16, 0.78));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.booking-summary-card,
.date-selector-toggle,
.date-selector-dropdown,
.options-grid .option-card,
.contact-method,
.packages-collapsible,
.packages-collapsible .collapsible-body .package-mini {
  border-color: rgba(179, 136, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 25, 195, 0.035), transparent 48%),
    rgba(10, 9, 18, 0.72);
}

.booking-photos-carousel {
  border-color: rgba(179, 136, 255, 0.24);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34), 0 0 20px rgba(124, 77, 255, 0.08);
}

.btn-primary {
  min-height: 0;
  border: 0;
  border-radius: 60px;
  background: #7c4dff;
  box-shadow: none;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: none;
}

.btn-primary:hover {
  background: #966aff;
  box-shadow: none;
  transform: scale(1.02);
}

.btn-outline {
  border-radius: 60px;
  background: transparent;
  box-shadow: none;
}

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

@media (min-width: 480px) {
  .booking-steps {
    margin-bottom: 20px;
  }

  .btn-primary {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .booking-steps {
    margin-bottom: 28px;
    padding-bottom: 16px;
  }

  .booking-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "info form"
      "map map";
    gap: 30px;
  }

  .btn-primary {
    font-size: 1rem;
  }

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

/* Booking cards: match the animated web background without changing the old controls. */
.booking-info,
.booking-form,
.receipt-box,
.booking-summary-card,
.date-selector-toggle,
.date-selector-dropdown,
.options-grid .option-card,
.contact-method,
.packages-collapsible,
.packages-collapsible .collapsible-body .package-mini,
.booking-grid #bookingMap {
  position: relative;
  border-color: rgba(255, 25, 195, 0.24);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 25, 195, 0.12), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(36, 200, 255, 0.1), transparent 30%),
    linear-gradient(28deg, transparent 0 49%, rgba(255, 25, 195, 0.035) 50%, transparent 51% 100%),
    linear-gradient(147deg, transparent 0 49%, rgba(36, 200, 255, 0.035) 50%, transparent 51% 100%),
    linear-gradient(180deg, rgba(8, 7, 17, 0.9), rgba(5, 4, 12, 0.78));
  background-size: auto, auto, 150px 150px, 180px 180px, auto;
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(36, 200, 255, 0.06),
    0 0 30px rgba(255, 25, 195, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.booking-info::after,
.booking-form::after,
.receipt-box::after,
.booking-summary-card::after,
.date-selector-toggle::after,
.options-grid .option-card::after,
.contact-method::after,
.packages-collapsible::after,
.packages-collapsible .collapsible-body .package-mini::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 25, 195, 0.46) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 74%, rgba(36, 200, 255, 0.42) 0 1px, transparent 2px),
    linear-gradient(64deg, transparent 0 49.2%, rgba(124, 77, 255, 0.075) 50%, transparent 50.8% 100%);
  background-size: 120px 120px, 150px 150px, 170px 170px;
  opacity: 0.46;
}

.booking-info > *,
.booking-form > *,
.receipt-box > *,
.booking-summary-card > *,
.date-selector-toggle > *,
.options-grid .option-card > *,
.contact-method > *,
.packages-collapsible > *,
.packages-collapsible .collapsible-body .package-mini > * {
  position: relative;
  z-index: 1;
}

.booking-info:hover,
.booking-form:hover,
.receipt-box:hover,
.options-grid .option-card:hover,
.contact-method:hover,
.packages-collapsible .collapsible-body .package-mini:hover {
  border-color: rgba(255, 25, 195, 0.34);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(36, 200, 255, 0.1),
    0 0 34px rgba(255, 25, 195, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.booking-info h3,
.step-content[data-step="2"] > h3,
.step-content[data-step="3"] > h3,
.step-content[data-step="4"] > h3 {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 25, 195, 0.18);
}

.booking-info .desc,
.booking-info .meta,
.booking-summary-card .summary-label,
.booking-summary-card .summary-subrow,
.receipt-box .row {
  color: rgba(235, 230, 255, 0.76);
}

.receipt-box .row span:last-child {
  white-space: pre-line;
  text-align: right;
}

.booking-photos-carousel {
  border-color: rgba(255, 25, 195, 0.24);
  background:
    linear-gradient(28deg, transparent 0 49%, rgba(255, 25, 195, 0.04) 50%, transparent 51% 100%),
    #090812;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 22px rgba(36, 200, 255, 0.08);
}

.date-selector-toggle,
.booking-form input,
.booking-form select,
.booking-form textarea,
.time-slot,
.date-selector-dropdown .date-grid .date-cell,
.month-btn,
.qty-btn,
.qty-value {
  border-color: rgba(124, 77, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 25, 195, 0.04), rgba(36, 200, 255, 0.025)),
    rgba(4, 4, 12, 0.72);
}

.time-slot:not(.busy):not(.disabled):hover,
.date-selector-dropdown .date-grid .date-cell:hover,
.month-btn:hover,
.qty-btn:hover {
  border-color: rgba(255, 25, 195, 0.34);
  box-shadow: 0 0 18px rgba(255, 25, 195, 0.1);
}

.booking-grid #bookingMap {
  isolation: isolate;
}

/* Keep slot selection lightweight: no heavy neon glow on click. */
.time-slot.active,
.date-selector-dropdown .date-grid .date-cell.active {
  border-color: rgba(179, 136, 255, 0.52);
  background:
    linear-gradient(145deg, rgba(124, 77, 255, 0.22), rgba(36, 200, 255, 0.06)),
    rgba(11, 9, 22, 0.88);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(179, 136, 255, 0.18);
  transform: none;
}

.time-slot:not(.busy):not(.disabled):hover,
.date-selector-dropdown .date-grid .date-cell:hover {
  border-color: rgba(179, 136, 255, 0.42);
  box-shadow: none;
}

.time-slot.active:hover,
.time-slot.active:not(.busy):not(.disabled):hover,
.date-selector-dropdown .date-grid .date-cell.active:hover {
  border-color: rgba(179, 136, 255, 0.56);
  background: rgba(124, 77, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(179, 136, 255, 0.16);
}

/* Mobile performance mode for booking: keep the style, remove expensive paint work. */
@media (max-width: 767px) {
  .booking-overlay {
    background:
      radial-gradient(circle at 22% 18%, rgba(124, 77, 255, 0.16), transparent 30%),
      radial-gradient(circle at 88% 34%, rgba(255, 25, 195, 0.1), transparent 28%),
      linear-gradient(180deg, #030309 0%, #070511 52%, #030309 100%);
  }

  .booking-overlay::before {
    background:
      linear-gradient(28deg, transparent 0 49%, rgba(255, 25, 195, 0.08) 50%, transparent 51% 100%),
      linear-gradient(146deg, transparent 0 49%, rgba(36, 200, 255, 0.07) 50%, transparent 51% 100%),
      radial-gradient(circle at 18% 20%, rgba(255, 25, 195, 0.6) 0 1px, transparent 2px),
      radial-gradient(circle at 78% 36%, rgba(36, 200, 255, 0.55) 0 1px, transparent 2px);
    background-size: 190px 190px, 220px 220px, 150px 150px, 180px 180px;
    opacity: 0.46;
    animation: none;
  }

  .booking-overlay::after,
  .booking-fx-thread,
  .booking-fx-spark,
  .booking-fx-promo,
  .booking-fx-portal,
  .booking-fx-bat,
  .booking-fx-spider,
  .booking-fx-layer::before,
  .booking-fx-layer::after {
    display: none;
  }

  .booking-info,
  .booking-form,
  .receipt-box,
  .booking-summary-card,
  .date-selector-toggle,
  .date-selector-dropdown,
  .options-grid .option-card,
  .contact-method,
  .packages-collapsible,
  .packages-collapsible .collapsible-body .package-mini,
  .booking-grid #bookingMap {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background:
      linear-gradient(145deg, rgba(255, 25, 195, 0.035), transparent 42%),
      rgba(9, 8, 17, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .booking-info::before,
  .booking-info::after,
  .booking-form::before,
  .booking-form::after,
  .receipt-box::before,
  .receipt-box::after,
  .booking-summary-card::after,
  .date-selector-toggle::after,
  .options-grid .option-card::after,
  .contact-method::after,
  .packages-collapsible::after,
  .packages-collapsible .collapsible-body .package-mini::after {
    display: none;
  }

  .booking-photos-carousel,
  .booking-grid #bookingMap {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  }

  .time-slot,
  .date-selector-dropdown .date-grid .date-cell,
  .month-btn,
  .qty-btn,
  .qty-value,
  .contact-method,
  .options-grid .option-card,
  .packages-collapsible .collapsible-body .package-mini,
  .btn-primary,
  .btn-outline,
  .btn-book-sm,
  .step-btn {
    transition-property: background-color, border-color, color, opacity;
    transition-duration: 120ms;
    filter: none;
  }

  .time-slot:not(.busy):not(.disabled):hover,
  .date-selector-dropdown .date-grid .date-cell:hover,
  .month-btn:hover,
  .qty-btn:hover,
  .options-grid .option-card:hover,
  .contact-method:hover,
  .packages-collapsible .collapsible-body .package-mini:hover {
    transform: none;
    box-shadow: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

.booking-overlay.booking-mobile-lite {
  background:
    radial-gradient(circle at 22% 18%, rgba(124, 77, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 34%, rgba(255, 25, 195, 0.1), transparent 28%),
    linear-gradient(180deg, #030309 0%, #070511 52%, #030309 100%);
}

.booking-overlay.booking-mobile-lite::before {
  background:
    linear-gradient(28deg, transparent 0 49%, rgba(255, 25, 195, 0.08) 50%, transparent 51% 100%),
    linear-gradient(146deg, transparent 0 49%, rgba(36, 200, 255, 0.07) 50%, transparent 51% 100%),
    radial-gradient(circle at 18% 20%, rgba(255, 25, 195, 0.6) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 36%, rgba(36, 200, 255, 0.55) 0 1px, transparent 2px);
  background-size: 190px 190px, 220px 220px, 150px 150px, 180px 180px;
  opacity: 0.46;
  animation: none;
}

.booking-overlay.booking-mobile-lite::after,
.booking-overlay.booking-mobile-lite .booking-fx-thread,
.booking-overlay.booking-mobile-lite .booking-fx-spark,
.booking-overlay.booking-mobile-lite .booking-fx-promo,
.booking-overlay.booking-mobile-lite .booking-fx-portal,
.booking-overlay.booking-mobile-lite .booking-fx-bat,
.booking-overlay.booking-mobile-lite .booking-fx-spider,
.booking-overlay.booking-mobile-lite .booking-fx-layer::before,
.booking-overlay.booking-mobile-lite .booking-fx-layer::after {
  display: none;
}

.booking-overlay.booking-mobile-lite .booking-info,
.booking-overlay.booking-mobile-lite .booking-form,
.booking-overlay.booking-mobile-lite .receipt-box,
.booking-overlay.booking-mobile-lite .booking-summary-card,
.booking-overlay.booking-mobile-lite .date-selector-toggle,
.booking-overlay.booking-mobile-lite .date-selector-dropdown,
.booking-overlay.booking-mobile-lite .options-grid .option-card,
.booking-overlay.booking-mobile-lite .contact-method,
.booking-overlay.booking-mobile-lite .packages-collapsible,
.booking-overlay.booking-mobile-lite .packages-collapsible .collapsible-body .package-mini,
.booking-overlay.booking-mobile-lite .booking-grid #bookingMap {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background:
    linear-gradient(145deg, rgba(255, 25, 195, 0.035), transparent 42%),
    rgba(9, 8, 17, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.booking-overlay.booking-mobile-lite .booking-info::before,
.booking-overlay.booking-mobile-lite .booking-info::after,
.booking-overlay.booking-mobile-lite .booking-form::before,
.booking-overlay.booking-mobile-lite .booking-form::after,
.booking-overlay.booking-mobile-lite .receipt-box::before,
.booking-overlay.booking-mobile-lite .receipt-box::after,
.booking-overlay.booking-mobile-lite .booking-summary-card::after,
.booking-overlay.booking-mobile-lite .date-selector-toggle::after,
.booking-overlay.booking-mobile-lite .options-grid .option-card::after,
.booking-overlay.booking-mobile-lite .contact-method::after,
.booking-overlay.booking-mobile-lite .packages-collapsible::after,
.booking-overlay.booking-mobile-lite .packages-collapsible .collapsible-body .package-mini::after {
  display: none;
}

.booking-overlay.booking-mobile-lite .booking-photos-carousel,
.booking-overlay.booking-mobile-lite .booking-grid #bookingMap {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.booking-overlay.booking-mobile-lite .time-slot,
.booking-overlay.booking-mobile-lite .date-selector-dropdown .date-grid .date-cell,
.booking-overlay.booking-mobile-lite .month-btn,
.booking-overlay.booking-mobile-lite .qty-btn,
.booking-overlay.booking-mobile-lite .qty-value,
.booking-overlay.booking-mobile-lite .contact-method,
.booking-overlay.booking-mobile-lite .options-grid .option-card,
.booking-overlay.booking-mobile-lite .packages-collapsible .collapsible-body .package-mini,
.booking-overlay.booking-mobile-lite .btn-primary,
.booking-overlay.booking-mobile-lite .btn-outline,
.booking-overlay.booking-mobile-lite .btn-book-sm,
.booking-overlay.booking-mobile-lite .step-btn {
  transition-property: background-color, border-color, color, opacity;
  transition-duration: 120ms;
  filter: none;
}

.booking-overlay.booking-mobile-lite .time-slot:not(.busy):not(.disabled):hover,
.booking-overlay.booking-mobile-lite .date-selector-dropdown .date-grid .date-cell:hover,
.booking-overlay.booking-mobile-lite .month-btn:hover,
.booking-overlay.booking-mobile-lite .qty-btn:hover,
.booking-overlay.booking-mobile-lite .options-grid .option-card:hover,
.booking-overlay.booking-mobile-lite .contact-method:hover,
.booking-overlay.booking-mobile-lite .packages-collapsible .collapsible-body .package-mini:hover,
.booking-overlay.booking-mobile-lite .btn-primary:hover {
  transform: none;
  box-shadow: none;
}

/* Balanced booking effects: lighter desktop, same-but-calmer mobile. */
.booking-overlay::before {
  opacity: 0.58;
}

.booking-fx-layer::before {
  opacity: 0.38;
  filter: none;
}

.booking-fx-layer::after {
  opacity: 0.52;
}

.booking-fx-thread {
  opacity: 0.14;
  box-shadow: 0 0 8px rgba(255, 25, 195, 0.24);
}

.booking-fx-spark {
  opacity: 0;
  box-shadow: 0 0 8px rgba(255, 25, 195, 0.42);
}

.booking-fx-promo {
  opacity: 0.72;
  box-shadow: inset 0 0 18px rgba(36, 200, 255, 0.12), 0 0 18px rgba(255, 25, 195, 0.34);
}

.booking-fx-portal {
  opacity: 0.72;
  box-shadow: inset 0 0 18px rgba(255, 25, 195, 0.22), 0 0 22px rgba(255, 25, 195, 0.32);
}

@media (max-width: 767px) {
  .booking-overlay::before,
  .booking-overlay.booking-mobile-lite::before {
    opacity: 0.4;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-thread,
  .booking-overlay.booking-mobile-lite .booking-fx-spark,
  .booking-overlay.booking-mobile-lite .booking-fx-promo,
  .booking-overlay.booking-mobile-lite .booking-fx-portal {
    display: block;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-thread {
    opacity: 0.12;
    animation: none;
    box-shadow: none;
    background: linear-gradient(90deg, transparent, rgba(255, 25, 195, 0.28), rgba(36, 200, 255, 0.22), transparent);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-spark {
    width: 3px;
    height: 3px;
    opacity: 0.42;
    animation: none;
    box-shadow: none;
    background: rgba(255, 25, 195, 0.58);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-promo {
    left: -22px;
    top: 360px;
    width: 88px;
    opacity: 0.32;
    animation: none;
    box-shadow: 0 0 14px rgba(255, 25, 195, 0.18);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-promo::before {
    font-size: 1.15rem;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-portal {
    right: -24px;
    top: 620px;
    width: 74px;
    height: 108px;
    opacity: 0.28;
    animation: none;
    box-shadow: 0 0 14px rgba(255, 25, 195, 0.16);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-portal::before {
    font-size: 2rem;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-layer::before,
  .booking-overlay.booking-mobile-lite .booking-fx-layer::after,
  .booking-overlay.booking-mobile-lite::after,
  .booking-overlay.booking-mobile-lite .booking-fx-bat,
  .booking-overlay.booking-mobile-lite .booking-fx-spider {
    display: none;
  }
}

/* Final balance: no discount badge, cleaner desktop, more visible light mobile scene. */
.booking-fx-promo {
  display: none;
}

.booking-overlay::before {
  opacity: 0.48;
}

.booking-fx-layer::before {
  opacity: 0.3;
}

.booking-fx-layer::after {
  opacity: 0.42;
}

.booking-fx-thread {
  opacity: 0.1;
}

.booking-fx-portal,
.booking-fx-bat,
.booking-fx-spider {
  opacity: 0.56;
}

@media (max-width: 767px) {
  .booking-overlay::before,
  .booking-overlay.booking-mobile-lite::before {
    opacity: 0.62;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-thread,
  .booking-overlay.booking-mobile-lite .booking-fx-spark,
  .booking-overlay.booking-mobile-lite .booking-fx-portal,
  .booking-overlay.booking-mobile-lite .booking-fx-bat,
  .booking-overlay.booking-mobile-lite .booking-fx-spider {
    display: block;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-thread {
    opacity: 0.24;
    animation: none;
    box-shadow: none;
    background: linear-gradient(90deg, transparent, rgba(255, 25, 195, 0.36), rgba(36, 200, 255, 0.3), transparent);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-spark {
    width: 3px;
    height: 3px;
    opacity: 0.58;
    animation: none;
    box-shadow: none;
    background: rgba(255, 25, 195, 0.72);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-portal {
    right: -18px;
    top: 560px;
    width: 82px;
    height: 122px;
    opacity: 0.42;
    animation: none;
    box-shadow: 0 0 12px rgba(255, 25, 195, 0.18);
  }

  .booking-overlay.booking-mobile-lite .booking-fx-bat.bat-one {
    right: -10px;
    top: 120px;
    width: 92px;
    height: 44px;
    opacity: 0.4;
    animation: none;
    filter: none;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-spider.spider-right {
    right: 8px;
    top: 430px;
    width: 48px;
    opacity: 0.34;
    animation: none;
  }
}

/* Restore living web motion with a lighter animation budget. */
.booking-overlay::before {
  animation: bookingWebDrift 34s linear infinite;
  will-change: background-position;
}

.booking-fx-layer::before {
  animation: bookingConstellation 30s linear infinite;
  will-change: background-position;
}

.booking-fx-thread {
  animation: bookingThreadPulse 8.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.65s);
  will-change: opacity;
}

@media (max-width: 767px) {
  .booking-overlay::before,
  .booking-overlay.booking-mobile-lite::before {
    animation: bookingWebDrift 46s linear infinite;
    opacity: 0.58;
    will-change: background-position;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-layer::before {
    display: block;
    opacity: 0.22;
    filter: none;
    animation: bookingConstellation 42s linear infinite;
    will-change: background-position;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-thread {
    animation: bookingThreadPulse 11s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.8s);
    will-change: opacity;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-portal {
    animation: bookingPortalGlow 7s ease-in-out infinite;
  }

  .booking-overlay.booking-mobile-lite .booking-fx-bat.bat-one,
  .booking-overlay.booking-mobile-lite .booking-fx-spider.spider-right,
  .booking-overlay.booking-mobile-lite .booking-fx-spark {
    animation: none;
  }
}

/* Separate booking look for Horror evening/date. */
.booking-overlay.horror-booking {
  --horror-red: #ff0000;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 0, 0, 0.22), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.94)),
    url('../imeges/horror-vecher/1.webp') center / cover fixed no-repeat;
}

.booking-overlay.horror-booking::before {
  opacity: 0.18;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 0, 0, 0.16) 50%, transparent 51%),
    linear-gradient(0deg, transparent 0 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%);
  background-size: 96px 96px;
  animation-duration: 42s;
}

.booking-overlay.horror-booking::after {
  opacity: 0.38;
  background:
    radial-gradient(circle at 8% 18%, var(--horror-red) 0 9px, rgba(255, 0, 0, 0.36) 10px 22px, transparent 23px),
    radial-gradient(circle at 94% 35%, var(--horror-red) 0 7px, transparent 8px),
    radial-gradient(circle at 6% 78%, var(--horror-red) 0 11px, rgba(255, 0, 0, 0.28) 12px 24px, transparent 25px);
}

.booking-overlay.horror-booking .container {
  max-width: 1180px;
}

.booking-overlay.horror-booking .close-overlay {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.48);
  color: rgba(255, 255, 255, 0.84);
}

.booking-overlay.horror-booking .booking-title {
  font-family: "DS VTCorona Cyr", "Ruslan Display", "Unbounded", "Rubik Dirt", Impact, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  text-transform: uppercase;
  background: linear-gradient(129deg, #797979 0%, #ffffff 40%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.booking-overlay.horror-booking .booking-title::before {
  content: "Хоррор формат";
  display: inline-block;
  margin-right: 14px;
  padding: 7px 34px 9px 18px;
  border-radius: 4px 28px 28px 4px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.9), rgba(122, 0, 0, 0.9) 52%, transparent),
    linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.68));
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  vertical-align: middle;
}

.booking-overlay.horror-booking .booking-steps {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.booking-overlay.horror-booking .step-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.46);
  color: rgba(255, 255, 255, 0.58);
}

.booking-overlay.horror-booking .step-btn.active {
  border-color: rgba(255, 0, 0, 0.72);
  background: rgba(126, 0, 0, 0.72);
  color: #fff;
}

.booking-overlay.horror-booking .booking-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  grid-template-areas:
    "info form"
    "map map";
  gap: 18px;
}

.booking-overlay.horror-booking .booking-info,
.booking-overlay.horror-booking .booking-form,
.booking-overlay.horror-booking .receipt-box,
.booking-overlay.horror-booking .booking-summary-card,
.booking-overlay.horror-booking .date-selector-toggle,
.booking-overlay.horror-booking .date-selector-dropdown,
.booking-overlay.horror-booking .options-grid .option-card,
.booking-overlay.horror-booking .contact-method,
.booking-overlay.horror-booking .packages-collapsible,
.booking-overlay.horror-booking .packages-collapsible .collapsible-body .package-mini,
.booking-overlay.horror-booking .booking-grid #bookingMap {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(50% 50% at 74% 42%, rgba(38, 38, 38, 0.92) 0%, rgba(0, 0, 0, 0.88) 100%);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.booking-overlay.horror-booking .booking-info::after,
.booking-overlay.horror-booking .booking-form::after,
.booking-overlay.horror-booking .receipt-box::after,
.booking-overlay.horror-booking .booking-summary-card::after,
.booking-overlay.horror-booking .date-selector-toggle::after,
.booking-overlay.horror-booking .options-grid .option-card::after,
.booking-overlay.horror-booking .contact-method::after,
.booking-overlay.horror-booking .packages-collapsible::after,
.booking-overlay.horror-booking .packages-collapsible .collapsible-body .package-mini::after {
  opacity: 0.18;
  background:
    linear-gradient(64deg, transparent 0 49.2%, rgba(255, 0, 0, 0.14) 50%, transparent 50.8% 100%),
    radial-gradient(circle at 20% 24%, rgba(255, 0, 0, 0.48) 0 1px, transparent 2px);
  background-size: 170px 170px, 120px 120px;
}

.booking-overlay.horror-booking .booking-info h3,
.booking-overlay.horror-booking .step-content > h3 {
  font-family: "DS VTCorona Cyr", "Ruslan Display", "Unbounded", "Rubik Dirt", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}

.booking-overlay.horror-booking .booking-info .meta span,
.booking-overlay.horror-booking .booking-summary-card,
.booking-overlay.horror-booking .receipt-box .row {
  color: rgba(255, 255, 255, 0.72);
}

.booking-overlay.horror-booking .summary-total,
.booking-overlay.horror-booking .pkg-price,
.booking-overlay.horror-booking .receipt-box .total,
.booking-overlay.horror-booking .receipt-box .total span:last-child {
  color: var(--horror-red);
  font-family: "DS VTCorona Cyr", "Ruslan Display", "Unbounded", "Rubik Dirt", Impact, sans-serif;
}

.booking-overlay.horror-booking .booking-fx-layer::before {
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(255, 0, 0, 0.58) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 48%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
    linear-gradient(38deg, transparent 0 49.4%, rgba(255, 0, 0, 0.18) 50%, transparent 50.6% 100%),
    linear-gradient(138deg, transparent 0 49.4%, rgba(255, 255, 255, 0.08) 50%, transparent 50.6% 100%);
  background-size: 160px 160px, 210px 210px, 190px 190px, 230px 230px;
}

.booking-overlay.horror-booking .booking-fx-thread {
  opacity: 0.08;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.44), transparent);
  box-shadow: none;
}

.booking-overlay.horror-booking .booking-fx-spark {
  background: rgba(255, 0, 0, 0.78);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.28);
}

.booking-overlay.horror-booking .booking-fx-portal,
.booking-overlay.horror-booking .booking-fx-bat,
.booking-overlay.horror-booking .booking-fx-spider {
  display: none;
}

.booking-overlay.horror-booking .booking-photos-carousel,
.booking-overlay.horror-booking .booking-grid #bookingMap {
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #050505;
}

.booking-overlay.horror-booking .booking-photo-frame::after {
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 5px);
}

.booking-overlay.horror-booking .date-selector-toggle,
.booking-overlay.horror-booking .booking-form input,
.booking-overlay.horror-booking .booking-form select,
.booking-overlay.horror-booking .booking-form textarea,
.booking-overlay.horror-booking .time-slot,
.booking-overlay.horror-booking .date-selector-dropdown .date-grid .date-cell,
.booking-overlay.horror-booking .month-btn,
.booking-overlay.horror-booking .qty-btn,
.booking-overlay.horror-booking .qty-value {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.booking-overlay.horror-booking .time-slot:not(.busy):not(.disabled):hover,
.booking-overlay.horror-booking .date-selector-dropdown .date-grid .date-cell:hover,
.booking-overlay.horror-booking .month-btn:hover,
.booking-overlay.horror-booking .qty-btn:hover,
.booking-overlay.horror-booking .options-grid .option-card:hover,
.booking-overlay.horror-booking .contact-method:hover {
  border-color: rgba(255, 0, 0, 0.48);
  background: rgba(78, 0, 0, 0.32);
  box-shadow: none;
}

.booking-overlay.horror-booking .time-slot.active,
.booking-overlay.horror-booking .date-selector-dropdown .date-grid .date-cell.active,
.booking-overlay.horror-booking .options-grid .option-card.active,
.booking-overlay.horror-booking .contact-method.active {
  border-color: rgba(255, 0, 0, 0.68);
  background: rgba(112, 0, 0, 0.42);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.18);
}

.booking-overlay.horror-booking .btn-primary,
.booking-overlay.horror-booking .btn-outline,
.booking-overlay.horror-booking .btn-book-sm {
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(205, 205, 205, 0.92)),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 15px);
  color: #050505;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

.booking-overlay.horror-booking .btn-outline {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.booking-overlay.horror-booking .horror-variant-selector {
  margin-top: 14px;
}

.booking-overlay.horror-booking .horror-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.booking-overlay.horror-booking .horror-variant-card {
  position: relative;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 0, 0, 0.04)),
    rgba(0, 0, 0, 0.62);
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.booking-overlay.horror-booking .horror-variant-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 0, 0, 0.14) 50%, transparent 51%),
    radial-gradient(circle at 88% 22%, rgba(255, 0, 0, 0.42) 0 8px, transparent 9px);
  background-size: 74px 74px, auto;
  opacity: 0.22;
  pointer-events: none;
}

.booking-overlay.horror-booking .horror-variant-card > * {
  position: relative;
  z-index: 1;
  display: block;
}

.booking-overlay.horror-booking .horror-variant-name {
  font-family: "DS VTCorona Cyr", "Ruslan Display", "Unbounded", "Rubik Dirt", Impact, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
}

.booking-overlay.horror-booking .horror-variant-meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.booking-overlay.horror-booking .horror-variant-price {
  margin-top: 12px;
  color: var(--horror-red);
  font-family: "DS VTCorona Cyr", "Ruslan Display", "Unbounded", "Rubik Dirt", Impact, sans-serif;
  font-size: 1rem;
}

.booking-overlay.horror-booking .horror-variant-card:hover,
.booking-overlay.horror-booking .horror-variant-card.active {
  border-color: rgba(255, 0, 0, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 0, 0, 0.2)),
    rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.18);
}

.booking-overlay.horror-booking .booking-grid #bookingMap iframe {
  min-height: 240px;
  filter: grayscale(0.35) contrast(1.05);
}

@media (min-width: 768px) {
  .booking-overlay.horror-booking .time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .booking-overlay.horror-booking {
    background:
      radial-gradient(circle at 18% 8%, rgba(255, 0, 0, 0.16), transparent 28%),
      linear-gradient(180deg, #050505, #0a0303);
  }

  .booking-overlay.horror-booking .booking-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "form"
      "map";
  }

  .booking-overlay.horror-booking .booking-title::before {
    display: block;
    width: max-content;
    margin: 0 0 8px;
  }

  .booking-overlay.horror-booking .horror-variant-grid {
    grid-template-columns: 1fr;
  }

  .booking-overlay.horror-booking .booking-info,
  .booking-overlay.horror-booking .booking-form,
  .booking-overlay.horror-booking .receipt-box,
  .booking-overlay.horror-booking .booking-summary-card,
  .booking-overlay.horror-booking .date-selector-toggle,
  .booking-overlay.horror-booking .date-selector-dropdown,
  .booking-overlay.horror-booking .options-grid .option-card,
  .booking-overlay.horror-booking .contact-method,
  .booking-overlay.horror-booking .packages-collapsible,
  .booking-overlay.horror-booking .packages-collapsible .collapsible-body .package-mini,
  .booking-overlay.horror-booking .booking-grid #bookingMap {
    backdrop-filter: none;
  }
}

/* Unified site header: close to the horror evening layout, adapted to the main palette. */
body:not(.horror-page) .header {
  position: sticky;
  top: 0;
  z-index: 1200;
  padding: 0;
  border-bottom: 1px solid rgba(179, 136, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 8, 14, 0.88), rgba(12, 10, 22, 0.72));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body:not(.horror-page) .header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 110, 199, 0.08), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(36, 200, 255, 0.07), transparent 28%);
  opacity: 0.82;
}

body:not(.horror-page) .header .container {
  min-height: 68px;
  max-width: 1220px;
  align-items: center;
}

body:not(.horror-page) .logo {
  font-size: clamp(1rem, 1.65vw, 1.42rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(179, 136, 255, 0.24);
  background: linear-gradient(129deg, #f7f0ff, #b388ff 42%, #24c8ff 100%);
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body:not(.horror-page) .nav {
  gap: clamp(10px, 2vw, 26px);
}

body:not(.horror-page) .nav a {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 255, 0.78);
  font-size: clamp(0.68rem, 0.92vw, 0.82rem);
  font-weight: 750;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.65);
}

body:not(.horror-page) .nav a::after {
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6ec7, #b388ff, #24c8ff);
  box-shadow: 0 0 16px rgba(179, 136, 255, 0.48);
}

body:not(.horror-page) .nav a:hover,
body:not(.horror-page) .nav a.active {
  color: #fff;
  background: transparent;
}

body:not(.horror-page) .header-phone,
body:not(.horror-page) .account-button,
body:not(.horror-page) .horror-header-tab {
  border: 1px solid rgba(244, 239, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #f4efff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body:not(.horror-page) .header-phone {
  padding: 5px 12px;
  font-size: 0.72rem;
}

body:not(.horror-page) .account-button,
body:not(.horror-page) .horror-header-tab {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.74rem;
}

body:not(.horror-page) .header-phone:hover,
body:not(.horror-page) .account-button:hover,
body:not(.horror-page) .horror-header-tab:hover,
body:not(.horror-page) .horror-header-tab.active {
  border-color: rgba(255, 110, 199, 0.44);
  background: rgba(255, 110, 199, 0.12);
  color: #fff;
  box-shadow: 0 12px 30px rgba(179, 136, 255, 0.16);
}

body:not(.horror-page) .glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 110, 199, 0.75), rgba(36, 200, 255, 0.64), transparent);
  opacity: 0.8;
}

@media (max-width: 767px) {
  body:not(.horror-page) .header {
    background: rgba(8, 8, 14, 0.94);
  }

  body:not(.horror-page) .header .container {
    min-height: 60px;
  }

  body:not(.horror-page) .mobile-menu-toggle,
  body:not(.horror-page) .header.mobile-open .nav a {
    border-color: rgba(179, 136, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
  }

  body:not(.horror-page) .header.mobile-open .nav {
    background: rgba(8, 8, 14, 0.98);
    border-color: rgba(179, 136, 255, 0.16);
  }
}

/* Unified footer layout */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px) 0 clamp(24px, 4vw, 38px);
  border-top: 1px solid rgba(179, 136, 255, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 110, 199, 0.11), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(36, 200, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(11, 12, 19, 0.98), #07070d);
  color: rgba(244, 239, 255, 0.82);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(179, 136, 255, 0.12), transparent),
    linear-gradient(135deg, transparent 0 49%, rgba(255, 255, 255, 0.018) 50%, transparent 51% 100%);
  background-size: 100% 1px, 76px 76px;
  opacity: 0.65;
}

.footer .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 1.05fr) minmax(170px, 0.9fr) minmax(240px, 1.25fr) minmax(150px, 0.8fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
}

.footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col strong {
  margin: 0 0 5px;
  color: #fff;
  font-family: 'Unbounded', 'Manrope', system-ui, sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-col:first-child strong {
  font-size: clamp(1.08rem, 1.5vw, 1.38rem);
  background: linear-gradient(129deg, #f7f0ff, #b388ff 46%, #24c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col span {
  display: block;
  max-width: 100%;
  color: rgba(216, 209, 234, 0.76);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.45;
}

.footer-col .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-col .social-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(179, 136, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.footer-col .social-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 110, 199, 0.46);
  background: rgba(255, 110, 199, 0.12);
}

.footer-col .social-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 6px;
}

.horror-page .footer {
  border-top-color: rgba(255, 0, 0, 0.18);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 0, 0, 0.13), transparent 28%),
    linear-gradient(180deg, #151515, #080808);
}

.horror-page .footer::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.16), transparent),
    linear-gradient(135deg, transparent 0 49%, rgba(255, 255, 255, 0.014) 50%, transparent 51% 100%);
  background-size: 100% 1px, 84px 84px;
}

.horror-page .footer-col:first-child strong {
  font-family: "Rubik Dirt", "Ruslan Display", "Unbounded", Impact, sans-serif;
  background: linear-gradient(129deg, #ffffff, #a9a9a9 44%, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@media (max-width: 560px) {
  .footer {
    padding: 30px 0 28px;
  }

  .footer .container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-col {
    gap: 7px;
  }

  .footer-col .social-links a {
    width: 36px;
    height: 36px;
  }
}

/* Floating mobile navigation: it lives outside the header and never changes its height. */
.quest-directory {
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 1px solid rgba(179, 136, 255, 0.12);
  background: rgba(9, 9, 15, 0.72);
}

.quest-directory h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.quest-directory p {
  max-width: 820px;
  margin-bottom: 20px;
  color: #b9b1ca;
  line-height: 1.65;
}

.quest-directory-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.quest-directory-links a {
  padding: 10px 12px;
  border: 1px solid rgba(179, 136, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #dcd5ea;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.quest-directory-links a:hover {
  border-color: rgba(179, 136, 255, 0.42);
  color: #fff;
}

.mobile-menu-panel {
  display: none;
}

.quest-card .card-title a {
  color: inherit;
  text-decoration: none;
}

.quest-card .card-title a:hover {
  color: #b388ff;
}

.quest-card .card-title,
.quest-card .card-title a {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .quest-card .card-price-block {
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    gap: 5px 10px;
    align-items: center;
  }

  .quest-card .price-label {
    grid-column: 1 / -1;
  }

  .quest-card .card-footer .price,
  .quest-card .card-footer .old-price,
  .quest-card .discount-badge {
    margin: 0;
  }
}

.quest-card-clickable {
  cursor: pointer;
}

.quest-card-clickable:focus-visible {
  outline: 3px solid rgba(179, 136, 255, 0.8);
  outline-offset: 4px;
}

.footer-contact-link {
  display: block;
  color: rgba(216, 209, 234, 0.82);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-contact-link:hover {
  color: #fff;
}

.header-phone,
.footer-contact-link {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.header-phone:visited,
.footer-contact-link:visited {
  color: inherit !important;
}

.header-phone::after,
.footer-contact-link[data-copy-label]::after {
  content: attr(data-copy-label);
}

.footer-contact-link[data-copy-label] {
  position: relative;
}

.footer-contact-link[data-copy-label]::after {
  position: absolute;
  left: 0;
  bottom: calc(100% + 7px);
  width: max-content;
  max-width: 220px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #1e1b2b;
  color: #fff;
  font-size: .7rem;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.footer-contact-link[data-copy-label]:hover::after {
  opacity: 1;
}


/* Contact step uses the available desktop width instead of leaving a blank column. */
.booking-contact-form {
  width: 100%;
  max-width: none !important;
}

.booking-field {
  min-width: 0;
}

.method-logo {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
}

.method-logo svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.method-logo-telegram { background: #229ed9; }
.method-logo-vk { background: #0077ff; }
.method-logo-max { background: linear-gradient(135deg, #7b5cff, #24c8ff); }

@media (min-width: 900px) {
  .booking-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .booking-field-wide,
  .booking-contact-form > h3 {
    grid-column: 1 / -1;
  }
}

/* The package quest select keeps comfortable space from both card edges. */
.packages-collapsible .quest-select-wrapper,
.package-mini .quest-select-wrapper {
  width: 100%;
  padding-inline: 10px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .header {
    padding: 8px 0;
  }

  .header .container,
  body:not(.horror-page) .header .container,
  .horror-page .header .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px 40px 42px;
    grid-template-rows: 44px;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }

  .header .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin-right: 0;
    overflow: hidden;
    font-size: clamp(1.05rem, 6vw, 1.35rem);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header .nav,
  .header .header-phone,
  .header .account-button,
  .header .horror-header-tab {
    display: none !important;
  }

  .header .header-right {
    display: contents;
  }

  .header .social-icons {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .header .social-icons a {
    width: 40px;
    height: 40px;
  }

  .header .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    width: 42px;
    height: 42px;
  }

  .header .mobile-profile-button {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    width: 76px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(179, 136, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .header .mobile-profile-button.signed-in {
    border-color: rgba(179, 136, 255, 0.46);
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.92), rgba(179, 136, 255, 0.8));
  }

  body.mobile-menu-open .header .mobile-menu-toggle {
    border-color: #7c4dff;
    background: rgba(124, 77, 255, 0.22);
  }

  body.mobile-menu-open .header .mobile-menu-toggle .menu-icon {
    background: transparent;
  }

  body.mobile-menu-open .header .mobile-menu-toggle .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.mobile-menu-open .header .mobile-menu-toggle .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-menu-panel {
    position: fixed;
    z-index: 1400;
    top: calc(env(safe-area-inset-top, 0px) + 74px);
    right: 12px;
    left: 12px;
    display: block;
    width: min(420px, calc(100vw - 24px));
    margin: 0 auto;
    padding: 10px;
    border: 1px solid rgba(179, 136, 255, 0.24);
    border-radius: 18px;
    background: rgba(10, 10, 17, 0.97);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.62), 0 0 30px rgba(124, 77, 255, 0.12);
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    backdrop-filter: blur(18px);
  }

  .mobile-menu-panel[hidden] {
    display: none !important;
  }

  .mobile-menu-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-menu-links {
    display: grid;
    gap: 6px;
  }

  .mobile-menu-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid rgba(179, 136, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: #e8e2f4;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
  }

  .mobile-menu-links a.active {
    border-color: rgba(179, 136, 255, 0.38);
    background: rgba(124, 77, 255, 0.18);
    color: #fff;
  }

  .mobile-menu-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    margin-top: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(36, 200, 255, 0.28);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(36, 200, 255, 0.13), rgba(124, 77, 255, 0.15));
    color: #fff;
    text-decoration: none;
  }

  .mobile-menu-phone span {
    color: rgba(232, 226, 244, 0.72);
    font-size: 0.72rem;
  }

  .mobile-menu-phone strong {
    font-size: clamp(0.82rem, 4vw, 0.95rem);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .header .container,
  body:not(.horror-page) .header .container,
  .horror-page .header .container {
    grid-template-columns: minmax(0, 1fr) 68px 36px 38px;
    gap: 6px;
  }

  .header .logo {
    font-size: 0.95rem;
  }

  .header .mobile-profile-button,
  .header .social-icons a {
    height: 36px;
  }

  .header .mobile-profile-button {
    width: 68px;
    font-size: 0.66rem;
  }

  .header .social-icons a {
    width: 36px;
  }

  .header .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 768px) {
  .mobile-profile-button {
    display: none !important;
  }

  .mobile-menu-panel {
    display: none !important;
  }
}

/* Booking date/time field spacing */
.booking-form .datetime-selector,
.booking-form .date-selector-wrapper {
  width: 100%;
  min-width: 0;
}

.booking-form .date-selector-toggle {
  width: 100%;
  min-height: 64px;
  box-sizing: border-box;
  gap: 16px;
  padding: 18px 22px;
}

.booking-form .date-selector-toggle > span:first-child {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 14px;
}

.booking-form .date-selector-toggle .selected-date {
  min-width: 0;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.booking-form .date-selector-toggle .arrow {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .booking-form .date-selector-toggle {
    min-height: 70px;
    padding: 20px 26px;
  }
}

@media (max-width: 420px) {
  .booking-form .date-selector-toggle {
    min-height: 64px;
    padding: 16px 18px;
  }
}

/* Wider booking date/time grids */
.booking-form .datetime-selector {
  gap: 14px;
}

.booking-form .date-selector-dropdown {
  width: 100%;
  box-sizing: border-box;
  padding: 18px;
}

.booking-form .date-selector-dropdown .date-grid {
  gap: 8px;
}

.booking-form .date-selector-dropdown .date-grid .date-cell {
  min-height: 50px;
  padding: 12px 7px;
  box-sizing: border-box;
}

.booking-form .time-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-form .time-slot {
  min-width: 0;
  height: 76px;
  min-height: 76px;
  padding: 12px 10px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 20px 16px 14px;
  align-content: center;
  justify-items: center;
  row-gap: 3px;
}

.booking-form .time-slot .slot-time,
.booking-form .time-slot .slot-price,
.booking-form .time-slot .slot-status {
  width: 100%;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
}

.booking-form .time-slot .slot-time {
  align-self: end;
  overflow: visible;
  text-overflow: clip;
  font-variant-numeric: tabular-nums;
}

.booking-form .time-slot .slot-price {
  align-self: center;
  margin-top: 0 !important;
  color: #b388ff !important;
  font-size: 0.55rem !important;
}

.booking-form .time-slot .slot-status {
  align-self: start;
}

@media (min-width: 768px) {
  .booking-form .datetime-selector {
    gap: 16px;
  }

  .booking-form .date-selector-dropdown {
    padding: 22px;
  }

  .booking-form .date-selector-dropdown .date-grid {
    gap: 12px;
  }

  .booking-form .date-selector-dropdown .date-grid .date-cell {
    min-height: 58px;
    padding: 14px 10px;
  }

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

  .booking-form .time-slot {
    height: 82px;
    min-height: 82px;
    padding: 14px 12px;
    grid-template-rows: 22px 17px 15px;
  }
}

@media (min-width: 1120px) {
  .booking-form .time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Booking framed blocks breathing room */
.booking-grid .booking-info,
.booking-grid .booking-form,
.step-content > .booking-form,
.step-content > .receipt-box,
.receipt-box {
  padding: 22px;
  box-sizing: border-box;
  overflow: hidden;
}

.booking-summary-card,
.packages-collapsible,
.options-grid .option-card,
.contact-method {
  padding: 18px;
  box-sizing: border-box;
  overflow: hidden;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.date-selector-toggle,
.date-selector-dropdown,
.time-slot,
.date-selector-dropdown .date-grid .date-cell,
.month-btn,
.qty-btn,
.qty-value {
  box-sizing: border-box;
}

.booking-grid #bookingMap {
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.booking-grid #bookingMap > div {
  margin-top: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
}

.booking-grid #bookingMap iframe {
  border-radius: 12px 12px 0 0;
}

@media (min-width: 768px) {
  .booking-grid .booking-info,
  .booking-grid .booking-form,
  .step-content > .booking-form,
  .step-content > .receipt-box,
  .receipt-box {
    padding: 30px;
  }

  .booking-summary-card,
  .packages-collapsible,
  .options-grid .option-card,
  .contact-method {
    padding: 22px;
  }

  .booking-grid #bookingMap {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .booking-grid .booking-info,
  .booking-grid .booking-form,
  .step-content > .booking-form,
  .step-content > .receipt-box,
  .receipt-box {
    padding: 20px;
  }

  .booking-summary-card,
  .packages-collapsible,
  .options-grid .option-card,
  .contact-method {
    padding: 16px;
  }

  .booking-grid #bookingMap {
    padding: 14px;
  }
}

/* Main hero offer layout */
.hero-content .hero-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}

.hero-content .hero-offer {
  min-height: 58px;
  min-width: 0;
  padding: 16px 22px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: normal;
}

.hero-content .hero-offer.birthday {
  width: 100%;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-content .hero-offers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 820px;
  }

  .hero-content .hero-offer {
    min-height: 74px;
    padding: 20px 18px;
    font-size: 1rem;
  }

  .hero-content .hero-offer.birthday {
    grid-column: 1 / -1;
    min-height: 68px;
    padding: 18px 28px;
    font-size: 1.05rem;
  }
}

@media (min-width: 1120px) {
  .hero-content .hero-offers {
    max-width: 900px;
  }

  .hero-content .hero-offer {
    min-height: 82px;
    font-size: 1.08rem;
  }
}

/* Request fixes: quieter booking background, package flow, readable horror title, phone copy hint. */
.booking-overlay.package-booking .step-btn[data-step="2"],
.booking-overlay.package-booking .step-content[data-step="2"] {
  display: none;
}

.booking-overlay .booking-fx-portal,
.booking-overlay .booking-fx-promo,
.booking-overlay .booking-fx-bat,
.booking-overlay .booking-fx-spider {
  display: none !important;
}

.booking-overlay::after {
  opacity: 0.16;
}

.booking-info::after,
.booking-form::after,
.receipt-box::after,
.booking-summary-card::after,
.date-selector-toggle::after,
.options-grid .option-card::after,
.contact-method::after,
.packages-collapsible::after,
.packages-collapsible .collapsible-body .package-mini::after {
  opacity: 0.2;
}

.booking-overlay.horror-booking .booking-title,
.booking-overlay.horror-booking .booking-info h3,
.booking-overlay.horror-booking .step-content > h3,
.booking-overlay.horror-booking .horror-variant-name,
.booking-overlay.horror-booking .horror-variant-price,
.booking-overlay.horror-booking .summary-total,
.booking-overlay.horror-booking .pkg-price,
.booking-overlay.horror-booking .receipt-box .total,
.booking-overlay.horror-booking .receipt-box .total span:last-child {
  font-family: "Unbounded", "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.booking-overlay.horror-booking .booking-title {
  color: #f7f3ff;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.85), 0 0 18px rgba(255, 0, 0, 0.45);
}

.booking-overlay.horror-booking .booking-title::before {
  font-family: "Manrope", system-ui, sans-serif;
  background: rgba(126, 0, 0, 0.9);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.booking-overlay.horror-booking .booking-info h3,
.booking-overlay.horror-booking .step-content > h3 {
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 0, 0, 0.35);
}

.header-phone::after {
  content: attr(data-copy-label);
  top: calc(100% + 8px);
  bottom: auto;
  z-index: 10;
}

.header-phone::before {
  content: '';
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  z-index: 11;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #1e1b2b;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.header-phone:hover::before {
  opacity: 1;
}

/* Structured quest card details. */
.quest-card .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.22), transparent 40%, rgba(5, 7, 10, 0.1));
  pointer-events: none;
}

.quest-card .card-image .image-tags {
  z-index: 2;
  max-width: calc(100% - 76px);
}

.quest-card .card-image .quest-age {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(255, 227, 154, 0.55);
  border-radius: 8px;
  background: rgba(8, 10, 15, 0.82);
  color: #ffe39a;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.quest-card .card-body .card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 6px;
  margin: 12px 0 8px;
  color: inherit;
}

.quest-card .card-body .card-meta .quest-stat {
  min-width: 0;
  min-height: 54px;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.quest-card .quest-stat small {
  color: #9288b0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.quest-card .quest-stat strong {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  color: #f8f4ff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
}

.quest-card .card-players {
  width: fit-content;
  margin-bottom: 9px;
  color: var(--site-muted, #9288b0);
  font-size: 0.78rem;
  font-weight: 600;
}

@media (min-width: 480px) {
  .quest-card .card-image .quest-age {
    top: 10px;
    right: 10px;
  }

  .quest-card .quest-stat small {
    font-size: 0.64rem;
  }

  .quest-card .quest-stat strong {
    font-size: 0.78rem;
  }
}

@media (min-width: 768px) {
  .quest-card .card-image .quest-age {
    top: 12px;
    right: 12px;
  }

  .quest-card .card-body .card-meta {
    gap: 8px;
    margin-top: 14px;
  }
}

/* Keep booking characteristics aligned with the quest-card stat layout. */
.booking-grid .booking-info .meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

@media (min-width: 768px) {
  .booking-grid .booking-info .meta {
    gap: 8px;
  }
}
