.game-wrapper{
    padding:40px;
}

.title{
    text-align:center;
    margin-bottom:10px;
}

.score-board{
    text-align:center;
    margin-bottom:40px;
}

.timer-board{
    text-align:center;
    margin-bottom:30px;
    color:#ff5722;
}

.game-layout{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:50px;
}

.drag-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    background:#f5f5f5;
    padding:30px;
    border-radius:20px;
    width:100%;
    max-width:900px;
    min-height:200px;
}

.drag-img{
    width:65px;
    height:auto;
    cursor:grab;
    transition:0.3s;
    order : random;
}

.drag-img:hover{
    transform:scale(1.1);
}

.drag-img:active{
    transform:scale(1.2);
    cursor:grabbing;
}

.tong-container{
    display:flex;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

.drop-box{
    width:400px;
    min-height:320px;
    border:3px dashed #ccc;
    border-radius:20px;
    background:#b7fac3;
    padding:20px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:flex-start;
    gap:10px;
    transition:0.3s;
    position:relative;
}

.drop-box p{
    width:100%;
    text-align:center;
    font-size:20px;
    font-weight:bold;
    margin-bottom:10px;
}

.drop-box:hover{
    transform:scale(1.05);
}

.tong-img{
    width:100px;
    pointer-events:none;
    margin-bottom:10px;
}

.drop-box p{
    font-size:20px;
    font-weight:bold;
}

.drop-box .drag-img{
    width:60px;
    margin-top:10px;
}

.correct{
    border-color:green;
    background:#d4ffd4;
}

.wrong{
    border-color:red;
    background:#ffd4d4;
}

.popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    display:none;
    justify-content:center;
    align-items:center;
}

.popup-content{
    background:white;
    padding:40px;
    border-radius:20px;
    text-align:center;
}

.popup-content button{
    margin-top:20px;
    padding:10px 20px;
    border:none;
    border-radius:10px;
    background:green;
    color:white;
    cursor:pointer;
    font-size:16px;
}

.start-screen{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.start-content{
    background:white;
    padding:50px;
    border-radius:20px;
    text-align:center;
    width:400px;
}

.start-content h1{
    margin-bottom:20px;
}

.start-content p{
    margin-bottom:30px;
    font-size:18px;
}

.start-content button{
    padding:15px 30px;
    border:none;
    border-radius:10px;
    background:green;
    color:white;
    font-size:18px;
    cursor:pointer;
}