.home-page main {
  width: min(1320px, calc(100% - 40px));
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
}

.home-page .mock-stats,
.home-page .mock-layout,
.home-page .home-four-boxes {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.es-hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  margin: 0;
  overflow: hidden;
  background: #030812;
  border-bottom: 1px solid rgba(0, 145, 255, .62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
  isolation: isolate;
}

.es-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(34px, 0, 0) scale(1.01);
  transition: opacity .62s ease, transform .62s ease, visibility .62s ease;
  will-change: opacity, transform;
}

.es-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

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

.es-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity .18s ease;
}

.es-hotspot-primary {
  left: 14%;
  bottom: 6.4%;
  width: 23.8%;
  height: 13%;
}

.es-hotspot-discord {
  left: 41.8%;
  bottom: 6.4%;
  width: 21.4%;
  height: 13%;
}

.es-hotspot:hover,
.es-hotspot:focus-visible {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.es-ip-cover {
  display: none;
}

.es-prize-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  --prize-accent: #138cff;
  --prize-deep: #061a39;
}

.es-hero-slide.is-orange .es-prize-overlay {
  --prize-accent: #ff8a13;
  --prize-deep: #301508;
}

.es-prize-total,
.es-prize-place {
  position: absolute;
  display: grid;
  place-items: center;
  font-family: "Teko", "Counter-Strike", "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  line-height: .82;
  color: #fff;
  text-align: center;
}

.es-prize-total {
  left: 67.6%;
  top: 30.2%;
  width: 18.6%;
  height: 25%;
  font-size: clamp(58px, 8vw, 122px);
  letter-spacing: .01em;
  color: #fff;
  text-shadow: none;
}

.es-prize-place {
  top: calc(73.8% - 10px);
  height: 8.6%;
  align-content: center;
  gap: 1px;
  font-size: clamp(22px, 2.8vw, 42px);
  letter-spacing: .02em;
  text-shadow: none;
}

.es-prize-place::before {
  display: none;
  font-size: clamp(10px, 1.05vw, 18px);
  line-height: 1;
  font-weight: 800;
  color: rgba(255,255,255,.88);
}

.es-place-first::before { content: "1. MJESTO"; }
.es-place-second::before { content: "2. MJESTO"; }
.es-place-third::before { content: "3. MJESTO"; }

.es-place-first {
  left: 66.7%;
  width: 7.4%;
  color: #ffd879;
}

.es-place-second {
  left: 77.2%;
  width: 7.6%;
  color: #f4f7ff;
}

.es-place-third {
  left: 87.8%;
  width: 7.5%;
  color: #ffbd6d;
}

.es-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 54px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(2, 10, 22, .52);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 26px rgba(0, 119, 255, .24);
  font-family: "Teko", "Counter-Strike", "Arial Narrow", Arial, sans-serif;
  font-size: 64px;
  line-height: .5;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.es-slider-arrow:hover {
  border-color: #16a8ff;
  background: rgba(3, 22, 46, .84);
  transform: translateY(-50%) scale(1.04);
}

.es-prev { left: 22px; }
.es-next { right: 22px; }

.es-slider-dots {
  display: none;
}

.es-slider-dots button {
  width: 40px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}

.es-slider-dots button.is-active {
  width: 72px;
  background: #fff;
  box-shadow: 0 0 24px #108eff;
}

@media (max-width: 900px) {
  .home-page main {
    width: min(100% - 24px, 720px);
  }

  .es-hero-slider {
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
  }

  .es-slide-art {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .es-slider-arrow {
    width: 38px;
    height: 58px;
    font-size: 42px;
  }

  .es-prev { left: 8px; }
  .es-next { right: 8px; }

  .es-slider-dots {
    bottom: 10px;
  }

  .es-slider-dots button {
    width: 28px;
  }

  .es-slider-dots button.is-active {
    width: 48px;
  }

  .es-ip-cover {
    left: 36.8%;
    width: 28.3%;
  }

  .es-prize-place {
    font-size: clamp(18px, 4vw, 30px);
  }
}

@media (max-width: 640px) {
  .home-page main {
    width: min(100% - 18px, 560px);
  }
}

/* Keep homepage slider on the same Counter-Strike style font. */
.gcs-hero-slider,
.gcs-hero-slider *:not(svg):not(path),
.es-hero-slider,
.es-hero-slider *:not(svg):not(path) {
  font-family: "Teko", "Counter-Strike", "Arial Narrow", Arial, sans-serif !important;
}
