@font-face {
    font-family: "Colby";
    src: url("/fonts/Colby-CdBlk.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BigShoulders";
    src: url("/fonts/BigShoulders-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Bernhard-Heavy";
    src: url("/fonts/BernhardGothicURW-Heavy.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "CampaignImpact";
    src: url("/fonts/impact.ttf?v=20260817-2") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --campaign-blue: #0868ad;
    --campaign-dark-blue: #07599b;
    --campaign-yellow: #ffe26c;
    --campaign-text-blue: #07579c;
    --campaign-pink: #f39daa;
    --digital-shape-yellow: #ffe26c;
    --campaign-green: #A2C517;

}


html, body {
    min-height: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--campaign-yellow);
}


h1, h2, h3, h4, h5 {
    font-family: "Bernhard-Heavy", sans-serif;
}

label {
    font-family: "Bernhard-Heavy", sans-serif;
}

h6 {
    font-family: "elza", sans-serif;
    font-size: 16px;
}



.blue-color-h3 {
    width: 100%;
    max-width: 650px;
    margin: 0;
    color: var(--campaign-blue);
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.5px;
}

.blue-color-h5 {
    width: 100%;
    max-width: 650px;
    margin: 0;
    color: var(--campaign-blue);
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.5px;
}

.blue-color-h6 {
    width: 100%;
    margin: 0;
    color: var(--campaign-blue);
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: 20px;
    font-weight: 200;
    line-height: 1.08;
    letter-spacing: 0.5px;
}


.campaign-input.is-invalid {
    box-shadow: 0 0 0 4px rgba(255, 223, 0, .65);
}

.campaign-upload-label.is-invalid {
    box-shadow: 0 0 0 4px rgba(255, 223, 0, .65);
}

.participation-page {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: var(--campaign-yellow);
}

/* HEADER */

.campaign-header {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 185px;
    margin-bottom: -40px;
    overflow: hidden;
    background: transparent;
}

.campaign-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -6%;
    z-index: 1;
    width: 112%;
    height: 100%;
    background: linear-gradient(90deg, #1c67aa 0%, #0789f2 50%, #1c67aa 100%);
    border-radius: 0 0 50% 50% / 0 0 50% 50%;
}

.campaign-header::after {
    display: none;
}

.campaign-header .container {
    position: relative;
    z-index: 2;
    height: 145px;
}

.campaign-ribbon {
    position: absolute;
    left: 50%;
    bottom: 46px;
    z-index: 3;
    width: min(410px, 75vw);
    height: auto;
    transform: translateX(-50%);
}

/* MOBIL ȘI TABLETĂ */

@media (max-width: 991.98px) {
    .campaign-header {
        height: 160px;
        margin-bottom: -34px;
    }

    .campaign-header::before {
        left: -8%;
        width: 116%;
        border-radius: 0 0 50% 50% / 0 0 28% 28%;
    }

    .campaign-header .container {
        height: 125px;
    }

    .campaign-ribbon {
        bottom: -28px;
        width: 330px;
    }
}

@media (max-width: 575.98px) {
    .campaign-header {
        height: 138px;
        margin-bottom: -28px;
    }

    .campaign-header::before {
        left: -10%;
        width: 120%;
        border-radius: 0 0 50% 50% / 0 0 22% 22%;
    }

    .campaign-header .container {
        height: 105px;
    }

    .campaign-ribbon {
        bottom: 34px;
        width: 270px;
    }
}


/* HEADER */

.participation-header {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 160px;
    background: linear-gradient(90deg, #1d67a7 0%, #078af1 50%, #1d67a7 100%);
}

.participation-header::after {
    content: "";
    position: absolute;
    left: -5%;
    bottom: -58px;
    z-index: 1;
    width: 110%;
    height: 115px;
    background: linear-gradient(90deg, #1d67a7 0%, #078af1 50%, #1d67a7 100%);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.participation-header .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.campaign-logo {
    position: relative;
    z-index: 4;
    width: min(410px, 80vw);
    max-height: 150px;
    object-fit: contain;
}

.campaign-logo-play {
    position: relative;
    z-index: 4;
    max-height: 250px;
    object-fit: contain;
}

/* BACKGROUND GALBEN */

.participation-main {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 255px);
    padding: 105px 0 25px;
    background-color: var(--campaign-yellow);
    background-image: url('/images/game/pattern-background-y.webp');
    background-repeat: repeat;
    background-position: top center;
    background-size: 420px auto;
}

.participation-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 226, 108, .1);
    pointer-events: none;
}

.participation-main > .container {
    position: relative;
    z-index: 2;
}

/* FORMULAR */

.form-shell {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 35px;
    background: var(--campaign-blue);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .22);
}

.form-panel {
    position: relative;
    overflow: hidden;
    padding: 26px 34px 22px;
    border: 11px solid #07599b;
    border-radius: 21px;
    background: linear-gradient(180deg, #0879c5 0%, #0769b0 100%);
}

.form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/game/pattern-background-b.png');
    background-repeat: repeat;
    background-position: center;
    background-size: 310px auto;
    opacity: .9;
    pointer-events: none;
}

.form-panel > * {
    position: relative;
    z-index: 1;
}

.form-title {
    margin-bottom: 22px;
    color: #fff;
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.campaign-input,
.campaign-upload-label {
    width: 100%;
    min-height: 48px;
    padding: 11px 16px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    color: var(--campaign-text-blue);
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: 1.05rem;
    box-shadow: none;
}

.campaign-input::placeholder {
    color: var(--campaign-text-blue);
    opacity: 1;
}

.campaign-input:focus {
    border: 0;
    background: #fff;
    color: var(--campaign-text-blue);
    box-shadow: 0 0 0 4px rgba(255, 226, 108, .35);
}

.campaign-upload-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.campaign-upload-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .12);
}

.uploaded-file-name {
    display: block;
    margin-top: 6px;
    overflow: hidden;
    color: #fff;
    font-size: .8rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* CHECKBOXURI */

.campaign-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
}

.campaign-check .form-check-input {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    margin: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: none;
    cursor: pointer;
}

.campaign-check .form-check-input:checked {
    border-color: #fff;
    background-color: #ffdf00;
    background-image: none;
    box-shadow: inset 0 0 0 5px #fff;
}

.campaign-check .form-check-label {
    padding-top: 2px;
    color: #fff;
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: .95rem;
    line-height: 1.1;
    text-align: left;
    text-transform: none;
    cursor: pointer;
}

.campaign-check .form-check-label a {
    color: #fff;
    text-decoration: underline;
}

/* BUTON */

.submit-button {
    min-width: 115px;
    padding: 13px 24px;
    border: 3px solid #fff;
    border-radius: 17px;
    background: #fff;
    color: var(--campaign-text-blue);
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.submit-button:hover,
.submit-button:focus {
    border-color: #ffdf00;
    background: #ffdf00;
    color: var(--campaign-text-blue);
    transform: translateY(-3px);
}

.submit-button:disabled,
.submit-button.disabled-button {
    border-color: #aaa;
    background: #aaa;
    color: #666;
    cursor: not-allowed;
    opacity: .7;
    transform: none;
}

/* ERORI */

.form-error {
    display: block;
    margin: 4px 4px 0;
    color: #ffdf00;
    font-family: Arial, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-align: left;
}

/* NOTE */

.form-notes {
    max-width: 690px;
    margin: 75px auto 25px;
    color: var(--campaign-text-blue);
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: .82rem;
    line-height: 1.15;
    text-align: center;
}

/* FOOTER */

.participation-footer {
    width: 100%;
    padding: 0px 0 12px;
}

.footer-copyright {
    color: #fff;
    font-size: .75rem;
}

.footer-link,
.footer-separator {
    color: #fff;
    font-family: "CampaignImpact", Impact, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-link:hover {
    color: var(--campaign-text-blue);
}

.footer-separator {
    display: inline-block;
    margin: 0 7px;
}

@media (max-width: 991.98px) {
    .participation-header {
        height: 215px;
    }

    .participation-header::after {
        bottom: -43px;
        height: 85px;
    }

    .campaign-logo {
        width: 340px;
    }

    .participation-main {
        min-height: calc(100vh - 215px);
        padding-top: 90px;
    }
}

@media (max-width: 575.98px) {
    .participation-header {
        height: 175px;
    }

    .participation-header::after {
        bottom: -32px;
        height: 63px;
    }

    .campaign-logo {
        width: 280px;
    }

    .participation-main {
        min-height: calc(100vh - 175px);
        padding: 70px 12px 20px;
        background-size: 300px auto;
    }

    .form-shell {
        padding: 15px;
        border-radius: 28px;
    }

    .form-panel {
        padding: 24px 17px 20px;
        border-width: 8px;
        border-radius: 18px;
    }

    .form-title {
        font-size: 1.55rem;
    }

    .campaign-input,
    .campaign-upload-label {
        min-height: 46px;
        padding: 10px 14px;
        font-size: .95rem;
    }

    .campaign-check .form-check-input {
        width: 24px;
        height: 24px;
    }

    .campaign-check .form-check-label {
        font-size: .82rem;
    }

    .form-notes {
        font-size: .7rem;
    }

    .participation-footer .row {
        row-gap: 8px;
    }

    .footer-link,
    .footer-separator {
        font-size: .78rem;
    }
}

.age-footer {
    padding-top: 0px;
}

.footer-logo {
    width: 65px;
}
