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

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

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

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

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

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

@font-face {
    font-family: 'NeuronAngledDB';
    src: url('fonts/Neuron Angled Db.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeuronAngled';
    src: url('fonts/Neuron Angled.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'PretebdardSB', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('icons/newbgx.png');
    backgrounddimage: linear-gradient(to bottom, #000000, #020718, #110C18, #0F0C18, #020C2A);
    background-size: cover; /* Cover the entire container */
    color: white;
    overflow: auto; /* Allow scrolling for other tabs */
}

body.play-page {
    backgrounddimage: linear-gradient(to bottom, #000000, #020718, #110C18, #0F0C18, #020C2A);
    background-image: url('icons/newbgx.png');
    backgrounddimage: radial-gradient(#94A0D0 5%, black 60%);
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    overflow: hidden; /* Prevent vertical scrolling specifically for the play page */
}

body.listing-page {
    overflow: hidden;
}

body.playtab-bg {
    
}

.tab-content {
    flex-grow: 1;
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.earn-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-task, .task-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.video-task:hover, .task-item:hover {
    background-color: #333;
}

.task-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.task-info {
    flex-grow: 1;
}

.task-info p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.reward {
    color: #f1c40f;
    font-weight: bold;
}

.rewardmodal {
    color: #f1c40f;
    font-size: 30px;
    font-weight: bold;
}

.arrow-icon, .status-icon {
    width: 24px;
    height: 24px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffffff;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-container {
    width: 100%;
    background: #000;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    border-top: 1px solid #8555C1;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    justify-content: center;
}

.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
}

.tabs li {
    padding: 10px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.tabs li.active, .tabs li:hover {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0);
    color: #7144A8;
}

tabbtn1.active {
    color: #7144A8;
}

.tab-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.reward-buttons-container {
    height: calc(100vh - 100px); /* Adjust this value based on your layout */
    overflow-y: auto;
}

.reward-buttons, .daily-task {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.reward-button {
    padding: 10px;
    background-color: #1e1e1e;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
    padding-left: 20px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reward-button:hover {
    background-color: #333;
}

.reward-buttonii {
    padding: 10px;
    background-color: #1e1e1e;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
    padding-left: 20px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reward-buttonii:hover {
    background-color: #333;
}

.reward-button .arrow-icon {
    width: 20px;
    height: 20px;
    margin-left: auto; /* Add this to push the arrow to the right */
}

.task-content {
    display: none;
    margin-top: 20px;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 10px;
}

.task-content h3 {
    margin-top: 0;
}

.task-content ul {
    list-style: none;
    padding: 0;
}

.task-content ul li {
    padding: 5px 0;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    bottom: -50%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #1e1e1e;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.modal-body h2 {
    margin: 0;
}

.follow-button, .check-button, .jointelegram-button, .invitefriends-button {
    padding: 12px 24px;
    background-color: #3498db;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.follow-button:hover, .check-button:hover, .jointelegram-button:hover, .invitefriends-button:hover {
    background-color: #2980b9;
}

.subscribe-button, .watchvideo-button {
    padding: 13px 26px;
    background-color: #f44336;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}

.subscribe-button:hover, .watchvideo-button:hover {
    background-color: #d1281c;
}

#tab-1 h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

#tab-1 p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.invite-link-container {
    margin-bottom: 20px;
}

.invite-link-container p {
    margin-bottom: 5px;
}

.invite-link-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
}

.invite-link-box input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
}

.refinvite-button {
    background-color: #6c63ff;
    border: none;
    color: white;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
}

.refinvite-button:hover {
    background-color: #5753d6;
}

.invite-link-box p {
    margin: 10px 0;
}

.referral {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.referral-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.referral-info p {
    margin: 0;
}

.referral-reward {
    color: gold;
}

.referral-progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 8px;
    background-color: #6c63ff;
    border-radius: 8px;
}

#playtab-bgd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    width: 100px;
    height: 100vh;
    padding: 0px;
    border-radius: 0px;
    
}

.profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    width: 100%;
    background-color: rgba(120, 120, 120, 0.2); /* Optional: Semi-transparent background for better text readability */
    border-radius: 10px;
    box-sizing: border-box;
    transform: translateY(0px);
    border-style: solid;
    border-color: rgba(120, 120, 120, 1.0);
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.profile-info {
    flex-grow: 1;
    padding-left: 10px;
    text-align: left;
}

.profile-name {
    font-size: 1.2em;
}

.profile-rank {
    font-size: 0.9em;
    color: #888;
}

.logout-icon {
    height:30px;
    width:30px;
    cursor: pointer;
    filter: brightness(200%);
}

.score {
    margin: 20px 0;
    width: 100%;
    text-align: center;
    transform: translateY(50px);
}

.coins {
    display: flex;
    align-items: center;
    justify-content: center;
   transform: translateY(-50px);
}

.coins img {
    width: 50px;
    height: 50px;
}

.coin-amount {
    font-family: 'PretendardB', sans-serif;
    font-size: 3em;
    margin-left: 10px;
    text-shadow: 2px 2px 4px #000000;
}

.rank-info {
    transform: translateY(-50px);
}

.bronze-rank {
    color: #cd7f32;
}

.main-coin {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-coin img {
    width: 250px;
    height: 250px;
   }

#Main-coin {
   filter: drop-shadow(0 0 1.2rem #F9DD45);
}
#coin-coin {
    filter: drop-shadow(0 0 0.6rem #B4E3ED);
}

.energy {
    margin: 20px 0;
    font-size: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateY(100px);
}

.energy-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
     transform: translateY(-10px);
}

.energy-bar {
    width: 300px;
    height: 20px;
    background-color: rgba(35, 35, 35, 1.0); /* Add a color border to the outer shell */
    border: 6px solid rgba(35, 35, 35, 0.3); /* Add a color border to the outer shell */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    align-items: center;
    box-shadow: 2px 3px 5px 6E6E6E;
}

.energy-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #FF9200, #ffcd3c);
    border-radius: 15px 15px 15px 15px; /* Adjusted for the border */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.5s ease;
}

.energy-text {
    font-family: 'PretendardEB', sans-serif;
    font-size: 20px;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 4px #000000;
}

.energy-text::before {
    font-family: 'Troika', sans-serif;
    content: "\26A1";
    margin-right: 5px;
}

.energy-text::after {
    font-family: 'PretendardEB', sans-serif;
    font-size: 14px;
    content: "/ 1000";
    margin-left: 2px;
    transform: translateY(5px);
}

/* Media Queries for Responsive Design */

@media (max-device-width: 380px) and (max-device-height: 800px) and (-webkit-min-device-pixel-ratio: 2) {

     .tab-container {
    transform: translateY(0px);
    }

    body.play-page {
    transform: translateY(-20px);
    }
    
    #tab-3 {
   transform: scale(90%);
    }
    .task-info p {
        font-size: 16px;
    }

    .rewardmodal {
        font-size: 25px;
    }

    h3 {
        font-size: 16px;
    }

    .task-icon {
        width: 30px;
        height: 30px;
    }

    .task-content ul li {
        padding: 3px 0;
    }

    .reward-buttonii {
        padding: 8px;
    }

    .coin-amount {
        font-size: 3em;
    }

    .main-coin img {
        width: 320px;
        height: 320px;
        transform: translateY(-20px);
    }

    .energy-text {
        font-size: 20px;
        transform: translateY(-135px);
    }

    .energy-bar {
        width: 300px;
        height: 20px;
        transform: translateY(-120px);
    }

    .boosters-sub {
}
    
    body.boosters-page {
    overflow-y: hidden;
    }

    .task-list {
    height: calc(70hv - 100px);
    overflow-y: scroll;
    }

    .reward-buttons-container {
    height: calc(90vh - 100px); /* Adjust this value based on your layout */
    overflow-y: auto;
}

    .tabcontainer-new {
    bottom: 0px;
}   

    .boosters-page {
    scale: 100% 95%;
    translate: 0 -30px;
    }
}

@media (max-device-width: 380px) and (min-device-height: 801px) and (-webkit-min-device-pixel-ratio: 2) {

     .tab-container {
    transform: translateY(0px);
    }

    body.play-page {
    transform: translateY(-0px);
    }
    
    #tab-3 {
   transform: scale(100%);
    }
    .task-info p {
        font-size: 16px;
    }

    .rewardmodal {
        font-size: 25px;
    }

    h3 {
        font-size: 16px;
    }

    .task-icon {
        width: 30px;
        height: 30px;
    }

    .task-content ul li {
        padding: 3px 0;
    }

    .reward-buttonii {
        padding: 8px;
    }

    .coin-amount {
        font-size: 3em;
    }

    .main-coin img {
        width: 320px;
        height: 320px;
        transform: translateY(-20px);
    }

    .energy-text {
        font-size: 20px;
        transform: translateY(-135px);
    }

    .energy-bar {
        width: 300px;
        height: 20px;
        transform: translateY(-120px);
    }

    .boosters-sub {
}

    .task-list {
    height: calc(70hv - 100px);
    overflow-y: scroll;
    }

    .reward-buttons-container {
    height: calc(90vh - 100px); /* Adjust this value based on your layout */
    overflow-y: auto;
}

     .tabcontainer-new {

}   

     .boosters-page {
    scale: 100% 95%;
    translate: 0 -30px;
         
    }
    
}

@media (min-device-width: 381px) and (max-device-width: 450px) and (-webkit-min-device-pixel-ratio: 2) {

       .task-info p {
        font-size: 16px;
    }

    .task-list {
    height: calc(20hv - 100px);
    overflow-y: scroll;
    }

    .reward-buttons-container {
    height: calc(90vh - 100px); /* Adjust this value based on your layout */
    overflow-y: auto;
}

    .rewardmodal {
        font-size: 25px;
    }

    h3 {
        font-size: 16px;
    }

    .task-icon {
        width: 30px;
        height: 30px;
    }

    .task-content ul li {
        padding: 3px 0;
    }

    .reward-buttonii {
        padding: 8px;
    }

    .coin-amount {
        font-size: 3em;
    }

    .main-coin img {
        width: 320px;
        height: 320px;
        transform: translateY(-20px);
    }

    .energy-text {
        font-size: 20px;
        transform: translateY(-135px);
    }

    .energy-bar {
        width: 300px;
        height: 20px;
        transform: translateY(-120px);
    }

    #tab-2 {
        overflow-y: hidden;
    }
}

@media (min-width: 451px) and (max-width: 600px) and (-webkit-min-device-pixel-ratio: 2) {

    .task-info p {
        font-size: 16px;
    }

    .task-list {
    height: calc(70hv - 100px);
    overflow-y: scroll;
    }

    .rewardmodal {
        font-size: 25px;
    }

    h3 {
        font-size: 16px;
    }

    .task-icon {
        width: 30px;
        height: 30px;
    }

    .task-content ul li {
        padding: 3px 0;
    }

    .reward-buttonii {
        padding: 8px;
    }

    .coin-amount {
        font-size: 3em;
    }

    .main-coin img {
        width: 320px;
        height: 320px;
        transform: translateY(-20px);
    }

    .energy-text {
        font-size: 20px;
        transform: translateY(-135px);
    }

    .energy-bar {
        width: 300px;
        height: 20px;
        transform: translateY(-120px);
    }
}

@media (min-width: 601px) and (max-width: 1200px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-size: 16px;
    }

    .tab-content {
        padding: 15px;
    }

    .task-info p {
        font-size: 16px;
    }

    .task-list {
    height: calc(70hv - 100px);
    overflow-y: scroll;
    }

    .rewardmodal {
        font-size: 28px;
    }

    h3 {
        font-size: 17px;
    }

    .task-icon {
        width: 35px;
        height: 35px;
    }

    .task-content ul li {
        padding: 4px 0;
    }

    .reward-button {
        padding: 9px;
    }

    .reward-buttonii {
        padding: 9px;
    }

    .coin-amount {
        font-size: 3.5em;
    }

    .main-coin img {
        width: 250px;
        height: 250px;
        transform: translateY(-20px);
    }

    .energy-text {
        font-size: 20px;
        transform: translateY(-120px);
    }

    .energy-bar {
        width: 280px;
        height: 18px;
    }
}

@media (min-width: 1201px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-size: 18px;
    }

    .tab-content {
        padding: 20px;
    }

    .task-info p {
        font-size: 16px;
    }

    .task-list {
    height: calc(70hv - 100px);
    overflow-y: scroll;
    }

    .rewardmodal {
        font-size: 30px;
    }

    h3 {
        font-size: 18px;
    }

    .task-icon {
        width: 40px;
        height: 40px;
    }

    .task-content ul li {
        padding: 5px 0;
    }

    .reward-button {
        padding: 10px;
    }

    .reward-buttonii {
        padding: 10px;
    }

    .coin-amount {
        font-size: 4em;
    }

    .main-coin img {
        width: 240px;
        height: 240px;
        transform: translateY(-20px);
    }

    .energy-text {
        font-size: 20px;
        transform: translateY(-120px);
    }

    .energy-bar {
        width: 300px;
        height: 20px;
    }
}

/* Include the CSS styles */
    @keyframes enlargeAnimation {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(0.8);
      }
      100% {
        transform: scale(1);
      }
    }

    .coin-clicked {
      animation: enlargeAnimation;
      animation-duration: 0.1s;
      animation-timing-function: linear;
      transform-origin: center; /* Ensure the coin stays centered*/
    }

   .amountenlarge {
     animation: amountenlargeAnimation;
     animation-duration: 0.6s;
     animation-timing-function: linear;
     transform-origin: center; /* Ensure the coin stays centered*/
}

#coin-amount.zoom {
    animation: amountenlargeAnimation;
     animation-duration: 0.6s;
     animation-timing-function: linear;
     transform-origin: center; /* Ensure the coin stays centered*/
}

    .notification {
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: #4CAF50;
      color: white;
      padding: 10px;
      border-radius: 5px;
      display: none;
    }

.floating-text {
            position: absolute;
            font-size: 30px;
            font-weight: bold;
            color: white;
            opacity: 1;
            z-index: 100;
            animation: float 0.8s ease-out forwards;
            animation-delay: 0s;
        }

        @keyframes float {
            0% {
                transform: translateY(0);
                opacity: 1;
            }
            100% {
                transform: translateY(-200px);
                opacity: 0;
            }
        }

 @keyframes amountenlargeAnimation {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }

#Main-coin {
    transition: transform 0.3s, filter 0.3s;
}

#Main-coin:active {
    transform: scale(1.3); /* Slightly expands the button */
    transform: translateY(-10px);
    }

#tab-2 {
   transform: translateY(-30px); 
}

body.boosters-page {
  font-family: Arial, sans-serif;
  color: white;
  background-color: #2E2B4F;
  overflow-y: hidden;
}

.coin-balance {
  text-align: center;
  margin: 20px;
}

.coin-balance p {
  font-size: 1.2em;
}

.coin-balance h1 {
  font-size: 2.5em;
}

.instant-boosters {
  margin: 20px;
}

.instant-boosters p, .boosters p {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.booster-row {
  display: flex;
  justify-content: space-between;
}

.booster-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background-color: rgba(63, 59, 102, 0.2);
  border-radius: 5px;
  flex: 1;
  margin-right: 10px; /* Add some space between the items */
}

.booster-item:last-child {
  margin-right: 0; /* Remove right margin for the last item */
}

.booster-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.booster-icon {
  font-size: 1.5em;
  margin-right: 5px;
}

.booster-name {
  font-size: 1em;
  margin-bottom: 5px;
}

.booster-level, .booster-cost {
  font-size: 1em;
  margin-top: 5px;
}

.coinbalance-icon {
    height:50px;
    width:50px;
}

.boostercoin-amount {
    transform: translateY(0px);
    font-family: 'PretendardB', sans-serif;
    font-size: 3em;
    text-shadow: 2px 2px 4px #000000;
    bottom: 10px;
    position: relative
}

.coin-balance span {
transform: translateY(-50px);
}

.boosters {
    width: 100%;
    max-width: 400px;
}

.boost-item {
    display: flex;
    align-items: center;
    background-color: rgba(44, 44, 46, 0.6);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.boost-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.boost-info {
    flex-grow: 1;
}

.boost-name {
    font-size: 18px;
    font-weight: bold;
}

.boost-cost {
    display: flex;
    justify-content: space-between;
}

.boost-coinamount {
    font-size: 14px;
}

.boosterright-arrow {
    width: 20px;
    height: 20px;
}

.instant-boost {
    width: 100%;
    max-width: 400px;
}

.instant-boost p {
    font-size: 18px;
    margin-bottom: 10px;
}

.subinstant-boost {
    display: flex;
    justify-content: space-between;
}

.booster-item0 {
    display: flex;
    align-items: center;
    background-color: rgba(44, 44, 46, 0.6);
    border-radius: 10px;
    padding: 10px;
    flex-grow: 1;
    margin: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.boost-icon0 {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.booster-info0 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.boost-name0 {
    font-size: 16px;
    font-weight: bold;
}

.boost-count {
    font-size: 14px;
}

.boosters-sub {
    height: 500px
    overflow-y: auto
}

.modal2 {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    bottom: -150%;
    width: 100%;
    height: 150%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    transition: bottom 0.5s ease-in-out;
    align-items: center;
    text-align: center;
}

.modal-content2 {
    position: absolute;
    bottom: 0;
    background-color: rgba(10, 10, 30, 0.8);
    width: 92%;
    align-items: center;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-header2 {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    padding: 20px;
    align-items: center;
}

.modal-header2 .icon {
  display: block;
  margin: 0 auto 10px;
  width: 80px;
  height: 80px;
  text-align: center;
}

.icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.close2 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.close3 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.close4 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.close5 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.close6 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.close7 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.boosteraction-button {
    width: 100%;
    padding: 15px;
    background-color: #6200ea;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

.boosteraction-button.insuffuicient {
    background-color: gray;
    color: #e7e5e5;
}

.boosteraction-button:hover {
    background-color: #3700b3;
}

.boosteraction-button2 {
    width: 100%;
    padding: 15px;
    background-color: #636363;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

.boosteraction-button2:hover {
    background-color: #636363;
}

.energy-text {
     
}

.energyZoom {
    animation: energyZoom 0.3s ease-in forwards;
}

 @keyframes energyZoom {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s; /* Smooth transition for opacity */
    transition-delay: 4s; /* Delay */
}

.loading-screenhidden {
    display: none;
    opacity: 0;
}

.loadingspinner {
     border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tabcontainer-new {
    position: fixed;
    bottom: 20px;
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    left: 10px;
    justify-content: space-evenly;
    background-color: rgba(0,0,0,0);
    padding: 10px 0;
    z-index: 1000;
}

.tab-new {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    margin: 0 5px; /* Add space between tabs */
    border: 1px solid #333333; /* Thin outline */
    border-radius: 10px; /* Rounded corners */
    background-color: rgba(30,30,40,0.3); /* Background color for each tab */
}

.tab-new.active {
    background-color: rgba(255,215,0,0.2);
    border-color: #FFD700;
}

.tab-new:hover {
    background-color: rgba(255,215,0,0.2);
    color: #FFD700;
}

.tab-new img {
    display: block;
    width: 24px; /* Adjust based on your icon size */
    height: 24px; /* Adjust based on your icon size */
    margin: 0 auto 5px;
}

.tab-new span {
    display: block;
    font-size: 10px;
    font-weight: bold;
}

/* CSS x */
.referral-listx {
    width: 100%;
    max-width: 500px;
    margin: auto;
    font-family: Arial, sans-serif;
}

.referral-itemx {
    display: flex;
    align-items: center;
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.avatarx {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-infox {
    flex: 1;
}

.namex {
    font-size: 18px;
    font-weight: bold;
}

.scorex {
    display: flex;
    align-items: center;
}

.peach-iconx {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.bonusx {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

.coin-iconx {
    height:20px;
    width:20px;
}

.limit-message {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed position relative to the viewport */
    width: 300px;
    text-align: center;
    bottom: 20px; /* Distance from the bottom of the screen */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    background-color: #F12222; /* Light red background color */
    color: #fff; /* Dark text color */
    padding: 15px 30px; /* Padding around the text */
    border: 1px solid #B42B2B; /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for a raised effect */
    font-family: Arial, sans-serif; /* Font family */
    z-index: 1050; /* Ensure it appears above other elements */
    opacity: 0; /* Fully invisible */
    transition: opacity 0.25s; /* Smooth transition for opacity */
}

.limit-message.show {
    display: block;
    opacity: 0.975; /* Fully visible */
}

.energyrefillsuccess-message {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed position relative to the viewport */
    width: 300px;
    text-align: center;
    bottom: 20px; /* Distance from the bottom of the screen */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    background-color: #10B92D; /* Light red background color */
    color: #fff; /* Dark text color */
    padding: 15px 30px; /* Padding around the text */
    border: 1px solid #1D8C30; /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for a raised effect */
    font-family: Arial, sans-serif; /* Font family */
    z-index: 1050; /* Ensure it appears above other elements */
    opacity: 0; /* Fully invisible */
    transition: opacity 0.25s; /* Smooth transition for opacity */
}

.energyrefillsuccess-message.show {
    display: block;
    opacity: 0.975; /* Fully visible */
}

 @keyframes notificationAnimation {
      0% {
        opacity: 0;
        transform: scale(0.5);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

.dailyreward-button {
    padding: 12px 24px;
    background-color: #20D02F;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.dailyreward-button:hover {
    background-color: #20C42D;
}

#dreward-button.disabled {
    background-color: gray;
    cursor: not-allowed;
}

#dreward-message {
    color: red;
    margin-top: 10px;
}

#dreward-message.green {
    color: #20C42D;
    margin-top: 10px;
}

.tasksuccess-message {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed position relative to the viewport */
    width: 300px;
    text-align: center;
    bottom: 100px; /* Distance from the bottom of the screen */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    background-color: #10B92D; /* Light red background color */
    color: #fff; /* Dark text color */
    padding: 15px 30px; /* Padding around the text */
    border: 1px solid #1D8C30; /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for a raised effect */
    font-family: Arial, sans-serif; /* Font family */
    z-index: 1050; /* Ensure it appears above other elements */
    opacity: 0; /* Fully invisible */
    transition: opacity 0.25s; /* Smooth transition for opacity */
}

.tasksuccess-message.show {
    display: block;
    opacity: 0.975; /* Fully visible */
}

.tasksuccess-message.failed {
    display: block;
    opacity: 0.975; /* Fully visible */
    background-color: #DB1515;
    color: #fff; /* Dark text color */ 
    animation: taskAnimation 0.5s;
}

 @keyframes taskAnimation {
      0% {
        transform: scale(0.5);
      }
      100% {
        transform: scale(1);
      }
    }

.xcheck-button {
    padding: 12px 24px;
    background-color: gray;
    border: none;
    color: white;
    cursor: not-allowed;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.xcheck-button.clickable {
    background-color: #3498db;
    cursor: pointer;
}

.xcheck-button.clickable:hover {
    background-color: #2980b9;
    cursor: pointer;
}

.ytcheck-button {
    padding: 12px 24px;
    background-color: gray;
    border: none;
    color: white;
    cursor: not-allowed;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.ytcheck-button.clickable {
    background-color: #3498db;
    cursor: pointer;
}

.ytcheck-button.clickable:hover {
    background-color: #2980b9;
    cursor: pointer;
}

#connect-wallet {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.modal3 {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    bottom: -150%;
    width: 100%;
    height: 150%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    transition: bottom 0.5s ease-in-out;
    align-items: center;
    text-align: center;
}
