html {
    scrollbar-gutter: stable;
}

h3 {
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
}

.card {
    width: 100%;
    height: 340px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

img.shadow {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}

/* Obrócenie po najechaniu */
.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    backface-visibility: hidden;
}

.card-front {
    background: rgba(var(--dark-2-rgb), 0.6);
    border: 2px solid rgba(var(--dark-3-rgb), 0.3);
}

.card-back {
    background: rgba(var(--dark-2-rgb), 0.6);
    border: 2px solid rgba(var(--button-2-rgb), 1);
    transform: rotateY(180deg);
    background:
        radial-gradient(circle at 50% 110%,
            rgba(var(--dark-4-rgb), 1) 0%,
            transparent 100%),
        var(--dark-2);
}

input[type=text] {
    margin: 0 0 0 0;
    border: 0px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #fff;
    box-sizing: border-box;
    outline: none;
    height: 48px;
    line-height: 48px;
    padding: 0 10px;
    font-size: 14px;
    color: #000;
    width: 100% !important;
    font-family: 'Open Sans', sans-serif;
    color-scheme: dark;
}
input::placeholder {
    color: #000;
}

input:focus::placeholder {
    color: transparent;
}
.online {
    display: inline-flex;
    align-self: flex-start;
    width: fit-content;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.online-count {
    display: inline-flex;
    align-self: flex-start;
    justify-content: center;
    width: fit-content;
    border-radius: 4px;
    padding: 10px;
    width: 44px;
}

.box-social-icon {
    height: 48px;
    padding: 10px 20px;
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    -webkit-transition: border 300ms ease-out;
    -moz-transition: border 300ms ease-out;
    -o-transition: border 300ms ease-out;
    font-weight: bold;
}

.box-social-icon i {
    color: #fff;
    font-size: 24px;
}

.product-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 450ms ease,
        visibility 0s linear 450ms;
}

.product-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 450ms ease,
        visibility 0s linear 0s;
}

.product-popup[hidden] {
    display: none !important;
}

.open-product-popup {
    width: 100%;
    height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 4px;
    color: var(--button-color);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.product-popup-box {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: calc(100vh - 10px);
    padding: 20px;
    overflow-y: auto;
    color: var(--button-color);
    background: var(--dark-2);
    border: 1px solid rgba(var(--dark-3-rgb), 0.3);
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    transform: translateY(15px) scale(0.98);
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-popup.is-open .product-popup-box {
    transform: translateY(0) scale(1);
}

.itemshop-img img {
    height: 130px;
    width: auto;
}
.product-popup__close {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--main-font);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.product-popup__close:hover {
    background: transparent;
    color: var(--button-4);
}

.product-popup__image {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.item-row {
    display: grid !important;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 250px));
    max-width: 1500px;
    justify-content: start;
}

.item-category-title {
    font-size: 22px;
    font-weight: bold;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    min-width: 90px;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
}

.countdown-reason {
    font-size: 34px;
    font-weight: bold;
}

.countdown-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    margin-top: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.header-main {
    width: 1200px;
    margin: 60px auto;
}
.beta {
    background-color:#ac2f2f;
    padding:4px;
    text-align:center;
    font-size:12px;
}
.product-item {}

.product-item-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 26px;
    height: 52px;
    overflow: hidden;
    text-align: center;
}

.product-item-price {
    font-size: 18px;
}

.heder-ip {
    display: flex;
    grid-gap: 20px;
}

.player-last {
    display: grid;
    grid-template-columns: repeat(auto-fit, 110px);
    justify-content: center;
    gap: 20px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.player-last .box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    width: 110px;
    border-radius: 6px;
}

.player-last .box img {
    width: 44px;
    height: 44px;
    image-rendering: pixelated;
    border-radius: 4px;
}

.postac {
    animation: floatY 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.postac img {}

.kill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, 110px);
    justify-content: center;
    gap: 40px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.kill-box {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 110px;
    max-width: 110px;
    min-height: 110px;
    min-width: 110px;
    border-radius: 6px;
}

.kill-box img {
    width: 44px;
    height: 44px;
    image-rendering: pixelated;
    border-radius: 4px;
}

.kill-box-die {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 110px;
    max-width: 110px;
    min-height: 110px;
    min-width: 110px;
    background: #242424;
    border: 2px solid var(--red-2);
    border-radius: 6px;
}

.kill-box-die img {
    filter: grayscale(100%);
}

.kill-box-win {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 110px;
    max-width: 110px;
    min-height: 110px;
    min-width: 110px;
    background: #242424;
    border: 2px solid var(--button-2);
    border-radius: 6px;
}

.kill-weapon {
    display: flex;
    flex-direction: column;
}

.kill-weapon-icon {
    width: 40px;
    height: 40px;
}

.kill-weapon i {
    font-size: 34px;
}

.footer {
    text-align: center;
    margin: 40px auto 10px auto;
}

.footer a {
    text-decoration: none;
    color: var(--main-font);
}

.footer-host {
    text-align: center;
    margin: 0px auto 40px auto;
}

.footer-host a {
    text-decoration: none;
    color: rgba(var(--main-font-rgb), 0.3)
}

.domain {
    color: rgba(var(--main-font-rgb), 0.3)
}

.footer-host a:hover {
    text-decoration: none;
    color: rgba(var(--main-font-rgb), 0.6)
}
