html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling due to animation */
    font-family: Arial, sans-serif;
    color: white;
}

.user-page-section-background {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #2354f5;
    background-attachment: fixed; /* Ensures background stays fixed */
    background-size: cover; /* Ensures background covers the entire area */
    background-repeat: no-repeat; /* Prevents repeating background */
    background-position: center; /* Centers the background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.smoke-block {
    z-index: -2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.8;
}

.wave {
    z-index: -2;

    position: absolute;
    bottom: 0;
    width: 2000px;
    height: 2025px;
    background: rgb(26, 22, 151);
    opacity: 0.5;
    border-radius: 40%;
    animation: wave-animation 20s linear infinite;
    margin-left: -200px;
    margin-top: -600px;
}

.wave2 {
    z-index: -2;

    background: rgb(54, 50, 176);
    opacity: 0.4;
    animation: wave-animation 15s linear infinite reverse;
}

.wave3 {
    z-index: -2;

    background: rgb(66, 61, 195);
    opacity: 0.6;
    animation: wave-animation 24s linear infinite;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.container {
    position: relative;
    z-index: 3; /* Ensures content is above the background and waves */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0; /* Removes the white space at the top and bottom */
    flex-grow: 1; /* Ensures it covers the available space */
}

.gif-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px; /* Adjusts the spacing between the GIF and the offers */
    z-index: 2; /* Ensure it's above the background but below the mobile banner */
}

.gif-container img {
    width: 100%;
    max-width: 750px;
    height: auto;
}

.mobile-top-banner {
    display: none; /* Hide by default */
    width: 100%;
    text-align: center;
    margin-bottom: 20px; /* Adjusts the spacing between the banner and the offers */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5; /* Ensure it stays above all other content */
}

.mobile-top-banner img {
    width: 100%;
    max-width: 750px;
    height: auto;
}

.left-gif-container, .right-gif-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 150px; /* Adjust width as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Ensure they are above the background but below the main content */
}

.left-gif-container {
    left: 0;
}

.right-gif-container {
    right: 0;
}

.left-gif-container img, .right-gif-container img {
    height: 100vh;
    width: auto;
}

.offers-container {
    width: calc(100% - 300px); /* Adjusted to leave space for the GIFs on the sides */
    max-width: 1100px; /* Adjusted for larger width to fit five images */
    margin: 0 auto;
}

.offers {
    width: 100%;
}

.row {
    display: flex;
    justify-content: space-between; /* Adjusted to reduce space between images */
    align-items: center;
    margin-bottom: 10px; /* Reduced margin between rows */
    padding: 10px 0; /* Removed extra padding */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.offer {
    flex: 1;
    max-width: 18%; /* Adjusted for five images per row */
    margin: 0 5px; /* Reduced margin between images */
}

.offer img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.offer h2{
    color: white;
}

.offer-texts {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.offer-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(50, 50, 50, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

.offer-text img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

.offer-text p {
    flex: 1;
    margin: 0;
    text-align: left;
    color: white; /* Set text color to black */
}

.share-icon {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Prevents text and share icon from turning blue */
a:hover, a:focus {
    text-decoration: none;
    color: inherit;
}

/* Hover effect for offer text */
.offer-text:hover img,
.offer-text:hover .share-icon {
    transform: scale(1.1);
}

/* Popup styles */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 6; /* Above everything else */
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slide-up 0.5s forwards; /* Slide up animation */
}

@keyframes slide-up {
    from {
        bottom: -100%;
    }
    to {
        bottom: 0;
    }
}

.popup-content {
    padding: 20px;
    text-align: center;
    color: black; /* Ensure text is black */
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.popup-close:hover {
    color: black;
}

.popup img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.popup button {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background-color: #f5a623;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px; /* Add margin to top */
}

.popup button:hover {
    background-color: #e69520;
}

/* Blur effect for background when popup is displayed */
.blurred {
    filter: blur(5px);
    pointer-events: none; /* Prevents interactions with blurred content */
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .left-gif-container, .right-gif-container {
        width: 100px; /* Reduce the width for smaller screens */
    }

    .offers-container {
        width: calc(100% - 200px); /* Adjust width based on new GIF container size */
    }
}

@media (max-width: 992px) {
    .left-gif-container, .right-gif-container {
        width: 80px; /* Further reduce the width for smaller screens */
    }

    .offers-container {
        width: calc(100% - 160px); /* Adjust width based on new GIF container size */
    }
}

@media (max-width: 768px) {
    .left-gif-container, .right-gif-container {
        width: 60px; /* Further reduce the width for smaller screens */
    }

    .offers-container {
        width: calc(100% - 120px); /* Adjust width based on new GIF container size */
    }
}

@media (max-width: 576px) {
    .left-gif-container, .right-gif-container {
        width: 50px; /* Further reduce the width for smaller screens */
    }

    .offers-container {
        width: calc(100% - 100px); /* Adjust width based on new GIF container size */
    }

    .offer {
        max-width: 22%; /* Adjust width for offers in smaller screens */
    }
}

@media (max-width: 480px) {
    .left-gif-container, .right-gif-container {
        display: none; /* Hide GIF containers on very small screens */
    }

    .mobile-top-banner {
        display: block; /* Show the mobile top banner */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 5; /* Ensure it stays above other content */
    }

    .offers-container {
        width: 100%; /* Use full width when GIF containers are hidden */
        padding-top: 70px; /* Add padding to avoid overlap with fixed banner */
    }

    .offer {
        max-width: 48%; /* Adjust width for offers in smaller screens */
    }

    .row {
        justify-content: space-around; /* Adjust alignment of offers */
    }
}/* Existing styles */

/* Adjust the normal top banner position when the mobile top banner is displayed */
.adjusted-top-banner {
    margin-top: 70px; /* Adjust the value as needed */
}

.mobile-top-banner {
    display: none; /* Hide by default */
    width: 100%;
    text-align: center;
    margin-bottom: 20px; /* Adjusts the spacing between the banner and the offers */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5; /* Ensure it stays above all other content */
}

.mobile-top-banner img {
    width: 100%;
    max-width: 750px;
    height: auto;
}

/* Media Queries for Responsiveness */
@media (max-width: 480px) {
    .left-gif-container, .right-gif-container {
        display: none; /* Hide GIF containers on very small screens */
    }

    .mobile-top-banner {
        display: block; /* Show the mobile top banner */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 5; /* Ensure it stays above other content */
    }

    .offers-container {
        width: 100%; /* Use full width when GIF containers are hidden */
        padding-top: 70px; /* Add padding to avoid overlap with fixed banner */
    }

    .offer {
        max-width: 48%; /* Adjust width for offers in smaller screens */
    }

    .row {
        justify-content: space-around; /* Adjust alignment of offers */
    }

    .gif-container {
        margin-top: 70px; /* Add this line to push the normal top banner down */
    }
}

.slider-container {
    width: 75%; /* Genişlik ayarı */
    margin: 0 auto; /* Ortalamak için */
    padding: 20px;
    overflow: hidden; /* Taşan görüntüleri gizle */
}
.slider {
    display: flex;
        transition: transform 0.5s ease-in-out;
    will-change: transform; /* Performans için */
}
.slide {
    min-width: 20%; /* 5 görüntü göstermek için */
    box-sizing: border-box;
    margin-right: 5px;
}
.slide img {
    background-color: #000; /* Siyah arka plan */
    width: 100%;
    border-radius: 10px;
}

/* Mobil uyumlu için medya sorguları */
@media (max-width: 768px) {
     .slider-container {
        width: 95%;
    }
    .slider-container {
        width: 90%;
    }
    .slide {
        min-width: 33.33%; /* Orta boyutlu ekranlarda 3 görüntü */
    }
}

@media (max-width: 480px) {
    .slide {
        min-width: 50%; /* Küçük ekranlarda 2 görüntü */
    }
}

@media (max-width: 320px) {
    .slide {
        min-width: 100%;
    }
}

