@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Barlow", sans-serif;
}

body {
    background: rgb(35, 31, 32)
}

.nd-screen {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: none;
}

.home-screen {
    display: block;
    background-color: #d53e1b;
    height: max-content !important;
    overflow-x: hidden;
}

.bottom-rock {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    object-fit: cover;
}

.verify-phone-screen {
    /* display: block; */
}

.home-screen .screen-header,
.home-screen .screen-body {
    z-index: 3;
    position: relative;
}

.menuBtn {
    display: inline-block;
    cursor: pointer;
    width: 33%;
}

.menu-overlay {
    display: none;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.23);
    z-index: 5;
    padding-top: 3.125rem;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, left 0.5s ease-in-out;
}

.game-loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 5;
    background: #4F22AF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("/assets/images/game-loading-page-bg.png");
    background-repeat: repeat-y;
    background-position: top;

}

.game-loading-screen img {
    height: auto;
    width: 65%;
    object-fit: contain;
}

.game-loading-screen p {
    font-size: 1.7rem;
    color: #fff;
    font-weight: bolder;
    position: relative;
    top: -0.8rem;
}

.game-container {
    display: none;
    max-width: 33.5rem;
    left: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    margin: auto;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.game-container canvas {
    background: rgb(35, 31, 32);
    cursor: default;
    /* height: auto;
    width: 100%; */
    aspect-ratio: 9 / 16;
}

@media (min-width: 768px) {
    .game-container canvas {
        /* width: auto;
        height: 100%; */
        aspect-ratio: 9 / 16;
    }

}


.menu-container {
    width: max-content;
    min-width: 17.8125rem;
    height: 100%;
    background: #fff;
    padding-right: .75rem;
    position: relative;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, left 0.5s ease-in-out;
}

.menu-overlay li {
    padding: 1.25rem;
    border-bottom: 1px solid #d9d9d9;

}

.menu-overlay li a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.menu-list {
    text-decoration: none;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    padding-left: .75rem;
}


.menu-list img {
    width: 1.08rem;
}

.menu-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;

}


.bar1,
.bar2,
.bar3 {
    width: 1.25rem;
    height: 2.4px;
    background-color: #aa1f30;
    margin-bottom: 2.5px;
    transition: 0.4s;
    border-radius: 1rem;
}

.openMenu .bar1 {
    transform: translate(0, 6px) rotate(45deg);
}

.openMenu .bar2 {
    opacity: 0;
}

.openMenu .bar3 {
    transform: translate(0, -4px) rotate(-45deg);
}


.home-screen .screen-header {
    justify-content: space-between;
    padding-left: 4%;
    padding-right: 4%;
    z-index: 6;
}

.btn-container,
.justify-content-end {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.login-btn {
    border: 1px solid #aa1f30;
    cursor: pointer;
    font-size: .75rem;
    background: transparent;
    color: #aa1f30;
    padding: 0.5rem .8rem;
    border-radius: 1rem;
    font-weight: 600;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.home-screen .screen-body {
    padding: 0;
    align-items: center;
    gap: 0;
}


.home-screen .screen-body .hero-img {
    width: 92%;
}

.home-screen .hero-img-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.explore-btn-container {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-now-btn {
    padding: 0.6rem 1.2rem !important;
    background-color: #BA002A !important;
    box-shadow: 3px 3px #fff !important;
    color: #fff !important;

}


.home-screen-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.home-screen-bg img {
    width: 100%;
    object-fit: cover;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-text-wrapper h1 {
    /* font-size: 2.4rem; */
    font-size: clamp(1.6rem, 7vw, 2.6rem);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.hero-text-wrapper p {
    color: #fff;
    width: 80%;
    text-align: center;
    margin: auto;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;

}


.game-btn {
    border-radius: 5rem;
    background-color: #F6BB00;
    padding: 0.6rem 2rem;
    border: none;
    box-shadow: 3px 3px #030303;
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem auto;
    cursor: pointer;
    color: #000;
}

.ps5-img {
    width: 100%;
    object-fit: cover;
}


.nacho-dash-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    gap: 2rem;
}


.nacho-dash-wrapper h1 {
    color: #fff;
    text-align: center;
    font-size: 2.4rem;
}

.nacho-dash-wrapper .game-card {
    display: flex;
    align-items: center;
    color: #fff;
}

.game-card .game-image {
    width: 40%;
    margin: auto;
    text-align: center;
}

.game-card .game-image img {
    width: 100%;
}


.game-info {
    width: 45%;
}

.game-info h2 {
    font-size: 1.2rem;
}

.game-info h3 {
    font-size: 2.4rem;
}

.game-info button {
    margin-bottom: 0;
}

.coming-soon-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 5rem;
    z-index: 3;
}

.coming-soon-wrapper h1 {
    font-size: 1.8rem;
}

.coming-soon-wrapper img {
    width: 80%;
}

.bg-img {
    background-image: url('assets/images/bg-image.png');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    display: none;
}

.main-container {
    height: 100dvh;
    width: 100%;
    max-width: 33.75rem;
    margin: auto;
    background-color: #fff;
    z-index: 1;
    position: relative;
    display: none;
}



.screen-header {
    -webkit-box-shadow: .125rem .125rem .9375rem 0 rgba(0, 0, 0, .071);
    box-shadow: .125rem .125rem .9375rem 0 rgba(0, 0, 0, .071);
    max-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background: #fff;
}

.screen-body {
    padding-left: 1rem;
    padding-top: 1.75rem;
    padding-right: 1rem;

    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.screen-header a {
    display: inline-block;
    text-decoration: none;
    width: 33%;
    text-align: center;
}

.screen-header .letsboing-logo {
    display: inline-block;
    height: 3.125rem;
}

.title-wrapper p {
    margin-top: 6px;
    color: #414141;
}

.verify-phone-screen h1 {
    padding-bottom: 1.75rem;
    font-weight: 700;
    font-style: normal;
}

.verify-phone-screen p {
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    padding-bottom: 0;
    padding-top: 0.6rem;
    color: #414141;
}


#verify-mobile-form,
#signup-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
}

#signup-form {
    margin-bottom: 2rem;
}

.input-wrapper,
.checkbox-wrapper {
    width: 100%;
}



.highlighted {
    color: #aa1f30;
}

.input-error {
    border: 1px solid #c23934 !important;
}

.error-label {
    color: #c23934 !important;
}

.signup-error {
    background-color: #ffc4cb;
    border-color: #c23934;
    color: #aa1f30;
    padding: 0.5rem;
    border-radius: .5rem;
    display: none;
}

#verify-mobile-form input,
#signup-form input {
    border: .0625rem solid #414141;
    border-radius: .25rem;
    outline: none;
    padding: .9375rem 1rem;
    width: 100%;
    font-size: 1rem;
    margin-top: .5rem;
}

#verify-mobile-form label,
#signup-form label {
    font-size: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.checkbox-wrapper input {
    margin-top: 0 !important;
    max-width: 1rem;
    height: 1rem;
    padding: 0 !important;
    margin-right: 1rem;
    cursor: pointer;

}

.checkbox-wrapper label {
    width: 92% !important;
    cursor: pointer;
    font-size: .75rem !important;
}

.checkbox-wrapper .error-label {
    margin-left: 2rem;
}

.age-consent-wrapper {
    margin-top: 1rem;
}

#verify-mobile-form button,
.otp-screen button,
#signup-form button {
    background-color: #aa1f30 !important;
    color: #fff;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    padding: .9375rem 1rem;
    border: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-radius: 50rem;
}

.loading-spinner-container {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    -webkit-backdrop-filter: blur(.125rem);
    backdrop-filter: blur(.125rem);
    background-color: hsla(0, 0%, 100%, .5);
    /* position: absolute; */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}

.signup-screen {
    overflow: auto;
}

.loading-spinner {
    -webkit-animation: loading-spinner 1s linear infinite;
    animation: loading-spinner 1s linear infinite;
    border-radius: 50%;
    height: 3.125rem;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 0);
    width: 3.125rem;
    z-index: 2;
    background: conic-gradient(#ffc4cb 10%, #aa1f30);
    margin-top: 18dvh;
}

@-webkit-keyframes loading-spinner {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes loading-spinner {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.otp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem !important;
}

.otp-container .error-label {
    align-self: flex-start;
}

.otp-input {
    border: .0625rem solid #d9d9d9;
    border-radius: .5rem;
    color: #414141;
    cursor: not-allowed;
    font-size: 1.25rem;
    height: 3.25rem;
    line-height: 1.5rem;
    outline: none;
    pointer-events: none;
    width: 2.75rem;
    text-align: center;
}

.otp-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timer {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.otp-input:disabled {
    pointer-events: none;
    cursor: not-allowed;
}

.otp-input:not(:disabled) {
    cursor: text;
    pointer-events: auto;
}

.otp-input:focus {
    border: 1px solid #000;
    cursor: text;
    pointer-events: auto;

}

.resend-otp {
    color: #707070;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    display: none;
}



.resend-otp .resend-otp-btn {
    color: #aa1f30;
    background-color: transparent !important;
    width: max-content;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    text-decoration: underline;
    margin: 0;
    padding: 0;
}






.leaderboard-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    width: 100%;
    max-width: 33.75rem;
    margin: auto;
    background-image: url("/assets/images/leaderboard-bg.png");
    background-repeat: repeat-y;
    background-position: top;
    display: flex;
    flex-direction: column;

}

.leaderboard-container .screen-header {
    position: relative;
    justify-content: space-between;
    padding-left: 4%;
    padding-right: 4%;
    z-index: 6;
}

.leaderboard-heading-img {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}


.leaderboard-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    padding-top: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 95%;
    margin: 0 auto;
    height: auto;
    max-height: 75dvh;
    overflow: auto;
}

.leaderboard-play-btn {
    text-decoration: none;
    color: #000;
}

.leaderboard-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: 0.2s;
    background: #BA002A;
    position: relative;
    top: 0%;
    z-index: -1;
    padding-bottom: 0;
    top: 5%;
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding-top: 0.3rem;
    padding-bottom: 5%;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 10px;
    border: 1px solid transparent;
    background: #fff;
    color: #000;
    transition: 0.2s;

}

.left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 70%;
    margin: 0.25rem 0;
    border-right: 1px solid #b4b4b4;
}

.rank-header {
    width: 1.4rem;
    height: auto;
    margin-right: 0.7rem;
    margin-left: 0.6rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.rank-icon {
    width: 1.4rem;
    height: auto;
    margin-left: 0.8rem;
    margin-right: 0.4rem;
}

.rank-number {
    background: #0000001C;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.7rem;
    color: #00000073;
    margin-left: 0.8rem;
    margin-right: 0.3rem;
}

.name-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 2.4rem;
    overflow: hidden;

    border-left: 1px solid #b4b4b4;
}

.avatar {
    width: 2.4rem;
    height: 2.4rem;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-left: 1px solid #b4b4b4;
}

.name {
    font-weight: 500;
    font-size: 14px;
    max-width: 140px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* === Right Section === */
.right {
    font-weight: 600;
    font-size: 14px;
    width: 30%;
    text-align: center;
}

.score-header {
    color: #fff;
    font-size: 1rem;
}

.score {
    color: #000;
}

/* === Current User === */
.current-user {
    margin-top: 15px;
    background: rgba(0, 128, 0, 0.3);
    border: 1.5px solid #00c853;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}