/* ============================================================
   Tasks Hub Page
   ============================================================ */

.tasks-hub-page {
    min-height: 70vh;
}

.tasks-hub-shell {
    max-width: 1000px;
}

.tasks-hub-header {
    margin-bottom: 2rem;
}

.tasks-hub-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tasks-hub-title-icon {
    color: #f4a261;
    margin-right: 8px;
}

.tasks-hub-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.tasks-hub-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f4a261 0%, #e67e22 100%);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.tasks-hub-balance i {
    font-size: 1.8rem;
}

/* Task Cards */
.tasks-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 25px;
    background: #1e2230;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 16px 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tasks-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    transition: height 0.3s ease;
}

.tasks-hub-card--links::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.tasks-hub-card--ads::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.tasks-hub-card--streak::before {
    background: linear-gradient(90deg, #f4a261, #fbbf24);
}

.tasks-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: #fff;
}

.tasks-hub-card:hover::before {
    height: 6px;
}

.tasks-hub-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.6rem;
}

.tasks-hub-card--links .tasks-hub-card-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.tasks-hub-card--ads .tasks-hub-card-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.tasks-hub-card--streak .tasks-hub-card-icon {
    background: rgba(244, 162, 97, 0.15);
    color: #f4a261;
}

.tasks-hub-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.tasks-hub-card-desc {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tasks-hub-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #f4a261;
    padding: 8px 18px;
    border-radius: 25px;
    background: rgba(244, 162, 97, 0.1);
    transition: all 0.3s ease;
}

.tasks-hub-card:hover .tasks-hub-card-action {
    background: rgba(244, 162, 97, 0.2);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .tasks-hub-title {
        font-size: 2.2rem;
    }

    .tasks-hub-subtitle {
        font-size: 1.4rem;
    }

    .tasks-hub-card {
        padding: 28px 20px;
    }

    .tasks-hub-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }

    .tasks-hub-card-title {
        font-size: 1.6rem;
    }

    .tasks-hub-card-desc {
        font-size: 1.3rem;
    }
}

/* FontAwesome icon in menu box (replaces img for Tasks) */
.menu-icon-fa {
    font-size: 3.5rem;
    color: var(--primarycolor, #f4a261);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.menu-box:hover .menu-icon-fa {
    color: #fff;
    transform: scale(1.1);
}
