.container {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.game-info {
    padding: 0.25rem 0;
    border-radius: 5px;
    max-width: 20rem;
    margin: auto;
    background: #f8f9fa;
}

.night .game-info{
    background-color: #444;
}

.info-item {
    text-align: center;
    width: calc(100% / 3);
    display: inline-block;
    float: left;
    padding: 0.5rem 0.75rem;
}

.info-label {
    font-size: 0.6rem;
    margin-bottom: 0.25rem;
    color: #7f8c8d;
}

.night .info-label{
    color: #ddd;
}

.info-value {
    color: #2c3e50;
    font-size: 0.8rem;
}

.night .info-value{
    color: #ddd;
}

.grid-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0;
}

.grid {
    display: grid;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 10px;
    background-color: #ddd;
}

.night .grid{
    background-color: #444;
}

.cell {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.night .cell {
    background: #333;
}

.cell::before{
    content: '';
    padding-top: 100%;
    display: block;
}

.cell:hover {
    background: rgba(76, 175, 80, 0.7);
    color: #fff;
}

.cell.correct {
    background-color: #2196F3;
    color: #fff;
}


.controls {
    text-align: center;
}

.btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
    height: 1.5rem;
    line-height: 1.5rem;
}

.controls select{
    height: 1.5rem;
    line-height: 1.5rem;
    background-color: #2196F3;
    color: #fff;
    border: 0;
    width: 3rem;
    border-radius: 4px;
    text-align: center;
    padding: 0 0.2rem;
    vertical-align: bottom;
}




.results {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: none;
    height: 228px;
    overflow-y: scroll;
}

.results::-webkit-scrollbar {
    width: 2px;
    height: 2px
}

.results::-webkit-scrollbar-thumb {
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 7px;
    background: #e8e8fd;
}

.results::-webkit-scrollbar-thumb:hover {
    background-color: rgb(134,144,156);
}

.night .results::-webkit-scrollbar {
    width: 2px;
    height: 2px
}

.night .results::-webkit-scrollbar-thumb {
    background-color: rgb(134,144,156);
}

.night .results::-webkit-scrollbar-thumb:hover {
    background-color: rgb(134,144,156);
}

.jilvs{

}

.jilvs li{
    border: 1px solid #ddd;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.night .jilvs li {
    border: 1px solid #222;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #222;
}

.jilvs li p{
    margin-bottom: 0.5rem;
}

.jilvs li p:last-child{
    margin-bottom: 0;
}

.jilvs li p span:last-child{
    margin-left: 1rem;
}

.jilvs li:last-child{
    margin-bottom: 0;
}




.game-instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.game-instructions h3 {
    margin-bottom: 10px;
}

.game-instructions p {
    line-height: 1.5;
    margin-bottom: 5px;
}

@media screen and (max-width: 450px){
    .cell{
        font-size: 0.6rem;
    }
}