@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-font: 'Poppins', sans-serif;
    --primary-color: #fff;
    --secondary-color: #222;
}

.giveaway-wrap {
    background-image: url("https://webapps.eqserver.net/interex-group-2024-wp/wp-content/themes/interex_group/assets/images/giveaway-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.giveaway-wrap .giveaway-wrap__header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.giveaway-wrap .giveaway-wrap__header figure {
    max-width: 65px;
    width: 100%;
}

.giveaway-wrap .giveaway-wrap__header figure img {
    width: 100%;
}

.giveaway-slot .giveaway-slot__info {
    margin-top: -30px;
}

.giveaway-slot .giveaway-slot__info h1 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 68px;
    line-height: 100%;
    color: #fff;
    text-align: center;
}

.giveaway-slot .giveaway-slot__info h1 span {
    display: block;
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
}

.cus-container {
    max-width: 1104px;
    margin: 0 auto;
    padding: 0 20px;
}

.giveaway-slot__main {
    max-width: 962px;
    width: 100%;
    min-height: 275px;
    max-height: 275px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 35px auto 0;
    padding: 20px 0;
    overflow: hidden;
    background: rgba(18, 16, 11, 0.25);
    position: relative;
    text-align: center;
}

.giveaway-slot__main.slot-container__active::after,
.giveaway-slot__main.slot-container__active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1;
    pointer-events: none;
}

.giveaway-slot__main.slot-container__active::after {
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.giveaway-slot__main.slot-container__active::before {
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.slot-reel {
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.giveaway-slot__wrap::after {
    height: 100%;
    width: 100%;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background-position: center;
    background-size: contain;
    background-image: url("https://webapps.eqserver.net/interex-group-2024-wp/wp-content/themes/interex_group/assets/images/winner-background-sparkle.png");
    z-index: -2;
    opacity: 0;
    scale: 0.5;
    background-repeat: no-repeat;
}

.giveaway-slot__wrap::before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background-position: center;
    background-image: url("https://webapps.eqserver.net/interex-group-2024-wp/wp-content/themes/interex_group/assets/images/winner-background-dots.png");
    z-index: -1;
    opacity: 0;
    scale: 1;
    background-size: cover;
    background-repeat: no-repeat;
}
.giveaway-slot__wrap.celebrating::after {
    opacity: 1;
    scale: 1;
    transition: all 0.3s ease-in-out;
    animation: sparklePulse 3s ease-in-out infinite;
}
@keyframes sparklePulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        opacity: 0.5;
    }
}
.giveaway-slot__wrap.celebrating::before {
    opacity: 1;
    scale: 1;
    transition: all 0.3s ease-in-out;
}
.slot-item.winner {
    animation: pulse 2s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
}

.today-winner__is {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 48px;
    line-height: 100%;
    text-align: center;
    color: var(--primary-color);
    margin-top: 50px;
    text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.25);

}

.giveaway-slot__congratulations {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 72px;
    line-height: 100%;
    text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.25);
    margin-top: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    text-align: center;
}
.giveaway-slot__congratulations.active {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;

    }
}

.slot-item {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 50px;
    line-height: 112px;
    text-align: center;
    color: var(--primary-color);
}

.hidden {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    transition-delay: 0.3s;
}


.giveaway-slot__button button {
    font-family: var(--primary-font);
    margin-top: 50px;
    font-weight: 700;
    font-size: 32px;
    line-height: 150%;
    border-radius: 15px;
    border: 0;
    padding: 6px 20px;
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

.giveaway-slot__button button:hover {
    background-color: #aaaaaa;
}

@media only screen and (max-width: 1440px) and (min-width: 992px) {
    .giveaway-slot__congratulations {
        font-size: 4.8vw;
        margin-top: 3.333vw;
    }
}

@media only screen and  (max-width: 991px) {
    .giveaway-slot__congratulations {
        font-size: 30px;
        margin-top: 40px;
    }
    .today-winner__is {
        font-size: 30px;
    }
}
@media only screen and  (max-width: 991px) {
    .giveaway-slot__congratulations {
        font-size: 30px;
        margin-top: 40px;
    }
    .today-winner__is {
        font-size: 30px;
    }
    .slot-item {
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .giveaway-slot__congratulations {
        font-size: 20px;
        margin-top: 40px;
    }
    .today-winner__is {
        font-size: 20px;
    }
    .slot-item {
        font-size: 30px;
    }
    .giveaway-slot__button button {
        font-size: 22px;
    }
}