html {
    min-height: 100%;
}

body.bg-color-blue {
    min-height: 100vh;
    background-image: url('../images/powerade-background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #18AAE4;
}

body.bg-checklist {
    background-image: url('../images/checklist_background.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: calc(min(100vw, 390px) * (1920 / 1080));
}

:root {
    --white: #fff;
    --black: #000;
    --strong-red: #f40000;
    --bg-blue: #059BD7;
    --distinct-base-space-border-unit-default: .0625rem;
    --distinct-button-space-border-radius-default: 8px;
}

.parsley-errors-list {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    transition: all .3s ease-in;
}
.parsley-errors-list.filled {
    opacity: 1;
}
.parsley-errors-list li {
    color: var(--white);
    font-size: 13px;
    line-height: 1.4;
    font-family: 'NeueDIN', sans-serif;
    font-weight: 400;
}
input.parsley-error,
select.parsley-error {
    border: 2px solid red !important;
}

.form-control::placeholder {
    color: var(--bg-blue) !important;
    opacity: 1;
    font-weight: bold;
    text-transform: uppercase;
}
.form-control {
    color: var(--black) !important;
}

select,
select.form-control,
select.form-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important;
}

@font-face {
    font-family: 'Druk Wide';
    src: url('../font/Druk-WideMedium.woff2') format('woff2'),
         url('../font/Druk-WideMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druk';
    src: url('../font/Druk-BoldItalic.woff2') format('woff2'),
         url('../font/Druk-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Druk';
    src: url('../font/Druk-MediumItalic.woff2') format('woff2'),
         url('../font/Druk-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Druk Cond';
    src: url('../font/DrukCond-Super.woff2') format('woff2'),
         url('../font/DrukCond-Super.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druk Cond';
    src: url('../font/DrukCond-SuperItalic.woff2') format('woff2'),
         url('../font/DrukCond-SuperItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'NeueDIN';
    src: url('../font/NeueDIN-Regular.woff2') format('woff2'),
         url('../font/NeueDIN-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vasarely';
    src: url('../font/Vasarely_PWRbold.woff2') format('woff2'),
         url('../font/Vasarely_PWRbold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Background lock watermark ── */
.bg-lock {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.7);
}

/* ── Layout ── */
.powerade-fanfest-festival {
    min-height: 100vh;
    /* clip, not hidden: hidden turns overflow-y into auto, which makes this
       div a second scroll container when the legacy watermark image pokes
       below it (double scrollbar). clip contains the swiper slides without
       creating a scroller. hidden kept as fallback for pre-2022 browsers. */
    overflow-x: hidden;
    overflow-x: clip;
}

.qr-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.container-wrap {
    max-width: 390px;
    margin: 0 auto;
    width: 100%;
    background: transparent !important;
}

.powerade-fanfest-registration {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px 20px 16px;
}

/* ── Logo ── */
.brand-logo {
    padding: 10px 0 0;
    text-align: center;
}

.brand-logo img {
    max-height: 42px;
    height: auto;
    width: auto;
    max-width: 100%;
    margin-top: 20px;
}

/* ── Headline ── */
.page-headline {
    margin: 20px 0 24px;
}

.headline-sub {
    font-family: 'Druk Wide';
    font-weight: 500;
    color: var(--white);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 2px;
    text-align: center;
    margin-bottom: 18px;
}

.headline-sub-two {
    font-family: 'Druk Wide';
    font-weight: bold;
    color: var(--white);
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 2px;
    text-align: center;
    margin-bottom: 8px;
    font-style: italic;
}

.headline-main {
    font-family: 'Vasarely', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: 62px;
    line-height: 0.9;
    text-transform: uppercase;
    margin: 0 0 18px;
    text-align: center;
}

.headline-desc {
    font-family: 'NeueDIN', sans-serif;
    color: var(--white);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
    margin: 0;
    padding: 0 44px;
    margin-bottom: 35px;
}

/* ── Form layout ── */
.powerade-fanfest-registration-form {
    flex: 1;
}

#step-team {
    flex: 1;
}

.form-info {
    margin-bottom: 10px;
}

/* ── Inputs ── */
.powerade-fanfest-registration .form-control {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.40), rgba(255, 255, 255, 0.22)) !important;
    border: none !important;
    color: var(--white) !important;
    border-radius: 4px;
    height: 48px;
    padding: 0 16px;
    font-family: 'NeueDIN', sans-serif;
    font-size: 15px;
}

.powerade-fanfest-registration .form-control::placeholder {
    color: rgba(255, 255, 255, 0.65) !important;
    font-weight: 400;
    text-transform: none;
}

/* ── Minor cards ── */
.minor-card {
    background: transparent;
}

.minor-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.minor-form-info {
    margin-bottom: 0;
}

/* ── ADD MINOR / REMOVE buttons ── */
.btn-add-teammate {
    background: linear-gradient(to right, rgba(10, 55, 160, 0.50), rgba(15, 80, 200, 0.35));
    border: none;
    color: var(--white);
    font-family: 'Druk Wide', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 14px 40px;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-add-teammate:hover {
    background: linear-gradient(to right, rgba(10, 55, 160, 1.0), rgba(15, 80, 200, 0.85));
}

.btn-add-teammate:focus,
.btn-add-teammate:focus-visible,
.btn-add-teammate:active {
    background: linear-gradient(to right, rgba(10, 55, 160, 0.50), rgba(15, 80, 200, 0.35));
    outline: none;
    box-shadow: none;
}

.btn-remove-teammate {
    font-size: 11px;
    padding: 8px 24px;
}

/* ── Submit section ── */
.submit-info {
    margin-top: auto;
    padding-top: 28px;
}

.submit-btn {
    background: var(--white);
    border: none;
    color: #0c1f6e;
    font-family: 'Druk Wide', sans-serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.06em;
    padding: 18px 48px;
    border-radius: 10px;
    width: 65%;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.submit-btn:hover {
    background: #f0f0f0;
}

/* ── Error messages ── */
.pwr-step-error {
    color: #ffcccc;
    font-family: 'NeueDIN', sans-serif;
    font-size: 13px;
}

/* ── Person name & divider ── */
.person-name {
    font-family: 'Druk Wide', sans-serif;
    font-weight: 500;
    color: var(--white);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    margin: 16px 0 8px;
}

.person-divider {
    display: block;
    width: 80%;
    margin: 24px auto;
}

/* ── Entries badge ── */
.entries-badge-wrap {
    display: flex;
    justify-content: center;
    margin: 0 0 5px;
}

.entries-badge {
    display: inline-block;
    background: var(--white);
    color: #2860dd;
    font-family: 'Druk', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 30px;
    letter-spacing: 0px;
    text-transform: uppercase;
    padding: 0px 14px;
    transform: skewX(-10deg);
    border-radius: 5px;
}

.entries-badge span {
    display: inline-block;
}

.entries-badge .entries-count {
    letter-spacing: 1px;
    margin-left: 1px;
}

.entries-badge .entries-total {
    font-size: 20px;
}

/* ── Checklist section ── */
.checklist-section {
    padding: 16px 20px 24px;
}

.checklist-label {
    font-family: 'NeueDIN', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    margin: 0 0 12px;
}

.task-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.task-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, rgba(10, 55, 160, 0.60), rgba(15, 80, 200, 0.40));
    border-radius: 8px;
    padding: 6px 14px;
    width: 90%;
    margin: 0 auto;
    padding-left: 9px;
    overflow: hidden;
}

.task-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.task-entry-label {
    font-family: 'NeueDIN', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.task-title {
    font-family: 'Druk', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    color: var(--white);
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.task-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── Legacy section ── */
.legacy-section {
    padding: 24px 20px 0;
    text-align: center;
}

.legacy-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legacy-watermark {
    position: absolute;
    top: 61%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.legacy-badge {
    position: relative;
    z-index: 1;
    width: 62%;
    display: block;
}

/* ── Photos peek carousel ── */
.photos-carousel-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 46px;
}

.single-photo {
    display: block;
    width: 60%;
    margin: 0 auto 46px;
    z-index: 1;
}

.photos-swiper .swiper-slide {
    width: 60%;
}

.photos-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

div.swiper {
    overflow: visible;
}

.legacy-qr {
    position: relative;
    z-index: 1;
    width: 41%;
    display: block;
    margin-bottom: 75px;
    background: var(--white);
    padding: 8px;
    border-radius: 6px;
}

.legacy-trademark {
    font-family: 'NeueDIN', sans-serif;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 16px;
    text-align: center;
}

/* ── Incomplete task card ── */
.task-incomplete-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 45%;
    min-height: 60px;
}

.task-lock-icon {
    position: absolute;
    width: 60px;
    height: 110px;
    top: 50%;
    left: -8%;
    transform: translate(-50%, -50%);
    filter: brightness(0.7);
}

.task-desc {
    font-family: 'NeueDIN', sans-serif;
    font-size: 10px;
    color: var(--white);
    text-align: right;
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 1;
    align-self: flex-end;
    text-wrap: balance;
}

/* ── Incomplete tasks / Congrats badge ── */
.incomplete-section {
    padding-top: 8px;
}

.congrats-badge {
    background: linear-gradient(to right, rgba(10, 55, 160, 0.60), rgba(15, 80, 200, 0.40));
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.congrats-title {
    font-family: 'Druk', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 4px;
}

.congrats-sub {
    font-family: 'NeueDIN', sans-serif;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0 21px;
}

/* ── Landing buttons ── */
.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px 0;
}

.btn-landing {
    display: block;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Druk Wide', sans-serif;
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #102c76;
    text-decoration: none;
    border: none;
    border-radius: 16px;
    padding: 10px 20px;
    background: var(--white);
}

.btn-landing:hover,
.btn-landing:focus {
    color: #102c76;
    background: #f0f0f0;
    text-decoration: none;
}

/* ── Bottom trademark ── */
.bottom-text {
    margin-top: auto;
    padding: 16px 20px 12px;
}

.bottom-text p {
    font-family: 'NeueDIN', sans-serif;
    font-size: 7px;
    color: white;
}

#photosCarousel {
    margin-bottom: 40px;
}
