:root {
    --title-font: 'Mont-Bold', sans-serif;
    --text-font: 'Mont-Regular', sans-serif;
    --art-font: 'Genica-One', cursive;

    --light-green: #d3eac8;
    --dark-green: #005726;
    --success-green: #38fc8d;
    --dark-success-green: #2ed476;
    --gray: #e6e7e8;
    --white: #FFF;
    --dark-gray: #d6d7d7;
    --darker-green: rgb(0, 67, 29);
    --black: #000;
    --background-color: var(--light-green);

    --dark-text: var(--black)
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Mont-Bold';
    src: url('fonts/Mont-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Mont-Regular';
    src: url('fonts/Mont-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Genica-One';
    src: url('fonts/Genica-One.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    overflow-x: hidden;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

body {
    /* overflow-x: hidden; */
    /* overflow-y: auto !important; */
    position: relative;
    background-color: black;
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    /* overscroll-behavior: none; */
    touch-action: pan-down;
}

div.maindiv {
    background-color: var(--background-color);
    position: relative;
    text-align: center;
}



img.imgscene {
    height: 100%;
    width: auto;
}

img.imgscene2 {
    height: auto !important;
    width: 100% !important;
}

div.scene {
    position: relative;
}

.clickables {
    position: absolute;
    cursor: pointer;
    border: 5px solid red;
    background-color: red;
    /* opacity: 0.01; */

}

.decorations {
    position: relative;
    cursor: pointer;
    background-color: transparent;
    width: 100%;
    height: auto;
}

.decorations img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.dytext {
    position: absolute;
    border: 0px solid red;
    background-color: transparent;
    opacity: 1;
    font-family: brb;
    font-weight: bold;
    font-size: 20px;
    color: #6E390D;
    margin-top: 2%;
    text-align: center;
}

.intext {
    position: absolute;
    border: 0px solid red;
    background-color: transparent;
    opacity: 1;
    font-family: brb;
    font-weight: bold;
    font-size: 100%;
    color: #6E390D;
    margin-top: 2%;
    text-align: center;
}

.lbln {
    position: absolute;
    border: 0px solid red;
    background-color: transparent;
    opacity: 1;
    font-family: brb;
    font-weight: bold;
    font-size: 100%;
    color: #6E390D;
    text-align: left;
}

.lblc {
    text-align: center;
}

.btnc {
    color: #6E390D;
}

#shero {
    position: absolute;
    cursor: pointer;
    z-index: 6;
}

#gframe {
    position: absolute;
    background-color: var(--background-color);
    border: 0px solid red;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 🔑 keyframes */
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

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

@keyframes rock-forth {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(20deg);
        /* Rock forward */
    }

    100% {
        transform: rotate(0deg);
        /* Return to main position */
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes enlargeAndMoveUp-Left {
    from {
        transform: rotate(-12.1deg) scale(1) translateY(0) translateX(0);
    }

    to {
        transform: rotate(-10deg) scale(1.3) translateY(-548.6%) translateX(160%);
    }
}

@keyframes enlargeAndMoveUp-Right {
    from {
        transform: rotate(12.7deg) scale(1) translateY(0) translateX(0);
    }

    to {
        transform: rotate(13.6deg) scale(1.3) translateY(-545.5%) translateX(-197%)
    }
}

@keyframes openLeft {
    from {
        transform: rotate(-10deg) scale(1.3) translateY(-548.6%) translateX(160%);
    }

    to {
        transform: rotate(0deg) scale(1.3) translateY(-548.6%) translateX(-17%);
    }
}

@keyframes openRight {
    from {
        transform: rotate(13.6deg) scale(1.3) translateY(-545.5%) translateX(-197%)
    }

    to {
        transform: rotate(0deg) scale(1.3) translateY(-551.5%) translateX(36%);
    }
}


/* 🎯 When #scene2 contains #form, fade out #machine */
#scene2:has(#form) #machine {
    animation: fadeOut 0.8s ease 0.5s forwards;
}

.decorations:has(#form) {
    transform: translateY(100%);
    opacity: 0;
    animation: floatUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
    /* display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start; */
    width: 100%;
    height: 100%;
}

.form-container {
    background-color: white;
    padding: 20px 31px;
    text-align: center;
    position: relative;
}

/* Top jagged edge */
.form-container::before {
    background-image:
        linear-gradient(45deg, #fff 0.5rem, transparent 0),
        linear-gradient(-45deg, #fff 0.5rem, transparent 0);
    background-repeat: repeat-x;
    background-size: 4% 1rem;
    background-position: center top;
    content: '';
    display: block;
    position: absolute;
    top: -1rem;
    left: 0;
    width: 100%;
    height: 1rem;
}

/* Bottom jagged edge */
.form-container::after {
    background-image:
        linear-gradient(135deg, #fff 0.5rem, transparent 0),
        linear-gradient(-135deg, #fff 0.5rem, transparent 0);
    background-repeat: repeat-x;
    background-size: 4% 1rem;
    background-position: center bottom;
    content: '';
    display: block;
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1rem;
}

h2 {
    font-family: var(--title-font);
    color: var(--dark-green);
    font-size: 20px;
    margin-bottom: 0;
}

.desc {
    margin-top: 0;
}

p {
    font-family: var(--text-font);
    color: var(--dark-text);
    font-size: 14px;
    margin-bottom: 18px;
}

.input-group {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensures the label and input are vertically aligned */
}


.input-group input {
    padding: 12px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid var(--gray);
    background-color: #f9f9f9;
    box-sizing: border-box;
    width: 100%;
    /* Make the input field the same width as other inputs */
}

.input-group {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

input,
textarea {
    font-family: var(--text-font);
}

input::placeholder,
textarea::placeholder {
    font-family: var(--text-font);
}


.input-group input[type="file"] {
    display: none;
    /* Hide the default file input button */
}

.input-group .file-label {
    padding: 12px;
    font-size: 16px;
    color: var(--dark-text);
    background-color: var(--gray);
    /* Green button color */
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    font-family: var(--text-font)
}

.input-group .file-label:hover {
    background-color: var(--dark-gray);
}

.input-group .file-label-success {
    background-color: var(--success-green);
    color: white;
}

.input-group .file-label-success:hover {
    background-color: var(--dark-success-green);
}

.file-name-display {
    font-size: 10px;
    font-family: var(--text-font)
}

.input-group:has(#receipt) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.phone-container {
    display: flex;
    width: 100%;
    /* Match the width of the other input fields */
    border-radius: 5px;
    overflow: hidden;
}

.phone-prefix {
    background-color: var(--gray);
    /* Gray background for the prefix */
    color: black;
    /* Black color for the +60 text */
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    /* Gray part takes up 25% of the total width */
    border-radius: 5px 0 0 5px;
    /* Rounded left corner for the gray part */
    border-right: 1px solid var(--gray);
    /* Divider between the prefix and input */
}

.phone-container input {
    width: 75%;
    /* White part takes up 75% of the total width */
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--gray);
    background-color: #f9f9f9;
    box-sizing: border-box;
    border-radius: 0 5px 5px 0 !important;
    /* Rounded right corner for the white part */
}

.phone-container input:focus {
    outline: none;
}

.phone-container input::placeholder {
    color: #888;
}

.fineprint {
    font-size: 16px;
    font-style: italic;

}


.terms-conditions {
    font-family: var(--title-font);
    cursor: pointer;
    font-style: italic;

}

.submit-btn {
    background-color: var(--dark-green);
    color: var(--white);
    font-size: 18px;
    padding: 15px 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 50%;
}

.submit-btn:hover {
    background-color: var(--darker-green)
}


.submit-btn:disabled {
    background-color: var(--darker-green);
    cursor: not-allowed;
    opacity: 0.7;

}


#arrow {
    display: block;
    margin: 0 auto;
    animation: blink 2s infinite;
    transform-origin: center;
}

.swipe-instruction p {
    font-size: 35px;
    color: var(--dark-green);
    animation: blink 2s infinite;
}

#left-half {
    transform: rotate(-12deg);
}

#right-half {
    transform: rotate(12.4deg);
}

#left-half {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards, enlargeAndMoveUp-Left 0.5s ease forwards, openLeft 0.6s ease forwards;
    animation-delay: 0.5s, 2.1s, 3.3s;
}

#right-half {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards, enlargeAndMoveUp-Right 0.5s ease forwards, openRight 0.6s ease forwards;
    animation-delay: 0.5s, 2.1s, 3.3s;
}

#scene4 #machine,
#door {
    animation: fadeOut 0.8s ease forwards;
    animation-delay: 1.3s;
}

.subscene-5 {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 4s;
}

#scene-bg.fade-in {
    animation: fadeIn 1s ease forwards;
}

.scene-background {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.prize-title h2 {
    font-size: 36px;
    margin-top: 0%;
    text-transform: uppercase;
}

.prize-subtitle h2 {
    font-size: 30px;
    margin-top: 0%;
    text-transform: uppercase;
}

.prize-name h2 {
    font-size: 15px;
    margin-bottom: 2%;
    color: var(--dark-text)
}

.prize-congrats h2 {
    font-size: 75%;
    margin-top: 10%;
    text-align: left;
}

.prize-text ul {
    list-style-type: disc;
    margin: 0 0 10% 0;
    text-align: left;
    padding-left: 20px;
    color: var(--dark-green);
}

.prize-text li {
    font-size: 70%;
}

.prize-text p {
    text-align: left
}

.footer-text h2 {
    font-size: 15px;
    font-family: var(--title-font);
    background-color: rgba(255, 255, 255, 0.6);
    padding: 4% 8%;
    border-radius: 100px;
    display: inline-block;
    margin: 0;
    line-height: 1;
}

.footer-text.button-mode {
    background-color: white;
    font-size: 90%;
    padding: 4% 8%;
    border-radius: 100px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.footer-text.button-mode:hover {
    background-color: #f0f0f0;
}

.footer-text.button-mode h2 {
    padding: 0;
    margin: 0;
    font-family: var(--title-font);
    background-color: transparent;
}

.pill-button {
    background-color: transparent;
    font-family: var(--title-font);
    color: var(--dark-green);
    border-radius: 100px;
    padding-top: 4px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    margin: 0;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.error-message {
    display: none;
    font-size: 14px;
    margin-bottom: 0px;
}

.error-message p {
    color: red;
    font-family: var(--text-font);
    margin-top: 0px;
    margin-bottom: 0px;
}

.flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
}

.image {
    width: 100%;
    height: auto;
    /* Image scales dynamically */
}

.text-content {
    position: relative;
    margin-top: -50px;
    /* Pull text over the image */
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Start invisible */
    transition: opacity 1s ease-in-out;
    /* Smooth fade-in */
    z-index: -1;
    /* Behind other content */
}

.background-image.fade-in {
    opacity: 1;
    /* Fully visible on fade-in */
}

.prize-footer {
    margin-top: 5%;
}

.bold {
    font-family: var(--title-font);
    font-size: 90%;
}

.popup-overlay {
    display: none;
    position: absolute;
    top: -31%;
    left: 0;
    width: 100%;
    height: 131%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    width: 80%;
    max-width: 400px;
    margin-top: 15%;
}

.popup-content h2 {
    /* margin-bottom: 16.6px; */
    font-size: 12.5px;
    padding-top:3px;
}

.owl-carousel {
    width: 100%;
    max-width: 350px;
    margin: auto;
}

.carousel-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Apply a consistent font family to all receipt text */
.receipt-container {
    width: 100%;
    margin-top: 20px;
    font-family: var(--title-font);
    /* Change this to your preferred font */
    font-size: 14px;
    color: var(--dark-text);

}

/* Gray section container */
.steps-container {
    background: #f0f0f0; /* Light gray background */
    padding: 25px 15px 5px 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Individual step item */
.step-item {
    display: flex;
    align-items: flex-start !important;
    text-align: left;
    margin-bottom: 15px;
}

/* Default circle styling */
.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    background: #25d366; 
}

.credit-card-circle .fa-credit-card {
    font-size: 20px; /* Adjust credit card icon size */
}

.whatsapp-circle .fa-whatsapp {
    font-size: 28px; /* Adjust WhatsApp icon size */
}


/* Text next to icon (Steps) */
.more-details-step {
    font-size: 14px;
    color: var(--dark-text); /* Dark text */
    font-family: var(--text-font); 
    text-align: start;
}

.step-item .bold {
    font-size: 97%;
}

/* Remove underline and set black color for all links inside .step-item */
.step-item a {
    text-decoration: none; /* Removes underline */
    color: var(--dark-text);
}

/* Optional: Ensure it stays the same on hover */
.step-item a:hover {
    text-decoration: none; 
    color: #353434;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.receipt-divider {
    border-top: 1px solid var(--dark-text);
    margin: 10px 0;
}

.receipt-item.total .price {
    color: var(--dark-green)
}

.steps-container-header {
    position: relative;
    margin: 0% 10% -10% 10%;
    font-family: var(--title-font);
    background-color: var(--dark-green);
    color: white;
    padding: 6px 17px;
    border-radius: 50px;
    font-size: 13px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}



@media (min-width: 575px) {
    .prize-congrats h2 {
        font-size: 95%;
    }

    .prize-text li {
        font-size: 90%;
    }

    .popup-content h2 {
        font-size: 20px;
    }
}


@media (max-width: 610px) {
    .prize-title h2 {
        font-size: 17px;
    }

    .prize-subtitle h2 {
        font-size: 11px;
    }

    .step-item {
        gap: 5%;
    }
}

/* Hide scrollbar for Chrome, Safari, Edge */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.no-scrollbar {
    scrollbar-width: none;
}