/*=============== FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Blinker:wght@100;200;300;400;600;700;800;900&display=swap');

@font-face {
    font-family: 'browoodregular';
    src: url('../fonts/browood-regular-webfont.woff2') format('woff2'),
        url('../fonts/browood-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*=============== VARIABLES CSS ===============*/
:root {
    --thm-font: "Blinker", sans-serif;
    --thm-secondary-font: 'browoodregular';
    --thm-white: #ffffff;
    --thm-black: #000000;
    --thm-black-rgb: 0, 0, 0;
    --thm-cream: #FFEEC0;
    --thm-orange: #EA7E26;
    --thm-brown: #6D3917;
    --thm-blue: #1D2E5E;
    --thm-red: #D7292C;
    --thm-yellow: #FCDC47;
    --thm-gray: #71708B;
}

/*=============== BASE ===============*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    font-family: var(--thm-font);
    color: var(--thm-text);
    font-size: 16px;
    margin: 0;
    padding: 0;
}

a:active,
a:hover,
a:focus,
a:visited {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    font-style: normal;
    line-height: 1.4;
    text-shadow: 0 0 1px var(--thm-text);
}

img {
    vertical-align: middle;
    border-style: none;
}

p {
    font-size: 16px;
    line-height: 1.2;
    color: var(--thm-text);
    font-family: var(--thm-font);
    margin-top: 0;
    margin-bottom: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.text-start {
    text-align: start;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: end;
}

.d-flex {
    display: flex;
}

.justify-content-sb {
    justify-content: space-between;
}

.mt-0 {
    margin-top: 0rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.text-uppercase {
    text-transform: uppercase;
}

.w-100 {
    width: 100%;
    height: auto;
}

/*=============== CUSTOM CSS STARTS ===============*/

.page-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-width: 300px;
    /* overflow: hidden; */
    background: linear-gradient(180deg, rgba(66, 222, 212, 1) 0%, rgba(33, 112, 232, 1) 100%);
}

.main-wrapper {
    position: relative;
    width: 100%;
    max-width: 576px;
    height: 100dvh;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(66, 222, 212, 1) 0%, rgba(33, 112, 232, 1) 100%);
}

.main-bg {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}

.full-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.top-cloud {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 128px;
    width: 100%;
    height: auto;
    z-index: 1;
}

.container-main {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
    height: calc(100% - 48px);
}

.logo-splash-box {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
}

.logo-splash {
    max-width: 80px;
    width: 100%;
    height: auto;
}

.unleash-naruto {
    max-width: 140px;
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.top-naruto {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 1rem;
}

.right-cloud {
    position: absolute;
    top: -24px;
    right: -22px;
    max-width: 50px;
    width: 100%;
    height: auto;
    z-index: 1;
}

.mid-naruto-box {
    position: relative;
    display: inline-block;
}

.naruto {
    max-width: 88%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.lrg-cont .naruto {
    max-width: 58%;
}

/* Left Image */
.mid-naruto-box::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 12px;
    width: 90px;
    height: 90px;
    background: url("../images/blue-biscuit.svg") no-repeat center center;
    background-size: contain;
    display: none;
}

/* Right Image */
.mid-naruto-box::after {
    content: "";
    position: absolute;
    right: -34px;
    top: 12px;
    width: 105px;
    height: 105px;
    background: url("../images/yellow-biscuit.svg") no-repeat center center;
    background-size: contain;
    display: none;
}

.text-bar {
    max-width: 240px;
    width: 100%;
    background-color: #fff2ed;
    border: 2px solid var(--thm-black);
    border-radius: 8px;
    padding: 10px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    margin-top: -25px;

    /* Only bottom + left inset shadow */
    box-shadow:
        inset 0 -3px 0 #c7a397,
        /* bottom shadow */
        inset 3px 0 0 #c7a397;
    /* left shadow */
}

.text-bar h2 {
    font-family: var(--thm-secondary-font);
    font-size: 1.28rem;
    font-style: normal;
    line-height: 1.2;
    font-weight: 400;
    margin: 0;

    color: #FCDC47;
    -webkit-text-stroke-width: 1.2px;
    -webkit-text-stroke-color: #312C8D;
}

.text-content {
    max-width: 250px;
    width: 100%;
    padding: 0;
    position: relative;
    padding-bottom: 1rem;
}

.text-content span {
    font-weight: 900;
    /* color: var(--thm-orange); */
    font-size: 14px;
    color: #FDB516;
    -webkit-text-stroke-width: 0.8px;
    -webkit-text-stroke-color: #312C8D;
}

.coming-cloud {
    position: absolute;
    top: -10px;
    right: -45px;
    max-width: 60px;
    width: 100%;
    height: auto;
    z-index: 1;
}

.text-content h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    font-style: normal;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--thm-white);
    text-shadow: 1px 2px 0 #312C8D;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
}

.text-content p {
    color: #312C8D;
    text-align: center;
    font-family: var(--thm-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
    position: relative;
    z-index: 2;
}

.form-box {
    width: 100%;
    position: relative;
    z-index: 2;
    /* padding-top: 1rem; */
}

.top-cloud-el {
    position: absolute;
    top: -60px;
    left: -22px;
    max-width: 65px;
    width: 100%;
    height: auto;
    z-index: 2;
    opacity: 1;
}

.bottom-cloud-el {
    position: absolute;
    bottom: 86px;
    right: 0px;
    max-width: 60px;
    width: 100%;
    height: auto;
    z-index: -1;
    opacity: 1;
}

.form-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

/* Base input style */
.form-box form .form-control {
    display: flex;
    height: 42px;
    padding: 8px 16px;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #312C8D;
    background: #FFF;
    box-shadow: 1px 2px 0 0 #0C51A1;
    width: 100%;
    outline: none;
    /* remove browser default focus outline */
}

/* Force your focus/hover styles */
.form-box form .form-control:active,
.form-box form .form-control:focus,
.form-box form .form-control:focus-within,
.form-box form .form-control:hover {
    border: 1px solid var(--thm-orange) !important;
    box-shadow: 0 3px 0 0 var(--thm-orange) !important;
    outline: none !important;
}


.phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-input .country-code {
    font-size: 14px;
    font-weight: 400;
    color: #171360;
    white-space: nowrap;

    display: flex;
    width: 54px;
    padding: 8px 16px;
    align-items: center;
    gap: 4px;
    align-self: stretch;

    border-radius: 8px;
    border: 1px solid #312C8D;
    background: #FFF;
    box-shadow: 1px 2px 0 0 #0C51A1;
}

.btn-main {
    width: 100%;
    color: var(--thm-brown);
    font-family: var(--thm-font);
    font-size: 1rem;
    line-height: 1.2;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.32px;

    display: flex;
    height: 48px;
    padding: 8px 12px 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    color: var(--thm-brown);
    text-decoration: none;

    border-radius: 8px;
    border: 1px solid var(--thm-orange);
    background: var(--thm-cream);
    box-shadow: 0 4px 0 0 var(--thm-orange);
    margin-top: 0.8rem;
}

.btn-main:active {
    box-shadow: none;
    transform: translateY(2px);
}

/* SIGN UP PAGE START */
.btn-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    padding-top: 1rem;
    position: relative;
    z-index: 2;
}

.terms-box {
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.terms-label .terms-links {
    display: block;
    margin-top: 2px;
    /* optional spacing */
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
}

.terms-label input[type="checkbox"] {
    -webkit-appearance: none;
    /* Removes default Safari/Chrome checkbox */
    appearance: none;
    /* Removes default browser styles */
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid #312C8D;
    background: var(--thm-white);
    box-shadow: 1px 2px 0 0 #0C51A1;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Optional: add a checkmark when selected */
.terms-label input[type="checkbox"]:checked {
    background-color: var(--thm-white);
}

.terms-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 9px;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9' fill='none'%3E%3Cpath d='M10.3333 0.999969L3.91667 7.41664L1 4.49997' stroke='%231D3A67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.terms-label span {
    color: #1D3A67;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.24px;
}

.terms-label span a {
    color: #1D3A67;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.24px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.error-field .form-control,
.error-field .country-code {
    border-radius: 8px;
    border: 1px solid #D7292C !important;
    background: var(--thm-white);
    box-shadow: 1px 2px 0 0 #D7292C !important;
}

.form-error-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.form-error {
    color: #D7292C;
    font-family: var(--thm-font);
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.22px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.login-link {
    color: #0C51A1;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.24px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.error-icon {
    max-width: 16px;
    width: 100%;
    height: auto;
    margin-right: 4px;
}

/* SIGN UP PAGE END */

/* OTP PAGE START */
.otp-text h3,
.otp-text p {
    color: #1D2E5E;
    text-align: center;
    font-family: var(--thm-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.32px;
    margin-top: 0;
    margin-bottom: 0;
}

.otp-text p a {
    text-decoration: none;
    pointer-events: none;
    color: #1D2E5E;
    text-align: center;
    font-family: var(--thm-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.32px;
    margin-top: 0;
    margin-bottom: 0;
}

.otp-text h3 {
    margin-bottom: 5px;
}

.edit-pen {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.form-otp {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.otp-input {
    text-align: center;
    width: 48px !important;
    height: 48px !important;
    padding: 10px !important;
}

.otp-btm-text {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    max-width: 222px;
}

.otp-btm-text h3 {
    color: #1D2E5E;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.28px;
    margin: 0;
}

.otp-btm-text a.resend-otp {
    color: #312C8D;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.28px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.btn-main:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.otp-input.error {
    border: 1px solid #D7292C !important;
    box-shadow: 1px 2px 0 0 #D7292C !important;
}

.otp-width {
    max-width: 222px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* OTP PAGE END */

/* LOGIN PAGE START */
.login-box form {
    min-height: 235px;
    justify-content: space-between;
}

.login-box form .form-error-box {
    padding: 0.6rem 0;
}

/* LOGIN PAGE END */

/* THANKS PAGE START */
.thanks-wrapper {
    position: relative;
    max-width: 335px;
    width: 100%;
    margin: auto;
    /* optional: height if you need predictable placement */
}

.thanks-wrapper .top-cloud-el {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    top: 35px;
    left: -22px;
}

.thanks-wrapper .coming-cloud {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    top: -22px;
    right: -12px;
}

.thanks-box {
    position: relative;
    z-index: 2;
    /* keep it above the cloud images */
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 1px solid #EA7E26;
    background: #FFF3DB;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.thanks-content h2 {
    color: #FFF;
    text-align: center;
    text-shadow: 1px 2px 0 #312C8D;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.thanks-content h2 span {
    color: #FDB516;
    font-family: var(--thm-secondary-font);
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    display: block;
}

.thanks-content {
    width: 90%;
}

.thanks-content p {
    color: #022F65;
    text-align: center;
    font-family: var(--thm-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.32px;
}

/* THANKS PAGE END */

/* HOME PAGE START */
.content-container {
    width: 100%;

    position: relative;
    z-index: 2;
}

.content-container header {
    width: 100%;
    padding: 12px 20px;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--thm-white);
}

.content-container header .header-box {
    gap: 10px;
}

.header-box .logo-header {
    max-width: 110px;
    width: 100%;
    height: auto;
    margin-bottom: -30px;
}

.header-box .right-content {
    width: 85%;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.rank-counter {
    width: 66px;
    height: auto;
    display: flex;
    align-items: center;
    background-image: url("../images/UI-Counter-BG.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 12px;
    position: relative;
}

.rank-icon {
    margin-right: 3px;
    width: 24px;
    height: auto;
}

.rank-counter .rank-txt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;

    overflow: hidden;
    color: var(--thm-white);
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    text-overflow: ellipsis;
    text-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.80), 0 0.5px 0 #000;
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: #3B3B3B;
    font-family: var(--thm-font);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.22px;
    text-transform: uppercase;
    padding: 4px 4px 4px 0;
    width: 100%;
    text-align: center;
}

.naruto-coin {
    width: 58px;
    height: auto;
    display: flex;
    align-items: center;
    background-image: url("../images/UI-Counter-coin-BG.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
    position: relative;
}

.naruto-coin-icon {
    margin-right: 3px;
    width: 24px;
    height: auto;
}

.naruto-coin-txt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;

    overflow: hidden;
    color: var(--thm-white);
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    text-overflow: ellipsis;
    text-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.80), 0 0.5px 0 #000;
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: #3B3B3B;
    font-family: var(--thm-font);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.22px;
    text-transform: uppercase;
    padding: 4px 4px 4px 0;
    width: 100%;
    text-align: center;
}

.content-wrapper {
    padding: 20px;
    width: 100%;
    position: relative;
}

.content-box {
    border-radius: 12px;
    border: 1px solid #EA7E26;
    background: #FFF3DB;
    padding: 1rem;
}

.content-box .main-heading {
    color: #FFFEFC;
    -webkit-text-stroke-width: 1.6px;
    -webkit-text-stroke-color: #312C8D;
    letter-spacing: 0.56px;
    font-family: var(--thm-secondary-font);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.56px;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
}

.content-box .main-heading span {
    color: #FDB516;
}

.nrt-txt-img {
    width: 85px;
    height: auto;
}

.unlock-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.unlock-box .left-side {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
}

.unlock-box .right-side {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
    position: relative;
    overflow: visible;
}

.unlock-box .left-side p {
    color: #022F65;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
    margin-bottom: 1rem;
}

.scan-btn {
    color: #022F65;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.28px;
    border-radius: 14px;
    background-color: #FFF3DB;
    border: 2px solid #304146;
    box-shadow: 5px -4px 0 0 rgba(240, 128, 88, 0.54) inset;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
}

.scan-btn img {
    margin-left: 4px;
}

.unlock-img {
    /* max-width: 100%; */
    display: block;
    height: auto;

    position: absolute;
    width: 200px;
    z-index: 21;
}

.unlcok-biscuit-img {
    max-width: 90px;
    width: 100%;
    margin-left: -24px;
}

.gameplay-con {
    padding-top: 1rem;
    position: relative;
}

/* First image (before) */
.gameplay-con::before {
    content: "";
    position: absolute;
    top: 50px;
    right: -30px;
    width: 64px;
    height: 50px;
    background: url("../images/coming-soon-cloud.png") no-repeat center / contain;
    z-index: 2;
}

/* Second image (after) */
.gameplay-con::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
    width: 64px;
    height: 50px;
    background: url(../images/top-cloud-form.png) no-repeat center / contain;
    z-index: -1;
}

.bottom-gameplay-con {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    overflow: visible;
    height: calc(100dvh - 310px);
}

.game-content-box {
    border-radius: 20px 20px 0 0;
    background: #312C8D;
    padding: 20px 20px 40px 20px;
    height: 100%;
}

.btm-game-box {
    position: relative;
    height: 100%;
}

.btm-game-box::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    width: 100%;
    height: 72px;
    background-image: url("../images/gameplay-element.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

.gameplay-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}

.gameplay-head h2 {
    font-family: var(--thm-secondary-font);
    color: #FFF3DB;
    -webkit-text-stroke-width: 0.8px;
    -webkit-text-stroke-color: #312C8D;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.4px;
    margin: 0;
}

.game-btn {
    display: inline-flex;
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #EA7E26;
    color: var(--thm-white);
    text-decoration: none;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.24px;
}

.sage-mode-icon {
    width: 54px;
    height: auto;
}

.mode-content h3 {
    color: #6662B6;
    font-family: var(--thm-secondary-font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
}

.lock-box {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 50px;
    border: 1px solid #9B96E6;
    background: #312C8D;
    box-shadow: 0 2px 0 0 #9B96E6;
}

.lock-icon {
    width: 18px;
    height: auto;
}

.mode-content p {
    color: #A5A4C5;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
}

.gamechallenge-btn {
    display: flex;
    width: 306px;
    padding: 10px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #534FA5;
    margin: 1rem auto;

    color: var(--thm-white);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.mode-item {
    justify-content: space-between;
    gap: 12px;
    border-radius: 8px;
    background: #262171;
    padding: 1rem;
    margin-bottom: 10px;
}

/* HOME PAGE END */

/* DIGIT CODE SCAN START */
.scan-container {
    padding-top: 1rem;
}

.scan-container .content-box {
    overflow: hidden;
}

.machine-code-container {
    border-radius: 12px;
    border: 1px solid #EA7E26;
    background: #312C8D;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

.machine-head {
    display: inline-flex;
    padding: 4px;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    background: #534FA5;
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 145px;
    text-align: center;
    justify-content: center;
}

.scan-container .content-box .main-heading {
    position: relative;
}

.scan-container .content-box .main-heading::after {
    content: "";
    position: absolute;
    top: 24px;
    right: -20px;
    width: 82px;
    height: 72px;
    background: url("../images/content-box-element-1.svg") no-repeat center;
    background-size: contain;
    z-index: 1;
}

.machine-head p {
    color: var(--thm-white);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.24px;
}

.machine-code-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.machine-code-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.machine-code-box p {
    color: var(--thm-white);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
    text-align: left;
    position: relative;
    padding-top: 30px;
}

.machine-code-box p::before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    width: 30px;
    height: 30px;
    background: url("../images/machine-text-arrow.svg") no-repeat center;
    background-size: contain;
}

.machine-code-img {
    max-width: 150px;
    width: 100%;
    height: auto;
}

.scan-img {
    height: calc(100dvh - 410px);
    background-image: url("../images/scan-treat.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.scan-img::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -38px;
    width: 82px;
    height: 72px;
    background: url("../images/content-box-element-2.svg") no-repeat center;
    background-size: contain;
    z-index: 1;
}

/* DIGIT CODE SCAN PAGE END */

/* RECORD PAGE START */
.record-box {
    border-radius: 12px;
    border: 1px solid #EA7E26;
    background: #312C8D;
    flex-shrink: 0;
    padding: 1rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.record-box h2 {
    color: var(--thm-white);
    text-align: center;
    -webkit-text-stroke-width: 0.2px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.48px;
    margin-top: 0;
    margin-bottom: 0rem;
}

.record-box h2 span {
    color: #FDB516;
}

.record-box p {
    color: var(--thm-white);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
    margin-bottom: 1rem;
}

.record-naruto {
    text-align: center;
    height: calc(100dvh - 460px);
    display: flex;
    justify-content: center;
    align-items: end;
}

.record-naruto-img {
    max-width: 170px;
    width: 100%;
    height: auto;
    margin-left: -20px;
}

.record-box::before {
    content: "";
    position: absolute;
    top: -86px;
    left: -38px;
    width: 100px;
    height: 90px;
    background: url("../images/content-box-element-2.svg") no-repeat center;
    background-size: contain;
    z-index: 1;
}

/* Countdown Timer Styles */
.base-timer {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 0.5rem;
}

.base-timer__svg {
    transform: scaleX(-1);
}

.base-timer__circle {
    fill: none;
    stroke: none;
}

.base-timer__path-elapsed {
    stroke-width: 7px;
    stroke: grey;
}

.base-timer__path-remaining {
    stroke-width: 7px;
    stroke-linecap: round;
    transform: rotate(90deg);
    transform-origin: center;
    transition: 1s linear all;
    fill-rule: nonzero;
    stroke: currentColor;
}

.base-timer__path-remaining.green {
    color: rgb(65, 184, 131);
}

.base-timer__path-remaining.orange {
    color: #EA7E26;
}

.base-timer__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-white);
    text-shadow: 1px 1px 2px rgba(40, 28, 14, 0.37);
    -webkit-text-stroke-width: 0.8px;
    -webkit-text-stroke-color: #000;
    font-family: var(--thm-secondary-font);
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 4.5px;
}

/* RECORD PAGE END */

/* CAMERA PAGE START */
.scan-your-image {
    background-image: url("../images/scan-img.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 12px;
}

.camera-container .scan-img {
    height: calc(100dvh - 460px);
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-image: none;
}

/* === Corner elements === */
.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

.corner-tl {
    top: 20px;
    left: 20px;
    background-image: url("../images/white-top-left-elem.svg");
}

.corner-tr {
    top: 20px;
    right: 20px;
    background-image: url("../images/white-top-right-elem.svg");
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    background-image: url("../images/white-bottom-left-elem.svg");
}

.corner-br {
    bottom: 20px;
    right: 20px;
    background-image: url("../images/white-bottom-right-elem.svg");
}

/* === Overlay text === */
.overlay-text {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--thm-white);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.32px;
}

.scan-your-image .scan-img::before,
.scan-your-image .scan-img::after {
    display: none;
}

/* .camera-container .scan-img {
    height: calc(100dvh - 410px);
    border-radius: 18px;
    position: relative;
    z-index: 2;
    overflow: hidden;

    background-image:
        url("../images/top-left-camera-element.svg"),
        url("../images/top-right-camera-element.svg"),
        url("../images/bottom-left-camera-element.svg"),
        url("../images/bottom-right-camera-element.svg"),
        url("../images/scan-img.jpg");

    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position:
        top left,
        top right,
        bottom left,
        bottom right,
        center;
    background-size:
        48px 49px,
        48px 49px,
        48px 49px,
        48px 49px,
        cover;
} */

.instruction-box {
    background-color: #FFF3DB;
    border: 2px solid #304146;
    box-shadow: 5px -4px 0 0 rgba(240, 128, 88, 0.54) inset;
    padding: 1rem;
    border-radius: 12px;
}

.instruction-box h2 {
    color: var(--thm-white);
    -webkit-text-stroke-width: 1.6px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.48px;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.instruction-box ul {
    list-style-type: disc;
    padding-left: 20px;
}

.instruction-box ul li {
    color: #2F3E60;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.32px;
}

.instruction-box p {
    color: #312C8D;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.32px;
    margin-top: 1rem;
}

/* CAMERA PAGE END */

/* PORTAL POPUP PAGE START */
/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* dark transparent bg */
    display: none;
    /* hidden by default */
    justify-content: center;
    align-items: flex-end;
    /* aligns popup at bottom */
    z-index: 19;
    /* under popup */
}

/* Show overlay */
.popup-overlay.active {
    display: flex;
}

/* Popup Box */
.portal-unlocked {
    border-radius: 20px 20px 0 0;
    border-top: 1px solid #EA7E26;
    border-right: 1px solid #EA7E26;
    border-left: 1px solid #EA7E26;
    background: #312C8D;

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    position: relative;
    padding: 2rem 0;
    /* above overlay */
}

.portal-unlocked::before {
    content: "";
    position: absolute;
    right: 15px;
    top: -15px;
    width: 30px;
    height: 24px;
    background-image: url("../images/portal-unlock-element-1.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

.portal-content-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 75%;
    position: relative;
}

.portal-naruto {
    max-width: 150px;
    height: auto;
    margin-top: -100px;
}

.portal-txt-box h2 {
    color: var(--thm-white);
    -webkit-text-stroke-width: 1.6px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.64px;
    margin-top: 0;
    margin-bottom: 1rem;

    display: inline-block;
    width: 100%;
    padding: 12px 12px 12px 26px;
    justify-content: flex-end;
    align-items: center;
    border-radius: 12px;
    background: #534FA5;
}

.portal-txt-box p {
    color: var(--thm-white);
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.32px;
    margin-bottom: 1rem;
    position: relative;
}

.portal-txt-box p::before {
    content: "";
    position: absolute;
    top: 0px;
    right: -56px;
    width: 70px;
    height: 55px;
    background: url("../images/portal-unlock-element-3.svg") no-repeat center;
    background-size: contain;
    z-index: 1;
}

.portal-txt-box {
    position: relative;
}

.portal-txt-box::before {
    content: "";
    position: absolute;
    top: -86px;
    left: -48px;
    width: 70px;
    height: 55px;
    background: url("../images/portal-unlock-element-2.svg") no-repeat center;
    background-size: contain;
    z-index: 1;
}

/* PORTAL POPUP PAGE END */

/* HOME AFTER SCAN PAGE START */
.after-scan-con .right-side .unlcok-biscuit-img {
    max-width: 140px;
    width: 100%;
    height: auto;
    margin: 0;
}

.after-scan-con .unlock-box .left-side {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.after-scan-con .unlock-box .right-side {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

.after-scan-con .mode-item {
    margin-bottom: 8px;
}

.after-scan-con .mode-item .mode-content h3 {
    color: #6662B6;
    font-family: var(--thm-secondary-font);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.after-scan-con .mode-item.active .mode-content h3 {
    color: #FFFFF1;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #885D00;
}

.after-scan-con .mode-content p {
    color: #A5A4C5;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
}

.mode-item.active .lock-box {
    display: flex;
    width: 30px;
    height: 30px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 50px;
    border: 1px solid #EA7E26;
    background: #FFEEC0;
    box-shadow: 0 2px 0 0 #EA7E26;
}

.timeline-mode-con {
    width: 100%;
    height: 100%;
    background-color: #302C7B;
    padding: 6px 10px;
    border-radius: 8px;
}

.timeline {
    position: relative;
    width: 100%;
    height: 4px;
    background: #4540A0;
    border-radius: 10px;
    margin: 20px auto;
}

.progress {
    position: absolute;
    height: 4px;
    background: #FFDE50;
    border-radius: 10px;
    width: 0%;
}

.milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 0.75px solid #EA7E26;
    background: #FFEEC0;
    z-index: 2;
}

.milestone img {
    max-width: 90%;
    max-height: 90%;
}

.milestone-1 {
    left: 50%;
    /* middle */
}

.milestone-2 {
    right: 20px;
    transform: translate(50%, -50%);
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
    background: #FFDE50;
    border-radius: 50%;
    /* border: 2px solid transparent; */
    outline: 2px solid #FFDE50;
    outline-offset: 2px;
}

.mode-item-box {
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
}

.after-scan-con .bottom-gameplay-con {
    height: calc(100dvh - 280px);
}

.after-scan-con .lock-box {
    width: 30px;
    height: 30px;
}

.after-scan-con .gamechallenge-btn {
    margin: 10px auto;
}

.jutsu-content-con .timeline::before {
    content: "Play & Win";
    position: absolute;
    top: -28px;
    left: 0;

    display: inline-flex;
    padding: 2px 8px 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #1E1A66;

    color: #FFF;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

/* HOME AFTER SCAN PAGE END */

/* JUTSU VIDEOS PAGE START */
.jutsu-mode-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.jutsu-content-con {
    border-radius: 12px;
    border: 1px solid #EA7E26;
    background: #312C8D;
    padding: 10px 14px;
    margin-top: 12px;
    width: 100%;
}

.ninja-mode-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
}

.ninja-mode-box .mode-content {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
}

.ninja-mode-box .mode-content h3 {
    color: #FFFFF1;
    -webkit-text-stroke-width: 0.8px;
    -webkit-text-stroke-color: #885D00;
    font-family: var(--thm-secondary-font);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.ninja-mode-box .mode-content p {
    color: #ffffff;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
}

.jutsu-content-con .milestone {
    width: 40px;
    height: 40px;
    padding: 4px;
}

.jutsu-challenge-box {
    background-color: #FFF3DB;
    border: 1px solid #304146;
    box-shadow: 5px -4px 0 0 rgba(240, 128, 88, 0.54) inset;
    padding: 1rem;
    border-radius: 12px;
    min-height: calc(100dvh - 420px);
    align-items: center;
    height: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.jutsu-challenge-box h2 {
    color: #6D3917;
    font-family: var(--thm-secondary-font);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.36px;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid #E1D8C7;
    width: 100%;
    padding-bottom: 0.5rem;
}

.jutsu-videos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 10px 0 0 0;
    width: 100%;
}

.challenge-video-col {
    -ms-flex: 0 0 82px;
    flex: 0 0 82px;
    max-width: 82px;
    /* padding: 10px; */
}

/* .challenge-video-col {
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0.5rem;
} */

.challenge-video-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.challenge-video-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.challenge-video-box .number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #EA7E26;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-shadow: 0.275px 0.275px 0.549px rgba(40, 28, 14, 0.37);
    -webkit-text-stroke-width: 0.27px;
    -webkit-text-stroke-color: #000000;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.2px;
    position: absolute;
    top: -12px;
    left: -12px;
}

.jutsu-mode-wrapper .gamechallenge-btn {
    margin: 0 auto;
    background-color: #312C8D;
}

.video-ready {
    border-radius: 20px 20px 0 0;
    border-top: 1px solid #EA7E26;
    border-right: 1px solid #EA7E26;
    border-left: 1px solid #EA7E26;
    background: #312C8D;
    display: flex;
    justify-content: center;
    position: relative;
}

.video-ready::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 58px;
    background: url("../images/cloud-ready-to-master.svg") no-repeat center center;
    background-size: contain;
}

.video-ready::before {
    content: "";
    position: absolute;
    left: -2px;
    bottom: 0;
    width: 50px;
    height: 58px;
    background: url("../images/cloud-ready-to-master-bottom.svg") no-repeat center center;
    background-size: contain;
}

.video-ready .main-heading {
    color: #ffffff;
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.56px;
    background-color: transparent;
    padding: 0;
    position: relative;
}

.video-ready .main-heading::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 44px;
    background: url("../images/popup-cloud.svg") no-repeat center center;
    background-size: contain;
}

.video-ready .portal-content-box {
    padding: 50px 0;
}

.video-ready .portal-content-box .close-popup {
    font-size: 2rem;
    line-height: 1.2;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0.5rem;
}

.video-ready .video-wrapper {
    border-radius: 12px;
    position: relative;
}

.video-ready .video-wrapper video {
    border-radius: 12px;
    margin-bottom: 1rem;
}

.video-ready .portal-txt-box::before {
    display: none;
}

/* JUTSU VIDEOS PAGE END */

/* VIDEO CAMERA RECORD PAGE START */
.machine-code-wrapper .video-camera-rec {
    height: calc(100dvh - 340px);
    border-radius: 18px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-image: url(../images/top-left-camera-element.svg),
        /* top-left */
        url(../images/top-right-camera-element.svg),
        /* top-right */
        url(../images/bottom-left-camera-element.svg),
        /* bottom-left */
        url(../images/bottom-right-camera-element.svg),
        /* bottom-right */
        url(../images/camera-record.svg);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: top left, top right, bottom left, bottom right, center;
    background-size: 48px 49px, 48px 49px, 48px 49px, 48px 49px, cover;
}

.record-secr {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.record-secr .upr-cons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timer-rec {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--thm-white);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
    padding: 5px 8px;
}

.video-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
}

.video-icon-box {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--thm-white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    z-index: 2;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    /* Start from top */
    z-index: 1;
}

.progress-ring__circle {
    stroke-dasharray: 188.4;
    /* 2πr = 2 * π * 30 */
    stroke-dashoffset: 188.4;
    animation: fillRing 30s linear forwards;
}

@keyframes fillRing {
    to {
        stroke-dashoffset: 0;
    }
}

.boom-popup {
    border-radius: 20px 20px 0 0;
    border-top: 1px solid #EA7E26;
    border-right: 1px solid #EA7E26;
    border-left: 1px solid #EA7E26;
    background: #312C8D;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.boom-popup .main-heading {
    color: #FFFFF1;
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #276A2E;
    font-family: var(--thm-secondary-font);
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    background-color: transparent;
}

.boom-popup p {
    color: var(--thm-white);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
}

.score-box h3 {
    color: #FFEEC0;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.32px;
    margin: 0;
}

.boom-box {
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.score-box {
    display: inline-flex;
    padding: 9px 9px 9px 17px;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border-radius: 12px;
    border: 1px solid #FFDFC5;
    background: #EA7E26;
    width: 240px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.score-box .naruto-coin {
    max-width: 90px;
    width: 100%;
    position: relative;
}

.score-box .naruto-coin::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-image: url("../images/naruto-coin.svg");
    /* internal image path */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.score-box .naruto-coin-txt {
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.80), 0 0.5px 0 #000;
    -webkit-text-stroke-width: 0.4px;
    -webkit-text-stroke-color: #3B3B3B;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.36px;
    text-transform: uppercase;
    margin-left: 18px;
}

.boom-img {
    max-width: 130px;
    margin: 0 auto;
}

.boom-popup .portal-content-box {
    max-width: 90%;
}

.boom-popup .portal-txt-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.boom-popup .portal-txt-box::before {
    display: none;
}

.boom-popup .close-popup {
    font-size: 2rem;
    line-height: 1.2;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0.5rem;
}

.boom-popup .portal-content-box {
    padding: 50px 0;
}

.boom-popup .portal-txt-box p::before {
    display: none;
}

.boom-popup::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 58px;
    background: url(../images/cloud-ready-to-master.svg) no-repeat center center;
    background-size: contain;
}

.boom-popup::before {
    content: "";
    position: absolute;
    left: -2px;
    bottom: 0;
    width: 50px;
    height: 58px;
    background: url(../images/cloud-ready-to-master-bottom.svg) no-repeat center center;
    background-size: contain;
}

.boom-popup .portal-content-box::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 44px;
    background: url(../images/popup-cloud.svg) no-repeat center center;
    background-size: contain;
}

/* VIDEO CAMERA RECORD PAGE END */

/* SELECTED VIDEOS PAGE START */
.challenge-video-box.selected .check {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 1px solid #276A2E;
    background: #DAFFDE;
    box-shadow: 0 2px 0 0 #276A2E;
    position: absolute;
    top: -12px;
    left: -12px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.claim-box {
    background-image: url("../images/boom-rec-bg.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.claim-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 90%;
    padding-inline: 1rem;
    margin: 0 auto;
}

.claim-text-col {
    text-align: left;
}

.claim-text-col p {
    color: #021244;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
    text-align: left;
}

.btn-claim {
    color: #EA7E26;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-align: left;
}

.close-missed .main-heading {
    -webkit-text-stroke-color: #F81B1B;
}

/* SELECTED VIDEOS PAGE END */

/* CONGRATULATIONS COMPLETE PAGE START */
.mode-complete-con {
    background-color: #FFF3DB;
    border: 2px solid #304146;
    box-shadow: 5px -4px 0 0 rgba(240, 128, 88, 0.54) inset;
    padding: 1rem 1rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    min-height: calc(100dvh - 316px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cong-img-box {
    padding: 1rem 0;
}

.cong-text h2 {
    color: #FDB516;
    text-align: center;
    -webkit-text-stroke-width: 1.6px;
    -webkit-text-stroke-color: #312C8D;
    font-family: var(--thm-secondary-font);
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.72px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cong-text p {
    color: #021244;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.28px;
}

.cong-naruto {
    width: 85%;
    margin: 0 auto;
    height: auto;
    position: relative;
    z-index: 2;
}

.cong-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cong-img::before,
.cong-img::after {
    content: "";
    position: absolute;
    width: 55px;
    height: 43px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Left (before) image */
.cong-img::before {
    top: 0;
    left: -16px;
    background-image: url("../images/cong-cloud-element-1.svg");
}

/* Right (after) image */
.cong-img::after {
    top: 28px;
    right: -10px;
    background-image: url("../images/cong-cloud-element-2.svg");
    z-index: 1;
}

.cong-img-box .btn-main {
    margin-top: -22px;
    position: relative;
    z-index: 3;
}

/* CONGRATULATIONS COMPLETE PAGE END */

/* FOOTER SECTION START */
footer {
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding: 0;
}

.bottom-cloud {
    position: absolute;
    bottom: 0px;
    left: 0;
    max-width: 50px;
    width: 100%;
    height: auto;
    z-index: 1;
    opacity: 0.8;
}

.footer-box {
    display: flex;
    justify-content: space-between;
    align-items: end;

    background-color: transparent;
    border-radius: 0;
    padding: 12px 20px;
    position: relative;
    z-index: 2;
}

.footer-box .left-col {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;

    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-box .right-col {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
}

.footer-box .right-col p {
    text-align: right;
}

.foot-logo {
    max-width: 24px;
    width: 100%;
    height: auto;
    margin-right: 5px;
}

.footer-box ul li,
.footer-box p {
    color: var(--thm-white);
    font-size: 10px;
    line-height: 1.2;
}

/* FOOTER SECTION END */

/* RESPONSIVE MEDIA QUERIES START */
@media (min-height: 850px) {
    .text-bar {
        margin-top: -25px;
    }
}

@media (min-height: 750px) {

    /* Home page Start */
    .unlcok-biscuit-img {
        max-width: 150px;
        width: 150px;
    }

    .gamechallenge-btn {
        margin: 1rem auto;
    }

    .content-box .main-heading {
        font-size: 1.75rem;
    }

    .unlock-box .left-side p {
        font-size: 14px;
    }

    .time-content h3 {
        font-size: 1.25rem;
    }

    .time-content p {
        font-size: 14px;
    }

    .btm-game-box::before {
        height: 80px;
    }

    .record-naruto-img {
        max-width: 250px;
    }

    /* Home page End */
    .after-scan-con .mode-item .mode-content h3 {
        font-size: 1.375rem;
    }

    .after-scan-con .mode-content p {
        font-size: 14px;
    }

    .timeline-mode-con {
        padding: 10px 10px;
    }

    .milestone {
        width: 44px;
        height: 44px;
    }

    .mode-item .lock-box,
    .mode-item.active .lock-box {
        width: 36px;
        height: 36px;
    }

    .after-scan-con .mode-item {
        margin-bottom: 12px;
    }

    .after-scan-con .gamechallenge-btn {
        margin: 20px auto;
    }

    .jutsu-content-con {
        padding: 14px 14px;
        margin-top: 20px;
    }

    .jutsu-content-con .milestone {
        width: 52px;
        height: 52px;
    }

    .ninja-mode-box .mode-content p {
        font-size: 14px;
    }

    .jutsu-challenge-box h2 {
        margin-bottom: 1rem;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }

    .jutsu-mode-wrapper {
        gap: 20px;
    }

    .cong-text h2 {
        font-size: 2.25rem;
    }

    .cong-text p {
        font-size: 14px;
    }

    .naruto {
        max-width: 100%;
    }

    .jutsu-videos-row {
        gap: 0;
    }

    .challenge-video-col {
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 10px;
    }

    .lrg-cont .naruto {
        max-width: 88%;
    }

}

@media (max-height: 950px) {

    /* Home page Start */
    .bottom-gameplay-con {
        height: calc(100dvh - 430px);
    }

    .unlcok-biscuit-img {
        max-width: 136px;
    }

    .unlock-img {
        width: 235px;
        right: -35px;
    }

    .mode-item {
        margin-bottom: 15px;
    }

    .gamechallenge-btn {
        margin: 1.5rem auto;
    }

    /* Home page End */

    .after-scan-con .bottom-gameplay-con {
        height: calc(100dvh - 310px);
    }

}

@media (max-height: 800px) {
    .lrg-cont .naruto {
        max-width: 78%;
    }
}

@media (max-height: 740px) {
    .logo-splash {
        max-width: 70px;
    }

    .unleash-naruto {
        max-width: 110px;
    }

    .mid-naruto-box::before {
        left: -50px;
        top: -8px;
    }

    .mid-naruto-box::after {
        right: -50px;
        top: -8px;
    }

    .text-bar {
        max-width: 210px;
    }

    .text-bar h2 {
        font-size: 1.1rem;
    }

    .text-content h2,
    .thanks-content h2 {
        font-size: 1.5rem;
    }

    .text-content p {
        font-size: 12px;
    }

    .form-box form .form-control {
        height: 38px;
    }

    .btn-main {
        height: 44px;
        margin-top: 0.4rem;
    }

    .form-otp .form-control {
        height: 48px !important;
    }

    .thanks-content p {
        font-size: 14px;
    }

    /* Home Page Start */
    .unlock-box .left-side p {
        margin-bottom: 10px;
    }

    .unlock-img {
        right: -30px;
        width: 150px;
    }

    .bottom-gameplay-con {
        height: calc(100dvh - 330px);
    }

    .unlcok-biscuit-img {
        max-width: 76px;
    }

    .mode-item {
        padding: 10px;
    }

    .gamechallenge-btn {
        margin: 1rem auto;
    }

    /* Home Page End */

    .lrg-cont .naruto {
        max-width: 58%;
    }

}

@media (max-height: 675px) {

    .logo-splash-box {
        padding-top: 1rem;
    }

    .logo-splash {
        max-width: 65px;
    }

    .mid-naruto-box::before {
        left: -42px;
        top: 12px;
    }

    .mid-naruto-box::after {
        right: -50px;
        top: 10px;
    }

    .text-bar {
        max-width: 190px;
    }

    .text-bar h2 {
        font-size: 1rem;
    }

    .terms-label span {
        font-size: 11px;
    }

    .terms-label span a {
        font-size: 11px;
    }

    .after-scan-con .bottom-gameplay-con {
        height: calc(100dvh - 280px);
    }

}

@media (max-height: 620px) {
    .logo-splash {
        max-width: 60px;
    }

    .unleash-naruto {
        max-width: 100px;
    }

    .form-box form .form-control {
        height: 38px;
    }
}

/* RESPONSIVE MEDIA QUERIES END */