@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bebas+Neue&family=Dancing+Script:wght@400..700&family=Quicksand:wght@300..700&family=Raleway:wght@700&family=Rammetto+One&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

button, input, select, textarea, img, a {
    outline: none;
    box-shadow: none;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 100%;
    max-width: 450px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: #181818;
    background-size: cover;
    background-position: center;
} 

 @media only screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}

* {
    user-select: none;
    -webkit-user-select: none; /* لأجهزة iOS */
    -ms-user-select: none; /* لمتصفحات إنترنت إكسبلورر */
}

img {
    pointer-events: none;
}
 
.hidden {
    display: none;
}
 
.screen-content {
    flex: 1;
    display: none;
    padding: 10px;
    position: relative;
    background: inherit;
    overflow: hidden;
}

.screen-content.scrollable {
    overflow-y: auto;
}

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

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: fixed;
    bottom: 0;
    padding-bottom: 4px;
    border-top: 1px solid #1c1c1c;
    border-radius: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #101010;
}

.menu-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 10px auto; 
    border-radius: 25px;
    width: 95%;
    z-index: 100;
}
 
.menu-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    position: relative;
}

.menu-item {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: #808080;
    border-radius: 50%;
    margin: 5px auto;
    transition: all 0.3s ease;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-item.active .icon-wrapper {
    color: #2D83EC;
    position: relative;
    transform: scale(1.1);
}

.menu button:hover::before {
    opacity: 1;
} 

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px; 
    height: 30px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.club-task, .racetxt, .premtxt, #Daily-earning, #t, #partners, .swaptxt {
    display: flex; /* استخدام flexbox */
    align-items: center; 
    gap: 4px;
    font-weight: 500;
    z-index: 100;
    color: #808080; 
    font-size: 15px; 
    text-align: left;
    margin-bottom: 7px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: 15px;
}

#Lead-txt, #invited-Count {
    display: flex; 
    align-items: center; 
    gap: 4px;
    font-weight: 500;
    z-index: 100;
    color: #808080; 
    font-size: 15px; 
    text-align: left;
    margin-bottom: 7px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: 15px;
}
 
.ra-task-container, .race-container, .premium-container, #leaderboardContainer, .invite-sec {
    width: 100%;
    height: auto; 
    background: #101010;
    border-radius: 10px;
    margin-top: 10px; 
    margin-left: auto;
    margin-right: auto; 
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* شفافية */
    backdrop-filter: blur(5px); 
    display: none; 
    z-index: 150; /* أعلى من باقي العناصر */
}
 
#mainPage {
    padding-top: 5px; 
    overflow-y: auto; 
    background-clip: padding-box;
    padding-bottom: 80px;
}


#leaderboardnavbarBalanceDisplay, #miningnavbarBalanceDisplay, #BoostnavbarBalanceDisplay, #tasknavbarBalanceDisplay, #navbarBalanceDisplay,
#lvlnavbarBalanceDisplay, #puzzlenavbarBalanceDisplay, #AccountnavbarBalanceDisplay, #gnavbarBalanceDisplay {
    font-size: 13px;
    cursor: pointer;
    margin-left: 0;
    margin-right: 15px;
    left: 40px;
    color: #ffffff; /* لون النص */
    transition: padding 0.2s ease; /* تأثير بسيط عند التمدد */
    min-width: 30px; /* عرض أدنى للعنصر */
    white-space: nowrap; /* لمنع النص من الانتقال إلى سطر جديد */
} 

#globalNavbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 15px;
    left: 20px; 
    width: auto;
    height: 28px;
    z-index: 500;
    cursor: pointer;
    border-radius: 20px; /* زوايا مستديرة في الأسفل فقط */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

#racePage, #premiumPage, #accountPage, #swapPage, #timerGamePage {
    padding-top: 5px; /* يمكنك تغيير القيمة حسب الحاجة */
    background-clip: padding-box; /* تأكد من أن الخلفية لا تؤثر على المسافة */
    overflow-y: auto; /* لجعل الصفحة قابلة للتمرير */
    padding-bottom: 130px; /* مسافة سفلية */
}

#leaderboardPage {
    padding-top: 5px;
    padding-bottom: 130px;
    overflow-y: auto;
    background-clip: padding-box;
    position: relative;
} 

.Leaders-image { 
    width: 150px;
    margin: 10px auto;
    height: auto;
    display: block;
}   

#Leaders-txt {
    text-shadow: 3px 3px #181818;
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px; /* يمكنك تغيير القيمة حسب المسافة التي تريدها */
    font-weight: bold;
    font-size: 22px; 
}

.leaderboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 99%; 
    margin: 0 auto;
    margin-bottom: 10px;
    height: 50px;
    position: relative;
} 

.leaderboard-avatar {
    margin-left: 50px;
    width: 40px;
    height: 40px;
    border: 1px dashed #2D83EC;
    border-radius: 10px;
    padding: 1px;
    object-fit: cover;
}

.leaderboard-username {
    flex: 1;
    font-size: 13px;
    margin-left: 15px;
} 

.leaderboard-balance {
    font-size: 12px;
    color: #808080;
    text-align: center;
    margin-right: 10px;
}

#Leaders-txxt {
  background: linear-gradient(45deg, #2D83EC, #1AC9FF);
  background-color: transparent;
  -webkit-background-clip: text; 
  background-clip: text;
  color: transparent;
  margin-left: 25px;
  text-align: center;
  flex: 1;
}

.user-ranking {
    bottom: 70px;
    position: fixed;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%; 
    height: 55px;
    margin: 5px auto;
    border-radius: 10px;
    background: rgba(16, 16, 16, 0.8);
}

.leader-rank {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: #101010;
    border-radius: 50%;
    color: #2D83EC;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
} 

.leaderboard-rank {
    position: absolute;
    left: 15px; 
    font-size: 15px;
    font-weight: bold;
} 


.swap-container {
    width: 100%;
    height: auto; 
    background: #101010;
    border-radius: 10px;
    margin-top: 10px; 
    margin-left: auto;
    position: relative; 
    margin-right: auto; 
    overflow: hidden;
}

.swap-0 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px; 
    margin: 10px 0;
    border: 2px dashed #1c1c1c; /* تغيير الحافة إلى متقطعة */
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto; 
    overflow: hidden;
} 

.swap-box {
  position: relative; 
  background: #101010;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}

.currency-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px; 
  object-fit: cover;
  margin-left: 12px;
  padding: 1px;
  border: 2px dotted #1c1c1c;
}

.currency-xicon {
  width: 35px;
  height: 35px;
  border-radius: 10px; 
  object-fit: cover;
  margin-right: 12px;
  padding: 1px;
  border: 2px dotted #1c1c1c;
} 

.currency-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.swap-row input#tonAmount {
  text-align: center;
  margin-left: 65px;
}

.swap-row.reverse input#myCoinAmount {
  text-align: left;
  margin-left: 20px;
} 

input[type="number"] {
  padding: 5px;
  border: none;
  color: #fff;
  background: transparent;
  font-size: 17px; /* تكبير الخط */
  width: 100%;
}

.swap-row.reverse {
  flex-direction: row-reverse; /* لتبديل الترتيب */
}

.swap-row.verse {
  flex-direction: row; /* الترتيب الطبيعي */
}
 
 
.swap-toggle {
  background: #2D83EC;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  margin: 10px 0;
}

.swap-action {
  background:#2D83EC;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  cursor: pointer;
}

.swapss {
    font-weight: 500;
    z-index: 100;
    color: #808080; 
    font-size: 12px; 
    text-align: left;
    margin-bottom: 10px;
    margin-top: 7px;
    margin-right: auto;
    margin-left: 15px;
}

.tonaccount {
    position: absolute; 
    display: flex; 
    align-items: center; 
    top: 5px; 
    right: 25px; 
    gap: 4px;
    font-weight: 500;
    z-index: 100;
    background: linear-gradient(45deg, #2D83EC, #1AC9FF);
    background-color: transparent;
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent;
    font-size: 13px; 
    text-align: right;
}

.tonaccount svg { 
    color: #808080;
} 

.popup {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px); 
    padding: 20px;
    border-radius: 10px 10px 0 0; 
    border-top: 2px solid #343434;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* بداية من أسفل الشاشة */
    width: 85%;
    height: 45vh;
    z-index: 200;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    0% {
        transform: translateX(-50%) translateY(100%);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.popup-content h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
}

.popup-middle {
    position: relative;
    flex-grow: 1; 
    display: flex;
    color: #ffffff;
    font-size: 15px;
    margin: 10px;
    flex-direction: column;
    justify-content: center;
}

.popup-middle p {
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    margin: 10px;
}

.middle-p {
    position: relative;
    z-index: 10;
    font-weight: 500;
    margin-top: 10px;
    padding: 8px 13px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
}  

 #receivedAmount, #paidAmount {
    font-size: 15px;
    background: linear-gradient(45deg, #2D83EC, #1AC9FF);
    background-color: transparent;
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent;
}
 
.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* مسافة بين الأزرار */
    padding-bottom: 10px;
}

.popup-button {
    color: #fff;
    background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
    font-weight: bold;
    border-radius: 10px;
    padding: 10px 50px;
    cursor: pointer;
    flex: 1;
    max-width: 46%;
} 

#cancelSwap {
    background: #fff;
    color: #000;
} 


.currency-exchange-icon {
  margin-bottom: 30px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.currency-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.currency-exchange-icon svg {
  width: 40px;
  height: 40px;
}
 

.full-width-divider {
    width: 100%; /* يأخذ العرض بالكامل */
    height: 0; /* لا نحتاج ارتفاع لأننا نستخدم border */
    border-top: 1.5px dashed #1c1c1c; /* خط متقطع */
    margin: 8px 0; /* مسافة أعلى وأسفل الفاصل */
} 

.swap-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed #1c1c1c;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #808080;
}

.note-container {
    width: 100%;
    margin: 15px auto;
    height: 50px;
    box-sizing: border-box;
    color: #808080; 
    display: flex;
    align-items: center;
    padding-left: 15px; 
    padding-right: 5px; 
    background-color: rgba(0, 0, 0,0.1);
    border: 2px dashed #101010;
    border-left: 2px solid #2D83EC; 
    font-size: 12px;
    border-radius: 10px;
    font-weight: 500;
}

.top-name {
    position: absolute;
    top: 10px;
    left: 10px;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    margin-left: 10px;
    margin-left: auto;
    width: 80px;
    height: 23px; 
    padding: 2px 20px; 
    border: 2px dashed #101010;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
} 

.user-image {
   border: 2px dashed #101010;
   margin-top: 22px;
   margin-bottom: 13px;
   border-radius: 10px;
   display: block;
   padding: 2px;
   width: 70px; 
   height: 70px; 
   object-fit: cover;
} 

.usercard-Premium {
    display: flex;
    align-items: center;
    margin: 10px auto;
}

.Premium-image {
    width: 40px;
    border-radius: 10px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
}

.prem {
    font-size: 14px;
    background: linear-gradient(45deg, #2D83EC, #1AC9FF);
    background-color: transparent;
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent;
    text-align: left;
} 

.button-subscribe-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.subscribe-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 98%;
    max-width: 300px; 
    height: 40px;
    margin: 10px 0;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.premium-features-container {
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #2D83EC;
    border-radius: 10px;
    background: rgba(16, 16, 16, 0.5);
    text-align: center;
    position: relative;
}

.features-title {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-image: linear-gradient(to top, #005bea 0%, #00c6fb 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.feature {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 550;
    color: #fff;
}

.feature svg {
    width: 25px;
    height: 25px;
    color: #2D83EC;
    margin-right: 10px; 
} 


#postSubscriptionContainer {
    text-align: center;
    background: rgba(16, 16, 16, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pr-welcome {
    font-size: 20px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #2D83EC, #1AC9FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pre-welcome {
    font-size: 14px;
    color: #808080;
    margin-bottom: 15px;
}

.premium-welcome svg {
    width: 80px;
    height: 80px;
    color: #2D83EC;
    margin-bottom: 10px;
}

.balancess-container {
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.balance-title {
    text-align: left;
    flex: 1;
}

.balance-value {
    display: flex;
    align-items: center;
    margin-right: 8px; 
    gap: 5px;
}

.Tic-icon {
    width: 23px;
    height: 23px;
}
 
 
.center-image {
    position: relative;
    text-align: center;
    margin: 5px 0;
}

.center-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.countdown-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); 
    color: #fff;
    font-weight: 400;
    font-style: normal;
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    padding: 5px 35px;
    border-radius: 30px;
    margin: 10px auto;
}

.countdown-text svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
} 

.golden-tickets-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    margin-top: 70px;
    margin-bottom: 30px;
}

.ticket-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); 
    width: 80%;
    height: 110px;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.Tick-icon {
    margin-top: 10px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
} 

.ticket-text {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
    font-size: 12px;
}

 .tic-ton-text {
    text-align: center;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); 
    color: #fff;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 30px;
    display: inline-block;
    margin: 0 auto;
} 

.dollar-text {
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); 
    color: #fff;
    font-size: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
    margin: 10px auto;
}


.key { 
    font-size: 20px;
    color: #ffc107;
    transform: rotate(-45deg); 
    padding-left: 3px;
}  

.popupp {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px); 
    padding: 20px;
    border-radius: 10px 10px 0 0; 
    border-top: 2px solid #343434;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* بداية من أسفل الشاشة */
    width: 85%;
    height: 60vh;
    z-index: 200;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: slideUp 0.5s ease-out forwards;
} 

.popupp.hidden {
    transform: translate(-50%, -50%) scale(0.8); /* تصغير الحجم */
    opacity: 0; /* إخفاء العنصر */
    pointer-events: none; /* تعطيل التفاعل مع العنصر */
}

.popupp.visible {
    transform: translate(-50%, -50%) scale(1); /* الحجم الطبيعي */
    opacity: 1; /* إظهار العنصر */
    pointer-events: auto; /* تفعيل التفاعل مع العنصر */
}

.popupp h2 { 
    font-size: 22px; 
    color: #fff;
} 

.key-packages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.key-package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed #2D83EC;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.key-package p {
    display: flex;
    align-items: center; /* محاذاة النص والأيقونة عموديًا */
    gap: 2px; /* مسافة بين الأيقونة والنص */
}

.bi-Tickets {
    color: #2D83EC; /* لون الأيقونة */
    margin: 10px;
} 

.buy-button {
    background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
    color: #fff;
    width: 120px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #888;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


.completed {
    background-color: gray !important;
    color: white;
    cursor: not-allowed;
}

.size-6 {
    width: 18px;
    height: 18px;
    color: #fff;  /* اللون الأخضر لعلامة الصح */
} 

.arrow {
    width: 18px;
    height: 18px;
    color: #808080;
}

.loading-spinner {
    border: 2.5px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 
.task-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* موازاة المحتوى أفقيًا في المنتصف */
    justify-content: flex-start; /* لا تغيير في التمركز الرأسي */
    text-align: center;
    width: 100%;
    height: auto;
    background: #101010;
    border-radius: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto; /* لتوسيط الحاوية أفقيًا */
}
 
.task-button:disabled {
    background-color: none;
    cursor: not-allowed;
} 

.task-item button.inactive {
    background-color: #9f0000;
}

.claimed {
    background-color: rgba(0, 0, 0,0.00001);
    color: #808080;
}
 
.task-image {
    width: 70px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.task-item {
    width: 99.5%;
    height: 60px;
    max-width: 400px;
    margin: 5px 0;
    border-radius: 0; 
    box-sizing: border-box;
    display: flex; 
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative; 
}  

.task-item img {
    object-fit: cover; /* لتغطية المساحة بالكامل */
    border-radius: 10px; /* جعل الصورة تتبع نفس الحواف الدائرية */
} 

.task-img {
    width: 38px;
    height: auto;
    margin-bottom: 3px; /* إضافة مسافة أسفل الصورة */
    border-radius: 10px;
    margin-left: 10px;
    padding: 2px;
    object-fit: cover;
}
 

.task-item button {
    background-color: #2D83EC;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    width: 20%;
    height: 30px;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 13px;
    margin-right: 12px;
    z-index: 100;
    margin-left: auto; /* يجعل الزر في الجهة اليمنى */
    text-align: center; 
} 

.task-item p {
    padding: 0;
    width: 100%;
    text-align: left; /* محاذاة الوصف في المنتصف */
    color: #fff;
    font-size: 13px; 
}

.reward-coin-icon {
    width: 18px;
    height: 18px;
    margin-right: 3px;
}
 
.task-reward {
    color: #808080;
    font-size: 12px;
    font-weight: 500; 
    text-align: left; 
}
 
.task-reward-container {
    position: absolute;
    top: 55%;
    left: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
} 

.info-task {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 18px;
    margin-left: 18px;
} 

#Cpartners {
    width: 100%;
    height: auto; 
    background: #101010;
    border-radius: 10px; 
    margin-top: 10px; 
    overflow: hidden;
}

#DContainer {
    position: relative;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%;
    border-radius: 10px;
    background: #101010;
    margin-top: 10px;
    z-index: 2; 
}

.Daily-button {
    position: fixed; 
    bottom: 110px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 0.7;
}

.Daily-button:hover {
    transform: translateY(-3px); /* رفع الزر قليلاً */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* إضافة ظل */
} 

.daily-itemm {
    display: flex;
    align-items: center; /* محاذاة المحتوى عموديًا */
    justify-content: space-between; /* توزيع العناصر على الأطراف */
    width: 100%; /* عرض العنصر بالكامل */
    height: 58px;
    padding: 10px;
    margin: 5px auto;
    font-size: 13px;
    box-sizing: border-box;
    overflow: hidden;
}

.Daily-m {
    display: flex;
    flex-direction: column; /* ترتيب النصوص عموديًا */
    justify-content: center; /* محاذاة النصوص في المنتصف عموديًا */
    margin-right: auto;
}

.Daily-title {
    font-size: 13px;
    color: #fff;
    text-align: left;
    margin-left: 8px;
    margin-bottom: 8px;
    margin-top: 5px;
}

.Daily-titlee {
    font-weight: 500;
    text-align: left;
    font-size: 12px;
    color: #808080;
    margin-left: 8px;
}

.daily-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0; /* منع الأيقونة من التصغير */
}

.Daily-meta {
    display: flex;
    align-items: center;
    gap: 4px; /* مسافة بين النص والسهم */
    margin-right: 6px; /* محاذاة السهم إلى اليمين */
}

.Daily-meta span {
    margin-right: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #2D83EC; /* الأزرق المستخدم في التطبيق */
    background: rgba(45, 131, 236, 0.1); /* لون خلفية خفيف */
    padding: 4px 8px;
    border-radius: 6px;
}
 
#Dailyaew {
    color: #808080;
    width: 18px;
    height: 18px;
}

.daily-itemm > svg {
    margin-right: 10px; /* مسافة بين الأيقونة والعنوان */
}

.daily-rewards {
    display: flex;
    flex-wrap: wrap;  /* توزيع العناصر على أكثر من صف */
    justify-content: space-around;  /* توزيع العناصر بشكل متساوي */
    gap: 8px;  /* المسافة بين العناصر */
}

.daily-item {
    width: 15%;  /* عرض كل يوم ليشغل 20% من العرض */
    height: 43px;  /* زيادة الارتفاع لضمان استقرار العناصر */
    display: flex;
    flex-direction: column;  /* وضع النص والصورة عموديًا */
    align-items: center;  /* محاذاة العناصر عموديًا في المنتصف */
    justify-content: flex-start;  /* المحاذاة بداية من الأعلى */
    border: 1px solid #181818; 
    border-radius: 25px;
    font-size: 14px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: #ffffff;
    text-align: center;
}

#text-day {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;  /* إضافة مسافة بين النص والصورة */
}

#reward-day {
    font-size: 10px;
    display: flex;
    align-items: center;
}

.logindaily-icon {
    width: 20px;  /* حجم الصورة */
    height: 20px;
    margin-right: 2px; /* المسافة بين الصورة والنص */
    flex-shrink: 0;
}
 
.logindaily-content {
    background-color: #101010; 
    padding: 20px;
    border-radius: 30px 30px 0 0; 
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* بداية من أسفل الشاشة */
    width: 85%;
    height: 60vh;
    z-index: 10000;
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: slideUp 0.5s ease-out forwards; /* إضافة تأثير التحريك */
}

/* تأثير التحريك من الأسفل */
@keyframes slideUp {
    0% {
        transform: translateX(-50%) translateY(100%);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.logindaily-image {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

 .loginclaim-btn {
    width: 95%;  /* ليأخذ العرض الكامل */
    padding: 15px;
    background: #101010;
     color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    margin: 0 auto;
    margin-top: 10px;  /* مسافة فوق الزر */
    transition: background-color 0.3s ease;
}

.loginclaim-btn:hover {
    background-color: #161616;  /* تغيير اللون عند التمرير فوق الزر */
} 

#login1 {
    color: #fff; /* لون النص */
    font-size: 16px; /* حجم الخط */
    margin-top: 7px; /* إزالة المسافة من الأعلى */
    margin-bottom: 0;
    text-align: center;
}

#logins {
    color: #fff; /* لون النص */
    font-size: 15px; /* حجم الخط */
    margin-top: 0; /* إزالة المسافة من الأعلى */
    margin-bottom: 0;
    text-align: center;
}


#noFriendsMessage {
    text-align: center;
    font-size: 14px;
    color: #808080;
    font-weight: 450;
    margin-top: 20px;
    margin-bottom: 15px;
}

#invi {
    text-shadow: 3px 3px #181818;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px; /* يمكنك تغيير القيمة حسب المسافة التي تريدها */
    font-weight: bold;
    font-size: 22px; 
}

.invite-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.invite-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    color: #808080;
    font-size: 12px;
    font-weight: 450;
}

.invite-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    background-color: #2D83EC;
    border-radius: 50%;
}

#WrapperFriends {
  border-radius: 10px;
  margin: 20px auto 5px auto;
  width: 97%;
  border: 0.5px solid #1c1c1c;
  height: 80px; /* زيادة الارتفاع لإفساح المجال للرقم */
  background: #101010;
  font-weight: 500;
  display: flex;
  justify-content: center; /* توسيط المحتوى أفقيًا */
  align-items: center; /* توسيط المحتوى عموديًا */
  text-align: center; /* توسيط النصوص داخل الحاوية */
}

 #icInvitations {
  color: #fff;
  font-size: 13px;
  display: flex;
  flex-direction: column; /* جعل الكلمة فوق الرقم */
  align-items: center;
}

#invitedText {
  margin-bottom: 5px; 
  font-size: 17px; /* حجم النص العلوي */
}

#invitedCount {
  color: #808080;
  font-size: 14px; /* تكبير حجم الرقم */
  font-weight: 600; /* جعل الرقم عريضًا */
}

.Invitations-image { 
    width: 150px;
    margin: 10px auto;
    height: auto;
    display: block;
}   

.invite {
    border: 0.5px solid #1c1c1c;
    position: relative; /* يتيح التحكم بالموقع داخل الحاوية */
    margin-left: auto; /* يدفع العنصر إلى أقصى اليمين */
    margin-right: auto; /* يدفع العنصر إلى أقصى اليسار */
    width: 95%; /* لضبط العرض لتجنب حدود الشاشة */
    padding: 5px; 
    height: auto;
    border-radius: 10px;
    background: #101010;
    margin-bottom: 5px;
    margin-top: 15px;
}

.invite-section, .Temporary-buttons, .swapAction-section {
    display: flex;
    justify-content: center; /* توسيط المحتوى أفقيًا */
    position: fixed;
    width: 100%; /* يجعل الحاوية بعرض كامل */
    left: 50%; /* يضع الحاوية في منتصف الشاشة من اليمين لليسار */
    transform: translateX(-50%); /* تصحيح التمركز */
    padding: 10px;
    z-index: 100;
    bottom: 65px; /* تثبيت الحاوية قرب أسفل الشاشة */
}

.invite-more, .buttons_slot, .swapAction {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 93%; /* عرض الأزرار بنسبة 80% من الشاشة */
    height: 50px;
    background: #2D83EC;
    color: #fff;
    padding: 20px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} 

.invite-more:active, .swapAction:active, .buttons_slot:active {
    transform: scale(0.95); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}  

.invite-image {
    width: 105px;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
} 

.invite-icon {
    width: 25px;
    height: 25px;
    margin-right: 0; /* مسافة بين الصورة والنص */
    flex-shrink: 0;
}

.copy-icon {
    width: 25px;
    height: 25px;
    margin-right: 0; /* مسافة بين الصورة والنص */
    flex-shrink: 0;
} 

.invite-icon img, .copy-icon img {
    vertical-align: middle;
}
 

.friends-list {
    margin: 10px auto; /* يضبط الهامش العلوي والسفلي بـ 5px ويجعل العنصر في المنتصف أفقيًا */
    width: 100%; /* العرض المحدد للحاوية */
    height: auto;
    list-style: none;
    color: #808080;
    font-size: 13px;
    background: #101010;
    border-radius: 10px;
    display: block;
}

.friends-list li {
    font-weight: 500;
    margin-left: auto; 
    margin-right: auto;
    margin-bottom: 10px; 
}

.friend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 98%;
    height: 50px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.friend-item:hover {
    background-color: #101010;
}

.friend-info {
    display: flex;
    align-items: center;
}

.friend-avatar {
    margin-left: 50px;
    width: 40px;
    height: 40px;
    border: 1px dashed #1c1c1c;
    border-radius: 10px;
    padding: 1px;
    object-fit: cover;
}

.friend-rank {
    position: absolute;
    left: 15px; 
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.friend-name {
    flex: 1;
    color: #fff;
    font-size: 13px;
    margin-left: 15px;
}

.friend-balance {
    font-size: 12px;
    color: #808080;
    text-align: center;
    margin-right: 10px; 
}


.invite-card {
  background-color: rgba(0, 0, 0,0.00001);
  color: #fff;
  border-radius: 10px;
  width: 90%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.invite-header h3 {
  font-size: 18px;
  margin-bottom: 12px;
  background: linear-gradient(45deg, #2D83EC, #1AC9FF);
  background-color: transparent;
  -webkit-background-clip: text; 
  background-clip: text;
  color: transparent;
}

.invite-content p {
  font-size: 11px;
  line-height: 1.5;
  margin: 10px 0;
  font-weight: 500;
  color: #808080; 
}

.timer-game-container {
    width: 100%;
    height: auto; 
    background: #101010;
    border-radius: 10px;
    margin-top: 10px; 
    margin-left: auto;
    margin-right: auto; 
    overflow: hidden;
}

.Timertxt { 
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    z-index: 100;
    color: #808080;
    font-size: 15px;
    text-align: left;
    margin-bottom: 7px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: 15px;
}

.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    font-size: 30px; 
    font-weight: bold;
    color: #ffffff;
    margin-top: 15px;
}

#gameTimer {
    font-weight: 400;
    font-style: normal;
    font-family: 'Archivo Black', sans-serif; /* خط عريض ومميز للأرقام */
} 

.target-time-container {
    font-size: 15px;
    color: #808080;
    font-weight: 550;
    text-align: center; 
    margin-bottom: 20px;
    margin-top: 15px;
} 

#gameReward {
    font-weight: 500;
    z-index: 100;
    color: #808080; 
    font-size: 13px; 
    text-align: left;
    margin-bottom: 12px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: 15px;
} 

.ticket-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #101010;
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
    height: 60px; 
    color: white;
}

.addKey-buttons {
    display: flex;
    margin-left: 15px;
    justify-content: flex-start;
    height: 60%; 
    flex-grow: 1;
}

.addKey {
    background-color: rgba(0, 0, 0,0.1);
    border: 2px dashed #1c1c1c;
    color: white;
    font-weight: 600;
    width: 65%;
    height: 100%;
    cursor: pointer;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.addKey:active {
    transform: scale(0.95); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
} 

.ticket-balance {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: rgba(0, 0, 0,0.1);
    border: 2px dashed #1c1c1c;
    width: auto;
    height: 59%; 
    border-radius: 10px;
    padding-left: 2px;
    padding-right: 3px;
    margin-right: 15px;
    font-size: 15px;
}

.ticket-balance span {
    font-weight: 600;
    margin-left: 5px;
    margin-right: 5px;
} 

.Tickets-icon {
    width: 20px;
    height: 20px; 
    flex-shrink: 0;
    margin-left: 5px;
    margin-right: 5px;
} 

.Tickets-info {
    position: absolute;
    color:#2D83EC;
    text-decoration: none; 
    flex-shrink: 0;
    right: 25px;
    top: 25px; 
}

.Tickets-info:hover {
    color:#808080;
}

.ad-reward-container {
    width: 100%;
    height: auto; 
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.reward-ad-button {
    width: 100%;
    height: 45px;
    background-color: rgba(0, 0, 0,0.1);
    border: 2px dashed #101010;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-ad-button span {
    margin-left: 10px;
    font-weight: bold;
}

.reward-ad-button.inactive {
    color: #808080;
    background-color: rgba(0, 0, 0,0.1);
    border: 2px dashed #101010;
    cursor: not-allowed;
}

.Daily-Button {
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 20%;
    height: 30px;
    margin-right: 10px;
    margin-left: auto;
    border-radius: 10px;
    border: 2px dashed #1c1c1c;
    background-color: rgba(0, 0, 0, 0.00001);
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 100;
    background: linear-gradient(to right, #FEDB37 0%, #FDB931 30%, #9f7928 60%, #8A6E2F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
} 

.DailySpark-Button {
    color: #2D83EC;
    border-radius: 10px;
    border: 2px dashed #1c1c1c;
    background-color: rgba(0, 0, 0,0.00001);
    cursor: pointer;
    width: 20%;
    height: 30px;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 13px;
    margin-right: 10px;
    z-index: 100;
    margin-left: auto;
    text-align: center; 
}  

.com-task {
    background-color: #808080; 
    color: #ffffff;
    border: none;
    cursor: not-allowed; 
    opacity: 0.5;
    transition: opacity 0.3s ease, background-color 0.3s ease;
} 

.container-general {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #101010;
    border-radius: 10px;
    height: auto;
    margin-top: 10px;
    width: 100%;
}

.container-general::before,
.container-general::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 1px;
    border: 1.5px dashed #2D83EC; 
}

.container-general::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.container-general::after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
} 

.user-info-container {
    display: flex;
    position: relative;
    align-items: center;
    margin-top: 10px; 
    width: 100%;
    gap: 10px;
}

.user-image {
    width: 45px;
    height: 45px;
    margin-left: 18px; 
    padding: 2px;
    margin-right: 10px;
    border: 1px dashed #1c1c1c;
    border-radius: 10px;
}

.user-sum {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#usertetle {
    display: flex;
    justify-content: center; 
    align-items: flex-end;  
    gap: 4px;
    position: relative;
    font-size: 15px;
    text-align: left;
    font-weight: 500;
    color: #808080;
    font-family: 'Rubik', sans-serif;
    text-transform: capitalize;
}

.width-divider {
    width: 120px;
    height: 1px;
    background-color: #1c1c1c;
    margin: 10px 0;
}

#balanceAmount {
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: flex-end; 
    color: #fff;
    font-weight: 400;
    font-style: normal;
    font-size: 26px;
    font-family: 'Archivo Black', sans-serif;
} 

#balanceAmount::after {
    position: relative;
    bottom: 2px; 
    content: "SPARK"; 
    font-size: 18px;
    color: #fff;
    font-family: 'Rubik',sans-serif;
    font-weight: 500;
    margin-left: 5px;
    line-height: 1; 
}

.functions-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.wallet-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

#ton-connect button {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    width: 200px;
    height: 40px;
    padding: 8px 150px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px dashed #1c1c1c;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.competitions-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 10px auto;
    width: 90%;
}

.user-competition {
    flex: 1;
    position: relative;
    height: 80px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px dashed #1c1c1c;
    cursor: pointer;
    transition: transform 0.2s;
}

.user-competition:hover {
    transform: scale(1.05);
}

.text-competition {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 5px;
}

.race-image {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.user-competition svg {
    position: absolute;
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
}
