.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.role-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    background: linear-gradient(145deg, var(--bg-card-light), #1e293b);
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 1rem;
}
.role-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); border-color: var(--color-primary); }
.role-card .role-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.role-icon { width: 48px; height: 48px; background: rgba(37, 99, 235, 0.1); color: var(--color-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.role-salary { font-size: 1.5rem; font-weight: 700; color: var(--color-success); margin: 1rem 0; }
.role-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.role-tag { font-size: 0.75rem; padding: 0.2rem 0.6rem; background: rgba(255,255,255,0.05); border-radius: 4px; color: var(--text-muted); }

.blurred-text {
    filter: blur(6px);
    opacity: 0.5;
    user-select: none;
    pointer-events: none;
}

/* Lock Overlay for Role Cards */
.role-card-locked {
    position: relative;
    cursor: pointer;
}

.role-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
}

.role-lock-overlay i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(30, 41, 59, 0.9);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.role-card-locked:hover .role-lock-overlay {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
}

.role-card-locked:hover .role-lock-overlay i {
    transform: scale(1.1);
    color: #fff;
}

.skeleton-text { height: 10px; background: var(--border-color); border-radius: 5px; margin-bottom: 0.5rem; }
.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }
.skeleton-text.long { width: 90%; }

.text-sm { font-size: 0.875rem; color: #fff; line-height: 1.5; font-weight: 400; }

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.company-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.company-link::after {
    content: '\f061'; /* font awesome arrow right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.65rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-primary);
}

.company-link:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px) scale(1.02);
    color: #f8fafc;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.company-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}



.advice-card {
    border-left: 4px solid var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}
.advice-card h4 { margin-bottom: 0.5rem; color: var(--text-main); }

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