/* World of Warcraft — menu principal (warcraft-menu-master) */

.xp-warcraft-window .xp-window-content.xp-warcraft-content {
  padding: 0;
  overflow: hidden;
  height: 620px;
  min-height: 420px;
}

.xp-warcraft-window.maximized .xp-warcraft-content {
  height: auto;
  flex: 1;
  min-height: 0;
}

.wc-main {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  cursor: url('../warcraft-menu-master/img/cursor-wc.cur'), auto;
  background-color: #000;
}

.wc-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.35);
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.wc-logo {
  position: relative;
  z-index: 2;
  display: block;
  max-width: min(400px, 42%);
  margin: 16px 0 0 16px;
  user-select: none;
  pointer-events: none;
}

.wc-menu-stack {
  position: absolute;
  right: 0;
  top: 2.5%;
  width: 60%;
  height: 93%;
  transform: translateY(-105%);
  will-change: transform;
  z-index: 3;
}

.wc-menu-stack.wc-animate {
  animation: wc-menu-in 1s ease-out forwards;
}

@keyframes wc-menu-in {
  to {
    transform: translateY(0);
  }
}

.wc-menu {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}

.wc-menu-actions {
  position: absolute;
  top: 2%;
  left: 10%;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.wc-menu-actions .wc-item {
  position: absolute;
  margin: 0;
  border: none;
  background: transparent;
  transform: translateY(-50%);
  text-align: center;
  color: yellow;
  font-family: monospace;
  font-size: clamp(9px, 1.65vh, 16px);
  font-weight: 100;
  letter-spacing: -0.5px;
  line-height: 1.1;
  opacity: 0;
  cursor: url('../warcraft-menu-master/img/cursor-wc.cur'), pointer;
  padding: 0 4px;
  white-space: nowrap;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.wc-menu-stack.wc-animate .wc-menu-actions .wc-item {
  animation: wc-text-in 0.5s ease-in 1s forwards;
}

@keyframes wc-text-in {
  to {
    opacity: 1;
  }
}

.wc-menu-actions .wc-item span {
  color: #fff;
}

.wc-menu-actions .wc-item:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 200, 0.9);
}

.wc-menu-actions .wc-item:active {
  color: #fff;
}

.wc-menu-actions .wc-item[data-slot="1"] { top: 23.1%; left: 7%; right: 26%; }
.wc-menu-actions .wc-item[data-slot="2"] { top: 33.4%; left: 14%; right: 30%; }
.wc-menu-actions .wc-item[data-slot="3"] { top: 43.6%; left: 7%; right: 26%; }
.wc-menu-actions .wc-item[data-slot="4"] { top: 53.6%; left: 7%; right: 26%; }
.wc-menu-actions .wc-item[data-slot="5"] { top: 63.7%; left: 7%; right: 26%; }
.wc-menu-actions .wc-item[data-slot="6"] { top: 87.7%; left: 9%; right: 24%; }

@media (max-width: 639px) {
  body.xp-mobile .xp-warcraft-window.active {
    z-index: 195;
  }

  body.xp-mobile .xp-warcraft-window .xp-warcraft-content {
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 1;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .wc-main {
    flex: 1;
    min-height: 0;
    height: auto;
  }

  .wc-logo {
    max-width: 34%;
    margin: 6px 0 0 6px;
  }

  .wc-menu-stack {
    top: 0;
    width: 56%;
    height: 94%;
    transform: translateY(0);
  }

  .wc-menu-stack.wc-animate {
    animation: none;
  }

  .wc-menu-actions .wc-item {
    opacity: 0;
    font-size: clamp(7px, 1.2vh, 11px);
    letter-spacing: -0.8px;
    min-height: 22px;
    padding: 6px 2px;
  }

  .wc-menu-stack.wc-animate .wc-menu-actions .wc-item {
    animation: wc-text-in 0.5s ease-in 1s forwards;
  }

  .wc-item[data-slot="2"] {
    left: 13%;
    right: 31%;
  }

  .wc-item[data-slot="6"] {
    left: 8%;
    right: 25%;
  }
}
