* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter";
    background-image: url(/img/Desktop\ -\ 3.webp);
    background-position: center;
    background-repeat: repeat;
    background-color: black;
    background-size: cover;
}

.container {
    width: 75%;
    max-width: 992px;
    margin: 0 auto;
    background-color: black;
}

.main-game-detail {
    margin-top: 86px;
}

.game-img {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 607px;
}

.game-img h2 {
    position: absolute;
    top: 71px;
    font-size: 43px;
    color: white;
    font-family: "K2D";

}

.game-img button a i {
    padding-right: 12px;
}

.game-image {
    width: 100%;
    padding: 6px 27px;
    filter: blur(2px);
    opacity: 0.8;
    object-fit: cover;
    transform: scale(1);
    display: block;
    transform-origin: center center;
   border-top-left-radius: 59px;
    border-top-right-radius: 59px;
    margin-top: 23px;

}

.game-subdiv {
    position: absolute;
    top: 147px;
}

.game-subdiv img {
    width: 213px;
    border-radius: 42px;
}

.game-subdiv button {
    position: absolute;
    top: 361px;
    padding: 18px 36px;
    border-radius: 22px;
    color: black !important;
    border-radius: 33px !important;
    padding: 11px 21px !important;
    margin-top: 3px;
    margin-left: 12px;
    font-size: 16px !important;
    left: 0px;
    border: none;
    transition: all .3s ease;
}

.game-subdiv button {
    box-shadow: 0 4px 0 #1dab29;
    background: linear-gradient(to right, #33db49 0, #64e66c 50%, #3bdb33 100%);
    animation: slide 2s linear infinite;
}

@keyframes slide {
    from {
        background-position-x: calc(0% + 706.88px);
    }

    to {
        background-position-y: 27.68%;

    }
}



.game-subdiv button a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 700;
}

.game-data {
    padding: 44px;
    background-color: #212121cf;
    margin: 0 26px;
    margin-top: -8px;
    border-bottom-left-radius: 33px;
    border-bottom-right-radius: 33px;
}

.game-data span {
    padding: 14px;
    border: 1px solid white;
    border-radius: 29px;
    margin: 10px 11px;
    color: white;
    font-size: 20px;
    display: inline-flex;
}

.game-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
    margin-top: 50px;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    position: relative;
}

.game-card img {
    display: block;
    object-fit: cover;
    width: 100%;
}

.game-title {
    display: none;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.174);
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 18px;
    transition: all 0.8s;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 16px 0;
    animation: 0.8s slide-bottom;
}

@keyframes slide-bottom {
    from {
        margin-bottom: -500px;
    }

    to {
        margin-bottom: 0%;
    }
}


.game-card:hover .game-title {
    display: block;
}

/*-----------------------------*/
.holographic-card {
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s ease;
}


.holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(0deg,
            transparent,
            transparent 30%,
            rgba(255, 255, 255, 0.3));
    transform: rotate(-45deg);
    transition: all 0.8s ease;
    opacity: 0;
}

.holographic-card:hover {
    transform: scale(1.05);
}

.holographic-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #88f700;
    color: rgb(0, 0, 0);
    cursor: pointer;
    padding: 18px 23px;
    border-radius: 36px;
    transition: background-color 0.3s;
    font-size: 22px;
}