* {
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    color: #222;
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    display: grid;
    gap: 28px;
    margin: 0 auto;
    max-width: 720px;
}

.lotto-panel,
.comments-panel,
.contact-panel {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 28px;
    text-align: center;
}

h1,
h2 {
    color: #333;
    margin: 0;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

.numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}

.number {
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    font-size: 24px;
    font-weight: bold;
    height: 50px;
    justify-content: center;
    width: 50px;
}

button {
    background-color: #2f7d46;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 20px;
}

button:hover {
    background-color: #27683a;
}

form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
    text-align: left;
}

label {
    color: #333;
    display: grid;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
}

input,
textarea {
    border: 1px solid #cfd6dd;
    border-radius: 5px;
    font: inherit;
    padding: 12px;
    width: 100%;
}

textarea {
    resize: vertical;
}

form button {
    justify-self: stretch;
}

@media (max-width: 520px) {
    body {
        padding: 20px 12px;
    }

    .lotto-panel,
    .contact-panel,
    .comments-panel {
        padding: 22px 16px;
    }

    h1 {
        font-size: 26px;
    }
}
