:root {
  --hex-bg: rgba(27, 31, 42, 0.55);
  --hex-accent: #ff214f;
  --hex-text: #ffffff;
  --hex-scale: 0.7;
}

.hex-menu-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 12px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hex-menu-panel .hexagon-menu {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hex-menu-panel .hexagon-menu::before,
.hex-menu-panel .hexagon-menu::after {
  content: " ";
  display: table;
}

.hex-menu-panel .hexagon-menu::after {
  clear: both;
}

.hex-menu-panel .hexagon-item {
  cursor: pointer;
  width: 140px;
  height: 121.24356px;
  float: none;
  margin: 0;
  z-index: 0;
  position: relative;
  transform: rotate(30deg);
  transition: transform 0.3s ease;
}

.hex-menu-panel .hexagon-item:first-child {
  margin-left: 0;
}

.hex-menu-panel .hexagon-item:hover {
  z-index: 1;
}

.hex-menu-panel .hexagon-item:hover .hex-item:last-child {
  opacity: 1;
  transform: scale(1.3);
}

.hex-menu-panel .hexagon-item:hover .hex-item:first-child {
  opacity: 1;
  transform: scale(1.2);
}

.hex-menu-panel .hexagon-item:hover .hex-item:first-child div::before,
.hex-menu-panel .hexagon-item:hover .hex-item:first-child div::after {
  height: 5px;
}

.hex-menu-panel .hexagon-item:hover .hex-item div::before,
.hex-menu-panel .hexagon-item:hover .hex-item div::after {
  background-color: var(--hex-accent);
}

.hex-menu-panel .hexagon-item:hover .hex-content svg {
  transform: scale(0.97);
}

.hex-menu-panel .hex-content svg path {
  animation: none;
  transition: none;
}

.hex-menu-panel .hexagon-item:hover .icon i {
  color: var(--hex-accent);
  transition: 0.6s;
}

.hex-menu-panel .hexagon-item.hexagon-featured .hex-content svg {
  background-color: transparent;
}

.hex-menu-panel .hexagon-item.hexagon-featured .hex-content svg path {
  fill: rgba(255, 33, 79, 0.7);
}

.hex-menu-panel .hexagon-item.hexagon-featured:hover .hex-item:last-child,
.hex-menu-panel .hexagon-item.hexagon-featured:hover .hex-item:first-child,
.hex-menu-panel .hexagon-item.hexagon-featured:hover .hex-content svg,
.hex-menu-panel .hexagon-item.hexagon-featured:hover .icon i,
.hex-menu-panel .hexagon-item.hexagon-featured:hover .title {
  transform: none;
  opacity: 1;
  animation: none;
  color: var(--hex-text);
}

.hex-menu-panel .hexagon-item:hover .title {
  animation: hex-focus-in 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hex-menu-panel .hexagon-item:nth-last-child(1),
.hex-menu-panel .hexagon-item:nth-last-child(2),
.hex-menu-panel .hexagon-item:nth-last-child(3) {
  transform: rotate(30deg);
}

.hex-menu-panel .hex-item {
  position: absolute;
  top: 0;
  left: 35px;
  width: 70px;
  height: 121.24356px;
}

.hex-menu-panel .hex-item:first-child {
  z-index: 0;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hex-menu-panel .hex-item:last-child {
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
}

.hex-menu-panel .hex-item div {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  width: 70px;
  height: 121.24356px;
  transform-origin: center center;
}

.hex-menu-panel .hex-item div::before,
.hex-menu-panel .hex-item div::after {
  content: none;
}

.hex-menu-panel .hex-item div::before {
  top: 0;
}

.hex-menu-panel .hex-item div::after {
  bottom: 0;
}

.hex-menu-panel .hex-item div:nth-child(1) {
  transform: rotate(0deg);
}

.hex-menu-panel .hex-item div:nth-child(2) {
  transform: rotate(60deg);
}

.hex-menu-panel .hex-item div:nth-child(3) {
  transform: rotate(120deg);
}

.hex-menu-panel .hex-content {
  color: var(--hex-text);
  display: flex;
  height: 126px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  transform: rotate(-30deg);
  width: 109px;
  overflow: visible;
  align-items: center;
  justify-content: center;
}

.hex-menu-panel .hex-content .hex-content-inner {
  margin: 0;
  position: relative;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  max-width: 90%;
  padding: 0 6px;
  gap: 4px;
}

.hex-menu-panel .hex-content .icon {
  display: block;
  font-size: clamp(14px, 2.1vw, 22px);
  line-height: 1;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
}

.hex-menu-panel .hex-content .title {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(7px, 1.2vw, 10px);
  letter-spacing: 0.6px;
  line-height: 1.2;
  text-transform: uppercase;
  width: 100%;
  max-width: 100%;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.hex-menu-panel .hex-content svg {
  left: -18px;
  position: absolute;
  top: -29px;
  width: 174px;
  height: 200px;
  transform: scale(var(--hex-scale));
  z-index: -1;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}

.hex-menu-panel .hex-content:hover {
  color: var(--hex-text);
}

@keyframes hex-focus-in {
  0% {
    letter-spacing: 1em;
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .hex-menu-panel {
    margin: 20px 0 0;
  }

  .hex-menu-panel .hexagon-menu {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .hex-menu-panel .hexagon-item {
    margin: 0;
    width: 120px;
    height: 103.92304px;
  }

  .hex-menu-panel .hex-item {
    left: 30px;
    width: 60px;
    height: 103.92304px;
  }

  .hex-menu-panel .hex-item div {
    width: 60px;
    height: 103.92304px;
  }

  .hex-menu-panel .hex-content {
    width: 93px;
    height: 108px;
  }

  .hex-menu-panel .hex-content svg {
    left: -16px;
    top: -26px;
    transform: scale(0.62);
  }
}

@media (max-width: 480px) {
  .hex-menu-panel .hexagon-menu {
    gap: 6px 10px;
  }

  .hex-menu-panel .hexagon-item {
    width: 110px;
    height: 95.26279px;
  }

  .hex-menu-panel .hex-item {
    left: 27px;
    width: 56px;
    height: 95.26279px;
  }

  .hex-menu-panel .hex-item div {
    width: 56px;
    height: 95.26279px;
  }

  .hex-menu-panel .hex-content {
    width: 88px;
    height: 100px;
  }

  .hex-menu-panel .hex-content svg {
    left: -15px;
    top: -24px;
    transform: scale(0.58);
  }
}

@media (max-width: 430px) {
  .hex-menu-panel .hexagon-menu {
    gap: 6px 8px;
  }

  .hex-menu-panel .hexagon-item {
    width: 105px;
    height: 90.93267px;
  }

  .hex-menu-panel .hex-item {
    left: 26px;
    width: 53px;
    height: 90.93267px;
  }

  .hex-menu-panel .hex-item div {
    width: 53px;
    height: 90.93267px;
  }

  .hex-menu-panel .hex-content {
    width: 84px;
    height: 96px;
  }

  .hex-menu-panel .hex-content svg {
    left: -14px;
    top: -22px;
    transform: scale(0.54);
  }
}

@media (max-width: 390px) {
  .hex-menu-panel .hexagon-menu {
    gap: 6px 6px;
  }

  .hex-menu-panel .hexagon-item {
    width: 98px;
    height: 84.87062px;
  }

  .hex-menu-panel .hex-item {
    left: 24px;
    width: 50px;
    height: 84.87062px;
  }

  .hex-menu-panel .hex-item div {
    width: 50px;
    height: 84.87062px;
  }

  .hex-menu-panel .hex-content {
    width: 78px;
    height: 92px;
  }

  .hex-menu-panel .hex-content svg {
    left: -13px;
    top: -21px;
    transform: scale(0.5);
  }
}

@media (max-width: 375px) {
  .hex-menu-panel .hexagon-menu {
    gap: 5px 6px;
  }

  .hex-menu-panel .hexagon-item {
    width: 94px;
    height: 81.40513px;
  }

  .hex-menu-panel .hex-item {
    left: 23px;
    width: 48px;
    height: 81.40513px;
  }

  .hex-menu-panel .hex-item div {
    width: 48px;
    height: 81.40513px;
  }

  .hex-menu-panel .hex-content {
    width: 74px;
    height: 88px;
  }

  .hex-menu-panel .hex-content svg {
    left: -12px;
    top: -20px;
    transform: scale(0.48);
  }
}

@media (max-width: 320px) {
  .hex-menu-panel .hexagon-menu {
    gap: 4px 5px;
  }

  .hex-menu-panel .hexagon-item {
    width: 86px;
    height: 74.47214px;
  }

  .hex-menu-panel .hex-item {
    left: 21px;
    width: 44px;
    height: 74.47214px;
  }

  .hex-menu-panel .hex-item div {
    width: 44px;
    height: 74.47214px;
  }

  .hex-menu-panel .hex-content {
    width: 68px;
    height: 82px;
  }

  .hex-menu-panel .hex-content svg {
    left: -11px;
    top: -18px;
    transform: scale(0.44);
  }
}
