/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#667eea,#764ba2);
}

/* Main container */

.container{
width:100%;
display:flex;
justify-content:center;
align-items:center;
padding:20px;
}

.main{
width:420px;
padding:35px;
border-radius:20px;
background:rgba(255,255,255,0.15);
backdrop-filter:blur(12px);
box-shadow:0 10px 30px rgba(0,0,0,0.25);
color:white;
text-align:center;
transition:0.3s;
}

.main:hover{
transform:translateY(-5px);
}

/* Heading */

.luckydraw h1{
font-size:24px;
font-weight:600;
margin-bottom:10px;
}

/* Result */

#result{
font-size:30px;
font-weight:600;
color:#ffd166;
margin:15px 0;
min-height:40px;
}

/* Button */

.btn{
padding:12px 30px;
font-size:16px;
border:none;
border-radius:30px;
background:#ffd166;
color:#333;
cursor:pointer;
font-weight:500;
transition:0.3s;
}

.btn:hover{
background:#ffb703;
transform:scale(1.05);
box-shadow:0 6px 15px rgba(0,0,0,0.3);
}

/* History */

.hist_container{
margin-top:25px;
text-align:left;
}

.hist_container h2{
font-size:18px;
margin-bottom:10px;
}

.hist{
display:flex;
flex-direction: column;
gap:8px;
}

.hist span{
background:rgba(255,255,255,0.25);
padding:6px 12px;
border-radius:15px;
font-size:14px;
}

/* Clear button */

#clearBtn{
margin-top:15px;
padding:10px 20px;
border:none;
border-radius:25px;
background:#ef476f;
color:white;
cursor:pointer;
transition:0.3s;
}

#clearBtn:hover{
background:#d62839;
transform:scale(1.05);
}

/* Divider */

hr{
border:none;
height:1px;
background:rgba(255,255,255,0.3);
margin:15px 0;
}

/* Responsive */

@media(max-width:500px){

.main{
width:90%;
padding:25px;
}

.luckydraw h1{
font-size:20px;
}

#result{
font-size:24px;
}

}