header.header {
    background: rgb(19 17 45 / 20%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgb(255 255 255 / 5%);
}


header.header.uk-sticky.uk-active.uk-sticky-below.uk-sticky-fixed {
    
}

.game-filter-top-logo {
    width: 40px;
    border-radius: 12px;
}

.game-filter-top {
    background: rgb(19 17 45 / 20%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgb(255 255 255 / 5%);
}

.game-filter-top-link {
    display: inline-flex !important;
    align-items: center;
    gap: 16px !important;
    color: white !important;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: none;
    opacity: 0.7;
}

.game-filter-top-link img {
  width: 20px;
  height: 20px;
}

.game-filter-top-link:hover {
  opacity: 1;
  color: white !important;
}


.header-game-button-container {
  position: relative;
  display: inline-block;
}

a.header-logo {
    display: block;
    width: 140px;
}

.header-game-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
    background: linear-gradient(18deg, #3D8AB0, #5E4BB6);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1;
}

.header-game-button-icon {
  width: 20px;
  height: 20px;
}

.header-game-button-text {
  white-space: nowrap;
}

/* Светлая статичная обводка */
.header-game-button-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(
        270deg,
        #2997FF,
        #BB64FF,
        #F2416B,
        #EB7500
    );
    background-size: 600% 600%;
    animation: animatedGradient 8s ease infinite;
    z-index: 0;
}

@keyframes animatedGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}




.main-navbar {
  padding: 0;
}

.navbar-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0px;
  margin: 0;
  padding: 0;
}

.navbar-item a {
    text-decoration: none;
    color: rgb(255 255 255 / 70%);
    font-size: 16px;
    position: relative;
    padding: 28px 20px;
    transition: color 0.3s ease;
    display: block;
}

.navbar-item a:hover {
  color: white;
}

.navbar-item.active a {
    font-weight: bold;
    color: white;
    background-image: url('/wp-content/themes/afyx-gaming/assets/img/header/menu-active.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 28px 35px;
}

.navbar-item.active a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #2997FF,
        #BB64FF,
        #F2416B,
        #EB7500
    );
    border-radius: 2px 2px 0px 2px;
}




.top-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 20px;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 500;
  cursor: pointer;
}

.top-item img {
  width: 24px;
  height: 24px;
}

.cart-button {
    display: inline-flex;
    align-items: center;
    background-color: rgb(40 37 83 / 40%);
    border-radius: 12px;
    padding: 4px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cart-icon {
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.cart-text {
    background-color: rgb(40 37 83 / 70%);
    color: #fff;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 18px;
    margin-left: 6px;
    font-size: 16px;
}

.cart-button:hover .cart-text {
  background-color: #6c57e2;
}

.cart-text.cart-text-active {
    border: 2px solid #4CAF50;
    padding: 8px 16px;
}