body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ffffff;
}
.container {
    width: 80%;
    max-width: 500px;
    max-height: 800px;
    padding: 20px;
    background-image: url(./starbackgrand.gif); 
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  margin-left: 150px;
}
.coin-icon {
  width:30px;
  height: 30px;
  margin-left: 20px;

}

.coin-icon2 {
  width:30px;
  height: 30px;
  margin-left: 15px;
  margin-top: 0px;
}

.coin-icon3 {
  width:30px;
  height: 30px;
  margin-left: 10px;
  margin-top: 10px;
  font-weight:bold;
  font-size: 20px;

}



h1 {
  margin: 0;
}
.user-info {
  text-align: center;
  margin-bottom: 20px;
}
.score-container, .ton-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.icon {
  width: 50px;
  height: 50px;
  margin-right: 5px;
}

.ton-icon {
  width:20px;
  height: 20px;
  margin-left: 30px;

}



.game-area {
    text-align: center;
    margin-bottom: 20px;
}
.panda-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    cursor: pointer;
     transition: transform 0.1s ease;
}
#pandaButton {
     background-color: transparent;
    border: none;
  padding: 0;

}
#pandaButton:active {
    transform: scale(0.95);
}
.bottom-nav {
    display: flex;
    justify-content: space-around;
}
.nav-button {
    padding:12px 15px;
    border: none;
    background-color: #3498db;
   
    color: white;
    border-radius: 10px;
    cursor: pointer;
    text-decoration:none;
    font-style:inherit;
   
}
.wallet-section {
      margin-bottom: 20px;
      text-align: center;
}
#connectWalletBtn {
       padding: 10px 15px;
    border: none;
    background-color: #27ae60;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

#transferTonBtn {
       padding: 10px 15px;
    border: none;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

#walletAddress {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
    margin-bottom: 10px;
}
.referral-buttons {
  display: flex;
  justify-content: space-around;
      margin-bottom: 20px;
}
#inviteFriendsBtn , #referralLinkBtn {
     padding: 10px 15px;
    border: none;
    background-color: #e67e22;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
#clickCountContainer {
  text-align: center;
    margin-bottom: 20px;
    position: relative; /* برای موقعیت دهی پاداش ها */
}
}
.withdraw-tabs {
    display: flex;
    margin-bottom: 20px;
}
.withdraw-tabs button {
    padding: 10px 15px;
    border: none;
    background-color: #f2f2f2;
    color: #333;
    cursor: pointer;
}
.withdraw-tabs button.active {
    background-color: #ddd;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

#historyTable {
  width: 100%;
  border-collapse: collapse;
   margin-bottom: 10px;
}

#historyTable th, #historyTable td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

#historyTable th {
  background-color: #f2f2f2;
}

.reward {
  position:fixed;
  font-size: 2rem;
  color: green;
  pointer-events: none; /* برای اینکه کلیک ها رو مسدود نکنه */
  transition: transform 0.5s ease, opacity 0.5s ease;
}

