:root {
    --primary-color: #32f08c;
    --background-color: #f5f9fe;
    --text-color: #101111;
    --text-light: #555;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 800;
    color: var(--text-color);
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        gap: 30px;
    }
}

/* Bottom Navigation (Mobile Only) */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 10px 0;
    justify-content: space-around;
    align-items: center;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

.bottom-nav-item {
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    gap: 4px;
    transition: var(--transition);
}

.bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--primary-color);
}

.bottom-nav-icon {
    font-size: 20px;
}

/* Add padding to body so bottom nav doesn't cover content */
body {
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.nav a:hover, .nav a.active {
    color: #2bc574;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: 600;
    display: none;
}

@media (min-width: 768px) {
    .user-name {
        display: block;
    }
}

.avatar-small {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: #2ee082;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 240, 140, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Sections General */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #101111 0%, #2c2d2d 100%);
    margin-bottom: 30px;
    text-align: center;
    color: var(--white);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.welcome-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.2;
}

.welcome-section h1 span {
    color: var(--primary-color);
}

.welcome-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-stat-item {
    text-align: center;
    padding: 0 15px;
}

.welcome-stat-value {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.welcome-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Stats */
.dashboard-section {
    padding-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.stat-card h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
}

/* Task List */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.task-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid transparent;
    transition: var(--transition);
}

.task-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

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

.task-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.task-price {
    font-size: 18px;
    font-weight: 800;
    color: #2bc574;
}

.task-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tags {
    display: flex;
    gap: 10px;
}

.tag {
    background-color: #edf2f7;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #4a5568;
    font-weight: 600;
}

/* Completed Tasks Table */
.bg-white {
    background-color: var(--white);
}

.payouts-table-wrapper {
    overflow-x: auto;
}

.payouts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    margin-bottom: 20px;
}

.payouts-table th, .payouts-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.payouts-table th {
    font-weight: 600;
    color: var(--text-light);
}

.payouts-table .amount {
    color: #2bc574;
    font-weight: 700;
}

.status-done {
    color: #2bc574;
    font-weight: 600;
}

.show-more {
    text-align: center;
    margin-top: 20px;
}

/* Ads */
.ads-section {
    padding: 40px 0;
}

.ad-banner {
    background: linear-gradient(45deg, #101111, #2c2d2d);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.ad-banner h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.ad-banner p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.footer p {
    opacity: 0.6;
    font-size: 14px;
}