/* Initial Root Element */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@200;400;500;600;700;800;900&display=swap');

html {
    height: 100%;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    font-family: 'Poppins', sans-serif;
}

#header-padding {
    padding-top: 6rem;
}

/* Undian */
.bg-undian { 
    background: url("../../assets/images/bg-semargres.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: clamp(6.875rem, -2.3714rem + 10.8303vw, 10.625rem);
}

.bg-undian:has(#sesi-kosong) {
    padding: 0;
}

#logo-undian {
    width: clamp(18.75rem, 11.0447rem + 9.0253vw, 21.875rem);
    height: auto;
}

#hadiah-undian {
    font-size: clamp(2.5rem, 1.2671rem + 1.444vw, 3rem);
    font-weight: 800;
    margin-top: clamp(2.5rem, -0.5821rem + 3.6101vw, 3.75rem);
    margin-bottom: clamp(1.25rem, -0.2911rem + 1.8051vw, 1.875rem);
}

.winner-1 .hadiah-undian {
    margin-top: clamp(2.5rem, -3.6643rem + 7.2202vw, 5rem) !important;
    margin-bottom: clamp(2.5rem, -3.6643rem + 7.2202vw, 5rem) !important;
}

.input-roulette:before {
    content:attr(data-placeholder);
}

.input-roulette {
    position: relative;
    width: 600px;
    height: 100px;
    border-radius: 14px;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    border: none;
    background: #fff;
    backdrop-filter: blur(5px);

    border-radius: 14px;
    border: 2px solid #8E8E8E;
    background: rgba(251, 250, 249, 0.20);

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Untuk 1 pemenang */
.winner-1 .input-roulette {
    width: clamp(50rem, 19.1787rem + 36.1011vw, 62.5rem);
    height: clamp(8.4375rem, 2.2732rem + 7.2202vw, 10.9375rem);
    font-size: clamp(2rem, 0.7671rem + 1.444vw, 2.5rem);
}

/* Untuk 2 pemenang */
.winner-2 .input-roulette {
    width: clamp(28.75rem, -0.5302rem + 34.296vw, 40.625rem);
    height: clamp(6.25rem, 1.6268rem + 5.4152vw, 8.125rem);
    font-size: clamp(1.375rem, -0.1661rem + 1.8051vw, 2rem);
}

/* Untuk 3 pemenang */
.winner-3 .input-roulette {
    width: clamp(28.75rem, -3.6124rem + 37.9061vw, 41.875rem);
    height: clamp(6.25rem, 1.6268rem + 5.4152vw, 8.125rem);
    font-size: clamp(1.375rem, -0.1661rem + 1.8051vw, 2rem);
}

/* Untuk 4 dan 5 pemenang */
.winner-4 .input-roulette {
    width: clamp(31.25rem, 15.8394rem + 18.0505vw, 37.5rem);
    height: clamp(6.25rem, 1.6268rem + 5.4152vw, 8.125rem);
    font-size: clamp(1.375rem, -0.1661rem + 1.8051vw, 2rem);
}

.winner-4 .pemenang-merchant {
    font-size: clamp(1.375rem, 0.4504rem + 1.083vw, 1.75rem);
}

.winner-5 .input-roulette {
    width: clamp(21.875rem, -1.241rem + 27.0758vw, 31.25rem);
    height: clamp(6.25rem, 1.6268rem + 5.4152vw, 8.125rem);
    font-size: clamp(1.25rem, 0.0171rem + 1.444vw, 1.75rem);
}

.winner-5 .pemenang-merchant {
    font-size: clamp(1rem, 0.0754rem + 1.083vw, 1.375rem);
}

.pemenang-nama {
    font-weight: 700;
}

#sesi-kosong {
    width: 40rem;
    height: auto;
}
/* End Undian */