@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  --winhero-text-color: #e2e2e2;
  --winhero-body-background: #0f1013;
  --winhero-heading-color: #fff;
  --winhero-primary-color: #ffbb14;
  --winhero-secondary-color: #1c1b24;
  --winhero-btn-accent: linear-gradient(0deg, #ff9500, #feed2d 121.55%);
  --winhero-btn-color: #000;
  --winhero-alt-background: #0e1418;
  --winhero-alt-background-hover: rgba(0, 0, 0, 0.5);
  --winhero-alt-background-light: #202029;
  --winhero-header-background: #282932;
  --winhero-footer-background: #090a0b;
  --winhero-menu-background: #292933;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  background: var(--winhero-body-background);
}
h1,
h2,
h3,
h4,
h5 {
  color: var(--winhero-heading-color);
  margin-bottom: 20px;
}
p,
table,
ul,
ol,
blockquote {
  margin-bottom: 20px;
  color: var(--winhero-text-color);
}
a {
  color: var(--winhero-primary-color);
}
p,
li {
  line-height: 1.5;
}
.winhero-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  min-height: 20px;
  text-decoration: none;
  border-radius: 25px;
  background: var(--winhero-btn-accent);
  color: var(--winhero-btn-color);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  &:hover {
    opacity: 0.89;
    transition: 0.3s ease;
  }
}

.winhero-btn-accent {
  background-color: var(--winhero-btn-accent);
}
.winhero-header-logo {
  @media (max-width: 1024px) {
    padding-left: 10px;
  }
  .btn-menu {
    border: none;
    cursor: pointer;
    border-radius: 10px;
    max-width: 64px !important;
    min-width: 64px !important;
    display: none;
    @media (max-width: 1024px) {
      display: block;
    }
  }
}
.winhero-header {
  padding: 10px 30px;
  display: flex;
  align-items: center;
  background-color: var(--winhero-header-background);
  justify-content: space-between;
  margin-bottom: 20px;

  @media (max-width: 768px) {
    padding: 10px;
  }
  &.has-sidebar {
    padding-left: 300px;
    @media (max-width: 1024px) {
      padding-left: 0;
    }
  }
}
.winhero-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  @media (max-width: 768px) {
    .btn-search {
      display: none;
    }
  }
}

.winhero-footer {
  &.has-sidebar {
    padding-left: 300px;
    @media (max-width: 1024px) {
      padding-left: 0;
    }
  }
}
.winhero-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;

  span {
    color: var(--winhero-heading-color);
    font-size: 20px;
    font-weight: 600;
  }
}
.winhero-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--winhero-alt-background-light);
  padding: 10px;
  transition: all 0.3s ease;
  z-index: 200;
  .btn-close {
    background: transparent;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    min-width: unset;
    max-width: unset;
    display: none;
    justify-content: center;
    align-items: center;
    @media (max-width: 1024px) {
      display: flex;
    }
    svg {
      color: var(--winhero-heading-color);
      width: 24px;
      height: 24px;
    }
  }
  @media (max-width: 1024px) {
    left: -100%;
    &.active {
      left: 0;
    }
  }
}
.winhero-main {
  &.has-sidebar {
    padding-left: 300px;
    @media (max-width: 1024px) {
      padding-left: 0;
    }
  }
}
.winhero-main-container,
.winhero-footer-container {
  padding: 0 30px;
  @media (max-width: 768px) {
    padding: 0 10px;
  }
}
p,
li,
td,
th {
  font-size: 14px;
  line-height: 1.5;
  color: var(--winhero-text-color);
}
.winhero-main {
  .wp-block-image {
    img {
      border-radius: 10px;
      border: 2px solid var(--winhero-primary-color);
    }
  }
  table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--winhero-text-color);
    border-radius: 10px;
    th,
    td {
      border: 1px solid var(--winhero-text-color);
      padding: 10px;
    }
    thead {
      background-color: var(--winhero-alt-background-light);
    }
    tbody {
      background-color: var(--winhero-alt-background);
      &:hover {
        background-color: var(--winhero-alt-background-hover);
      }
    }
  }
  ol,
  ul {
    padding-left: 20px;
  }
  a {
    color: var(--winhero-primary-color);
  }
  b,
  strong {
    color: var(--winhero-heading-color);
  }
}
.winhero-btn {
  color: var(--winhero-btn-color) !important;
}

.winhero-footer {
  margin-top: 40px;
  padding: 40px 0;
  background-color: var(--winhero-footer-background);
}
.winhero-breads {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--winhero-text-color);
  a {
    background-color: var(--winhero-alt-background-light);
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--winhero-text-color);
    &:hover {
      background-color: var(--winhero-alt-background-hover);
    }
  }
  .breadcrumb_last {
    color: var(--winhero-heading-color);
    font-weight: 600;
  }
}
.winhero-game-container {
  min-height: 400px;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  background-color: var(--winhero-alt-background-light);
  position: relative;
  .winhero-game-image {
    width: 100%;
    height: 100%;
  }
  .winhero-game-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    background-color: var(--winhero-primary-color);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    svg {
      width: 32px;
      height: 32px;
      color: var(--winhero-btn-color);
    }
    &:hover {
      opacity: 0.8;
    }
  }
}
.alignleft,
.alignright {
  @media (max-width: 768px) {
    float: unset !important;
    width: 100%;
    display: flex !important;
    justify-content: center;
    margin: 20px auto !important;
  }
}
.btn-search {
  display: flex;
  align-items: center;
  min-width: 260px;
  opacity: 0.5;
  gap: 10px;
  justify-content: flex-start;
  background: var(--winhero-alt-background);
  color: var(--winhero-heading-color) !important;
}
.btn-alt {
  background: transparent;
  color: var(--winhero-heading-color) !important;
  border: 1px solid var(--winhero-primary-color);
  &:hover {
    background: var(--winhero-alt-background-hover);
    color: var(--winhero-heading-color) !important;
  }
}
.winhero-horizontal-promotions {
  margin-bottom: 20px;
  position: relative;
  padding: 40px 0;
  &:before {
    border-radius: 12px;
    content: '';
    filter: blur(75px);
    height: 100px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: -1;
  }
  .winhero-promotion-item {
    display: flex;
    min-height: 150px;
    background: var(--winhero-alt-background-light);
    border-radius: 10px;
  }
  .winhero-promotion-slide {
    overflow: hidden;
    border-radius: 10px;
    background: var(--winhero-alt-background-light);
  }
  .winhero-promotion-item-image {
    width: 100%;

    img {
      width: 100%;
      border-radius: 0 10px 10px 0;
      height: 100%;
      object-fit: cover;
    }
  }
  .winhero-promotion-item-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    min-height: 140px;

    justify-content: space-between;

    &:before {
      content: '';
      width: 100%;
      height: 120px;
      display: block;
      position: absolute;
      top: 0;
      right: 0;

      box-shadow: 0 -20px 20px 20px var(--winhero-alt-background-light);
    }
  }
  .winhero-promotion-item-content {
    position: relative;
    z-index: 150;
  }
  .winhero-promotion-item-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--winhero-heading-color);
    margin-bottom: 10px;
  }
  .winhero-promotion-item-description {
    font-size: 14px;
    color: var(--winhero-text-color);
    margin-bottom: 20px;
    display: block;
  }
  .winhero-btn {
    background-color: var(--winhero-btn-accent);
    color: var(--winhero-btn-color);
  }
}
.winhero-items {
  &.aside-grid {
    .winhero-item {
      padding: 0 10px 0 0;
      height: 64px;
      border-radius: 10px;
      font-size: 14px;
      overflow: hidden;
      color: var(--winhero-heading-color);
      img {
        border-radius: 10px;
        width: 64px;
        height: 64px;
      }
    }
  }
  &.aside-menu {
    .winhero-item {
      background-color: var(--winhero-menu-background);

      color: var(--winhero-heading-color);
      transition: all 0.3s ease;
      &:hover {
        opacity: 0.92;
        transition: all 0.3s ease;
      }
      &:first-child {
        border-radius: 10px 10px 0 0;
      }
      &:last-child {
        border-radius: 0 0 10px 10px;
      }
    }
  }
  &.footer-socials {
    .winhero-item {
      background-color: transparent;
      font-size: 14px;
      padding: 10px;
      line-height: 1.5;
      opacity: 0.92;
      border-radius: 20px;
      border: 1px solid var(--winhero-primary-color);
      transition: all 0.3s ease;
      &:hover {
        opacity: 1;
        transition: all 0.3s ease;
      }
    }
    &:hover {
      opacity: 1;
      transition: all 0.3s ease;
    }
    img {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }
  }
  &.footer-menu {
    .winhero-item {
      background-color: transparent;
      font-size: 14px;
      padding: 5px 0;
      line-height: 1.5;
      opacity: 0.92;
      transition: all 0.3s ease;
      &:hover {
        opacity: 1;
        transition: all 0.3s ease;
      }
      img {
        width: 24px;
        height: 24px;
        object-fit: contain;
      }
    }
  }
  &.grid {
    display: grid;
    gap: 10px;
  }
  &.column {
    display: flex;
    flex-direction: column;
  }
  .winhero-item {
    background-color: var(--winhero-alt-background);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: var(--winhero-heading-color);
  }
}

.winhero-items[data-columns].grid {
  --columns: attr(data-columns number, 2);
  grid-template-columns: repeat(var(--columns, 2), 1fr);
}
.winhero-promotions {
  margin-bottom: 20px;
  position: relative;
  padding: 40px 0;
  &:before {
    background: var(--winhero-primary-color);
    border-radius: 12px;
    content: '';
    filter: blur(75px);
    height: 100px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: -1;
  }
  .winhero-promotion-slide {
    overflow: hidden;
  }
  .winhero-promotion-item-image {
    width: 100%;
    max-height: 140px;
    height: 140px;
    img {
      width: 32px;
      height: 32px;
    }
    img {
      border-radius: 10px;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .winhero-promotion-item-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: var(--winhero-alt-background-light);
    border-radius: 0 0 10px 10px;
    min-height: 180px;
    justify-content: space-between;

    &:before {
      content: '';
      width: 100%;
      height: 120px;
      display: block;
      position: absolute;
      top: 1px;
      left: 0;
      /* background: var(--winhero-alt-background); */
      box-shadow: 0 -20px 20px 20px var(--winhero-alt-background-light);
    }
  }
  .winhero-promotion-item-title {
    font-weight: 600;
    font-size: 20px;
    color: var(--winhero-heading-color);
    margin-bottom: 10px;
  }
  .winhero-promotion-item-description {
    font-size: 16px;
    color: var(--winhero-text-color);
  }
  .winhero-btn {
    background-color: var(--winhero-btn-accent);
    color: var(--winhero-btn-color);
  }
}
.winhero-provayments {
  margin-bottom: 20px;
  &.footer-payments {
    .winhero-providers-payments-slide {
      background-color: transparent;
      max-width: calc(100% / 8);

      img {
        height: 16px;
      }
    }
  }
}
.winhero-providers-payments-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  background-color: var(--winhero-alt-background-light);
  min-height: 80px;
  max-width: calc(100% / 4);
  img {
    width: 100%;
    height: 42px;
    object-fit: contain;
  }
}
.winhero-slots {
  margin-bottom: 20px;
  &.winhero-slots-grid {
    .swiper-wrapper {
      display: grid !important;
      grid-template-columns: repeat(8, 1fr);
      gap: 10px;
      @media (max-width: 1200px) {
        grid-template-columns: repeat(6, 1fr);
      }
      @media (max-width: 1024px) {
        grid-template-columns: repeat(4, 1fr);
      }
      @media (max-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
      }
      @media (max-width: 490px) {
        grid-template-columns: repeat(2, 1fr);
      }
    }
  }

  .winhero-slots-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .winhero-slots-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    span {
      color: var(--winhero-heading-color);
      font-size: 20px;
      font-weight: 600;
    }
  }
  .winhero-slot-slide {
    position: relative;
    width: 100%;
    height: 140px;
    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--winhero-alt-background-hover);
      z-index: 5;
      border-radius: 10px;
      transition: all 0.3s ease;
      opacity: 0;
      visibility: hidden;
    }
    &:hover {
      &:before {
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
        border: 1px solid var(--winhero-alt-background-hover);
      }
      .winhero-slots-item-inner {
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
      }
    }
  }
  .winhero-slots-item-image {
    width: 100%;
    height: 100%;
    img {
      border-radius: 10px;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .winhero-slots-item-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
  }
  .winhero-slots-item-title {
    font-weight: 600;
    color: var(--winhero-heading-color);
    text-decoration: none;
    font-size: 14px;
  }
  .winhero-slots-item-demo {
    font-size: 12px;
    color: var(--winhero-text-color);
    text-decoration: none;
  }
}
.winhero-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 20px;
  &.align-center {
    text-align: center;
    .winhero-banner-slide {
      align-items: center;
      justify-content: center;
    }
  }
  .winhero-banner-slide {
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px;
    flex-direction: column;
    gap: 20px;
  }
  .winhero-banner-text {
    display: flex;
    flex-direction: column;
    max-width: 35vw;
    @media (max-width: 768px) {
      max-width: 100%;
    }
  }
  .winhero-banner-text-title {
    font-size: clamp(32px, 2vw, 64px);
    font-weight: 900;
    color: var(--winhero-heading-color);
    line-height: 1;
  }
  .winhero-banner-text-content {
    font-size: clamp(32px, 3vw, 55px);
    font-weight: 900;
    color: var(--winhero-primary-color);
    line-height: 1;
    margin-bottom: 20px;
  }
}
.winhero-winners {
  margin-bottom: 20px;
  .winhero-winner-slide {
    display: flex;
    align-items: center;
    background-color: #202029;
    border-radius: 10px;
    gap: 10px;
  }
  .winhero-winner-item-image {
    max-width: 76px;
    width: 76px;
    height: 76px;
    width: 100%;
    img {
      border-radius: 10px 0 0 10px;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .winhero-winner-item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
  }
  .winhero-winner-item-title {
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--winhero-heading-color);
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .winhero-winner-item-amount {
    font-weight: 600;
    font-size: 14px;
    color: var(--winhero-primary-color);
  }
  .winhero-winner-item-game {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 120px;
    width: 100%;
    color: var(--winhero-text-color);
  }
}
