.games-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;

    background-color: #f5f5f7;
    margin-top: 40px;
}

.games-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.games-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Slider wrapper */
.games-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Scroll area */
.games-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.games-slider::-webkit-scrollbar {
    display: none;
}

/* 16:9 images */
.games-slider img {
    flex: 0 0 auto;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.games-slider.portrait-slider {
    gap: 0px;
}

/* Portrait mobile game images */
.games-slider.portrait-slider img {
    flex: 0 0 auto;

    width: auto;
    height: 520px;
    max-height: 70vh;

    aspect-ratio: 9 / 16;
    object-fit: contain;

    border-radius: 18px;
}

/* Desktop buttons */
.slider-btn {
    background-color: #007acc;
    border: none;
    color: #fff;

    width: 44px;
    height: 44px;              /* 🔒 dikeyyi kilitle */
    aspect-ratio: 1 / 1;       /* 🔒 daire garanti */

    border-radius: 50%;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.8rem;
    line-height: 1;

    padding: 0;
    box-sizing: border-box;

    align-self: center;        /* 🔥 stretch’i kıran satır */
}


.slider-btn:hover {
    background-color: #005fa3;   /* diğer butonlarla uyumlu hover */
}

.games-playstore {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.games-playstore img {
    max-width: 180px;   /* ideal boy */
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.games-playstore img:hover {
    transform: scale(1.05);
}

.play-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 24px;

    border-radius: 999px;

    background-color: #0071e3;
    color: #ffffff;

    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    transition: background-color 0.2s ease, transform 0.2s ease;

    margin-top: 28px;
}

.play-store-button:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
}

.play-store-button:active {
    transform: translateY(0);
}

.store-button-wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
    
    .games-slider img {
        width: 90%;
    }

    .games-slider.portrait-slider img {
        height: 380px;
        max-height: 68vh;
        width: auto;
    }

    .slider-btn {
        visibility: hidden;
    }

    .games-playstore {
        margin-top: 3rem;
    }

    .play-store-button {
        min-height: 44px;
        padding: 0 22px;
        font-size: 14px;
    }

    .store-button-wrapper {
        margin-top: 6px;
    }
}
