.what-you-can-win {
    display: flex;
    margin: 0 auto;
    padding: 50px 20px 0;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;

    .prize {
        width: 33%;
        display: grid;
        justify-content: center;
        text-align: center;
        align-content: start;

        figure {
            background: #fff;
            margin: 0 auto !important;
            padding: 0;

            img {

            }
        }

        h2 {
            margin: 25px auto 10px;
            font-family: 'Roboto';
            font-size: 26px;
            font-weight: 400;
        }

        small {
            font-size: 18px;
            font-family: 'Roboto';
            font-weight: 400;
            line-height: 1.75;
            max-width: 350px;
        }
    }
}

:root {
    --form-brand: #d88f1d;
    --form-brand-dark: #c27e15;
    --form-text: #333;
    --form-muted: #666;
    --form-border: #e7c37a;
    --form-background: #fff;
}

.form-container {
    max-width: 540px;
    margin: 75px auto 100px;
    padding: 0;

    figure {
        background: #fff;
        padding: 35px 0 0;

        .logo {
            display: block;
            margin: 0 auto;
        }
    }

    form {
        color: var(--form-text);
        background: var(--form-background);

        /* High-contrast focus for keyboard users */
        :focus-visible {
            outline: 3px solid color-mix(in srgb, var(--form-brand) 70%, #000 0%);
            outline-offset: 3px;
            border-radius: 6px;
        }

        .input,
        .checkbox-group label {
            font-size: 16px;
            line-height: 1.2;
        }

        .input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid var(--form-border);
            border-radius: 4px;
            outline: none;
            transition: border-color .15s ease, box-shadow .15s ease;

            &::placeholder {
                color: #9b9b9b;
            }

            &:focus {
                border-color: var(--form-brand);
                box-shadow: 0 0 0 3px color-mix(in srgb, var(--form-brand) 25%, transparent);
            }
        }

        .btn {
            display: block;
            width: 100%;
            max-width: 250px;
            margin: 0 auto;
            padding: 14px 22px;
            background: var(--form-brand);
            color: #fff;
            font-weight: 700;
            letter-spacing: .02em;
            border: 0;
            border-radius: 4px;
            cursor: pointer;
            transition: background .15s ease, transform .02s ease;
            text-transform: uppercase;

            &:hover {
                background: var(--form-brand-dark); 
            }

            &:active {
                transform: translateY(1px); 
            }
        }

        .form-content {
            max-width: 330px;
            margin: 0 auto;
            display: table;
            padding: 50px 0 35px;

            .field {
                margin: 14px 0;
            }

            .group-title {
                margin: 25px 0 10px;
                font-weight: 600;
                color: var(--form-muted);

                &:first-of-type {
                    margin: 50px 0 10px;
                }
            }

            .checkbox-group {
                display: grid;
                gap: 10px;
                margin-bottom: 6px;

                label {
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                    user-select: none;
                }

                .checkbox {
                    appearance: none;
                    width: 20px;
                    height: 20px;
                    border: 2px solid #cfcfcf;
                    border-radius: 4px;
                    margin: 0 10px 0 0;
                    vertical-align: -3px;
                    display: inline-block;
                    position: relative;
                    background: #fff;
                    transition: border-color .15s ease, background .15s ease;

                    &:checked {
                        border-color: var(--form-brand);
                        background: var(--form-brand);

                        &:after {
                            content: "";
                            position: absolute;
                            inset: 0;
                            background:
                                linear-gradient(#fff,#fff) 50% 52% / 55% 2px no-repeat,
                                linear-gradient(#fff,#fff) 50% 52% / 2px 55% no-repeat;
                            transform: rotate(45deg);
                        }
                    }
                }
            }
        }

        .submit-bar {
            padding: 35px 0 0;
            background: #f8f8f8;
            margin: 0 auto;
            display: block;
        }
    }
}

@media screen and (max-width: 900px) {

    .what-you-can-win {
        display: grid;

        .prize {
            width: 100%;

            figure {
                max-width: max-content;
                display: block;
            }
        }
    }
}
