body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #212121;
}

h1 {
    text-align: center;
    color: #fff;
    font-weight: 900;
    font-size: 3em;
    margin-top: 20px;
}

button {
    background: #09a6e9;
    color: #fff;
    border: none;
    padding: 20px 40px;
    cursor: pointer;
    margin: 2em;
    border-radius: 10px;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s;
}

button:hover {
    background: #007bb5;
    transform: scale(1.1);
}

.board_container {
    width: 90%;
    margin: 20px auto;
    background: #fff;
    color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
}

.innings, .over {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    color: #000;
    font-size: xx-large;
    margin-bottom: 10px;
}

.teams {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    color: #000;
    flex-wrap: wrap;
}

.team1, .team2 {
    margin: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 45%;
    box-sizing: border-box;
}

.team1 h2, .team2 h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
}

.team1 div, .team2 div {
    display: flex;
    justify-content: space-between;
    font-size: 1.5em;
    margin: 10px 0;
}

.input_container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 20px;
    flex-wrap: wrap;
}

.wd, .nb, .out, .score {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    color: #fff;
    margin: 5px;
    border-radius: 5px;
    font-size: 1em;
}

.wd {
    background: #fff;
    color: #000;
}

.nb {
    background: #912fe7;
}

.out {
    background: #f00;
}

.score {
    background: #09a6e9;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .board_container {
        width: 95%;
        padding: 10px;
    }

    .innings, .over {
        flex-direction: column;
        font-size: large;
    }

    .teams {
        flex-direction: column;
    }

    .team1, .team2 {
        width: 90%;
        margin: 10px auto;
    }

    button {
        padding: 15px 30px;
        margin: 1em;
        font-size: 1em;
    }

    .wd, .nb, .out, .score {
        height: 40px;
        width: 40px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .innings, .over {
        font-size: medium;
    }

    button {
        padding: 10px 20px;
        font-size: 0.8em;
    }

    .wd, .nb, .out, .score {
        height: 30px;
        width: 30px;
        font-size: 0.8em;
    }
}