.hidden {
    display: none;
    }
    
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    font-family: Unbounded, sans-serif;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none; 
}

/* Disable text selection on mobile devices */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Disable the highlight color */
}

/* Disable long-press context menu on mobile */
body {
    -webkit-touch-callout: none; /* Disable callout, menu */
}

        

.containerFriends {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
     
}

.containerFriend.active {
    display: block;
}

.containerTasks {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
     
}

.containerTasks.active {
    display: block;
}


.containerLeaderboard {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;    
}

.containerLeaderboard.active {
    display: block;
}

.main-content {
    overflow-y: auto; 
    flex: 1;     
    height: 100%;
    max-height: calc(100vh - 60px); 
 }
.tasks-content {
    overflow-y: auto; 
    flex: 1;     
    height: 100%;
    max-height: calc(100vh - 60px); 
}
    
.tasks-content img {
    width: 30px;
    height: 30px;
}


.tasks-text {
    font-size: 20px;
    color: rgb(0, 0, 0);
    margin: 15px 0;
    font-family: Unbounded;
    font-weight: bold;
    margin-bottom: 20px;
}

.task-text span {
    font-size: 12px;
    opacity: 0.6;
}

.tasks-list {
    width: 100%;
    padding: 20px 20px;
    box-sizing: border-box;
    margin-bottom: 50px;
    overflow-y: auto;
 
}




.invite-button {
    box-sizing: border-box;
    width: 90%;
    height: 60px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 10px solid transparent;
    background: rgb(0, 128, 255);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Unbounded';
}


.start-button:hover,
.claim-button:hover,
.timer-wrapper:hover {
    background: rgb(0, 128, 255);
}

.bottom-nav,
.boost-nav,
.taskbottom-nav {
    display: flex;
    justify-content: space-around;
    background-color: #000;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.bottom-nav img,
.boost-nav img,
.taskbottom-nav img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.task-button {
    background: rgb(0, 0, 0);
    width: 25px; /* Adjusted for oval shape */
    height: 35px;
    border: 10px solid transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    padding-right: 10px;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0); /* Changed to black for better readability on white background */
    font-size: 10px;
    border-radius: 25px; /* Half of height for oval shape */
}

.task-button:hover {
    background: rgb(0, 0, 0); /* Slightly transparent white on hover */
}


.task-text {
    flex-grow: 1;
    text-align: left;
    font-size: 15px;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;   
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.task-item:last-child {
    border-bottom: none;
}

.-list {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.copy-link-button {
    margin-top: 450px;
    padding: 10px 15px;
    font-size: 18px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin-left: 5%;
}

.copy-link-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


.popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(218, 218, 218, 0.5); /* Black with 50% opacity */
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000;
    font-size: 25px;
    font-family: 'Unbounded';
    backdrop-filter: blur(5.50633px);
    
}
.popup button {
margin: 5px 0;
background: transparent;
color: white;
background: rgb(0, 128, 255);
padding: 10px;
font-size: 14px;
border-radius: 15px;
cursor: pointer;
width: 100%;
font-family: 'Unbounded';


}
.popup button:hover {
background: transparent;
color: white;

}


.tasks-list {
    display: none;
}

.task-item {
    margin: 10px 0;
}

.task-button {
    margin-left: 10px;
}

.active {
    display: block;
}

.button-container {
    margin-bottom: 10px;
    display: flex; /* Use flexbox to keep buttons aligned horizontally */
    justify-content: center; /* Center the buttons horizontally */
}

.button-container button {
    background-color: rgba(232, 231, 231, 0.4);
    color: rgb(1, 1, 1);
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border-radius: 15px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100px; /* Set a fixed width for all buttons */
    text-align: center;
}

.button-container button:last-child {
    margin-right: 0;
}

.button-container button:hover {
    background: rgb(122, 122, 122);
}

.button-container button.active {
    background: rgb(0, 128, 255);
    color: rgb(255, 254, 254);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow without altering button size */
}


/* Стили для экрана Daily Reward */


.task-item {
    position: relative;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.containerGame {
    width: 100%;
    max-width: 400px;
    height: 100vh;
    margin: 0 auto;
    background-size: cover;
    
    text-align: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
    overflow-y: auto;
}

.containerGame.active {
    display: block;
}

.statsGameLeft {
    text-align: left;
    color: #000000;
    font-weight: 700;
    line-height: 25px;
    position: absolute;
    top: 5px;
    left: 20px;
}

.coinGame {
    margin-top: 200px;
    width: 250px; /* Fixed width */
    height: 250px; /* Fixed height */
    perspective: 1000px;
    transform-style: preserve-3d;
    position: absolute;
    margin-left: 75px;
}

.coinGame .side {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 50%;
}

.coinGame .heads {
    transform: rotateY(0deg);
}

.coinGame .tails {
    transform: rotateY(180deg);
}

.coinGame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#result {
    position: absolute;
    left: 50%;
    top: 100px; /* Place the result above the coin */
    transform: translate(-50%, -50%);
    font-size: 25px;
    font-weight: 700;
    text-align: center;
}

.buttonGame {
    display: flex;
    justify-content: space-between;
    width: 300px;
    margin: 0 auto;
    position: absolute;
    bottom: 100px; /* Positioned below the coin */
    left: 50%;
    transform: translateX(-50%);
}

.buttonGame button {
    width: 120px;
    padding: 10px;
    border: 2.5px solid rgb(0, 87, 248);
    border-radius: 15px;
    cursor: pointer;
    background: rgb(0, 119, 255);
    font-size: 16px;
    color: rgb(255, 255, 255);
}

.buttonGame button:disabled {
    background: rgb(0, 119, 255);
    color: #000000;
    border-color: rgb(254, 0, 0);
    cursor: not-allowed;
}

.spin-heads {
    animation: spin-heads 3s forwards;
}

.spin-tails {
    animation: spin-tails 3s forwards;
}

@keyframes spin-heads {
    0% {
        transform: rotateY(var(--start-rotation, 0deg));
    }
    100% {
        transform: rotateY(calc(var(--start-rotation, 0deg) + 1800deg)); /* 5 turns */
    }
}

@keyframes spin-tails {
    0% {
        transform: rotateY(var(--start-rotation, 0deg));
    }
    100% {
        transform: rotateY(calc(var(--start-rotation, 0deg) + 1980deg)); /* 5.5 turns */
    }
}

.win {
    color: green;
}

.lose {
    color: red;
}


/* Контейнер для всего содержимого друзей */
.friends-count {
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    margin-bottom: 10px; /* Добавляем отступ снизу */
    text-align: left; /* Выровнять текст по левому краю */
    margin-left: 10px;
}



/* Прокручиваемый контейнер для списка друзей */
.moiref {
    max-height: calc(100vh - 180px); /* Высота с учетом фиксированной кнопки */
    overflow-y: auto; /* Включаем вертикальную прокрутку */
}

/* Контейнер таблицы с друзьями */
.referrals-table {
    margin-top: 20px; /* Убираем большой отступ сверху */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Расстояние между блоками друзей */
    text-align: left; /* Выровнять контент по левому краю */
}

/* Блок каждого друга */
/* Блок каждого друга */
.friend-block {
    display: flex;
    align-items: center;
    padding: 8px; /* Немного уменьшаем внутренние отступы */
    background-color: #63636300;
    border-radius: 15px;
    border: 1px solid #dddddd64;
    box-shadow: 0 4px 8px rgba(204, 204, 204, 0.2); /* Тень для блока */
    transition: transform 0.2s ease-in-out;
    width: 100%; /* Заставляем блоки занимать всю доступную ширину */
    max-width: 100%; /* Избегаем переполнения по ширине */
    box-sizing: border-box; /* Включаем отступы в ширину элемента */
    overflow: hidden; /* Обрезаем содержимое, если оно не помещается */
}

.friend-block img {
    width: 36px; /* Немного уменьшаем размер аватарки */
    height: 36px;
    border-radius: 50%;
    margin-right: 8px; /* Уменьшаем отступ справа от аватарки */
}

.friend-info {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 46px); /* Корректируем ширину для аватарки */
    flex-wrap: nowrap; /* Запрещаем перенос элементов на новую строку */
}


.friend-info {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 50px); /* Учитываем размер аватарки и отступа */
    flex-wrap: wrap; /* Позволяем элементам переноситься на следующую строку при необходимости */
}

.username {
    font-size: 1em; /* Уменьшаем размер шрифта */
    font-weight: bold;
    color: rgb(0, 0, 0);
    flex-grow: 1; /* Позволяем имени занимать оставшееся пространство */
    overflow: hidden; /* Обрезаем текст, если он не помещается */
    text-overflow: ellipsis; /* Добавляем троеточие при переполнении */
    text-align: left;
    white-space: nowrap; /* Запрещаем перенос текста */
}

.points {
    font-size: 1em; /* Уменьшаем размер шрифта */
    color: #000000; /* Цвет для очков (золотой) */
    white-space: nowrap; /* Запрещаем перенос текста */
}

/* Секция приглашения друзей */
.invite-section {
    position: absolute;
    bottom: 0;
    width: calc(100% - 20px); /* Учитываем отступы внутри контейнера */
    background-color: #333;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2); /* Тень для верхней части секции */
}

.invite-section p {
    font-size: 1em; /* Уменьшаем размер шрифта */
    color: rgb(0, 0, 0);
}


/* Style for the rewards information */
.no-referrals {
    color: #000000; /* Цвет текста */
    font-size: 16px; /* Размер шрифта */
    text-align: center; /* Выравнивание текста по центру */
    padding: 20px; /* Отступы вокруг текста */
    border-radius: 15px; /* Закругление углов границы */
    background-color: #f9f9f900; /* Фоновый цвет */
  }
  
  /* wallet*/

  .scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    height: calc(100vh - 200px); 
    overflow-y: auto; 
    box-sizing: border-box;
    padding: 20px 0;
}




/* leaderboard */

.stats-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stats-block {
    flex: 1;
    margin: 0 10px;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: white;
    font-size: 10px;
}

.stats-block h3 {
    margin-bottom: 10px;
}

#points-balance, #leaderboard-rank {
    font-size: 15px;
    color: #ffffff;
}


.leaderboard-title {
    font-size: 10px;
    text-align: right;
    margin-bottom: 0px;
    color: #747474;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.133); /* Adds the white line below */
    padding-bottom: 5px; /* Optional: Adds some space between the text and the line */
}

.leaderboard-header {
    display: flex;
    justify-content: space-between; /* Разместить элементы по краям */
    align-items: center;
    padding: 10px;
   
    border-radius: 10px;
}

.total-players {
    font-size: 12px;
    color: #333;
}



.boost-rank-button {
    background: white;
    color: white; /* White text */
    border: none; /* Remove borders */
    padding: 15px 32px; /* Add some padding */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Allow margin */
    font-size: 16px; /* Increase font size */
    margin: 10px 0; /* Add some margin */
    cursor: pointer; /* Add a pointer cursor on hover */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition */
}



.payment-button{
    box-sizing: border-box;
    width: 70%;
    height: 50px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 10px solid transparent;
    background: rgb(4, 121, 255);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 40px auto 20px auto; /* Отступ сверху - 40px, снизу - 20px */
    position: static;
    white-space: nowrap;
    font-family: 'Unbounded';
}
/* PopupStars hidden initially */
/* PopupStars hidden initially */
/* Popup container */
/* Popup container */
.popupStars {
    position: fixed;
    bottom: -100%; /* Initially hidden */
    left: 0;
    width: 100%;
    max-height: 600px; /* Set maximum height */
    background-color: #1c1c1d;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease-in-out; /* Smooth transition */
    opacity: 0; /* Initially transparent */
    display: flex;
    z-index: 5;
    border-radius: 15px;
    justify-content: center;
    pointer-events: none; /* Disable clicking when hidden */
    overflow-y: auto; /* Allow scrolling if content is too tall */
  }
  
  .popupStars.active {
    bottom: 0; /* Slide up to visible */
    opacity: 1; /* Fully visible */
    pointer-events: auto; /* Enable clicking */
  }
  
  .popup-content {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center; /* Center items */
    padding: 20px; /* Add padding around the content */
    gap: 10px; /* Space between elements */
  }
  
  /* Styling for the popup text */
  .popup-text {
    font-size: 12px; /* Slightly smaller font size */
    color: #bcbbbb;
    font-weight: bold;
    text-align: center;
    margin: 0; /* Remove default margin */
  }
  
  .close-button {
    position: absolute; /* Absolute positioning */
    top: 10px; /* Distance from the top */
    right: 5px; /* Distance from the right */
    font-size: 34px; /* Size of the close icon */
    color: #333; /* Color of the close icon */
    cursor: pointer; /* Pointer cursor */
    background: none; /* No background */
    border: none; /* No border */
    border-radius: 100px;
}
.close-button:hover {
    color: rgba(252, 252, 252, 0.816); /* Change color on hover for feedback */
}

.popup-content button{
    padding: 15px 25px; /* Adjust button padding */
    background: rgb(99, 99, 99);
    color: white; /* Button text color */
    border: 2px solid transparent; /* Initial transparent border */
    align-items: left;
    text-align: left; /* Align text to the left */
    border-radius: 15px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    font-size: 20px;
    width: 100%; /* Make buttons full width */
    transition: border 0.3s; /* Smooth transition for border */
}

.popup-content button:hover {
    border-color: #ffffff; /* Change border color on hover */
}
  
  .popup-content button.active {
    border: 2px solid rgb(255, 255, 255); /* Black border when active */
  }
  
  
  /* Style for the "Buy" button */

  
  .payment-button:hover {
    background: rgb(0, 119, 255);
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    opacity: 0; /* Initially transparent */
    transition: opacity 0.1s ease; /* Smooth transition for fade in/out */
    pointer-events: none; /* Disable clicks when hidden */
    z-index: 1; /* Position behind the popup */
  }
  
  .overlay.active {
    opacity: 1; /* Fully visible when active */
    pointer-events: auto; /* Enable clicks */
  }
  
  /* Popup styling */
/* Popup styling */



.scrollable-leaderboard {
    flex-grow: 1; /* Take remaining space */
    overflow-y: auto; /* Enable scrolling inside the leaderboard */
    padding: 10px;
    border-top: white;
    border-radius: 10px;
    scroll-behavior: smooth;
}


.leaderboard-entry {
    padding: 2px;
    overflow-y: auto; /* Enable vertical scrolling */
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: white;
}

.user-info {
    text-align: left;
    color: rgb(190, 190, 190);
    align-items: left;
    font-size: 14px;
}



.user-details {
    display: flex;
    color: rgb(190, 190, 190);
    justify-content: space-between; /* Username on the left, rank on the right */
    text-align: left;
    align-items: left;
}

.user-details p {
    margin: 0;
}


.user-info p {
    margin: 5px 0;
}

/* Coins icon styling */
.coins-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}
.coinsRating-icon {
    width: 15px;
    height: 15px;
}


/* Добавьте эти стили в ваш CSS файл */
#leaderboard-screen {
    height: 100vh; /* Задает высоту контейнера на всю высоту экрана */
    overflow-y: auto; /* Включает вертикальную прокрутку */
    -webkit-overflow-scrolling: touch; /* Обеспечивает плавную прокрутку на мобильных устройствах */
    position: relative; /* Убедитесь, что контейнер может корректно обрабатывать позиционирование */
}

.scrollable-leaderboard {
    padding: 10px; /* Добавьте отступы для лучшего отображения */
}

.leaderboard-content {
    overflow-y: auto; 
    flex: 1;
    height: 100%;
    max-height: calc(100vh - 60px); 
}

/* leaderboard */

.leaderboard-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 10px;
}

.user-details {
    display: flex;
    align-items: center;
}

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

.info-users {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap; /* Не переносить текст */
    overflow: hidden; /* Обрезать текст */
    text-overflow: ellipsis; /* Добавить многоточие */
}

.user-photo-points {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.user-photo-points .user-photo {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.points {
    color: #666;
    font-size: 14px;
}

.user-rank {
    font-size: 14px;
    font-weight: bold;
    color: #666;
}


.user-detailsup {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Сохраняем для разделения username/очки и ранга */
    background-color: #1E90FF;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}

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

.info-usersup {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.user-photo-pointsup {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #a09f9f;
}

.usernameup {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: white;
}

.user-photo {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.pointsup {
    color: #ffffff;
    font-size: 14px;
}

.user-info {
    display: flex;
    align-items: center; /* Размещаем username и очки в одну строку с фото */
}

.user-rankup {
    font-size: 14px;
    font-weight: bold;
    color: #9b9a9a;
    margin-left: auto; /* Сдвиг элемента вправо */
    text-align: right;
}

.user-detailsup p {
    margin: 0;
}

.medal-icon {
    width: 30px; /* Ширина медали */
    height: 30px; /* Высота медали */
    margin-left: 5px; /* Отступ слева для отделения от имени пользователя */
    vertical-align: middle; /* Центрирование медали по вертикали с текстом */
}

/* main screen */

.containerMain {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
     
}

.containerMain.active {
    display: block;
}
.content-main {
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow-y: auto; /* Allow scrolling for the content */
}



.main-image {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 0 auto;
}



#wallet-status-icon {
    position: fixed; /* Фиксируем иконку статуса рядом с кнопкой */
    bottom: 80px;    /* Расположена выше кнопки */
    right: 30px;
    width: 30px;
    height: 30px;
}


.image-and-wallet {
    position: relative;
}
.centered-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    background-color: #e4e4e4;
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Добавлена тень */
   
}


.user-infoMain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 300px;
}

.coins, .usernameP {
    font-weight: bold;
    text-align: center;
}

.start-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background: rgb(0, 128, 255);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    width: 60%;
    font-weight: bold;
    
}

.mini-games-section {
    margin-top: 20px;
    text-align: left;
}

.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin: 10px 0;
}

.game-img {
    width: 70px;
    height: auto;
}

.play-button {
    padding: 10px 20px;
    background: rgb(0, 128, 255);
    color: white;
    width: 20%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
    font-weight: bold;
}

/* Bottom Navigation */
.bottom-navmain {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 15px;
    border-radius: 15px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
}
/* Иконки навигации внизу */
.bottom-navmain img {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease; /* Плавность увеличения и изменения прозрачности */
}

/* Эффект при наведении */
.bottom-navmain img:hover {
    transform: scale(1.2); /* Увеличиваем размер на 20% */
    opacity: 0.8; /* Легкая прозрачность */
}

/* Эффект при нажатии */
.bottom-navmain img:active {
    transform: scale(1.1); /* Уменьшаем увеличение на 10% при нажатии */
    opacity: 1; /* Полная прозрачность */
}



.task-list socials p{
    text-align: left;
    font-size: 15px;
}

.task-list {
    margin-top: 20px;
}

.task-list h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
}

.task-text {
    flex-grow: 1;
    text-align: left;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.task-text span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.task-button {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 15px;
    padding: 10px 25px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
}
.showmorebutton{
    color: black;
    background-color: #00000000;
}
.task-button.check {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.task-content img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
/* Fade-in effect for the container */

.payment-buttonMain{
    box-sizing: border-box;
    width: 70%;
    height: 50px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 10px solid transparent;
    background: rgb(4, 121, 255);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 20px auto 20px auto; /* Отступ сверху - 40px, снизу - 20px */
    position: static;
    white-space: nowrap;
    font-family: 'Unbounded';
}
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}
.loading-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.loading-image.active {
    opacity: 1;
}

.progress-bar {
    position: absolute;
    bottom: 40px;
    width: 80%;
    max-width: 400px;
    height: 20px;
    background-color: #b4b4b4;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #080808;
    z-index: 2;
    /* New centering properties */
    left: 50%;
    transform: translateX(-50%);
}

.progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(to right, #37662E, #518632);
    animation: fillProgress 5s forwards;
}
@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}



.check-button {
    background-color: white;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid  #2196F3 ;
    transition: background-color 0.3s ease;
}


.check-button:disabled {
    border: 1px solid  #e50d01 ;
    cursor: not-allowed;
}
.containerWallet {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
     
}

.containerWallet.active {
    display: block;
}

.containerscrolling {
    overflow-y: auto; 
    flex: 1;     
    height: 100%;
    max-height: calc(100vh - 60px); 
}

/* Блок с GIF */
.gif-container {
    margin-bottom: 20px;
    text-align: center;
}

.gif-container img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

/* Блок с таймером */
.countdown-section {
    text-align: center;
    margin-bottom: 20px;
}

.airdrop-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#countdown-timer {
    font-size: 1.5rem;
    color: #ff5722;
}

/* Кнопка Connect Wallet */
#ton-connect {
    display: flex;
    justify-content: center; /* Выравнивание по горизонтали */
    align-items: center; /* Выравнивание по вертикали */
    margin-bottom: 20px;
}


.airdrop-section {
    padding: 20px;
}

.criteria-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.airdrop-criteria img {
    width: 30px; /* Размер изображения */
    height: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    margin-right: 15px; /* Увеличенный отступ между изображением и текстом */
    object-fit: contain; /* Сохраняем пропорции изображения */
}

.airdrop-criteria ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.airdrop-criteria li {
    display: flex; /* Расположение изображения и текста в строку */
    align-items: center; /* Выровнять изображение по центру текста */
    font-size: 1rem;
    margin-bottom: 25px; /* Увеличенное расстояние между пунктами */
    color: #333;
}

  /* Container for the Game */
  .containerCombo {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
  }

  .containerCombo.active {
    display: block;
  }

  /* Game Styles */
  .game-containerCombo {
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .headerCombo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .comboTitle {
    font-size: 1.2em;
    font-weight: bold;
  }

  .max-rewardCombo {
    text-align: right;
  }

  .rewardCombo {
    font-weight: bold;
    display: block;
  }

  .selection-fieldsCombo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .fieldCombo {
    width: 20%;
    aspect-ratio: 1;
    background: rgba(210, 1, 1, 0.1);
    border: 2px dashed rgb(0, 0, 0);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, border-color 0.3s;
  }

  .fieldCombo img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 8px;
  }

  .fieldCombo.correct {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
  }

  .fieldCombo.incorrect {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
  }

  .image-gridCombo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }

  .image-gridCombo img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .image-gridCombo img:hover {
    transform: scale(1.05);
  }

  .image-gridCombo img.selected {
    box-shadow: 0 0 10px 4px #000000;
  }

  .footerCombo {
    display: flex;
    justify-content: center;
  }

  .buttonCombo {
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    background: gray;
    color: white;
    cursor: not-allowed;
    transition: background 0.3s;
  }

  .buttonCombo.active {
    background:  rgb(4, 121, 255);
    cursor: pointer;
  }

  .buttonCombo.active:hover {
    background:  rgb(4, 121, 255);
  }
  .correct {
    border: 3px solid green; /* Подсветка зеленым */
}

.incorrect {
    border: 3px solid red; /* Подсветка красным */
}


.containerMainGame {
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: none;
  }

  .containerMainGame.active {
    display: block;
  }
/* Иконка игры */
.game-icon {
    width: 60px; /* Увеличиваем размер иконки */
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
    padding: 5px; /* или другое значение */
    background-color: transparent;
    transform: scale(0.85);
}

.game-icon1 {
    width: 60px; /* Увеличиваем размер иконки */
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
    padding: 5px; /* или другое значение */
    background-color: transparent;
}

/* Общий блок игры */
.game-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px 20px; /* Увеличиваем внутренние отступы */
    margin: 20px 10px; /* Увеличиваем внешний отступ для опускания */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Добавляем больше тени */
    transition: transform 0.2s ease;
}

/* Эффект при наведении */
.game-block:hover {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}

/* Информация о игре */
.game-info {
    flex-grow: 1;
    text-align: left;
    margin-left: 15px;
}

.game-info h2 {
    font-size: 18px; /* Увеличиваем размер заголовка */
    font-weight: bold;
    color: #333;
    margin: 0;
}

.game-info p {
    font-size: 14px; /* Увеличиваем описание */
    color: #666;
    margin: 0;
    margin-top: 5px;
}

/* Кнопки */
.buttonGameCombos {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 120px; /* Устанавливаем фиксированную ширину */
    height: 48px; /* Устанавливаем фиксированную высоту */
    text-align: center; /* Выравнивание текста по центру */
    white-space: nowrap; /* Предотвращает перенос текста */
    overflow: hidden; /* Обрезка текста, если он выходит за пределы */
}

.buttonGameCombos:disabled {
    background-color: #CCCCCC;
    color: #666;
    cursor: not-allowed;
}


.buttonGameCombos:hover:not(:disabled) {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Отступ для контейнера */
.game-selection-container {
    margin-top: 50px; /* Опускаем весь блок вниз */
}
/* Заголовок Play it */
.header-container {
    background-color: #f4f4f4;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    text-align: left; /* Выравнивание заголовка влево */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.header-container h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

  .screen {
    display: none; /* По умолчанию экраны скрыты */
}

.screen.active {
    display: block; /* Показываем только активный экран */
}
.modalCombo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Темный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Поверх всех элементов */
    animation: fadeIn 0.3s ease; /* Анимация появления */
}

.modal-contentCombo {
    background: linear-gradient(to bottom, #171b23b1, #0e191bbe); /* Градиентный фон */
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Глубокая тень */
    width: 90%;
    max-width: 400px; /* Ограничение ширины */
    position: relative;
    animation: scaleUp 0.3s ease; /* Анимация увеличения */
}

.close-btnCombo {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #495057; /* Темно-серый цвет */
    transition: color 0.2s ease; /* Плавное изменение цвета */
}

.close-btnCombo:hover {
    color: #dc3545; /* Красный при наведении */
}

#hint-text {
    font-size: 16px;
    text-align: left;
    line-height: 1.6;
    color: #e1e2e3; /* Темно-серый текст */
    margin-top: 10px;
}

#hint-text p {
    margin-bottom: 10px; /* Отступ между строками */
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.hint-btnCombo {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.hint-btnCombo:hover {
    background: linear-gradient(to right, #feb47b, #ff7e5f);
}
