/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background: #a9c327;
}

/* === Page Layout === */
.page-bg {
    background: #a9c327;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 600px;
    background: #a9c327;
    overflow: hidden;
}

/* === Hero === */
.hero {
    width: 100%;
    position: relative;
}

.hero-img {
    display: block;
    width: 100%;
    /* height: 360px; */
    object-fit: cover;
    object-position: top center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

/* === Banner Strip === */
.banner-strip {
    /* background: #E8391A; */
    /* color: #022D00; */
    /* font-family: Arial, sans-serif; */
    font-weight: 700;
    /* font-size: 11pt; */
    /* letter-spacing: 0.5px; */
    /* text-align: center; */
    /* padding: 7px 16px; */
    /* text-transform: uppercase; */
    width: auto;
    display: table;
    margin: 14px auto;
}

/* === Prize Block === */
.prize-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 16px 8px;
    background: #a9c327;
}

.prize-car {
    width: 100%;
    text-align: center;
}

.prize-car img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.prize-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
}

.prize-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28pt;
    color: #0B2C18;
    letter-spacing: 1px;
    line-height: 1;
    text-align: center;
}

.prize-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20pt;
    color: #0B2C18;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prize-badge {
    display: inline-block;
    background: #0B2C18;
    color: #a9c327;
    font-size: 11pt;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* === Description === */
.description {
    padding: 16px 30px 0;
    background: #a9c327;
}

.description p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14pt;
    color: #0B2C18;
    line-height: 1.3;
    margin-bottom: 10px;
}

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

.description a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14pt;
    color: #0B2C18;
    text-decoration: underline;
}

.description strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* === Form Section === */
.form-section {
    padding: 12px 30px 24px;
    background: #a9c327;
    margin-top: 20px;
}

.field-group {
    margin-bottom: 10px;
}

.field-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11pt;
    color: #0B2C18;
    margin-bottom: 6px;
}

.field-group input {
    display: block;
    width: 100%;
    height: 42px;
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 0px 9px 9px 9px;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #0B2C18;
    outline: none;
    transition: border-color 0.15s, outline 0.15s;
    min-height: 44px;
}

.field-group input:focus,
.field-group select:focus {
    outline: 2px solid #0B2C18;
    outline-offset: 0;
}

.field-group input.is-invalid,
.field-group select.is-invalid {
    border: 1px solid red;
}

.field-group select {
    display: block;
    width: 100%;
    height: 42px;
    min-height: 44px;
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 0px 9px 9px 9px;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #0B2C18;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B2C18' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color 0.15s, outline 0.15s;
}

.error-msg {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11pt;
    color: red;
    margin-top: 3px;
    min-height: 16px;
}

/* === Checkboxes === */
.checkbox-group {
    margin-top: 14px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    min-width: 14px;
    border: 1.5px solid #0B2C18;
    border-radius: 2px;
    background: #fff;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #0B2C18;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    outline: 2px solid #0B2C18;
    outline-offset: 2px;
}

.checkbox-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 9pt;
    color: #0B2C18;
    line-height: 1.3;
}

.checkbox-text a {
    font-weight: 600;
    color: #000
}

/* === Submit Button === */
.submit-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

#submit-btn {
    background: #E8391A;
    color: #FFFFFF;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 14pt;
    letter-spacing: 1px;
    border: none;
    border-radius: 30px;
    height: 48px;
    min-height: 44px;
    width: 200px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

#submit-btn:hover {
    background: #c42e10;
}

#submit-btn:active {
    transform: scale(0.97);
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* === Form Message === */
.form-msg {
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 11pt;
    color: red;
    text-align: center;
    min-height: 20px;
}

/* === Disclaimer === */
.disclaimer {
    margin-top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 9pt;
    color: #0B2C18;
    line-height: 1.3;
    margin-bottom: 16px;
}

.disclaimer strong {
    font-weight: 700;
}

/* === Modals === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-box {
    background: #a7c438ee;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 340px;
    width: 100%;
    text-align: center;
}

.modal-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18pt;
    color: #0B2C18;
    margin-bottom: 12px;
}

.modal-box p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12pt;
    color: #0B2C18;
    line-height: 1.5;
    margin-bottom: 20px;
}

.modal-close {
    background: #E8391A;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 32px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 12pt;
    cursor: pointer;
    transition: background 0.15s;
    min-height: 44px;
}

.modal-close:hover {
    background: #c42e10;
}

/* === Responsive === */
@media only screen and (min-width: 431px) {
    .card {
        box-shadow: 0 23px 44px rgba(0,0,0,0.28);
        margin: 30px 0;
    }

    .banner-strip img {
        width: 350px
    }
}

@media only screen and (max-width: 430px) {
    .hero-img {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }
}
