:root {
    --bg-app: #ffff;
    --bg-primary: #e6e7f3;
    /* --bg-primary: #dad8e1; */
    /* --bg-primary: #e6e7f3; */

    /* --bg-secondary:linear-gradient(135deg, #00f2fe, #4facfe); */

    --bg-secondary: linear-gradient(135deg, #8e2de2, #4a00e0);
    --bg-secondary-hover: linear-gradient(135deg, #4a00e0, #8e2de2);

    /* --bg-secondary:linear-gradient(135deg, #2b5876, #4e4376); */
    /* --bg-secondary: linear-gradient(90deg, #7b2ff7, #f107a3); */

    /* --bg-secondary: #a261f7; */

    --accent: #683dcf;
    /* --accent: #4e4376; */
    --text-dark: #333;
    --text-light: #fff;
    --font-family: 'Segoe UI', sans-serif;
}


.app_wrapper::-webkit-scrollbar {
    width: 2px;
    background-color: transparent;
}

.app_wrapper::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--bg-app);
}

.app_wrapper::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

/* =============================== Start Common Css =============================== */
.app_wrapper {
    max-width: 430px;
    margin: 0 auto;
    width: 100%;
    height: 100vh;
    height: calc(100vh - 0px);
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-app);
    scrollbar-color: #eee #3e3e40;
    scrollbar-width: none;
}

.wrapper {
    object-fit: cover;
    width: 100%;
    position: sticky;
    top: 0px;
    margin: auto;
    max-width: 430px;
    box-shadow: 0px 3px 3px 0px #00000026;
    z-index: 999 !important;
    /* padding: 6.3px 0; */
    background: var(--bg-secondary);
}

.container {
    padding: 0 15px;
}

p {
    padding: 0;
    margin: 0;
}

.flex {
    display: flex;
    align-items: center;
}

a {
    text-decoration: unset;
    all: unset;
}

/* =============================== Header End ===============================*/
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-app);
}

.app {
    position: relative;
    padding-bottom: 10px;
    /* height: -webkit-fill-available; */
    /* overflow-x: hidden; */
    background-color: var(--bg-primary);
}

.sidebar {
    position: fixed;
    /* position: absolute; */
    top: 0;
    left: -281px;
    width: 250px;
    height: 100vh;
    /* background: var(--bg-secondary); */
    background: var(--text-light);

    color: var(--text-dark);
    padding: 1rem;
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar.active {
    left: 570px;
}

@media (max-width: 1250px) {
    .sidebar.active {
        left: 200px;
    }
}

@media (max-width: 1134px) {
    .sidebar.active {
        left: 300px;
    }
}

@media (max-width: 1036px) {
    .sidebar.active {
        left: 200px;
    }
}

@media (max-width: 794px) {
    .sidebar.active {
        left: 170px;
    }
}

@media (max-width: 700px) {
    .sidebar.active {
        left: 50px;
    }
}

@media (max-width: 580px) {
    .sidebar.active {
        left: 0px;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Show overlay when sidebar is open */
.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 15px;
}

.sidebar-header .logo {
    font-weight: bold;

}

.section {
    margin-top: 1.5rem;
}

.section p {
    margin: 0 0 0.5rem 0;
    font-weight: bold;
    color: var(--accent);
    gap: 5px;
}

.section p img {
    width: 15px;
    height: 15px;
}

.section .item {
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.item {
    margin-bottom: 0.8rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:checked+.slider:before {
    transform: translateX(16px);
}

.close-btn-sidebar {
    color: var(--text-dark);
    cursor: pointer;
}

header {
    display: flex;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.header-left-sec,
.header-right-sec {
    display: flex;
    align-items: center;
}

.header-right-sec {
    gap: 7px;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);

    /* color: var(--accent); */
    cursor: pointer;
}

.coins {
    gap: 3px;
    background-color: #fff;
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    background-color: rgba(105, 31, 231, 0.5);
    backdrop-filter: blur(5px);
    width: fit-content;
    cursor: pointer;
}

.telegram-wrapper {
    position: relative;
}

.telegram {
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
}

.badge {
    position: absolute;
    top: -11px;
    right: -12px;
    background-color: #f33a3a;
    color: white;
    font-size: 10px;
    padding: 4px 5px;
    border-radius: 12px;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

.coins img,
.telegram img {
    height: 16px;
    width: 16px;
}

/* .alert {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    margin-top: 1rem;
    border-radius: 6px;
    position: relative;
} */
/* alert and  close button start*/
.alert {
    position: relative;
    background-color: #fff9c4;
    border: 1px solid #ebda46;
    padding: 16px;
    border-radius: 5px;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.alert strong {
    font-size: 16px;
}

#alertBox p {
    padding-top: 5px;
    padding-bottom: 10px;
}

/* .join-btn {
    background-color: var(--primary-color) !important;
    color: var(--text-light);
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
} */

#alertBox .close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666 !important;
    cursor: pointer;
}

#alertBox .close-btn:hover {
    color: #000;
}

.join-btn {
    display: block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* alert and  close button end*/

/* share and earn Start */
.share-earn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-secondary);
    color: white;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.share-earn p {
    font-weight: 500;
    margin-bottom: 5px;
}

.share-earn-coin {
    font-size: 20px;
    gap: 5px;
}

.share-earn-coin img {
    width: 20px;
    height: 20px;
}

.share-earn-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 10px;
}

.share-earn-img img {
    width: 30px;
    height: 30px;
}

/* share and earn end */

/* captcha-list start */

.captcha-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.captcha-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: white;
    padding: 0.5rem;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.captcha-list-icon {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--bg-primary);
}

.captcha-list-icon img {
    width: 30px;
    height: 30px;
}

.captcha-list-title p {
    color: var(--accent);
    font-weight: 600;
}

.captcha-item span {
    color: gray;
    font-weight: 500;
    font-size: 12px;
}

/* Puzzle game */
#puzzle_captcha .captcha-list {
    margin-top: 1rem;
}

#puzzle_captcha .captcha-list .captcha-list-icon span {
    font-size: 20px;
    color: var(--accent);
    font-weight: bold;
}

#puzzle_captcha .captcha-item {
    gap: 1rem;
}

/* captcha-list end */

/* =============================== Number And Text Captcha game start ===============================*/

.game-title {
    background: var(--bg-secondary);
    padding: 15px 15px;
    justify-content: space-between;
}

.game-title .back-icon-title {
    gap: 10px;
}

.game-title .game-title-text {
    color: var(--text-light);
    font-weight: 500;
}

.game-container {
    text-align: center;
    margin-top: 20px;
}

.number-box {
    font-family: monospace;
    font-size: 32px;
    font-weight: 400;
    background: var(--bg-primary);
    color: var(--text-dark);
    padding: 20px;
    margin: 20px auto;
    width: 200px;
    border-radius: 10px;
    letter-spacing: 10px;
}

#maths_captcha .number-box {
    letter-spacing: 0px;
    font-size: 30px;
}

#writing_Captcha .number-box {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 15px;
    letter-spacing: 0px;
    width: auto;
    text-align: left;
}

.coupon-code {
    justify-content: space-between;
    gap: 10px;
}

#coupon_captcha .number-box {
    font-size: 16px;
    padding: 15px;
    width: -webkit-fill-available;
    /* text-align: left; */
    margin: 0px;
    line-height: 1.5;
    letter-spacing: 3px;
}

#coupon_captcha input[type="text"] {
    margin: 20px 0px;
}

input[type="text"] {
    padding: 20px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 5px;
    width: -webkit-fill-available;
    margin-bottom: 20px;
}

#coupon_captcha .question_icon {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: var(--accent);
    height: 40px;
    width: 40px;
    border: 1px solid black;
    border-radius: 50%;
}


input[type="text"] {
    padding: 20px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 5px;
    width: -webkit-fill-available;
    margin-bottom: 20px;
}

#writing_Captcha textarea {
    font-family: 'Segoe UI', sans-serif;
    padding: 15px;
    height: 100px;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 300;
    text-align: start;
    letter-spacing: 0px;
    width: -webkit-fill-available;
    margin-bottom: 20px;
}

.verify-button {
    background: var(--bg-secondary);
    width: 100%;
    /* background: linear-gradient(90deg, #7b2ff7, #f107a3); */
    color: white;
    padding: 20px;
    font-weight: 400;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-play-again {
    background: var(--bg-secondary);
    width: 100%;
    color: white;
    padding: 12px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 700;
}

.btn-play-again.collect {
    background: white;
    color: black;
    margin-top: 10px;
}

.popup {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #ccc;
    padding: 30px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--bg-primary);
    border-radius: 10px;
}

.popup h3 {
    margin: 0px;
    margin-bottom: 15px;
    font-size: 24px;
}

.popup p {
    font-size: 16px;
    font-weight: 400;
    /* letter-spacing: 1px; */
    color: var(--text-dark);
}

.hidden {
    display: none;
}

/* show step */
.step-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.step {
    width: 40px;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.step.filled {
    background: var(--bg-secondary);
    /* or any vibrant purple/blue */
}

/* =============================== Number And Text Captcha game End ===============================*/
/* =============================== slider Captcha game Start ===============================*/
/* body {
    font-family: sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
    text-align: center;
  }
  
  .container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  } */

/* .step-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .step {
    width: 20px;
    height: 10px;
    background: #ccc;
    margin: 0 5px;
    border-radius: 5px;
  }
  
  .step.active {
    background: #6a0dad;
  }
  
  .captcha-area {
    position: relative;
  }
  
  .image-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  #puzzle-piece {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    pointer-events: none;
    transition: left 0.2s;
  }
  
  input[type="range"] {
    width: 100%;
    margin: 10px 0;
  } */

/* button {
    background: #6a0dad;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .popup {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: none;
    text-align: center;
  }
  
  .popup img {
    width: 50px;
    margin-bottom: 10px;
  }
  
  .popup.hidden {
    display: none;
  }
  
  .popup .btn-play-again {
    margin-top: 10px;
  } */
.captcha-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}

#mainImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

#puzzlePiece {
    position: absolute;
    top: 112px;
    /* Adjust vertically */
    width: 68px;
    height: 70px;
    z-index: 10;
    /* border-radius: 10px; */
    transition: left 0.2s ease;
}

.progress {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* .step {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
} */

/* .step.active {
    background: #4caf50;
} */

/* .slider-wrapper {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
} */
.slider-wrapper {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 40px;
    display: flex;
    align-items: center;
    padding: 1px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-wrapper span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

input[type=range] {
    width: 100%;
    appearance: none;
    background: transparent;
    height: 50px;
    cursor: pointer;
    z-index: 10;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid #7f5af0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    background-image: url('../images/arrow\ r.svg');

    /* background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8 5v14l11-7z"/></svg>'); */
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -2px;
}

input[type=range]::-moz-range-thumb {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid #7f5af0;
}

.progress {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
}

#slider {
    width: 100%;
}

/* #slider_Captcha button {
    padding: 10px 20px;
    background-color: #6200ea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
} */

/* =============================== slider Captcha game End ===============================*/


/* =============================== Puzzle Captcha game Start =============================== */
.puzzle-grid {
    display: grid;
    gap: 2px;
    margin-bottom: 20px;
}

#normal_puzzle_captcha .puzzle-grid {
    grid-template-columns: repeat(2, 150px);
    grid-template-rows: repeat(2, 150px);
}

#medium_puzzle_captcha .puzzle-grid {
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
}

#hard_puzzle_captcha .puzzle-grid {
    grid-template-columns: repeat(4, 75px);
    grid-template-rows: repeat(4, 75px);
}

#extreme_puzzle_captcha .puzzle-grid {
    grid-template-columns: repeat(5, 75px);
    grid-template-rows: repeat(5, 75px);
}

.tile {
    border: 1px solid #ccc;
    background-color: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300px 300px;
    box-sizing: border-box;
    touch-action: manipulation;
    cursor: grab;
}

#normal_puzzle_captcha .tile {
    width: 150px;
    height: 150px;
}

#medium_puzzle_captcha .tile {
    width: 100px;
    height: 100px;
}

#hard_puzzle_captcha .tile {
    width: 75px;
    height: 75px;
}

#extreme_puzzle_captcha .tile {
    width: 75px;
    height: 75px;
    background-size: 375px 375px;
    gap: 0
}

.controls button {
    font-size: 20px;
    margin: 20px 0px;
    padding: 10px;
    cursor: pointer;
}

#normal_puzzle_captcha .game-container,
#medium_puzzle_captcha .game-container,
#hard_puzzle_captcha .game-container,
#extreme_puzzle_captcha .game-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#normal_puzzle_captcha .verify-button,
#medium_puzzle_captcha .verify-button,
#hard_puzzle_captcha .verify-button,
#extreme_puzzle_captcha .verify-button {
    background: var(--bg-secondary);
    width: 100%;
    color: white;
    padding: 15px 40px;
    font-weight: 400;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.puzzle-button {
    gap: 20px;
}

.verify-button-reset {
    border: 1px solid var(--accent);
    border-radius: 8px;
    background-color: transparent;
    color: var(--accent);
    padding: 15px 40px;
    font-weight: 400;
    font-size: 16px;
}

/* =============================== Puzzle Captcha game End =============================== */
/* =============================== Wallet Page Captcha game Star =============================== */

.coins-box {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    /* height: 100px; */
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.label {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}

.note {
    font-size: 12px;
}

.payment-methods {
    background: white;
    color: black;
    border: 1px solid rgb(219, 218, 218);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.methods {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;

}

.method:hover {
    cursor: pointer;
    background: var(--bg-primary);
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.2);
}

.methods::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.payment-methods .method {
    text-align: center;
    border: 1px solid rgb(219, 218, 218);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    min-width: 170px;
}

.payment-methods .method p {
    font-weight: 400;
    font-size: 14px;
}

.payment-methods .method img {
    width: 40px;
    height: 40px;
}

.rewards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rewards .reward {
    background: white;
    color: black;
    border: 1px solid rgb(219, 218, 218);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    justify-content: center;
    gap: 5px;
}

.rewards .reward img {
    width: 20px;
    height: 20px;
}

.right-reward-money {
    gap: 5px;
}

#wallet.app_wrapper {
    background: var(--bg-primary);
}

/* =============================== Wallet Page Captcha game End =============================== */
/* =============================== language Page Captcha game Start =============================== */
.language-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.lang-btn {
    background: #f3f3f3;
    border: solid 1px rgb(233, 233, 233);
    color: #333;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.lang-btn.selected {
    border: 1px solid var(--accent);
    background-color: #fff;
    color: var(--accent);
    font-weight: 600;
}

.lang-btn:hover {
    border: 1px solid var(--accent);
    background-color: #fff;
    color: var(--accent);
    font-weight: 500;
}

button {
    border: unset;
}

.update-btn {
    width: 100%;
    background: var(--bg-secondary);
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.translated-text {
    margin-top: 30px;
    font-size: 24px;
}

/* =============================== language Page Captcha game End =============================== */
/* =============================== Account Delete Page Captcha game Start =============================== */

/* #deletePopup.deletePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#deletePopup .deletePopup-content {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    width: 70%;
    max-width: 270px;
    text-align: start;
}

#deletePopup .deletePopup-content .title {

    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
}

#deletePopup .deletePopup-content p {
    font-size: 14px;
    padding-bottom: 10px;
}

#deletePopup .deletePopup-buttons {
    display: flex;
    justify-content: end;
    margin-top: 20px;
}

#deletePopup .deletePopup-buttons button {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: unset;
}

#deletePopup .deletePopup-buttons .cancel-btn {
    color: gray;
}

#deletePopup .deletePopup-buttons .delete-btn {
    color: red;
} */
/* Overlay */
#deletePopup.deletePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* dark semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Popup container */
.deletePopup-content {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 16px;
    max-width: 284px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* Title */
.deletePopup .title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

/* Message text */
.deletePopup p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

/* Buttons */
.deletePopup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cancel-btn,
.delete-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn {
    background-color: #e0e0e0;
    color: #333;
}

.cancel-btn:hover {
    background-color: #d5d5d5;
}

.delete-btn {
    background: var(--bg-secondary);
    color: white;
}

.delete-btn:hover {
    background: var(--bg-secondary-hover);
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ===============================  Account Delete Captcha game End =============================== */


.main-telegram {
    background-color: #000;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}

#telegram.app_wrapper {
    background-color: black;
}

#telegram .header-telegram {
    background: #1e1e1e;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#telegram .download-btn {
    background-color: #229ED9;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

#telegram .card {
    background-color: #222;
    border-radius: 10px;
    margin: 40px auto;
    padding: 30px 20px;
    width: 70%;
    max-width: 400px;
}

#telegram .card .title {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 10px;
}

#telegram .card .subscribers {
    color: gray;
    margin-bottom: 10px;
}

#telegram .card img {
    width: 80px;
    margin-bottom: 15px;
}

#telegram .card p {
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 14px;
}

#telegram .view-btn {
    background-color: #229ED9;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
}

#telegram .subtitle {
    color: #aaa;
    margin-top: 10px;
}

/* ============================================= log in page and Sign Start ============================================= */

.logo-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img img {
    padding-top: 20px;
    width: 40%;
}

.log-in {
    /* max-width: 400px; */
    margin: 20px auto;
    /* padding: 20px; */
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.input-group {
    margin-bottom: 16px;
}

#login input[type="email"],
#login input[type="password"],
#login input[type="text"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    /* padding: 20px; */
    /* border: 1px solid gray; */
    /* border-radius: 5px; */
    /* font-size: 16px;
    font-weight: 300; */
    text-align: start;
    letter-spacing: 0px;
    /* width: -webkit-fill-available; */
    margin-bottom: 0px;
}

.sign-up-logIn-link {
    cursor: pointer;
}

.auth-button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--bg-secondary);
    border: none;
    border-radius: 30px;
    margin-top: 10px;
    cursor: pointer;
}

.auth-button:hover {
    opacity: 0.9;
}

.auth-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-text {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.toggle-text a {
    color: #5e2ce4;
    text-decoration: none;
}

.form-box {
    display: block;
}

.hidden {
    display: none;
}

.notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.telegram-btn {
    display: inline-block;
    background-color: #5e2ce4;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    margin-left: 10px;
    font-size: 14px;
    text-decoration: none;
}

/* 
.error {
    color: red;
    text-align: center;
    font-size: 14px;
    padding-top: 10px;
} */

.error {
    display: none;
    margin-bottom: 10px;
    background: red;
    opacity: 0.7;
    color: white;
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    border-radius: 5px;
    width: 80%;
    padding: 5px 10px;
    margin-left: auto;
    margin-right: auto;
}

#errorMessage {
    margin-top: 10px;
}

/* Toast msg show */

.toast {
    position: absolute;
    right: -250px;
    top: 10px;
    background-color: #28a745;
    color: white;
    width: 200px;
    padding: 15px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    pointer-events: none;
}

.toast.show {
    right: 0px;
    opacity: 1;
    pointer-events: auto;
}

.toast.hide {
    right: -250px;
    opacity: 0;
}

.auth-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 6px;

}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================= log in page and Sign End ============================================= */
/* .go-to-home-btn {
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.home-btn {
    padding: 5px 10px;
    background: var(--bg-secondary);
    color: white;
    border: solid 1px var(--bg-primary);
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.home-btn:hover {
    background: var(--accent);
} */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10PX;
    padding: 10px 20px;

    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border: var(--bg-primary) solid 1px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(157, 170, 212, 0.6);
    background: linear-gradient(135deg, #feb47b, #ff7e5f);

    transition: all 0.3s ease;
}

.home-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.home-btn:hover {
    transform: translateY(-3px);
    background: var(--bg-secondary);
    box-shadow: 0 4px 15px rgba(199, 207, 233, 0.4);
}

.home-btn:hover i {
    transform: rotate(20deg) scale(1.2);
}

.home-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}


/* ==============================popup-home-to-screen ======================== */
.popup-home-to-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.popup-content-home-to-screen {
    background: #fff;
    position: relative;
    padding: 60px 10px;
    border-radius: 15px;
    color: #333;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 85%;
    width: 360px;
    font-family: 'Segoe UI', sans-serif;
}

.popup-content-home-to-screen p {
    font-size: 1rem;
    font-weight: 500;
}

.popup-content-home-to-screen button {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    width: 30px;
    height: 30px;
    background: #f44336;
    color: white;
    font-size: 17px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-content-home-to-screen button:hover {
    background: #d32f2f;
}

/* ================================== Start Privacy Policy ========================= */



/* #privacy-policy h2 {
    color: #333;
}

#privacy-policy .Privacy-Policy-title {
    color: white;
    font-size: 25px;
    font-weight: bold;
}

p {
    color: #555;
}

.container:hover {
    transform: scale(1.01);
} */

/* footer {
            text-align: center;
            padding: 20px;
            font-size: 0.9em;
            color: #888;
        } */
/* 
#privacy-policy .highlight {
    color: var(--accent);
    font-weight: bold;
} */


/* Title Bar */
/* .game-title {
    background-color: #007BFF;
    color: white;
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

#privacy-policy .Privacy-Policy-title {
    font-size: 22px;
    font-weight: bold;
}

/* Content Container */
/* .container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
} */
/* 
.container:hover {
    transform: scale(1.01);
} */

/* Headings */
#privacy-policy h2 {
    color: var(--accent);
    border-bottom: 2px solid #ddd;
    padding-bottom: 6px;
    margin-top: 30px;
    font-size: 22px;
}

/* Paragraphs */
#privacy-policy p {
    color: #444;
    line-height: 1.7;
    margin-top: 10px;
}

/* Lists */
#privacy-policy ul {
    margin: 10px 0 20px 20px;
    padding-left: 20px;
}

#privacy-policy ul li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 18px;
}

#privacy-policy ul li::before {
    content: "✔";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Highlighted text */
#privacy-policy .highlight {
    color: var(--accent);
    font-weight: bold;
}

/* Footer */
/* footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
    background-color: #f1f1f1;
    margin-top: 50px;
    border-top: 1px solid #ddd;
} */

/* ==================================Start New Wallet Design ============================ */
/* .wallet-main-box {
    border: 1px solid var(--accent);
    border-radius: 10px;
    background: white;
    padding: 20px;
} */

/* .bg-wallet-page{
    background: var(--accent);
} */
.imag-wallet-coin {
    margin-bottom: 15px;
}

.imag-wallet-coin img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.show-coins p,
.show-coins .coins-wallet {
    font-weight: 500;
}

.info-coin {
    font-size: 12px;
}

.withdraw-btn {
    background: var(--bg-secondary);
    color: var(--text-light);
    border-radius: 2px;
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.withdraw-btn:hover {
    background: var(--accent);
}

/* .method {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.method img {
    width: 50px;
    height: 50px;
} */

.method.selected {
    border-color: #4CAF50;
    background-color: #f0fff0;
}

/* Popup Styles */
#wallet .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#wallet .popup {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#wallet .popup .title {
    margin-bottom: 12px;
    font-size: 20px;
}

#wallet .popup input {
    width: 90%;
    padding: 10px 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.wallet-payment-toast {
    /* visibility: hidden; */
    min-width: 300px;
    background-color: green;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px 16px;
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.4s, top 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wallet-payment-toast.show {
    visibility: visible;
    opacity: 1;
    top: 50px;
    /* slide down */
}

.close-toast-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

#wallet .popup-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#wallet .popup .cancel-btn {
    background: #ccc;
    color: #333;
    padding: 10px;
    width: 48%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

#wallet .popup .cancel-btn:hover {
    background: #bbb;
}

#wallet .popup .apply-btn {
    background: #4CAF50;
    color: white;
    padding: 10px;
    width: 48%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

#wallet .popup .apply-btn:hover {
    background: #43a047;
}

#logoutItem,
#authButton {
    display: none;
}

.loginPopup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    z-index: 1000;
    text-align: center;
    border-bottom: 1px solid #ffeeba;
}

.loginPopup-content button {
    margin-top: 10px;
    padding: 5px 10px;
}

/* ===================For Top Line Start====================== */
#withdrawal-message {
    font-size: 16px;
    font-weight: bold;
    transform: translateY(25%);
    width: fit-content;
    color: #333;
    animation: fadeIn 1s ease-in-out;
}

.email {
    color: green;
}

.action {
    color: blue;
}

.amount {
    color: red;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================For Top Line End====================== */


/* .install-popup {
        position: fixed;
        top: -100%;
        left: 0;
        right: 0;
        background-color: #fff;
        border-bottom: 1px solid #ccc;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        transition: top 0.4s ease;
        padding: 16px;
        text-align: center;
    }



    .popup-content button {
        margin: 10px 5px;
        padding: 10px 15px;
        border: none;
        background-color: #007aff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

    #closePopup {
        background-color: #ccc;
        color: #333;
    } */
.install-popup {
    display: none;
}

.install-popup.show {
    top: 0;
}

#installPopup {
    position: fixed;
    top: -400px;
    /* hidden above viewport */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 300px;
    background: #f9fafb;
    color: #333;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    padding: 24px 28px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9999;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Show popup by sliding down */
#installPopup.show {
    top: 30px;
}

.install-popup h2 {
    font-size: 18px;
    padding: 0px;
    font-weight: 700;
    margin: 0px;
    color: #333;
    text-align: center
}

/* Title text at the top */
#installPopup p {
    font-size: 1.3rem;
    font-weight: 600;
    color: gray;
    /* margin: 0 0 24px 0; */
    text-align: center;
    width: 100%;
}

/* Buttons container at the bottom side by side */
#installPopup .popup-content {
    width: 100%;
    margin-top: 42px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

/* Buttons base style */
#installPopup button {
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 40px;
    font-weight: 600;
    border: 2.5px solid transparent;
    /* min-width: 130px; */
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.08);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Install button - pastel green */

/* display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10PX;
    padding: 10px 20px;

    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border: var(--bg-primary) solid 1px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(157, 170, 212, 0.6);
    background: linear-gradient(135deg, #feb47b, #ff7e5f); */

/* transition: all 0.3s ease; */
#installBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10PX;
    padding: 10px 20px;

    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border: var(--bg-primary) solid 1px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(157, 170, 212, 0.6);
    background: linear-gradient(135deg, #feb47b, #ff7e5f);

    transition: transform 0.3s ease-in-out,
        background 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}

#installBtn:hover {
    /* transform: translateY(-3px); */
    background: var(--bg-secondary);
    box-shadow: 0 4px 15px rgba(199, 207, 233, 0.4);
}

/* Later button - white with green border */
#laterBtn {
    background-color: white;
    color: var(--accent);
    text-transform: uppercase;
}

#laterBtn:hover {
    background: var(--bg-secondary);
    color: white;
}

#installPopup #closePopup {
    position: absolute;
    padding: 10px 15px;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #666666;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    transition: color 0.3s ease;
}

#installPopup #closePopup:hover,
#installPopup #closePopup:focus {
    color: #000000;
    outline: none;
}

/* Ads Spinner */

.ads-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-loading-box {
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
}

.dots-spinner {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.dots-spinner div {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: var(--accent);
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.dots-spinner div:nth-child(2) {
    animation-delay: 0.2s;
}

.dots-spinner div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 0.6;
    }

    to {
        transform: translateY(-15px);
        opacity: 1;
    }
}