*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    background:
        linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.55)),

        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
}

.game-card{
    width:100%;
    max-width:360px;
    background:rgba(255,255,255,.55);
    backdrop-filter:blur(14px);
    border-radius:22px;
    padding:32px 28px;
    text-align:center;
    box-shadow:
        0 20px 40px rgba(0,150,200,.25),
        inset 0 0 15px rgba(255,255,255,.6);
    animation:cardFloat .9s ease;
}

.game-card h1{
    color:#006d77;
    margin-bottom:22px;
    font-weight:600;
    letter-spacing:1px;
}

button{
    width:100%;
    background:linear-gradient(135deg,#00c9ff,#92fe9d);
    border:none;
    color:#004b50;
    padding:14px;
    font-size:17px;
    border-radius:16px;
    cursor:pointer;
    transition:.3s ease;
    box-shadow:0 10px 25px rgba(0,201,255,.45);
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 35px rgba(0,201,255,.6);
}

.output{
    margin-top:26px;
    color:#004b50;
}

.output h2{
    font-size:18px;
    margin-bottom:12px;
}

.output i{
    font-size:88px;
    color:#00a8b5;
    animation:diceSplash .7s ease;
    text-shadow:0 0 20px rgba(0,168,181,.6);
}

@keyframes diceSplash{
    0%{transform:translateY(-30px) scale(.6);opacity:0}
    60%{transform:translateY(10px) scale(1.05)}
    100%{transform:translateY(0) scale(1);opacity:1}
}

@keyframes cardFloat{
    from{opacity:0;transform:translateY(40px)}
    to{opacity:1;transform:translateY(0)}
}

@media(max-width:480px){
    .game-card{
        margin:20px;
    }
    .output i{
        font-size:70px;
    }
}





