body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #f0f0f0;
    padding: 40px 16px 80px;
}

.container {
    text-align: center;
    max-width: 720px;
    width: 100%;
}

.lotto-hint {
    margin: 6px 0 16px;
    color: #5a5a5a;
    font-size: 14px;
}

.lotto-numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.lotto-set {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lotto-set-label {
    font-size: 14px;
    color: #666;
    min-width: 64px;
    text-align: right;
}

.lotto-set-numbers {
    display: flex;
    justify-content: center;
}

.lotto-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0 4px;
    animation: pop-in 700ms cubic-bezier(0.12, 1.1, 0.28, 1) both;
}

#generate-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #1b1b1b, #4b4b4b);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

#generate-btn.is-bouncing {
    animation: btn-spring 520ms cubic-bezier(0.12, 1.1, 0.28, 1);
}

.form-section {
    margin-top: 36px;
    text-align: left;
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.form-hint {
    margin: 0 0 18px;
    color: #5a5a5a;
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d5d5d5;
    background: #f9f9f9;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #444;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.checkbox-group {
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.checkbox-group legend {
    padding: 0 6px;
    font-size: 14px;
    color: #333;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.submit-btn {
    padding: 12px 20px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1b1b1b, #4b4b4b);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@keyframes pop-in {
    0% {
        transform: translateY(14px) scale(0.76);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes btn-spring {
    0% {
        transform: translateY(0) scale(1);
    }
    45% {
        transform: translateY(2px) scale(0.96);
    }
    70% {
        transform: translateY(-2px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}
