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

body {
    flex: unset;
    background-repeat: no-repeat;
    background-size: cover;
}

.mv-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    width: min(90%, 1500px);
}

.fixed_bg__layer {
    z-index: -1;
}

.mv-container {
    display: flex;
    gap: 30px;
    width: min(100%, 1500px);
    justify-content: center;
}

.mv-form-card {
    background: var(--background);
    padding: 35px;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 20px 60px;
    flex: 1 1 0%;
    animation: 0.6s ease-out 0s 1 normal none running mv-slide-left;
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(1px);
}

.mv-score-card {
    padding: 35px;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 20px 60px;
    flex: 1 1 0%;
    min-width: 280px;
    color: rgb(30, 58, 138);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 11%, transparent 22%) 0% 0% / 200% 200%, rgb(30, 58, 138);
    animation: 0.6s ease-out 0s 1 normal none running mv-slide-right, 12s linear 0s infinite normal none running mv-light;
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.mv-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.mv-score-card .mv-title {
    color: rgb(255, 255, 255);
}

.mv-item-block {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px dashed rgb(232, 232, 232);
}

.mv-item-block:last-of-type {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.mv-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.mv-item-header i {
    font-size: 22px;
}

.mv-inputs-row {
    display: flex;
    gap: 15px;
}

.mv-input-group {
    flex: 1 1 0%;
    position: relative;
}

.mv-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: white;
}

.mv-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mv-currency {
    position: absolute;
    left: 14px;
    font-size: 16px;
    font-weight: 700;
    color: rgb(102, 126, 234);
    z-index: 2;
}

.mv-input-group input {
    width: 100%;
    padding: 14px 14px 14px 36px;
    border-radius: 12px;
    border: 2px solid rgb(224, 224, 224);
    outline: none;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
    color: rgb(51, 51, 51);
    box-sizing: border-box;
    background: rgb(250, 250, 250);
}

.mv-input-group input:focus {
    border-color: rgb(102, 126, 234);
    box-shadow: rgba(102, 126, 234, 0.12) 0px 0px 0px 4px;
    background: rgb(255, 255, 255);
}

.mv-input-group input::placeholder {
    color: rgb(187, 187, 187);
    font-weight: 400;
}

.mv-checkmark {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 18px;
    color: rgb(76, 175, 80);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mv-checkmark.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.mv-error {
    font-size: 12px;
    color: rgb(244, 67, 54);
    margin-top: 8px;
    display: none;
    font-weight: 600;
}

.mv-error.show {
    display: block;
    animation: 0.4s ease 0s 1 normal none running mv-shake;
}

.mv-total-score {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.mv-score-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    animation: 2s ease 0s infinite normal none running mv-pulse;
    display: inline-block;
}

.mv-score-label {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mv-points-breakdown {
    margin-top: 20px;
    padding: 0px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-point-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s;
}

.mv-point-item:hover {
    transform: translateX(4px);
}

.mv-point-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.mv-point-remaining {
    border-top: 2px dashed rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    padding-top: 12px;
}

.mv-point-name {
    font-size: 14px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv-point-name i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.mv-point-value {
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
    transition: 0.3s;
}

.mv-point-toy .mv-point-name i {
    color: rgb(255, 107, 107);
}

.mv-point-bicycle .mv-point-name i {
    color: rgb(254, 202, 87);
}

.mv-point-game .mv-point-name i {
    color: rgb(29, 209, 161);
}

.mv-point-remaining .mv-point-name i {
    color: rgb(255, 215, 0);
}

.mv-proceed-btn {
    margin-top: 30px;
    padding: 16px 50px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: rgba(102, 126, 234, 0.4) 0px 10px 30px;
    animation: 0.6s ease-out 0.3s 1 normal both running mv-slide-up;
    border: 1px solid white;
    background-color: var(--background);
}

.mv-proceed-btn:hover {
    transform: translateY(-3px);
    box-shadow: rgba(102, 126, 234, 0.5) 0px 15px 40px;
}

.mv-proceed-btn:active {
    transform: translateY(-1px);
}

.mv-modal-overlay {
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.mv-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mv-modal-content {
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(248, 249, 255) 100%);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 30px 80px;
    transform: scale(0.8) translateY(30px);
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid rgb(255, 215, 0);
}

.mv-modal-overlay.show .mv-modal-content {
    transform: scale(1) translateY(0px);
}

.mv-modal-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: 1s ease 0s infinite normal none running mv-bounce;
}

.mv-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: rgb(30, 58, 138);
    margin-bottom: 10px;
}

.mv-modal-text {
    font-size: 16px;
    color: rgb(102, 102, 102);
    margin-bottom: 20px;
}

.mv-modal-amount {
    font-size: 48px;
    font-weight: 800;
    color: rgb(39, 174, 96);
    margin-bottom: 25px;
}

.mv-modal-close {
    padding: 14px 40px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 50px;
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mv-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: rgba(102, 126, 234, 0.4) 0px 10px 25px;
}

@keyframes mv-slide-left {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes mv-slide-right {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes mv-light {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 0%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes mv-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes mv-shake {

    0%,
    100% {
        transform: translateX(0px);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes mv-bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes mv-slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .mv-container {
        flex-direction: column;
        align-items: center;
    }

    .mv-form-card,
    .mv-score-card {}
}

@media (max-width: 768px) {
    .mv-page-wrapper {
        padding: 15px;
    }

    .mv-form-card,
    .mv-score-card {
        padding: 25px 20px;
    }

    .mv-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .mv-item-header {
        font-size: 16px;
    }

    .mv-inputs-row {
        gap: 12px;
    }

    .mv-input-group input {
        padding: 12px 12px 12px 32px;
        font-size: 15px;
    }

    .mv-currency {
        font-size: 14px;
        left: 12px;
    }

    .mv-score-number {
        font-size: 40px;
    }

    .mv-proceed-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        padding: 14px;
    }

    .mv-modal-content {
        padding: 35px 25px;
    }

    .mv-modal-amount {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .mv-inputs-row {
        flex-direction: column;
        gap: 10px;
    }

    .mv-form-card,
    .mv-score-card {
        padding: 20px 15px;
        border-radius: 18px;
    }

    .mv-title {
        font-size: 18px;
    }

    .mv-item-header {
        font-size: 15px;
    }

    .mv-item-header i {
        font-size: 18px;
    }

    .mv-input-group label {
        font-size: 12px;
    }

    .mv-point-name {
        font-size: 13px;
    }

    .mv-point-value {
        font-size: 13px;
        padding: 4px 10px;
    }
}


/* ================= GOAL GETTER BADGE ================= */

.mv-goal-badge {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 18px;

    background: #ffff002e;

    border: 1px solid rgba(255, 215, 0, 0.25);

    backdrop-filter: blur(12px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(212, 192, 32, 0.08);
}

.mv-goal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd54f;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.mv-goal-content p {
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
}

.mv-goal-btn {
    padding: 0.7rem 1.2rem;
    /*! border-radius: 12px; */

    background: linear-gradient(135deg, #ffd54f, #ffb300);
    color: #111;

    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;

    transition: 0.25s ease;
    white-space: nowrap;
}

.mv-goal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 193, 7, 0.35);
    color: white;
}
