@font-face {
    font-family: 'Camel';
    src: url('../font/camel/Camel-Regular.eot');
    src: url('../font/camel/Camel-Regular.eot?#iefix') format('embedded-opentype'),
        url('../font/camel/Camel-Regular.woff2') format('woff2'),
        url('../font/camel/Camel-Regular.woff') format('woff'),
        url('../font/camel/Camel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'consolas';
    src: url('../font/code/Consolas.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#reward-code {
    font-family: 'consolas';
}

body {
    font-family: 'Camel', sans-serif;
    background-size: cover;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    height: 115vh;
    overflow: hidden;
}

body.default-bg {
    background: #fff;
}

.step {
    display: none;
}

.desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.message-desktop {
    color: #1A417D;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}


@media (max-width: 760px) {

    .desktop {
        display: none;
    }

    /* Default background (will be overridden by step-specific classes) */
    body.default-bg {
        background: url('../images/step1.png') no-repeat center center;
        background-size: cover;
    }

    .step {
        display: none;
    }

    .step.active {
        display: flex;
        height: 68vh;
        align-items: center;
        justify-content: center;
    }

    .step.active.first {
        display: flex;
        height: 90vh;
        align-items: center;
        justify-content: center;
    }

    .step.active.pret {
        display: flex;
        height: 98vh;
        ;
        align-items: center;
        justify-content: center;
    }

    .step-card-pret {
        display: flex;
        height: 95vh;
        align-items: center;
        justify-content: center;
    }

    .step.active.register {
        display: flex;
        height: 60vh;
        align-items: center;
        justify-content: center;
    }

    .step.active.scratch {
        display: flex;
        height: 45vh;
        align-items: center;
        justify-content: center;
    }

    .step.active.congrats {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step.active.thank {
        display: flex;
        height: 50vh;
        align-items: center;
        justify-content: center;
    }

    .step-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .step-card3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .step-card5 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .step-card6b {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .neumorphic-card {
        width: 100%;
        height: 40vh;
    }

    .neumorphic-card-step-3 {
        width: 100%;
        height: 65vh;
    }

    .neumorphic-card-step-3-two {
        width: 100%;
        height: 40vh;
    }


    .experience {
        font-size: 36px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .fancy-checkbox {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        position: relative;
    }

    .fancy-checkbox input {
        opacity: 0;
        position: absolute;
    }

    .custom-checkmark {
        width: 30px;
        height: 30px;
        position: relative;
        margin-right: 5px;
        border: #ffffff solid 1px;
    }

    .custom-checkmark2 {
        width: 46px;
        height: 30px;
        position: relative;
        margin-right: 5px;
        border: #ffffff solid 1px;
    }

    .custom-checkmark::after {
        content: "";
        position: absolute;
        display: none;
        left: 10px;
        top: 6px;
        width: 8px;
        height: 12px;
        border: solid #FFD700;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .custom-checkmark2::after {
        content: "";
        position: absolute;
        display: none;
        left: 10px;
        top: 6px;
        width: 8px;
        height: 12px;
        border: solid #FFD700;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .fancy-checkbox input:checked+.custom-checkmark::after {
        display: block;
    }

    .fancy-checkbox input:checked+.custom-checkmark2::after {
        display: block;
    }

    .checkbox-label {
        font-weight: 800;
        color: #ffffff;
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    .gender-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 3rem;
    }

    .welcome-text {
        font-size: 30px;
        line-height: 2;
    }

    .Register-text {
        font-size: 28px;
        line-height: 1.5;
        font-weight: bold;
        color: #ffffff;
        width: 100%;
    }

    .register-img-container {
        padding-bottom: 20px;
    }

    .ready-text {
        font-size: 40px;
        color: #FFD700;
    }

    .scratch-text {
        font-size: 28px;
    }

    .congrats-text {
        font-size: 28px;
        line-height: 1.8;
    }

    .thank-text {
        font-size: 28px;
        line-height: 1.8;
    }

    .next-btn {
        width: 100px;
        flex: 1;
        margin: 0 5px;
        background: #FFD700;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #1A417D;
        font-size: 20px;
        transition: transform 0.2s ease;
    }

    .get-code-btn {
        width: 200px;
        flex: 1;
        margin: 0 5px;
        background: #FFD700;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #1A417D;
        font-size: 16px;
        transition: transform 0.2s ease;
    }

    .arrived-button {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }

    .locations-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .card-digital-loca {
        background: #f7eade;
        padding: 15px 10px;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        border: none;
        border-radius: 14px;
        font-weight: 800;
        color: #9b642b;
        font-size: 12px;
    }

    .female-btn {
        width: auto;
        flex: 1;
        margin: 0 5px;
        background: #FFD700;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #1A417D;
        font-size: 25px;
        transition: transform 0.2s ease;
    }

    .male-btn {
        width: auto;
        flex: 1;
        margin: 0 5px;
        background: #1A417D;
        border: none;
        border-radius: 14px;
        padding: 10px 10px;
        font-weight: 800;
        color: #FFD700;
        font-size: 20px;
        transition: transform 0.2s ease;
    }

    .arrived-btn {
        width: 100%;
        flex: 1;
        margin: 0 5px;
        background: #3d6193;
        border: none;
        white-space: nowrap;
        border-radius: 14px;
        padding: 10px 35px;
        font-weight: bold;
        color: #ffffff;
        font-size: 18px;
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.9), inset 0 -4px 8px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.04);
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .space,
    space1,
    space2 {
        padding-top: 15px;
    }

    .gender-btn:hover {
        transform: scale(1.05);
    }

    /* Fade animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeOut {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }

    .animate-fade-in {
        animation: fadeIn 0.4s forwards;
    }

    .animate-fade-out {
        animation: fadeOut 0.4s forwards;
    }

    .img-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        max-width: 90%;
        max-height: 80%;
        margin: auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
    }



    p.message-click {
        font-size: 12px;
        font-weight: 300;
        margin-bottom: 0;
        padding-top: 15px;
    }

    .popup-content {
        background: #1A417D;
        padding: 20px 30px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        font-size: 16px;
    }

    #popup-message {
        font-size: 20px;
    }

    .popup-content button {
        margin-top: 10px;
        padding: 8px 20px;
        border: none;
        border-radius: 6px;
        background-color: #FFD700;
        color: black;
        font-weight: bold;
        cursor: pointer;
    }

    .gold-code {
        color: #FFD700 !important;
        font-weight: bold;
    }

    .popup-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;    
        align-items: center;
        z-index: 1000;
    }

    .popup-content {
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        max-width: 80%;
        text-align: center;
    }

    .popup-content button {
        margin-top: 15px;
        padding: 8px 20px;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .popup-content strong {
        color: #e74c3c;
        font-size: 1.2em;
    }
}