/*
 * Theme Name: Zero WP 3.0
 * Description: Ultra-minimal WordPress starter theme. Optimized for converting html-layouts to websites. Also is a good start for SPA, creating unique projects.
 * Theme URI:   https://github.com/solidcreature/zero_wp
 * Author:      Nikolay Mironov
 * Author URI:  http://wpfolio.ru
*/
@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");

:root {
  --header-main-bg: black;
  --header-top-bg: #303030;
  --header-top-text: #888888;
  --footer-bottom-text: #838383;
  --main-text-black: black;
  --main-text-red: #f51050;
  --main-text-white: white;
  --main-text-blue: #393cfa;
  --main-font: "Russo One", sans-serif;
  --black-bg: black;
  --white-bg: white;
  --red-bg: #f51050;

  --main-bg-ld: #f4f4ff;
  --submain-bg-ld: #ffffff;
  --text-red-ld: #f51050;
  --text-blue-ld: #393cfa;
  --text-black-ld: #000000;
  --lavender-ld: #e9e9ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--main-font);
}

html {
  background-color: #000000;
}

body {
  background-color: var(--main-bg-ld);
  transition: background-color 0.2s ease-in-out;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.top-nav-wrap {
  background-color: var(--header-top-bg);
  padding: 5px 0;
  font-size: 10px;
}

.top-nav-menu {
  gap: 45px;
}

.top-nav a {
  color: var(--header-top-text);
  text-decoration: none;
}

.top-nav,
.main-nav,
.left-main-nav-wrap,
.left-main-nav,
.right-main-nav,
.top-nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav-wrap {
  background-color: var(--header-main-bg);
  padding:5px 0;
  position: relative;
}

.left-main-nav,
.right-main-nav {
  list-style-type: none;
  gap: 30px;
}

.left-main-nav li a,
.right-main-nav li a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--main-text-white);
  padding: 10px;
}

.left-main-nav li a:hover,
.right-main-nav li a:hover {
  color: var(--text-blue-ld);
  transition: all 0.2s ease-in-out;
  font-size: 16.5px;
}

.left-main-nav-wrap {
  gap: 60px;
}

.left-main-nav .afisha,
.mobile-menu .afisha {
  color: var(--text-red-ld);
}

.logo-circle-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.logo-circle-container svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.logo-circle-container text {
  animation: rotate 20s linear infinite;
  fill: var(--main-text-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  transform-origin: 50% 50%;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.logo-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bear-emoji {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s;
  transform-origin: 70% 70%;
  font-size: 25px;
}

.right-main-nav li a:hover .bear-emoji,
.mobile-menu ul li .for-kids:hover .bear-emoji {
  animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(18deg);
  }
  30% {
    transform: rotate(-12deg);
  }
  45% {
    transform: rotate(8deg);
  }
  60% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.eye-emoji-wrapper {
  display: inline-block;
}

.eye-emoji {
  display: inline-block;
  transform-origin: center;
}

.right-main-nav li .afisha-today:hover .eye-emoji-wrapper,
.mobile-menu ul li .afisha-today:hover .eye-emoji-wrapper {
  animation: eyes-move 3s infinite ease-in-out;
}
.right-main-nav li .afisha-today:hover .eye-emoji,
.mobile-menu ul li .afisha-today:hover .eye-emoji {
  animation: eyes-blink 4s infinite;
}

@keyframes eyes-move {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes eyes-blink {
  0%,
  95%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.2);
  }
}

.pin-emoji {
  display: inline-block;
  transition: transform 0.3s ease;
}

.left-main-nav li .places:hover .pin-emoji,
.mobile-menu ul li .places:hover .pin-emoji {
  animation: move-up-down 1s ease-in-out;
}

@keyframes move-up-down {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-30deg);
  }
}

.center-main-nav-wrap {
  display: none;
}

.burger-menu {
  display: none;
}

#burger-checkbox {
  display: none;
}

.burger-toggle {
  position: relative;
  width: 40px;
  cursor: pointer;
  margin: auto;
  display: block;
  height: calc(4px * 3 + 11px * 2);
}

.burger-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: calc(4px / 2);
  background: var(--main-text-red);
  color: inherit;
  opacity: 1;
  transition: none 0.35s cubic-bezier(0.5, -0.35, 0.35, 1.5) 0s;
}

.burger-bar--top {
  bottom: calc(50% + 11px + 4px / 2);
  transition-property: bottom, transform;
  transition-delay: calc(0s + 0.35s), 0s;
}

.burger-bar--middle {
  top: calc(50% - 4px / 2);
  transition-property: opacity;
  transition-delay: calc(0s + 0.35s);
}

.burger-bar--bottom {
  top: calc(50% + 11px + 4px / 2);
  transition-property: top, transform;
  transition-delay: calc(0s + 0.35s), 0s;
}

#burger-checkbox:checked + .burger-toggle .burger-bar--top {
  bottom: calc(50% - 4px / 2);
  transform: rotate(135deg);
  transition-delay: 0s, calc(0s + 0.35s);
}

#burger-checkbox:checked + .burger-toggle .burger-bar--middle {
  opacity: 0;
  transition-duration: 0s;
  transition-delay: calc(0s + 0.35s);
}

#burger-checkbox:checked + .burger-toggle .burger-bar--bottom {
  top: calc(50% - 4px / 2);
  transform: rotate(225deg);
  transition-delay: 0s, calc(0s + 0.35s);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #000;
  z-index: 10;
  overflow: hidden;
  display: none; /* по умолчанию скрыто */
}

.mobile-menu.open {
  display: block;
}

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

.mobile-menu ul a {
  display: block;
  padding: 15px 25px;
  color: #fff; /* Белый текст */
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.mobile-menu .night-mode-switch {
  margin: 15px 25px;
}

.mobile-menu ul a:hover,
.mobile-menu ul a:active {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu .mobile-menu-divider {
  height: 1px;
  margin: 10px 25px;
  background-color: rgba(255, 255, 255, 0.2);
}

.logo-image-container:hover img {
  width: 105%;
  transition: width 0.5s ease-in-out;
}
.night-mode-switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 2.2em;
  height: 18px;
}

.night-mode-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.night-mode-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f51050;
  transition: 0.5s;
  border-radius: 30px;
}

.night-mode-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  border-radius: 50%;
  left: 10%;
  bottom: 19%;
  box-shadow: inset 15px -4px 0px 15px white;
  transition: 0.5s;
}

.night-mode-checkbox:checked + .night-mode-slider {
  background: #393cfa;
}

.night-mode-checkbox:checked + .night-mode-slider:before {
  transform: translateX(130%);
  box-shadow: inset 5px -1px 0px 0px #fff;
}
.language-switcher {
  position: relative;
  width: 40px;
}

.current-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.current-lang img,
.lang-list img {
  width: 20px !important;
  height: 15px !important;
  object-fit: cover;
  border-radius: 3px;
}

.language-switcher-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #888888;
  transition: transform 0.3s ease;
}

.lang-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  z-index: 20;
}

.lang-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
}

.language-switcher.active .lang-list {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.language-switcher.active .language-switcher-arrow {
  transform: rotate(180deg);
}

.top-nav-options {
  display: flex;
  gap: 25px;
  align-items: center;
}

.mobile-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
}

.mobile-options .city-pick .city {
  color: var(--main-text-white);
}

.left-main-nav .menu-item-has-children {
  position: relative;
}
.left-main-nav .submenu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--header-main-bg);
  border-radius: 12px;
  min-width: 220px;
  z-index: 100;
  padding: 12px 0;
}

.left-main-nav .menu-item-has-children:hover .submenu {
  display: block;
}

.left-main-nav .submenu li {
  opacity: 0;
}

.left-main-nav .menu-item-has-children:hover .submenu li {
  opacity: 1;
}

.left-main-nav .submenu li a {
  color: var(--main-text-white);
  display: block;
  transition: all 0.2s;
  position: relative;
}

.left-main-nav .submenu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--text-blue-ld);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.left-main-nav .submenu li a:hover {
  background: rgba(57, 60, 250, 0.1);
  color: var(--text-blue-ld);
}

.left-main-nav .submenu li a:hover::before {
  transform: scaleY(1);
}

/* Мобильное меню: раскрывающееся подменю */
.menu-item-has-children-mobile .submenu-mobile {
  display: none;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 1.3, 0.6, 1);
  background: #222;
  margin: 0 12px;
  border-radius: 12px;
}

.menu-item-has-children-mobile .submenu-mobile.active {
  display: block;
  padding: 8px 0 10px;
  margin-bottom: 8px;
}

.menu-item-has-children-mobile .menu-toggle-mobile {
  cursor: pointer;
}

.menu-item-has-children-mobile .submenu-mobile li a {
  color: #fff;
  padding: 12px 32px;
  display: block;
  font-size: 14px;
  transition: all 0.2s ease;
}

.menu-item-has-children-mobile .submenu-mobile li a:hover {
  background: var(--main-text-blue);
  color: #fff;
  padding-left: 38px;
}

.submenu-hidden {
  display: none;
}
.submenu-mobile.active .submenu-hidden {
  display: block;
}

.ticker {
  background-color: var(--black-bg);
  color: var(--main-text-white);
  text-transform: uppercase;
  font-weight: 400;
}

.ticker-track {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 20px;
}

.ticker-list {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  justify-content: space-around;
  min-width: 100%;
  animation: scroll 20s linear infinite;
  animation-direction: reverse;
}
.ticker-item {
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  padding: 10px 0;
  transition: all 0.1s ease-in-out;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 20px));
  }
}

.main-banner-gradient-slide {
  height: 70.5vh;
  background: radial-gradient(circle at center, #393cfa 0%, #f51050 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.main-banner-wave-text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10vw;
  font-weight: bold;
  color: white;
  transform: rotate(-10deg);
}

.main-banner-wave-text span {
  display: inline-block;
  animation: waveUpDown 2s infinite ease-in-out;
}

.main-banner-wave-text span:nth-child(1) {
  animation-delay: 0s;
}
.main-banner-wave-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.main-banner-wave-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.main-banner-wave-text span:nth-child(4) {
  animation-delay: 0.3s;
}
.main-banner-wave-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.main-banner-wave-text span:nth-child(6) {
  animation-delay: 0.5s;
}
.main-banner-wave-text span:nth-child(7) {
  animation-delay: 0.6s;
}
.main-banner-wave-text span:nth-child(8) {
  animation-delay: 0.7s;
}
.main-banner-wave-text span:nth-child(9) {
  animation-delay: 0.8s;
}
.main-banner-wave-text span:nth-child(10) {
  animation-delay: 0.9s;
}
.main-banner-wave-text span:nth-child(11) {
  animation-delay: 1s;
}

@keyframes waveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.events-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.events {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transition: all 0.4s ease-in-out;
}

.event {
  background-color: var(--submain-bg-ld);
  border-radius: 36px;
  box-shadow: 0px 7px 14px -1px #00000040;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.event:hover {
  transform: scale(1.05);
}

.event-image {
  background-color: #e0e7ff;
  transition: all 0.2s ease-in-out;
  height: 212px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease-in-out;
}

.event-content {
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  flex-grow: 1;
}

.event-category {
  margin: 0;
  font-size: 14px;
  margin-bottom:11px;
      display: flex;
    align-items: center;
    gap: 8px;
}

.event-category::before {
  content: "•";
  color: var(--event-term-color);
  margin-right: 0;
  font-size: 16px;
}

.event-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-black-ld);
  line-height: 1.4;
  word-break: break-word;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
  gap:14px;
}



.event-date {
  font-size: 14px;
  color: var(--text-black-ld);
  font-weight: 400;
}

.event-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-red-ld);
}

.event-location {
  font-size: 14px;
  color: var(--text-black-ld);
  font-weight: 400;
  width:100%;
}

.events.list-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.events.list-layout .event-location{
  text-align: center;
}

.events.list-layout .event-date{
  text-align: center;
}

.events.list-layout .event {
  flex-direction: row;
  grid-row: auto;
  grid-column: auto;
  /* box-shadow: none; */
  border-radius: 12px;
}

.events.list-layout .event:hover {
  transform: scale(1.02);
  /* background-color: #f0f0f0; */
}

.events.list-layout .event-image {
  display: none;
}

.events.list-layout .event-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.events.list-layout .event-content-header {
  flex: 1;
}



.events.list-layout .event-footer {
  /* display: contents; */
  flex-direction: column;
  padding: 0;
  margin-top: 23px;
  gap:0;
}

.events.list-layout .event-title {
  font-weight: 500;
}

.events.list-layout .event-category,
.events.list-layout .event-date,
.events.list-layout .event-location,
.events.list-layout .event-price {
  flex-shrink: 0;
}

.events.list-layout .event-price {
  margin:0;
  order:3;
  text-align: center;
}

.event-container {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 16px 0;
}

.events-filter {
  position: sticky;
  top: 0;
  width: 280px;
  flex-shrink: 0;
  background-color: var(--submain-bg-ld);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0px 7px 14px -1px #00000040;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 80px;
  transition: background-color 0.2s ease-in-out;
}

.events-wrapper {
  flex-grow: 1;
  padding: 0;
}

.filter-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-black-ld);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events-loading {
  color: var(--text-black-ld);
}

.event-group-date {
  color: var(--text-black-ld);
  font-size:24px;
}

.events-not-found {
  color: var(--text-black-ld);
}

.group-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-red-ld);
  letter-spacing: 0.05em;
}

.event-filter-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}



.event-date-filter-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--text-blue-ld);
  border-radius: 13px;
  background-color: var(--submain-bg-ld);
  color: var(--text-black-ld);
  font-family: "Arial", sans-serif;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  transition: all 0.2s ease;
}

.event-date-filter-select:hover {
  border-color: var(--text-red-ld);
}

.event-date-filter-select:focus {
  border-color: var(--text-red-ld);
  box-shadow: 0 0 0 3px rgba(236, 64, 122, 0.2);
}

.event-date-filter-select option {
  font-size: 16px;
  color: var(--text-black-ld);
  background-color: var(--submain-bg-ld);
}

.event-date-filter-select option:checked {
  background-color: var(--text-red-ld);
  color: var(--submain-bg-ld);
}

.custom-date-input-wrap,
.custom-date-input-end {
  margin-top: 10px;
}

.custom-date-input,
.custom-date-input-end {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--text-blue-ld);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-black-ld);
  background-color: var(--submain-bg-ld);
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.custom-date-input:hover,
.custom-date-input-end:hover {
  border-color: var(--text-red-ld);
}

.custom-date-input:focus,
.custom-date-input-end:focus {
  border-color: var(--text-red-ld);
  box-shadow: 0 0 0 3px rgba(236, 64, 122, 0.2);
}

.event-filter-button {
  color: var(--text-red-ld);
  font-weight: 800;
  background-color: var(--submain-bg-ld);
  border: 3px solid var(--text-red-ld);
  border-radius: 16px;
  padding: 14px 28px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 0 0 var(--text-red-ld);
  transition: transform 0.1s ease-out, box-shadow 0.15s ease-out,
    background-color 0.2s ease-in-out;
}

.event-filter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--text-red-ld);
}

.event-filter-button:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--text-red-ld);
}

.event-filter-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-filter-categories li {
  margin-bottom: 8px;
}

.event-filter-categories label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 0;
  user-select: none;
  line-height: 1.2;
   gap: 19px;
  transition: color 0.2s ease-in-out;
}

.filter-term[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-checkbox-visual {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--event-color, #a0a0a0);
  border-radius: 4px;
  background-color: #fff;
  flex-shrink: 0;
  position: relative;

  transition: background-color 0.25s ease-out, border-color 0.25s ease-out,
    box-shadow 0.25s ease-out;
  box-sizing: border-box;
  box-shadow: none;
}

.filter-term[type="checkbox"]:checked + .custom-checkbox-visual {
  background-color: var(--event-color, #ec407a);
  border-color: var(--event-color, #ec407a);
  transform: none;
}

.event-filter-categories label:hover .custom-checkbox-visual {
  border-color: var(--event-color, #ec407a);
  box-shadow: none;
  transform: none;
}

.filter-term[type="checkbox"]:focus-visible + .custom-checkbox-visual {
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--event-color, #ec407a) 50%, transparent); /* Мягкая тень фокуса */
  outline: none;
}

.filter-term[type="checkbox"]:checked
  + .custom-checkbox-visual
  + .checkbox-label-text {
  font-weight: 500;
  color: #1a1a1a;
}

.checkbox-label-text {
  color: #666;
}

.event-filter-categories label:hover .checkbox-label-text,
.filter-term[type="checkbox"]:checked
  + .custom-checkbox-visual
  + .checkbox-label-text {
  color: #333;
}

.load-more-container {
  text-align: center;
  padding: 40px 0;
}

.load-more-events {
  display: inline-block;
  background-color: var(--text-red-ld);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 35px;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.load-more-events:hover {
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 169, 157, 0.25);
  transform: translateY(-3px);
}

.load-more-events::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-30deg);
  transition: left 0.5s ease-in-out;
}

.load-more-events:hover::before {
  left: 120%;
}

.load-more-events:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 169, 157, 0.2);
}

.load-more-events:disabled {
  background-color: #333;
  border-color: #444;
  color: #777;
  cursor: not-allowed;
  transform: translateY(0);
  box-shadow: none;
}

.load-more-events:disabled::before {
  display: none;
}

.type-of-tiles-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 16px;
}

.type-of-tiles {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
}
.tile-btn {
  width: 56px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.tile-btn svg {
  transition: all 0.3s ease;
}

.tile-btn {
  background-color: var(--main-bg-ld);
  box-shadow: 0px 7px 14px -1px #00000026;
  border: 3px solid var(--lavender-ld);
  transition: background-color 0.2s ease;
}

.tile-btn svg {
  stroke: #393cfa;
}

.tile-btn.list-view svg {
  fill: #393cfa;
}

.tile-btn.active {
  background-color: var(--lavender-ld);
  border: none;
}

.tile-btn:not(.active):hover {
  background-color: var(--lavender-ld);
  transform: translateY(-2px);
}

.grid-square {
  transition: transform 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.tile-btn.grid-view:hover .tl {
  transform: translateX(17.14px);
}
.tile-btn.grid-view:hover .tr {
  transform: translateY(16.3px);
}
.tile-btn.grid-view:hover .br {
  transform: translateX(-17.14px);
}
.tile-btn.grid-view:hover .bl {
  transform: translateY(-16.3px);
}

.list-view .slider-thumb {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tile-btn.list-view:hover .slider-thumb {
  transform: translateX(29px);
}

.mobile-filter-open {
  display: none;
  background: var(--text-red-ld);
  color: var(--main-text-white);
  border: none;
  border-radius: 14px;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.mobile-filter-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1001;
  transition: opacity 0.3s;
  opacity: 0;
}
.mobile-filter-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-filter-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: var(--submain-bg-ld);
  z-index: 1003;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  transition: bottom 0.35s cubic-bezier(0.4, 1.3, 0.6, 1);
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: 24px;
}
.mobile-filter-panel.active {
  bottom: 0;
}
.mobile-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 10px 24px;
  border-bottom: 1px solid var(--submain-bg-ld);
  font-size: 20px;
  font-weight: 700;
}

.mobile-filter-header span {
  color: var(--text-black-ld);
}
.mobile-filter-close {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--red-bg);
  cursor: pointer;
  line-height: 1;
}
.mobile-filter-content {
  padding: 18px 24px 0 24px;
}
body.mobile-filter-opened {
  overflow: hidden;
}

footer {
  background-color: var(--black-bg);
  padding: 10px 0;
}

.footer-container {
  width: 50%;
  margin: 0 auto;
}

.footer-top {
  border-bottom: 1px solid var(--white-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.footer-menu li a {
  color: var(--main-text-white);
  text-decoration: none;
  padding: 5px;
}
.footer-menu li a:hover {
  color: var(--main-text-blue);
  transition: all 0.2s ease-in-out;
  font-size: 16.5px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  text-transform: uppercase;
  list-style-type: none;
}

.footer-bottom {
  color: var(--footer-bottom-text);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 12px;
}

.footer-bottom a {
  color: var(--footer-bottom-text);
  text-decoration: none;
}

.error-404-container {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: var(--black-bg);
  color: var(--main-text-white);
  text-align: center;
}

.error-404-title {
  font-size: 180px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  background: linear-gradient(
    45deg,
    var(--main-text-red) 0%,
    var(--main-text-blue) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowText 2s ease-in-out infinite alternate;
}

.error-404-subtitle {
  font-size: 32px;
  margin: 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.error-404-text {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  opacity: 0.8;
}

.error-404-button {
  color: var(--main-text-white);
  font-weight: 800;
  background-color: var(--main-text-red);
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 16, 80, 0.3);
}

.error-404-button:hover {
  background-color: var(--main-text-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(57, 60, 250, 0.4);
}

.error-404-button:active {
  transform: translateY(-1px);
}

.error-404-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.error-404-button:hover::before {
  left: 100%;
}

@keyframes glowText {
  from {
    text-shadow: 0 0 20px rgba(245, 16, 80, 0.5),
      0 0 40px rgba(245, 16, 80, 0.3);
  }
  to {
    text-shadow: 0 0 30px rgba(57, 60, 250, 0.5),
      0 0 50px rgba(57, 60, 250, 0.3);
  }
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--main-bg-ld);
  color: var(--text-black-ld);
  box-shadow: 0px -2px 16px -2px #00000040;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  border-radius: 18px 18px 0 0;
  transition: transform 0.4s cubic-bezier(0.4, 1.3, 0.6, 1), opacity 0.3s;
  transform: translateY(100%);
  opacity: 0;
}
.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent-text {
  flex: 1 1 auto;
  line-height: 1.5;
}
.cookie-consent-text a {
  color: var(--text-red-ld);
  text-decoration: underline;
}
.cookie-consent-accept {
  background: var(--text-blue-ld);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 15px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s;
}
.cookie-consent-accept:hover {
  background: var(--text-red-ld);
}
.cookie-consent-close {
  background: none;
  border: none;
  color: var(--text-black-ld);
  font-size: 22px;
  cursor: pointer;
  margin-left: 8px;
  padding: 0 8px;
  line-height: 1;
}

.info-box {
  color: var(--text-black-ld);
  margin: 25px 0;
  background-color: var(--submain-bg-ld);
  box-shadow: 0px 7px 14px -1px #00000040;
  border-radius: 36px;
  padding: 35px;
}
.privacy-policy-wrap a {
  text-decoration: none;
  color: var(--text-red-ld);
  transition: color 0.2s ease-in-out;
}

.privacy-policy-wrap a:hover {
  color: var(--text-blue-ld);
}

.privacy-policy-wrap h1,
.privacy-policy-wrap h2 {
  margin: 15px 0;
}

.privacy-policy-wrap p {
  margin-left: 10px;
}

.privacy-policy-wrap ul li {
  margin-left: 45px;
}

.add-event h1 {
  margin: 15px 0;
}

.add-event p {
  margin: 15px 0;
}

.add-event ul {
  margin-left: 20px;
}

.add-event-contacts{
    display: flex;
  gap:30px;
  margin-top:15px;
  align-items: center;
  flex-wrap: wrap;
}

.add-event-contacts a{
  text-decoration: none;
  border-radius: 20px;
  background-color: var(--text-red-ld);
  padding:13px 19px;
  display:block;
  color: var(--main-text-white);
  display: flex;
  align-items: center;
  gap:10px;

}

.add-event ul li span{
  color: var(--text-red-ld);
}

.add-event ul li::marker {
    color: var(--text-blue-ld); 
}


.support-us h1 {
  margin: 15px 0;
}

.support-us-contact{
  margin:15px 0;
}


.support-us-contacts{
    display: flex;
  gap:30px;
  margin-top:15px;
  align-items: center;
  flex-wrap: wrap;
}

.support-us-contacts a{
  text-decoration: none;
  border-radius: 20px;
  background-color: var(--text-red-ld);
  padding:13px 19px;
  display:block;
  color: var(--main-text-white);
  display: flex;
  align-items: center;
  gap:10px;

}


.win11-container {
  position: relative;
  background: #000;
  height: 500px;
}

.windows-loading {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.windows-logo {
  margin-bottom: 50px;
  position: relative;
}

.win11-logo {
  position: relative;
}

.loading-ring {
  position: relative;
  width: 40px;
  height: 40px;
  margin-top: 20px;
}

.loading-ring::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.windows-desktop {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0079d5, #004d86);
  overflow: hidden;
  display: none;
}

.desktop-icons {
  padding: 20px;
  /* display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 20px; */
}

.desktop-icon {
  width: 100px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0);
}

.desktop-icon:hover {
  background: rgba(245, 16, 80, 0.2);
}

.desktop-icon img {
  margin-bottom: 5px;
}

.desktop-icon span {
  color: #fff;
  font-size: 14px;
  text-shadow: 1px 1px 3px #000;
  display: block;
}

.notepad-window {
  position: absolute;
  width: 90%;
  top: 0;
  left: 50%;
  transform: translate(-50%) !important;
  max-width: 800px;
  margin: 40px 0;
  background: var(--main-bg-ld);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: none;
  transform: scale(0.95);
}

.notepad-window.window-open {
  opacity: 1;
  transform: scale(1);
}

.window-header {
  background: var(--submain-bg-ld);
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.window-title {
  color: var(--text-black-ld);
  font-size: 16px;
  font-weight: bold;
}

.window-controls button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.window-controls button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.window-controls .close:hover {
  background: #dc3545;
  color: #fff;
}

.window-content {
  padding: 24px;
  overflow-y: auto;
  height: 380px;
}

.notepad-content {
  color: var(--text-black-ld);
  line-height: 1.6;
}

.notepad-content h1 {
  color: var(--text-red-ld);
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.notepad-content h2 {
  color: var(--text-blue-ld);
  font-size: 20px;
  margin: 20px 0 10px;
}

.notepad-content p {
  margin-bottom: 15px;
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}


.seo-block {
  margin: 40px auto 32px auto;
  padding: 32px 24px 24px 24px;
  background: var(--submain-bg-ld);
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
  text-align: center;
}
.seo-block .seo-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--text-black-ld);
}
.seo-block .seo-description {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-black-ld);
  max-width: 700px;
  margin: 0 auto;
}


    .breadcrumb {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      font-size: 15px;
      margin: 20px 0 10px 0;
      color: var(--text-black-ld);
      gap: 0;
    }
    .breadcrumb a {
      color: var(--text-red-ld, #e74c3c);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
    }
    .breadcrumb a:hover {
      color: #b92d1f;
      text-decoration: underline;
    }
    .breadcrumb-separator {
      margin: 0 8px;
      color: #bbb;
      user-select: none;
    }
    .breadcrumb [aria-current="page"] {
      color: var(--text-black-ld);
      font-weight: 400;
    }


@media(max-width:1600px){
  .events {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1340px) {
  .left-main-nav,
  .right-main-nav,
  .top-nav-wrap {
    display: none;
  }

  .center-main-nav-wrap {
    display: block;
  }

  .burger-menu {
    display: block;
  }
    .events {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 987px) {
  .mobile-filter-open {
    display: block;
  }
  .events-filter {
    display: none !important;
  }
  .type-of-tiles-wrap {
    justify-content: space-between;
  }

  .mobile-filter-content .event-filter-button {
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
  }
  .filter-error {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .footer-container {
    width: 100%;
  }
  .error-404-title {
    font-size: 120px;
  }

  .error-404-subtitle {
    font-size: 24px;
  }

  .error-404-text {
    font-size: 16px;
  }
}

@media(max-width:700px){
  .event-footer {
  flex-direction: column;
  align-items: normal;
  gap:0;
  }

  .event-price {
    text-align: right;
    order:3;
    margin-top:10px;
  }

  .events {
    gap:12px;
  }

  .event:hover {
    transform: none;
  }

  .events.list-layout .event:hover {
  transform: none;
  /* background-color: #f0f0f0; */
}

.events.list-layout .event-content {
flex-direction: column;
justify-content: normal;
    align-items: normal;
}


.events.list-layout .event-footer {
  align-items: end;
  margin-top:0;
}
.events.list-layout .event-date {
  text-align: initial;
}
.events.list-layout .event-price {
  text-align: initial;
}

.events.list-layout .event-location {
  width:auto;
}
.event-image {
  height: 170px;
}
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    font-size: 15px;
    padding: 14px 10px;
    gap: 10px;
  }
  .cookie-consent-accept,
  .cookie-consent-close {
    width: 100%;
    margin: 6px 0 0 0;
    font-size: 16px;
  }
    .seo-block {
    padding: 18px 8px 16px 8px;
    border-radius: 14px;
  }
  .seo-block .seo-title {
    font-size: 1.2rem;
  }
  .seo-block .seo-description {
    font-size: 0.98rem;
  }

        .breadcrumb {
        font-size: 13px;
        margin: 12px 0 6px 0;
      }
      .breadcrumb-separator {
        margin: 0 4px;
      }
}

@media (max-width: 480px) {
  .error-404-title {
    font-size: 90px;
  }

  .error-404-subtitle {
    font-size: 20px;
  }
}
