.tasks-container {
    padding: 0;
}

.tasks-section .section-title {
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 1.2;
}

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

@media (max-width: 768px) {
    .tasks-grid {
        grid-template-columns: 1fr;
    }
}

.task-card {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-height: 120px;
}

.task-card:hover {
    border-color: color-mix(in srgb, var(--neon, #ffffff) 50%, transparent);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--neon, #ffffff) 18%, transparent);
}

.task-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
}

.task-icon-box .task-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-icon-box .task-brand-icon img {
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--neon, #fff)) drop-shadow(0 0 2px var(--neon, #fff));
    transition: filter 0.3s ease;
}

.task-card:hover .task-icon-box .task-brand-icon img {
    filter: drop-shadow(0 0 10px var(--neon, #fff)) drop-shadow(0 0 4px var(--neon, #fff));
}

.task-points {
    background-color: var(--brand-red);
    padding: 4px 8px;
    min-width: 52px;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.task-points .val {
    font-size: 14px;
    font-weight: 800;
}

.task-points .lbl {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.9;
}

.task-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.task-header h3 {
    margin: 0 0 3px;
    color: var(--text-light);
    font-weight: 700;
}

.task-header p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.4;
}

.task-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--brand-red);
    border: none;
    text-align: center;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    gap: 6px;
    box-sizing: border-box;
}

.task-btn:hover {
    background-color: var(--brand-red);
    transform: translateY(-1px);
    color: var(--text-light);
}

.task-btn.claimed {
    color: var(--text-gray, #666) !important;
    cursor: not-allowed !important;
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/*  ===== gorevler_ref katmanı (eski gorevler_ref.css) buraya katlandı =====  */
.tasks-section {
    margin-bottom: 26px;
}

.tasks-section .section-title {
    gap: 10px;
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: none;
    color: #fff;
}

.tasks-section .section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 6px;
    background: linear-gradient(90deg, rgba(var(--stroke-rgb, 140, 200, 255), 0.14), transparent);
}

.tasks-grid--special {
    grid-template-columns: repeat(3, 1fr);
}

.task-card {
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 12px;
    background:
        linear-gradient(180deg, rgba(var(--surface-700-rgb, 23, 45, 92), 0.9), rgba(var(--surface-rgb, 17, 35, 74), 0.9)) padding-box,
        linear-gradient(180deg, rgba(var(--stroke-rgb, 140, 200, 255), 0.18), rgba(var(--stroke-rgb, 140, 200, 255), 0.06)) border-box;
    box-shadow: 0 12px 26px -22px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
    .task-card:hover {
        transform: translateY(-3px);
        border-color: transparent;
        box-shadow: 0 18px 32px -20px rgba(0, 0, 0, 0.9), 0 0 26px -12px color-mix(in srgb, var(--neon, rgb(var(--primary))) 80%, transparent);
    }
}

.task-icon-box {
    width: 78px;
    min-width: 78px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(var(--stroke-rgb, 140, 200, 255), 0.1);
}

.task-icon-box .task-3d {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.45));
}

.task-points {
    border-radius: 8px;
    background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--primary)) 78%, #fff), color-mix(in srgb, rgb(var(--primary)) 90%, #000));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: var(--text-on-accent, #fff);
}

.task-header h3 {
    font-size: 15px;
    letter-spacing: 0;
}

.task-header p {
    font-size: 12.5px;
}

.task-btn {
    border-radius: 12px;
    padding: 0;
    height: 40px;
    font-weight: 800;
    color: var(--text-on-accent, #fff);
    background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--primary)) 78%, #fff), color-mix(in srgb, rgb(var(--primary)) 90%, #000));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px -10px rgba(var(--primary), 0.85);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}

.task-btn:hover {
    background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--primary)) 78%, #fff), color-mix(in srgb, rgb(var(--primary)) 90%, #000));
    filter: brightness(1.08);
}

.task-btn:active {
    transform: scale(0.97);
}

.task-btn.claimed {
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    .tasks-grid--special {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .task-header h3 {
        font-size: 14.5px;
    }

    .task-header p {
        font-size: 12px;
    }

    .task-icon-box {
        width: 72px;
        min-width: 72px;
    }
}