/* Basic resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1c0b44; /* Dark purple */
    color: white;
    font-size: 16px;
    padding-bottom: 70px; /* Ensure footer doesn't overlap content */
}

.welcome-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.welcome-img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.progress-bar {
    width: 100%;
    background-color: #ccc;
    height: 10px;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #000000;
}

.start-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

/* Main Page Styles */
.home-page {
    padding: 20px;
}

/* Header */
.header {
    text-align: left;
}

.wallet-btn {
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    background-color: #0066ff;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
}

/* Channel Info */
.channel-info {
    background-color: #333; /* Add background color */
    border: solid 1px white;
    border-radius: 15px;
    padding: 5px 5px;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

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

.channel-details {
    display: flex;
    flex-direction: column;
}

/* User Info */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.user-pic {
    width: 125px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.username{
    margin-bottom: 10px;
} 

.balance {
    margin-top: 20px;
    font-size: 30px;
    margin-bottom: 10px; /* Added margin-bottom to fix blank value */
}

/* Farming Section */
.farming-section {
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
}

.farming-header {
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: gray;
    border-radius: 20px;
    margin: 0 auto;
}
.custom-progress-bar {
    position: relative;
    width: 100%;
    background-color: #333; /* Set a valid background color */
    height: 65px;
    border: solid 1px white;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 60px;
}

.custom-progress-bar .progress {
    width: 0;
    height: 100%;
    background-image: linear-gradient(to right, #ff6600, #ffcc00); /* Adjust colors as needed */
    border-radius: 10px;
}

.progress-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.farming-btn {
    background-color: transparent;
    padding: 5px 5px;
    border: none;
    font-size: 17px;
    text-align: center;
    color: #000000;
}

.claim-btn {
    padding: 10px 20px;
    background-color: #007bff;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-size: 17px;
}

.claim-btn:disabled {
    background-color: #999; /* Changed from white to gray for better visibility */
    color: #666;
}

/* Footer Navigation */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: #333;
    padding: 10px 10px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

.footer-nav ul {
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    list-style: none;
}

.footer-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 14px; /* Adjusted from 2px to 14px for readability */
}

.footer-nav a span {
    font-size: 20px; /* Adjust the emoji size */
}

.footer-nav a.active span {
    color: #ffcc00; /* Active icon color */
}
/* Task List Styling */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #444;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.task-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.task-link {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
}

.task-btn, .claim-btn {
    background-color: #007bff;
    color: white;
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.timer {
    background-color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}


/* Content Box */
.content {
    padding: 20px;
    margin-top: 20px;
}

.referral-box, .tasks-list, .stats-box, .boost-options {
    background-color: #333;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.referral-box, .tasks-list, .stats-box, .boost-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.referral-box input {
    background-color: #222;
    color: white;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.copy-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Stats List */
.stats-list li {
    font-size: 18px;
    padding: 10px 0;
}

/* Boost Options */
.boost-options li {
    font-size: 18px;
    padding: 10px 0;
}

/* Cooldown Progress Bar */
.cooldown-progress {
    width: 100%;
    background-color: #ccc;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.cooldown-bar {
    width: 0;
    height: 100%;
    background-color: #ff6600;
    transition: width 0.1s linear;
}
