html,body{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateZ(0);
    overflow: hidden;
}
html, body, pre, code, kbd, samp, input, button, select, option, textarea {
    font-family: var(--font-theme-1);
    font-weight: var(--font-regular);
    font-style: normal;
}
p {
    line-height: 165%;
    margin: 0px 0 1vw 0;
}
p a {
    text-decoration: underline;
}
p a:hover {
    text-decoration: none;
}
strong {
    font-weight: var(--font-semibold);
}
a {
    text-decoration: none;
    outline: none;
    cursor: pointer;
    color: var(--color-black);
    transition: var(--transition-all);
}
button, a, input[type="button"], .btn {
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-theme-1);
    font-size: 100%;
    line-height: 120%;
    font-weight: var(--font-regular);
    color: var(--color-black);
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
    border: 2px solid #fff;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 0 #000 inset;
    transition: background-color 5000s ease-in-out 0s;
    color: #fff;
    background-color: transparent;
    font-size: 100%;
}
input::placeholder {
    color: #fff;
    opacity: 0.6;
}
/*Theme CSS*/
html, body {
    background-color: var(--color-white);
    font-size: 1.3vw;
    color: var(--color-black);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior-y: auto;
    background-image: -webkit-linear-gradient(#e5007e, #c4006c);
    background-image: -o-linear-gradient(#e5007e, #c4006c);
    background-image: linear-gradient(#e5007e, #c4006c);
    background-repeat: no-repeat;
}
html, body, .main-wrapper, .intro-wrapper {
    height: 100vh;
    overflow-x: hidden;
}
.intro-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 42vw;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    grid-row-gap: 2vw;
    user-select: none;
    padding: 2vw 0;
}
.logo-bsi {
    width: 35%;
}
.logo-bsi img {
    width: 100%;
    height: auto;
    max-width: inherit;
}
.bubble-container {
    width: 28%;
    height: auto;
    cursor: pointer;
}
/*
.bubble {
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2) 40%, rgba(220, 240, 255, 0.1) 100%);
    box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.5), inset 0 -10px 15px rgba(0, 50, 100, 0.2), 0 5px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}
*/
.bubble {
    background-image: url(../images/bubble.webp);
    background-repeat: no-repeat;
    aspect-ratio: 1/1;
    background-size: 100%;
    z-index: 2;
    animation: rotate-animation 50s infinite linear;
}
.bubble-container .bubble-inner {
    position: absolute;
    width: 77%;
    height: auto;
    aspect-ratio: 1/1;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 200% 200%;
    animation: gradient 10s ease infinite;
    border-radius: 100%;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bubble-container .bubble-inner span {
    color: #000;
    font-weight: 600;
    font-size: 110%;
    line-height: 100%;
    display: block;
}
@keyframes rotate-animation {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/**/
#ui-wrapper, #level-display {
    display: none;
}
#game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    position: absolute;
    top: 0;
    left: 0;
}
#ui-wrapper {
    position: absolute;
    width: 70%;
    height: auto;
    bottom: 1vw;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.ui-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    column-gap: 3%;
}
#timer-bar-container {
    width: 50%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 60px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
#timer-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #84ffff, #00e5ff);
    border-radius: 60px;
    transition: width 0.5s linear;
}
#ui-top-row {
    background-image: url(../images/bubble.webp);
    background-color: #205436;
    border-radius: 100%;
    background-repeat: no-repeat;
    aspect-ratio: 1/1;
    background-size: 100%;
    z-index: 2;
    width: 16%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 555, 255, 0.8);
    font-size: 90%;
    letter-spacing: -1px;
    font-weight: 500;
    line-height: 100%;
    overflow: hidden;
    text-align: center;
}
#score .score span {
    display: block;
    padding-top: 1vw;
    color: #fff;
    font-size: 320%;
    font-weight: 600;
    line-height: 100%;
    text-align: center;
}
#level-display {
    position: absolute;
    bottom: 0vw;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 1;
    height: 90vh;
}
#level-display img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    max-width: inherit;
    width: auto;
    opacity: 0;
    transition: 0.2s opacity ease-in;
}
#level-display img:nth-child(6) {
    position: relative;
}
#level-display.level-0 img:nth-child(1) {
    opacity: 1;
}
#level-display.level-1 img:nth-child(2) {
    opacity: 1;
}
#level-display.level-2 img:nth-child(3) {
    opacity: 1;
}
#level-display.level-3 img:nth-child(4) {
    opacity: 1;
}
#level-display.level-4 img:nth-child(5) {
    opacity: 1;
}
#level-display.level-5 img:nth-child(6) {
    opacity: 1;
}
#game-over-screen {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}
.game-over-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 30vw;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    grid-row-gap: 2vw;
    user-select: none;
    padding: 0;
    height: 100vh;
}
#final-score {
    background-image: url(../images/bubble.webp);
    background-color: #205436;
    overflow: hidden;
    border-radius: 100%;
    background-repeat: no-repeat;
    aspect-ratio: 1/1;
    background-size: 100%;
    z-index: 2;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 555, 255, 0.8);
    font-size: 100%;
    letter-spacing: -1px;
    font-weight: 500;
    line-height: 100%;
    text-align: center;
}
#final-score .score span {
    display: block;
    padding-top: 1vw;
    color: #fff;
    font-size: 320%;
    font-weight: 600;
    line-height: 100%;
    text-align: center;
}
.user-form {
    width: 100%;
    position: relative;
}
.user-form input[type="text"] {
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
    color: #fff;
    height: 48px;
    width: 100%;
    padding: 0px 15px 0px 15px;
    font-weight: 500;
    border-radius: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}
.user-form input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000;
    height: 48px;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0px 15px;
    z-index: 1;
    font-size: 90%;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease-in;
}
.user-form input[type="submit"]:hover {
    color: rgba(255, 255, 255, 1);
}
#message {
    display: block;
    text-align: left;
    padding: 10px 15px 0 15px;
    font-size: 80%;
    font-weight: 400;
    height: 30px;
}
#play-again-button {
    transition: all 0.2s ease-in;
    background-color: #000;
    height: 48px;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0px 15px;
    z-index: 1;
    font-size: 90%;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.3px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#play-again-button:hover {
    color: rgba(255, 255, 255, 1);
}
.bsi-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    user-select: none;
}
.bsi-banner.is-lock{
    pointer-events: none;
    user-select: none;
}
.bsi-banner a {
    border: 0;
    text-decoration: none;
    display: block;
}
.bsi-banner img {
    width: 100%;
    height: auto;
    max-width: inherit;
}
#game-over-screen {
    z-index: 10;
}
#start-screen {
    z-index: 9;
}
#game-canvas {
    z-index: 8;
}
#ui-wrapper {
    z-index: 7;
}
#level-display {
    z-index: 6;
}
.modal-wrapper {
    background-image: -webkit-linear-gradient(#e5007e, #c4006c);
    background-image: -o-linear-gradient(#e5007e, #c4006c);
    background-image: linear-gradient(#e5007e, #c4006c);
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    transition: 0.2s opacity ease-in;
    pointer-events: none;
    opacity: 0;
}
.modal-wrapper.is-active#modalPreview {
    pointer-events: all;
    opacity: 1;
}
.modal-container {
    width: 500px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}
#screenshot {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
}
canvas {
    display: block;
}
.modal-close {
    position: absolute;
    right: 25px;
    top: 20px;
    width: 25px;
    height: 25px;
    z-index: 100;
    cursor: pointer;
    opacity: 0.7;
}
.modal-close::before, .modal-close::after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 28px;
    width: 2px;
    background-color: #000;
    transition: 0.2s all ease-in;
}
.modal-close::before {
    transform: rotate(45deg);
}
.modal-close::after {
    transform: rotate(-45deg);
}
.modal-close:hover::before, .modal-close:hover::after {
    background-color: #000;
}
.prev-card {
    background-color: #fff;
    padding: 30px;
    position: relative;
    border: 5px solid #67ab3b;
    border-radius: 20px;
}
.action-btns {
    text-align: center;
    padding: 15px 0px;
}
.btn-download {
    background-color: #000;
    height: 48px;
    line-height: 44px;
    display: inline-block;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0px 15px;
    z-index: 1;
    font-size: 90%;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease-in;
}
.btn-download:hover {
    color: rgba(255, 255, 255, 1);
}
.prev-card {
    background-color: #fff;
    padding: 40px 30px;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}
.card-logo {
    width: 30%;
}
#card-score {
    text-align: left;
    font-weight: 500;
    line-height: 100%;
    color: #414141;
}
#card-score span {
    display: block;
    padding-top: 10px;
    color: #000;
    font-size: 320%;
    font-weight: 600;
    line-height: 100%;
    text-align: left;
}
.card-body {
    padding-top: 30px;
}
.card-name {
    font-size: 130%;
    line-height: 120%;
    margin: 0 0 10px 0;
    font-weight: 600;
}
.card-des {
    color: #414141;
}
.card-des p {
    line-height: 140%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-size: 100%;
    font-weight: 500;
}
.rotate-device {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1005;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    background-image: -webkit-linear-gradient(#e5007e, #c4006c);
    background-image: -o-linear-gradient(#e5007e, #c4006c);
    background-image: linear-gradient(#e5007e, #c4006c);
    background-repeat: no-repeat;
}
.phone {
    width: 60px;
    height: auto;
    animation: rotate 1.5s ease-in-out infinite alternate;
}
.phone svg {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.phone svg path {
    fill: #fff;
}
.message {
    font-size: 100%;
    margin-top: 20px;
    font-weight: 500;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(-90deg)
    }
    100% {
        transform: rotate(-90deg)
    }
}


@media screen and (max-height: 500px) and (orientation: landscape) {
  .rotate-device {
    opacity: 1;
    pointer-events: auto; /* Allow interaction when visible */
  }
  .wrapper {
    opacity: 0 !important;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-device-width: 834px) and (max-device-width: 1194px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  .rotate-device {
    opacity: 1;
    pointer-events: auto;
  }
  .wrapper {
    opacity: 0 !important;
  }
}





/*CONSOLE CSS*/
/*#start-screen{
    display: none !important;
}
#game-canvas{
    display: none !important; 
}
#level-display{
    display: none!important;
}
#level-display img:nth-child(1){
    opacity: 1 !important;
}
#ui-wrapper{
    display: none;
}
#game-over-screen{
    display: block !important;
}*/