.our-games h2 {
    color: var(--white);
    font-size: clamp(45px, 7vw, 120px);
    font-weight: 800;
        text-transform: uppercase;
}

.our-games{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 53px;
    overflow: hidden;
    width: 100%;
}

.games-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    perspective: 1000px;
    padding: 40px;
    flex-wrap: wrap;
}

.game-card {
    width: 420px;
    height: 520px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    will-change: transform;
    backface-visibility: hidden;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.game-card:nth-child(1) {
    transform: translateX(80px) rotate(-8deg);
    z-index: 1;
        width: 320px;
    height: 420px;
}

.game-card:nth-child(2) {
    transform: translateY(-20px);
    z-index: 3;
    width: 390px;
    height: 481px;
}

.game-card:nth-child(3) {
    transform: translateX(-80px) rotate(8deg);
    z-index: 2;
        width: 320px;
    height: 420px;

}

.game-card:hover {
    z-index: 10 !important;
}

.card-shine {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255,255,255,0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.game-card:hover .card-shine {
    opacity: 1;
}

/* Game Detail Sections */
.game-detail-section {
    position: relative;
    height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--black);
    padding: 80px 40px;
    opacity: 1 !important;
    transform: none !important;
}

.section.third:not(.game-detail-section) {
    /* opacity: 0; */
    transform: translateY(50px);
}

.game-detail-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    /* opacity: 0; */
}

.game-detail-content.reverse {
    flex-direction: row-reverse;
}

.game-detail-card {
    flex: 0 0 400px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
}

.game-detail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-detail-info {
    flex: 1;
    color: var(--white);
}

.game-detail-info h2 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--primary);
    text-transform: uppercase;
}

.game-detail-info p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.game-detail-info a {
    text-decoration: none;
}

@media (max-width: 1100px) {
    /* .game-card:nth-child(1),
    .game-card:nth-child(3) {
        transform: rotate(0deg);
    }
    
    .game-card:nth-child(2) {
        transform: translateY(0);
    } */

    .game-detail-content,
    .game-detail-content.reverse {
        flex-direction: column;
        gap: 50px;
    }

    .game-detail-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 480px;
    }
}


@media (max-width: 1024px) {
    .games-cards {
    gap: 0;
    padding: 0;
    padding-top: 40px;
    flex-wrap: nowrap;
}
    .game-detail-section {
        padding: 60px 20px;
    }

    .game-detail-card {
        max-width: 320px;
        height: 420px;
    }
.game-detail-info{
    text-align: center;
}

}

@media (max-width: 768px) {
    .games-cards {
    gap: 0;
    padding: 0;
    padding-top: 40px;
    flex-wrap: nowrap;
}
    .game-detail-section {
        padding: 60px 20px;
    }

    .game-detail-card {
        max-width: 320px;
        height: 420px;
    }
.game-detail-info{
    text-align: center;
}
    .game-detail-info h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .game-detail-info p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .game-card:nth-child(2) {

    width: 295px;
    height: 365px;
}

   .game-card:nth-child(1), .game-card:nth-child(3) {
    width: 200px;
    height: 283px;
    }
}

@media (max-width: 500px) {

    .game-card:nth-child(2) {
        width: 197px;
        height: 223px;
    }

    .game-card:nth-child(1), .game-card:nth-child(3) {
        width: 146px;
        height: 183px;
    }


}